[Bug 33824] [r600g, tiling] mipmap rendering errors / block artifacts

2011-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33824

Droste  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |

--- Comment #2 from Droste  2011-05-07 05:07:33 PDT ---
It's still there. Tiling is just disabled by default and the environment
variable changed to R600_TILING. Just try the piglit test
fbo-generatemipmap-formats with: R600_TILING=on
piglit/bin/fbo-generatemipmap-formats and switch to NPOT textures with 'd' and
go through various test sets ('n'). Some of them are still rendered wrong.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: 2.6.39-rc6, nouveau: unload trips on freed memory (SLUB poison)

2011-05-07 Thread Bruno Prémont
On Thu, 05 May 2011 Bruno Prémont  wrote:
> With 2.6.39-rc6 I'm hitting the following (relevant part from objdump of
> drm_mm.o at bottom).
> Some part of node passed to drm_mm_remove_node() is being use after free
> and hits SLUB poison.
> 
> Bruno
> 
> 
> [  328.447498] drm: unregistered panic notifier
> [  328.447648] [drm] nouveau :02:00.0: 0xAFD8: Parsing digital output 
> script table
> [  328.448642] [drm] nouveau :02:00.0: Restoring VGA fonts
> [  328.450949] [drm:drm_mm_takedown] *ERROR* Memory manager not clean. 
> Delaying takedown

Here is the trace to the erroring drm_mm_takedown() call:

[   95.486464] [drm:drm_mm_takedown] *ERROR* Memory manager not clean. Delaying 
takedown
[   95.486585] [ cut here ]
[   95.486640] kernel BUG at /usr/src/linux-2.6/drivers/gpu/drm/drm_mm.c:628!
[   95.486697] invalid opcode:  [#1] 
[   95.486805] last sysfs file: /sys/devices/platform/w83627hf.656/temp3_input
[   95.486862] Modules linked in: nouveau(-) fbcon tileblit font ttm bitblit 
softcursor drm_kms_helper drm fb fbdev i2c_algo_bit cfbcopyarea video cfbimgblt 
cfbfillrect nfs lockd nfs_acl sunrpc snd_intel8x0 snd_ac97_codec ac97_bus 
snd_pcm snd_timer snd snd_page_alloc pcspkr
[   95.488061] 
[   95.488121] Pid: 1714, comm: rmmod Tainted: GW   
2.6.39-rc6-jupiter-1-g443badf-dirty #13 NVIDIA Corporation. 
nFORCE-MCP/MS-6373
[   95.488306] EIP: 0060:[] EFLAGS: 00010292 CPU: 0
[   95.488397] EIP is at drm_mm_takedown+0x7c/0x80 [drm]
[   95.488451] EAX: 005f EBX: da148620 ECX: fed5 EDX: 
[   95.488508] ESI: da148620 EDI: 0090 EBP: dbc47e18 ESP: dbc47e04
[   95.488563]  DS: 007b ES: 007b FS:  GS: 00e0 SS: 0068
[   95.488631] Process rmmod (pid: 1714, ti=dbc46000 task=dd446470 
task.ti=dbc46000)
[   95.488693] Stack:
[   95.488740]  deb62a24 deb5c8ab da148620 da0001e8 0090 dbc47e28 dec5934b 
da000148
[   95.489099]  da0001d8 dbc47e44 dec550eb dbc47e44 def998cb da204820 da00 
da00
[   95.489469]  dbc47e64 def6dc51 deb5c280 da000148 da204830 da204820 dd5270c0 
dd5271d8
[   95.489839] Call Trace:
[   95.489907]  [] ttm_bo_man_takedown+0x2b/0x50 [ttm]
[   95.489968]  [] ttm_bo_clean_mm+0x5b/0xa0 [ttm]
[   95.490063]  [] ? nv10_fb_takedown+0x2b/0x50 [nouveau]
[   95.490130]  [] nouveau_unload+0xa1/0x150 [nouveau]
[   95.490198]  [] drm_put_dev+0xb3/0x1c0 [drm]
[   95.490263]  [] nouveau_pci_remove+0x10/0x20 [nouveau]
[   95.490325]  [] pci_device_remove+0x3f/0xf0
[   95.490384]  [] __device_release_driver+0x4b/0xa0
[   95.490424]  [] driver_detach+0x77/0x80
[   95.490424]  [] bus_remove_driver+0x5b/0xa0
[   95.490424]  [] driver_unregister+0x46/0x80
[   95.490424]  [] ? sysfs_remove_file+0xf/0x20
[   95.490424]  [] pci_unregister_driver+0x2a/0x70
[   95.490424]  [] drm_pci_exit+0x7f/0x90 [drm]
[   95.490424]  [] nouveau_exit+0x1b/0x22 [nouveau]
[   95.490424]  [] sys_delete_module+0x19b/0x1f0
[   95.490424]  [] ? do_munmap+0x212/0x2f0
[   95.490424]  [] sysenter_do_call+0x12/0x26
[   95.490424] Code: 75 d5 85 c9 75 0d 83 c4 08 5b 5e 5f c9 c3 8b 4e 30 eb ef 
0f 0b eb fe c7 44 24 04 ab c8 b5 de c7 04 24 24 2a b6 de e8 75 bc 81 e2 <0f> 0b 
eb fe 55 89 e5 56 53 8b 58 1c ff 4b 48 0f b6 50 10 f6 c2 
[   95.490424] EIP: [] drm_mm_takedown+0x7c/0x80 [drm] SS:ESP 
0068:dbc47e04
[   95.494410] ---[ end trace ea6b63472f535569 ]---



___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 35998] RS600: Texture alignment issues under Gnome Shell

2011-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=35998

--- Comment #8 from Milan Plzik  2011-05-07 05:57:44 PDT ---
(In reply to comment #7)
> It looks like only the very thin characters misrender.

  I'm not sure whether this is width-related; I see misrenderd also 'S', 'v',
'2', and some others, and I believe (but unfortunately I don't have a
screenshot) that under some circumstances, the set of affected glyphs changes.

> 
> Unfortunately, I don't have RS600.

  If it will be of some use, I can test patches, do some basic debugging, or
provide remote access to RS600 machine.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 33824] [r600g, tiling] mipmap rendering errors / block artifacts

2011-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33824

--- Comment #3 from Tobias Jakobi  2011-05-07 06:07:31 PDT 
---
Yeah, you're right -- I completly forgot that the envvar changed :(

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 36934] New: screen corruption after running a game through wine

2011-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36934

   Summary: screen corruption after running a game through wine
   Product: DRI
   Version: unspecified
  Platform: Other
OS/Version: All
Status: NEW
  Severity: normal
  Priority: medium
 Component: General
AssignedTo: dri-devel@lists.freedesktop.org
ReportedBy: aaalmo...@gmail.com


After running a game through wine, some graphic elements of other applications
get garbled. These include window decorations, window shadows, images in
already opened tabs of firefox, parts of the taskbar etc. They usually return
to normal if refreshed (e.g. window shadows on resizing the window). The
problem seems to occur only through wine, but I don't think its wine's fault.

I use 32bit debian unstable (kde 4.4.5, compiz 8.4, xserver 7.6
(xserver-xorg-core 1.9.5)) with vanilla kernel 2.6.37.6 and wine 1.3.15 from
sources. The issue appears with both the installed mesa 7.10.2 and 7.11-dev
from git.

I'm not sure about the product and component, just guessing...

#35452 might be related, but there Michel Dänzer said that's related to page
flipping, which is not in 2.6.37, and this one also happens with non-fullscreen
games.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 36236] Problems with lights in Trine game from www.humblebundle.com

2011-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36236

pingufunkyb...@gmail.com changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |

--- Comment #39 from pingufunkyb...@gmail.com 2011-05-07 07:59:21 PDT ---
(In reply to comment #38)
> (In reply to comment #35)
> > The game renders fine, so I guess this bug report can be closed now.
> 
> OK, closing.

Not confirmed here with r600g, it looks as it always did. Can anyone check?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 36236] Problems with lights in Trine game from www.humblebundle.com

2011-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36236

--- Comment #40 from Marek Olšák  2011-05-07 08:07:45 PDT ---
I was testing Trine on both r300g and r600g and the game seems to render
everything correctly (r300g is a little faster though).

You should update Trine to a newer version. There is an updated installer on
the Humble Bundle website called 'TrineUpdate2.32.run'.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[PATCH] drm/nouveau: release vga_ram allocation before tearing down mm's

2011-05-07 Thread Daniel Vetter
Otherwise we have a use-after free.

Tested-and-Reported-by: Bruno Prémont 
Signed-off-by: Daniel Vetter 
---
 drivers/gpu/drm/nouveau/nouveau_mem.c   |2 --
 drivers/gpu/drm/nouveau/nouveau_state.c |2 ++
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/nouveau/nouveau_mem.c 
b/drivers/gpu/drm/nouveau/nouveau_mem.c
index 5045f8b..c3e953b 100644
--- a/drivers/gpu/drm/nouveau/nouveau_mem.c
+++ b/drivers/gpu/drm/nouveau/nouveau_mem.c
@@ -152,8 +152,6 @@ nouveau_mem_vram_fini(struct drm_device *dev)
 {
struct drm_nouveau_private *dev_priv = dev->dev_private;
 
-   nouveau_bo_ref(NULL, &dev_priv->vga_ram);
-
ttm_bo_device_release(&dev_priv->ttm.bdev);
 
nouveau_ttm_global_release(dev_priv);
diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c 
b/drivers/gpu/drm/nouveau/nouveau_state.c
index a30adec..1fe6503 100644
--- a/drivers/gpu/drm/nouveau/nouveau_state.c
+++ b/drivers/gpu/drm/nouveau/nouveau_state.c
@@ -768,6 +768,8 @@ static void nouveau_card_takedown(struct drm_device *dev)
engine->mc.takedown(dev);
engine->display.late_takedown(dev);
 
+   nouveau_bo_ref(NULL, &dev_priv->vga_ram);
+
mutex_lock(&dev->struct_mutex);
ttm_bo_clean_mm(&dev_priv->ttm.bdev, TTM_PL_VRAM);
ttm_bo_clean_mm(&dev_priv->ttm.bdev, TTM_PL_TT);
-- 
1.7.5.1

___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 33824] [r600g, tiling] mipmap rendering errors / block artifacts

2011-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=33824

--- Comment #4 from Tobias Jakobi  2011-05-07 09:14:58 PDT 
---
Retested with the correct envvar and I still can't reproduce the artifacts.
They don't appear anymore in ut2003 and ut2004, which were the only remaining
games on my list.

Leaving this open, since Droste still seems to have issues (I didn't check
these tests).

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 36918] ETQW: Enabling "Soft Particles" causes major performance issue

2011-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36918

--- Comment #1 from almos  2011-05-07 09:19:49 PDT ---
It does the same with r300g on rv350. I found that this feature is blacklisted
on ATI cards (the option is grayed out on windows), but Mesa rX00g is not
detected as an ATI card.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 36939] New: multitexturing is messed up in quake wars (regression)

2011-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36939

   Summary: multitexturing is messed up in quake wars (regression)
   Product: Mesa
   Version: git
  Platform: Other
OS/Version: All
Status: NEW
  Severity: normal
  Priority: medium
 Component: Drivers/Gallium/r300
AssignedTo: dri-devel@lists.freedesktop.org
ReportedBy: aaalmo...@gmail.com


With some detail levels only the base texture (diffuse) is drawn on the
objects, but no light/bump/specular. With 'Shader Effects' set to low the
strogg deployables are like this (from any distance), while setting it to high
makes every object (except the ground) that are closer than ~10 meters appear
like this.

This message is written to the console a couple of times:
Not a native swizzle: 0e08

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 36939] multitexturing is messed up in quake wars (regression)

2011-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36939

--- Comment #1 from Tom Stellard  2011-05-07 11:05:34 PDT 
---
Can you run the program with the environment variable RADEON_DEBUG=fp and post
the output.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 36939] multitexturing is messed up in quake wars (regression)

2011-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36939

--- Comment #2 from almos  2011-05-07 12:24:15 PDT ---
Created an attachment (id=46429)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=46429)
etqw_console.txt.gz

(In reply to comment #1)
> Can you run the program with the environment variable RADEON_DEBUG=fp and post
> the output.
Attached full log.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


Re: i915/kms/backlight-combo mode problem

2011-05-07 Thread Melchior FRANZ
* Melchior FRANZ -- Friday 06 May 2011:
> last patch prevents the backlight from being turned off, but it also
> breaks the brightness adjustment keys at runtime with acpi_osi=Linux.

It has turned out that acpi key events seem to be handled correctly
and even the state of /sys/class/backlight/acer-wmi/brightness is
updated accordingly. The only problem is that this maintained
brightness state isn't applied to the actual backlight. It remains
at highest level. Google pointed me to this workaround for another
Acer notebook:

  
https://help.ubuntu.com/community/AspireTimeline/Fixes#Alternative%20fix%20for%2010.10

This uses the acpid to write the brightness value to the display
using setpci. And this works on my notebook as well (Acer Travelmate
5735Z-452G32Mnss). Not pretty but better than nothing. Is Acer
not able to build proper notebooks? Or is it a kernel bug?

m.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 36918] ETQW: Enabling "Soft Particles" causes major performance issue

2011-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36918

--- Comment #2 from Sven Arvidsson  2011-05-07 13:23:15 PDT ---
That's good to know, I guess this can be closed as NOTOURBUG unless somebody
thinks otherwise.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 36944] New: Family Farm: misrenders on r600g

2011-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36944

   Summary: Family Farm: misrenders on r600g
   Product: Mesa
   Version: git
  Platform: Other
   URL: http://www.familyfarmgame.com/en/linux-downloads
OS/Version: All
Status: NEW
  Severity: normal
  Priority: medium
 Component: Drivers/Gallium/r600
AssignedTo: dri-devel@lists.freedesktop.org
ReportedBy: s...@whiz.se


Created an attachment (id=46434)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=46434)
Screenshot of bug

The game "Family Farm" isn't rendering correctly on r600g, I have attached
screenshots showing the bug and correct rendering on llvmpipe.

System environment:
-- system architecture: 32-bit
-- Linux distribution: Debian unstable
-- GPU: REDWOOD
-- Model: XFX Radeon HD 5670 1GB
-- Display connector: DVI
-- xf86-video-ati: 6.14.1
-- xserver: 1.10.1
-- mesa: 27d3e0b25cc3f2bd9f72778f0c9f54cb90c48622
-- drm: 2.4.25
-- kernel: 2.6.39-rc5

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 36944] Family Farm: misrenders on r600g

2011-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36944

--- Comment #1 from Sven Arvidsson  2011-05-07 13:32:28 PDT ---
Created an attachment (id=46435)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=46435)
Correct rendering on llvmpipe

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 36525] Enemy territory freezes system with r600g.

2011-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36525

--- Comment #4 from Jussi Kiiveri  2011-05-07 15:09:32 
PDT ---
(In reply to comment #3)
> Does mesa git master work any better?  Specifically with these patches:
> http://cgit.freedesktop.org/mesa/mesa/commit/?id=d116fe51c1aee3453290ac30ffe993bc131c53f7
> http://cgit.freedesktop.org/mesa/mesa/commit/?id=bf7a3ddca6fcc73eebdd9afdc45a485b38477bd9

It froze once but with git up to those patches, but after I pulled more recent
including this patch:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a3e2c8f31f0c5d8d5c1c76e33a572c7be8938573

After that I have been able to play many hours without freeze.

I will test more tomorrow and if it wont freeze this bug can be closed.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 36952] New: segfault in crackberg xscreensaver on ATI RS482 in mesa git running kms & gallium

2011-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36952

   Summary: segfault in crackberg xscreensaver on ATI RS482 in
mesa git running kms & gallium
   Product: Mesa
   Version: git
  Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
  Severity: normal
  Priority: medium
 Component: Drivers/Gallium/r300
AssignedTo: dri-devel@lists.freedesktop.org
ReportedBy: writemeand...@hotmail.com


system 32 bit gentoo
video card ATI RS482 configured to share 128MB system RAM
kernel 2.6.38.4
xorg-server 1.10.1
mesa git commit 37058c3497850f452bdaf70a5dda07ee4840b6b9 May 4 2011
xf86-video-ati git commit 62a4cd180fe884dca24586d453395472516e6496 May 4, 2011
mesa compile flags: classic egl gallium llvm nptl openvg shared-dricore
video_cards_r300 video_cards_radeon
xscreensaver 5.12

When running the xscreensaver 'crackberg' on mesa from git the screen freezes
for 20-60 seconds (I think memory is filling up and swapping out RAM) and then
the program exits with a segfault.  The message in /var/log/kern.log is
kernel: crackberg[30926]: segfault at b5a3 ip b653b2c1 sp bf943e30 error 4.
If I downgrade to mesa 7.10.2-r1 the screensaver works as expected.  If I run
with ums the screensaver works as expected.  Other screensavers are affected as
well, I can compile a list if necessary.

Any other logs or info that I can collect is no problem.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 36554] Amnesia game causes black screen or kernel locks

2011-05-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=36554

--- Comment #5 from Scott Moreau  2011-05-07 19:54:05 PDT ---
I am beginning to think this may be a problem with insufficient system ram.
I have 1GB here but the requirements for the game says 2GB. I am wondering
if the driver could fail more gracefully instead of locking up or becoming
otherwise unusable, if this is in fact the case.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.
___
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel


[PATCH] drm/radeon/kms: add missing Evergreen texture formats to the CS parser

2011-05-07 Thread Marek Olšák
BC6 and BC7 are described in ARB_texture_compression_bptc.

No idea what FMT_32_AS_32_32_32_32 is good for.

Signed-off-by: Marek Ol??k 
---
 drivers/gpu/drm/radeon/r600_cs.c |   28 ++--
 drivers/gpu/drm/radeon/r600d.h   |3 +++
 2 files changed, 21 insertions(+), 10 deletions(-)

diff --git a/drivers/gpu/drm/radeon/r600_cs.c b/drivers/gpu/drm/radeon/r600_cs.c
index fd18be9..909bda8 100644
--- a/drivers/gpu/drm/radeon/r600_cs.c
+++ b/drivers/gpu/drm/radeon/r600_cs.c
@@ -71,20 +71,21 @@ struct r600_cs_track {
u64 db_bo_mc;
 };

-#define FMT_8_BIT(fmt, vc) [fmt] = { 1, 1, 1, vc }
-#define FMT_16_BIT(fmt, vc) [fmt] = { 1, 1, 2, vc }
-#define FMT_24_BIT(fmt) [fmt] = { 1, 1, 3, 0 }
-#define FMT_32_BIT(fmt, vc) [fmt] = { 1, 1, 4, vc }
-#define FMT_48_BIT(fmt) [fmt] = { 1, 1, 6, 0 }
-#define FMT_64_BIT(fmt, vc) [fmt] = { 1, 1, 8, vc }
-#define FMT_96_BIT(fmt) [fmt] = { 1, 1, 12, 0 }
-#define FMT_128_BIT(fmt, vc) [fmt] = { 1, 1, 16, vc }
+#define FMT_8_BIT(fmt, vc)   [fmt] = { 1, 1, 1, vc, CHIP_R600 }
+#define FMT_16_BIT(fmt, vc)  [fmt] = { 1, 1, 2, vc, CHIP_R600 }
+#define FMT_24_BIT(fmt)  [fmt] = { 1, 1, 3,  0, CHIP_R600 }
+#define FMT_32_BIT(fmt, vc)  [fmt] = { 1, 1, 4, vc, CHIP_R600 }
+#define FMT_48_BIT(fmt)  [fmt] = { 1, 1, 6,  0, CHIP_R600 }
+#define FMT_64_BIT(fmt, vc)  [fmt] = { 1, 1, 8, vc, CHIP_R600 }
+#define FMT_96_BIT(fmt)  [fmt] = { 1, 1, 12, 0, CHIP_R600 }
+#define FMT_128_BIT(fmt, vc) [fmt] = { 1, 1, 16,vc, CHIP_R600 }

 struct gpu_formats {
unsigned blockwidth;
unsigned blockheight;
unsigned blocksize;
unsigned valid_color;
+   enum radeon_family min_family;
 };

 static const struct gpu_formats color_formats_table[] = {
@@ -154,7 +155,11 @@ static const struct gpu_formats color_formats_table[] = {
[V_038004_FMT_BC3] = { 4, 4, 16, 0 },
[V_038004_FMT_BC4] = { 4, 4, 8, 0 },
[V_038004_FMT_BC5] = { 4, 4, 16, 0},
+   [V_038004_FMT_BC6] = { 4, 4, 16, 0, CHIP_CEDAR}, /* Evergreen-only */
+   [V_038004_FMT_BC7] = { 4, 4, 16, 0, CHIP_CEDAR}, /* Evergreen-only */

+   /* The other Evergreen formats */
+   [V_038004_FMT_32_AS_32_32_32_32] = { 1, 1, 4, 0, CHIP_CEDAR},
 };

 static inline bool fmt_is_valid_color(u32 format)
@@ -168,11 +173,14 @@ static inline bool fmt_is_valid_color(u32 format)
return false;
 }

-static inline bool fmt_is_valid_texture(u32 format)
+static inline bool fmt_is_valid_texture(u32 format, enum radeon_family family)
 {
if (format >= ARRAY_SIZE(color_formats_table))
return false;

+   if (family < color_formats_table[format].min_family)
+   return false;
+
if (color_formats_table[format].blockwidth > 0)
return true;

@@ -1325,7 +1333,7 @@ static inline int r600_check_texture_resource(struct 
radeon_cs_parser *p,  u32 i
return -EINVAL;
}
format = G_038004_DATA_FORMAT(word1);
-   if (!fmt_is_valid_texture(format)) {
+   if (!fmt_is_valid_texture(format, p->family)) {
dev_warn(p->dev, "%s:%d texture invalid format %d\n",
 __func__, __LINE__, format);
return -EINVAL;
diff --git a/drivers/gpu/drm/radeon/r600d.h b/drivers/gpu/drm/radeon/r600d.h
index b2b944b..f140a0d 100644
--- a/drivers/gpu/drm/radeon/r600d.h
+++ b/drivers/gpu/drm/radeon/r600d.h
@@ -1309,6 +1309,9 @@
 #define V_038004_FMT_BC3   0x0033
 #define V_038004_FMT_BC4   0x0034
 #define V_038004_FMT_BC5   0x0035
+#define V_038004_FMT_BC6   0x0036
+#define V_038004_FMT_BC7   0x0037
+#define V_038004_FMT_32_AS_32_32_32_32 0x0038
 #define R_038010_SQ_TEX_RESOURCE_WORD4_0 0x038010
 #define   S_038010_FORMAT_COMP_X(x)(((x) & 0x3) << 0)
 #define   G_038010_FORMAT_COMP_X(x)(((x) >> 0) & 0x3)
-- 
1.7.4.1



[Bug 33824] [r600g, tiling] mipmap rendering errors / block artifacts

2011-05-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=33824

Droste  changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |

--- Comment #2 from Droste  2011-05-07 05:07:33 PDT ---
It's still there. Tiling is just disabled by default and the environment
variable changed to R600_TILING. Just try the piglit test
fbo-generatemipmap-formats with: R600_TILING=on
piglit/bin/fbo-generatemipmap-formats and switch to NPOT textures with 'd' and
go through various test sets ('n'). Some of them are still rendered wrong.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


2.6.39-rc6, nouveau: unload trips on freed memory (SLUB poison)

2011-05-07 Thread Bruno Prémont
On Thu, 05 May 2011 Bruno Pr?mont  wrote:
> With 2.6.39-rc6 I'm hitting the following (relevant part from objdump of
> drm_mm.o at bottom).
> Some part of node passed to drm_mm_remove_node() is being use after free
> and hits SLUB poison.
> 
> Bruno
> 
> 
> [  328.447498] drm: unregistered panic notifier
> [  328.447648] [drm] nouveau :02:00.0: 0xAFD8: Parsing digital output 
> script table
> [  328.448642] [drm] nouveau :02:00.0: Restoring VGA fonts
> [  328.450949] [drm:drm_mm_takedown] *ERROR* Memory manager not clean. 
> Delaying takedown

Here is the trace to the erroring drm_mm_takedown() call:

[   95.486464] [drm:drm_mm_takedown] *ERROR* Memory manager not clean. Delaying 
takedown
[   95.486585] [ cut here ]
[   95.486640] kernel BUG at /usr/src/linux-2.6/drivers/gpu/drm/drm_mm.c:628!
[   95.486697] invalid opcode:  [#1] 
[   95.486805] last sysfs file: /sys/devices/platform/w83627hf.656/temp3_input
[   95.486862] Modules linked in: nouveau(-) fbcon tileblit font ttm bitblit 
softcursor drm_kms_helper drm fb fbdev i2c_algo_bit cfbcopyarea video cfbimgblt 
cfbfillrect nfs lockd nfs_acl sunrpc snd_intel8x0 snd_ac97_codec ac97_bus 
snd_pcm snd_timer snd snd_page_alloc pcspkr
[   95.488061] 
[   95.488121] Pid: 1714, comm: rmmod Tainted: GW   
2.6.39-rc6-jupiter-1-g443badf-dirty #13 NVIDIA Corporation. 
nFORCE-MCP/MS-6373
[   95.488306] EIP: 0060:[] EFLAGS: 00010292 CPU: 0
[   95.488397] EIP is at drm_mm_takedown+0x7c/0x80 [drm]
[   95.488451] EAX: 005f EBX: da148620 ECX: fed5 EDX: 
[   95.488508] ESI: da148620 EDI: 0090 EBP: dbc47e18 ESP: dbc47e04
[   95.488563]  DS: 007b ES: 007b FS:  GS: 00e0 SS: 0068
[   95.488631] Process rmmod (pid: 1714, ti=dbc46000 task=dd446470 
task.ti=dbc46000)
[   95.488693] Stack:
[   95.488740]  deb62a24 deb5c8ab da148620 da0001e8 0090 dbc47e28 dec5934b 
da000148
[   95.489099]  da0001d8 dbc47e44 dec550eb dbc47e44 def998cb da204820 da00 
da00
[   95.489469]  dbc47e64 def6dc51 deb5c280 da000148 da204830 da204820 dd5270c0 
dd5271d8
[   95.489839] Call Trace:
[   95.489907]  [] ttm_bo_man_takedown+0x2b/0x50 [ttm]
[   95.489968]  [] ttm_bo_clean_mm+0x5b/0xa0 [ttm]
[   95.490063]  [] ? nv10_fb_takedown+0x2b/0x50 [nouveau]
[   95.490130]  [] nouveau_unload+0xa1/0x150 [nouveau]
[   95.490198]  [] drm_put_dev+0xb3/0x1c0 [drm]
[   95.490263]  [] nouveau_pci_remove+0x10/0x20 [nouveau]
[   95.490325]  [] pci_device_remove+0x3f/0xf0
[   95.490384]  [] __device_release_driver+0x4b/0xa0
[   95.490424]  [] driver_detach+0x77/0x80
[   95.490424]  [] bus_remove_driver+0x5b/0xa0
[   95.490424]  [] driver_unregister+0x46/0x80
[   95.490424]  [] ? sysfs_remove_file+0xf/0x20
[   95.490424]  [] pci_unregister_driver+0x2a/0x70
[   95.490424]  [] drm_pci_exit+0x7f/0x90 [drm]
[   95.490424]  [] nouveau_exit+0x1b/0x22 [nouveau]
[   95.490424]  [] sys_delete_module+0x19b/0x1f0
[   95.490424]  [] ? do_munmap+0x212/0x2f0
[   95.490424]  [] sysenter_do_call+0x12/0x26
[   95.490424] Code: 75 d5 85 c9 75 0d 83 c4 08 5b 5e 5f c9 c3 8b 4e 30 eb ef 
0f 0b eb fe c7 44 24 04 ab c8 b5 de c7 04 24 24 2a b6 de e8 75 bc 81 e2 <0f> 0b 
eb fe 55 89 e5 56 53 8b 58 1c ff 4b 48 0f b6 50 10 f6 c2 
[   95.490424] EIP: [] drm_mm_takedown+0x7c/0x80 [drm] SS:ESP 
0068:dbc47e04
[   95.494410] ---[ end trace ea6b63472f535569 ]---





[Bug 35998] RS600: Texture alignment issues under Gnome Shell

2011-05-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=35998

--- Comment #8 from Milan Plzik  2011-05-07 05:57:44 PDT 
---
(In reply to comment #7)
> It looks like only the very thin characters misrender.

  I'm not sure whether this is width-related; I see misrenderd also 'S', 'v',
'2', and some others, and I believe (but unfortunately I don't have a
screenshot) that under some circumstances, the set of affected glyphs changes.

> 
> Unfortunately, I don't have RS600.

  If it will be of some use, I can test patches, do some basic debugging, or
provide remote access to RS600 machine.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 33824] [r600g, tiling] mipmap rendering errors / block artifacts

2011-05-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=33824

--- Comment #3 from Tobias Jakobi  2011-05-07 06:07:31 
PDT ---
Yeah, you're right -- I completly forgot that the envvar changed :(

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 36934] New: screen corruption after running a game through wine

2011-05-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=36934

   Summary: screen corruption after running a game through wine
   Product: DRI
   Version: unspecified
  Platform: Other
OS/Version: All
Status: NEW
  Severity: normal
  Priority: medium
 Component: General
AssignedTo: dri-devel at lists.freedesktop.org
ReportedBy: aaalmosss at gmail.com


After running a game through wine, some graphic elements of other applications
get garbled. These include window decorations, window shadows, images in
already opened tabs of firefox, parts of the taskbar etc. They usually return
to normal if refreshed (e.g. window shadows on resizing the window). The
problem seems to occur only through wine, but I don't think its wine's fault.

I use 32bit debian unstable (kde 4.4.5, compiz 8.4, xserver 7.6
(xserver-xorg-core 1.9.5)) with vanilla kernel 2.6.37.6 and wine 1.3.15 from
sources. The issue appears with both the installed mesa 7.10.2 and 7.11-dev
from git.

I'm not sure about the product and component, just guessing...

#35452 might be related, but there Michel D?nzer said that's related to page
flipping, which is not in 2.6.37, and this one also happens with non-fullscreen
games.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 36236] Problems with lights in Trine game from www.humblebundle.com

2011-05-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=36236

pingufunkybeat at gmail.com changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |

--- Comment #39 from pingufunkybeat at gmail.com 2011-05-07 07:59:21 PDT ---
(In reply to comment #38)
> (In reply to comment #35)
> > The game renders fine, so I guess this bug report can be closed now.
> 
> OK, closing.

Not confirmed here with r600g, it looks as it always did. Can anyone check?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 36236] Problems with lights in Trine game from www.humblebundle.com

2011-05-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=36236

--- Comment #40 from Marek Ol??k  2011-05-07 08:07:45 PDT 
---
I was testing Trine on both r300g and r600g and the game seems to render
everything correctly (r300g is a little faster though).

You should update Trine to a newer version. There is an updated installer on
the Humble Bundle website called 'TrineUpdate2.32.run'.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[PATCH] drm/nouveau: release vga_ram allocation before tearing down mm's

2011-05-07 Thread Daniel Vetter
Otherwise we have a use-after free.

Tested-and-Reported-by: Bruno Pr?mont 
Signed-off-by: Daniel Vetter 
---
 drivers/gpu/drm/nouveau/nouveau_mem.c   |2 --
 drivers/gpu/drm/nouveau/nouveau_state.c |2 ++
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/nouveau/nouveau_mem.c 
b/drivers/gpu/drm/nouveau/nouveau_mem.c
index 5045f8b..c3e953b 100644
--- a/drivers/gpu/drm/nouveau/nouveau_mem.c
+++ b/drivers/gpu/drm/nouveau/nouveau_mem.c
@@ -152,8 +152,6 @@ nouveau_mem_vram_fini(struct drm_device *dev)
 {
struct drm_nouveau_private *dev_priv = dev->dev_private;

-   nouveau_bo_ref(NULL, &dev_priv->vga_ram);
-
ttm_bo_device_release(&dev_priv->ttm.bdev);

nouveau_ttm_global_release(dev_priv);
diff --git a/drivers/gpu/drm/nouveau/nouveau_state.c 
b/drivers/gpu/drm/nouveau/nouveau_state.c
index a30adec..1fe6503 100644
--- a/drivers/gpu/drm/nouveau/nouveau_state.c
+++ b/drivers/gpu/drm/nouveau/nouveau_state.c
@@ -768,6 +768,8 @@ static void nouveau_card_takedown(struct drm_device *dev)
engine->mc.takedown(dev);
engine->display.late_takedown(dev);

+   nouveau_bo_ref(NULL, &dev_priv->vga_ram);
+
mutex_lock(&dev->struct_mutex);
ttm_bo_clean_mm(&dev_priv->ttm.bdev, TTM_PL_VRAM);
ttm_bo_clean_mm(&dev_priv->ttm.bdev, TTM_PL_TT);
-- 
1.7.5.1



[Bug 33824] [r600g, tiling] mipmap rendering errors / block artifacts

2011-05-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=33824

--- Comment #4 from Tobias Jakobi  2011-05-07 09:14:58 
PDT ---
Retested with the correct envvar and I still can't reproduce the artifacts.
They don't appear anymore in ut2003 and ut2004, which were the only remaining
games on my list.

Leaving this open, since Droste still seems to have issues (I didn't check
these tests).

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 36918] ETQW: Enabling "Soft Particles" causes major performance issue

2011-05-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=36918

--- Comment #1 from almos  2011-05-07 09:19:49 PDT ---
It does the same with r300g on rv350. I found that this feature is blacklisted
on ATI cards (the option is grayed out on windows), but Mesa rX00g is not
detected as an ATI card.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 36939] New: multitexturing is messed up in quake wars (regression)

2011-05-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=36939

   Summary: multitexturing is messed up in quake wars (regression)
   Product: Mesa
   Version: git
  Platform: Other
OS/Version: All
Status: NEW
  Severity: normal
  Priority: medium
 Component: Drivers/Gallium/r300
AssignedTo: dri-devel at lists.freedesktop.org
ReportedBy: aaalmosss at gmail.com


With some detail levels only the base texture (diffuse) is drawn on the
objects, but no light/bump/specular. With 'Shader Effects' set to low the
strogg deployables are like this (from any distance), while setting it to high
makes every object (except the ground) that are closer than ~10 meters appear
like this.

This message is written to the console a couple of times:
Not a native swizzle: 0e08

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 36939] multitexturing is messed up in quake wars (regression)

2011-05-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=36939

--- Comment #1 from Tom Stellard  2011-05-07 11:05:34 
PDT ---
Can you run the program with the environment variable RADEON_DEBUG=fp and post
the output.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 36939] multitexturing is messed up in quake wars (regression)

2011-05-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=36939

--- Comment #2 from almos  2011-05-07 12:24:15 PDT ---
Created an attachment (id=46429)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=46429)
etqw_console.txt.gz

(In reply to comment #1)
> Can you run the program with the environment variable RADEON_DEBUG=fp and post
> the output.
Attached full log.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


i915/kms/backlight-combo mode problem

2011-05-07 Thread Melchior FRANZ
* Melchior FRANZ -- Friday 06 May 2011:
> last patch prevents the backlight from being turned off, but it also
> breaks the brightness adjustment keys at runtime with acpi_osi=Linux.

It has turned out that acpi key events seem to be handled correctly
and even the state of /sys/class/backlight/acer-wmi/brightness is
updated accordingly. The only problem is that this maintained
brightness state isn't applied to the actual backlight. It remains
at highest level. Google pointed me to this workaround for another
Acer notebook:

  
https://help.ubuntu.com/community/AspireTimeline/Fixes#Alternative%20fix%20for%2010.10

This uses the acpid to write the brightness value to the display
using setpci. And this works on my notebook as well (Acer Travelmate
5735Z-452G32Mnss). Not pretty but better than nothing. Is Acer
not able to build proper notebooks? Or is it a kernel bug?

m.


[Bug 36918] ETQW: Enabling "Soft Particles" causes major performance issue

2011-05-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=36918

--- Comment #2 from Sven Arvidsson  2011-05-07 13:23:15 PDT ---
That's good to know, I guess this can be closed as NOTOURBUG unless somebody
thinks otherwise.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 36944] New: Family Farm: misrenders on r600g

2011-05-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=36944

   Summary: Family Farm: misrenders on r600g
   Product: Mesa
   Version: git
  Platform: Other
   URL: http://www.familyfarmgame.com/en/linux-downloads
OS/Version: All
Status: NEW
  Severity: normal
  Priority: medium
 Component: Drivers/Gallium/r600
AssignedTo: dri-devel at lists.freedesktop.org
ReportedBy: sa at whiz.se


Created an attachment (id=46434)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=46434)
Screenshot of bug

The game "Family Farm" isn't rendering correctly on r600g, I have attached
screenshots showing the bug and correct rendering on llvmpipe.

System environment:
-- system architecture: 32-bit
-- Linux distribution: Debian unstable
-- GPU: REDWOOD
-- Model: XFX Radeon HD 5670 1GB
-- Display connector: DVI
-- xf86-video-ati: 6.14.1
-- xserver: 1.10.1
-- mesa: 27d3e0b25cc3f2bd9f72778f0c9f54cb90c48622
-- drm: 2.4.25
-- kernel: 2.6.39-rc5

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 36944] Family Farm: misrenders on r600g

2011-05-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=36944

--- Comment #1 from Sven Arvidsson  2011-05-07 13:32:28 PDT ---
Created an attachment (id=46435)
 --> (https://bugs.freedesktop.org/attachment.cgi?id=46435)
Correct rendering on llvmpipe

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 36525] Enemy territory freezes system with r600g.

2011-05-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=36525

--- Comment #4 from Jussi Kiiveri  2011-05-07 
15:09:32 PDT ---
(In reply to comment #3)
> Does mesa git master work any better?  Specifically with these patches:
> http://cgit.freedesktop.org/mesa/mesa/commit/?id=d116fe51c1aee3453290ac30ffe993bc131c53f7
> http://cgit.freedesktop.org/mesa/mesa/commit/?id=bf7a3ddca6fcc73eebdd9afdc45a485b38477bd9

It froze once but with git up to those patches, but after I pulled more recent
including this patch:
http://cgit.freedesktop.org/mesa/mesa/commit/?id=a3e2c8f31f0c5d8d5c1c76e33a572c7be8938573

After that I have been able to play many hours without freeze.

I will test more tomorrow and if it wont freeze this bug can be closed.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


[Bug 36952] New: segfault in crackberg xscreensaver on ATI RS482 in mesa git running kms & gallium

2011-05-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=36952

   Summary: segfault in crackberg xscreensaver on ATI RS482 in
mesa git running kms & gallium
   Product: Mesa
   Version: git
  Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
  Severity: normal
  Priority: medium
 Component: Drivers/Gallium/r300
AssignedTo: dri-devel at lists.freedesktop.org
ReportedBy: writemeanddie at hotmail.com


system 32 bit gentoo
video card ATI RS482 configured to share 128MB system RAM
kernel 2.6.38.4
xorg-server 1.10.1
mesa git commit 37058c3497850f452bdaf70a5dda07ee4840b6b9 May 4 2011
xf86-video-ati git commit 62a4cd180fe884dca24586d453395472516e6496 May 4, 2011
mesa compile flags: classic egl gallium llvm nptl openvg shared-dricore
video_cards_r300 video_cards_radeon
xscreensaver 5.12

When running the xscreensaver 'crackberg' on mesa from git the screen freezes
for 20-60 seconds (I think memory is filling up and swapping out RAM) and then
the program exits with a segfault.  The message in /var/log/kern.log is
kernel: crackberg[30926]: segfault at b5a3 ip b653b2c1 sp bf943e30 error 4.
If I downgrade to mesa 7.10.2-r1 the screensaver works as expected.  If I run
with ums the screensaver works as expected.  Other screensavers are affected as
well, I can compile a list if necessary.

Any other logs or info that I can collect is no problem.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


long delay when using HMDI output on RS780

2011-05-07 Thread Thomas Fjellstrom
I just switched to using HDMI with my media center, and its causing a 30+ 
second delay in the screen turning on, as well as a 7 second delay in the X 
startup when it tries to fetch the EDID information. Basically I don't get any 
picture at all once KMS initializes until after X has been up a few seconds. 

The odd thing is the monitor seems to think something is going on, since it 
doesn't go to sleep or display its "No Signal" OSD, but just after X starts 
up, it pops up the "Input detected/switched" OSD, and the picture appears.

The bios, grub2 (in both text mode and graphics mode), and the initial linux 
kernel messages all display fine and immediately. Its only once KMS and 
radeondrmfb initializes that there's a problem (at least till X starts up).

I've just built with a vanila 2.6.38.4 kernel from the stable git repo, and 
have played with some EDID settings, trying to disable edid where I could 
thinking thats what caused the problem. That doesn't seem to be the case 
though. I also tried playing with the video= kernel option, trying to force 
disable VGA-1, and set a static mode for HDMI-A-1, but if I try, it seems to 
force disable HDMI-A-1 instead of force the mode.

With a DVI-D cable instead, the problem goes away.

Attached are the dmesg and xorg.log files for the latest boot with HDMI (no 
video= parameter, and EDID enabled, most settings at defaults).

What exactly would cause this, and is there a way I can fix it?

-- 
Thomas Fjellstrom
thomas at fjellstrom.ca
-- next part --
[0.00] Initializing cgroup subsys cpuset
[0.00] Initializing cgroup subsys cpu
[0.00] Linux version 2.6.38.4 (moose at chauncey) (gcc version 4.6.1 
20110428 (prerelease) (Debian 4.6.0-6) ) #6 SMP PREEMPT Sat May 7 17:08:42 MDT 
2011
[0.00] Command line: BOOT_IMAGE=/boot/vmlinuz-2.6.38.4 
root=UUID=f0797db1-b72e-43bc-9267-1c1f7a3736b5 ro quiet
[0.00] BIOS-provided physical RAM map:
[0.00]  BIOS-e820:  - 0009f800 (usable)
[0.00]  BIOS-e820: 0009f800 - 000a (reserved)
[0.00]  BIOS-e820: 000f - 0010 (reserved)
[0.00]  BIOS-e820: 0010 - 77de (usable)
[0.00]  BIOS-e820: 77de - 77de3000 (ACPI NVS)
[0.00]  BIOS-e820: 77de3000 - 77df (ACPI data)
[0.00]  BIOS-e820: 77df - 77e0 (reserved)
[0.00]  BIOS-e820: e000 - f000 (reserved)
[0.00]  BIOS-e820: fec0 - 0001 (reserved)
[0.00] NX (Execute Disable) protection: active
[0.00] DMI 2.4 present.
[0.00] DMI: Gigabyte Technology Co., Ltd. GA-MA78GM-S2H/GA-MA78GM-S2H, 
BIOS F11 09/16/2009
[0.00] e820 update range:  - 0001 (usable) 
==> (reserved)
[0.00] e820 remove range: 000a - 0010 (usable)
[0.00] No AGP bridge found
[0.00] last_pfn = 0x77de0 max_arch_pfn = 0x4
[0.00] MTRR default type: uncachable
[0.00] MTRR fixed ranges enabled:
[0.00]   0-9 write-back
[0.00]   A-B uncachable
[0.00]   C-C7FFF write-protect
[0.00]   C8000-F uncachable
[0.00] MTRR variable ranges enabled:
[0.00]   0 base  mask C000 write-back
[0.00]   1 base 4000 mask E000 write-back
[0.00]   2 base 6000 mask F000 write-back
[0.00]   3 base 7000 mask F800 write-back
[0.00]   4 base 77E0 mask FFE0 uncachable
[0.00]   5 disabled
[0.00]   6 disabled
[0.00]   7 disabled
[0.00] x86 PAT enabled: cpu 0, old 0x7040600070406, new 0x7010600070106
[0.00] found SMP MP-table at [880f54e0] f54e0
[0.00] initial memory mapped : 0 - 2000
[0.00] Using GB pages for direct mapping
[0.00] init_memory_mapping: -77de
[0.00]  00 - 004000 page 1G
[0.00]  004000 - 0077c0 page 2M
[0.00]  0077c0 - 0077de page 4k
[0.00] kernel direct mapping tables up to 77de @ 1fffd000-2000
[0.00] RAMDISK: 35f94000 - 36fc2000
[0.00] ACPI: RSDP 000f6e40 00014 (v00 GBT   )
[0.00] ACPI: RSDT 77de3000 00038 (v01 GBTGBTUACPI 42302E31 
GBTU 01010101)
[0.00] ACPI: FACP 77de3040 00074 (v01 GBTGBTUACPI 42302E31 
GBTU 01010101)
[0.00] ACPI: DSDT 77de30c0 069CD (v01 GBTGBTUACPI 1000 
MSFT 0300)
[0.00] ACPI: FACS 77de 00040
[0.00] ACPI: SSDT 77de9b80 00544 (v01 PTLTD  POWERNOW 0001  
LTP 0001)
[0.00] ACPI: HPET 77dea100 00038 (v01 GBTGBTUACPI 42302E31 
GBTU 0098)
[0.00] ACPI: MCFG 000

[Bug 36554] Amnesia game causes black screen or kernel locks

2011-05-07 Thread bugzilla-dae...@freedesktop.org
https://bugs.freedesktop.org/show_bug.cgi?id=36554

--- Comment #5 from Scott Moreau  2011-05-07 19:54:05 PDT 
---
I am beginning to think this may be a problem with insufficient system ram.
I have 1GB here but the requirements for the game says 2GB. I am wondering
if the driver could fail more gracefully instead of locking up or becoming
otherwise unusable, if this is in fact the case.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.