Bug 37289

Summary: [600g] Texture corruption and flickering in OpenArena on X120e (E-350)
Product: Mesa Reporter: gottfried.haider
Component: Drivers/Gallium/r600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: gottfried.haider
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: dmesg
xorg.log from booting current xorg-edgers ppa with page flip disabled

Description gottfried.haider 2011-05-17 08:01:26 UTC
On OpenArena textures that are not in the player's immediate vicinity have some sort of striped overlay applied to them. This at least also happens for me in UrbanTerror and also on some wall textures in Armagetron Advanced.

Also, I am experiencing heavy flickering in the lower part of the screen - I don't know if those two are anyway related. The flickering seems to be also present in Armagetron Advanced.

I uploaded a short video showing both issues: http://www.youtube.com/watch?v=JVtEP6v3A9g
- the stripes can be seen e.g. at 01:05
- the flickering at 00:16

This is on a Lenovo X120e machine (E-350) running xubuntu 11.04 64-bit. I am running a current kernel compiled from git (including the two Fusion-related fixes that went in after -rc7), but this happened before as well.

My xserver-xorg-core version is 1.10.1-1ubuntu1, the xserver-xorg-video-radeon 6.14.0-0ubuntu4.
Comment 1 Michel Dänzer 2011-05-17 09:49:07 UTC
Does this still happen with r600g from current upstream Mesa Git master?
Comment 2 gottfried.haider 2011-05-17 10:59:40 UTC
I installed xorg-edgers and the stripes are gone now! Can anyone point me to the commit that fixed that?

The flickering still occurs on OpenArena and Armagetron. Can this be an ordinary vsync thing? (I haven't changed anything in my xorg.conf or so.)

Uploading a new video..
Comment 3 gottfried.haider 2011-05-17 11:08:01 UTC
that's on current xorg-edgers ppa:
http://www.youtube.com/watch?v=OPnDxJoOW6g
Comment 4 Alex Deucher 2011-05-17 11:11:24 UTC
Does:
Option "EnablePageFlip" "FALSE"
in the device section of your xorg.conf fix the flickering?
Comment 5 Alex Deucher 2011-05-17 11:13:05 UTC
Please attach your xorg log and dmesg output as well.
Comment 6 gottfried.haider 2011-05-17 11:29:02 UTC
Disabling page flip indeed fixes the flickering in both games.

I am attaching both files you requested (from my boot with page flip disabled).
Comment 7 gottfried.haider 2011-05-17 11:30:18 UTC
Created attachment 46836 [details]
dmesg
Comment 8 gottfried.haider 2011-05-17 11:31:08 UTC
Created attachment 46837 [details]
xorg.log from booting current xorg-edgers ppa with page flip disabled
Comment 9 Alex Deucher 2011-05-17 11:59:48 UTC
This is probably a duplicate of bug 35452.  Does the xserver patch there help?
Comment 10 gottfried.haider 2011-05-17 12:58:33 UTC
I compiled xserver-xorg from xorg-edgers ppa with the patch applied, and unless there is more to it than replacing libdri2.so with the newly compiled version this does _not_ fix the issue for me.
Comment 12 gottfried.haider 2011-05-17 13:32:22 UTC
I can't rule out that they do something but I am still seeing it.

It seems to be rather connected to certain geometries/textures than a global thing (at least now) - for example there is a position in the map where the weapon flickers, making a texture beneath visible.

Uploading the last video of the day..
Comment 13 gottfried.haider 2011-05-17 13:35:25 UTC
http://www.youtube.com/watch?v=rywJs08LoKk
Comment 14 gottfried.haider 2011-07-17 08:27:02 UTC
I don't know what exactly fixed this, but I just tried a recent 3.0-rc kernel and I am happy to report that OpenArena runs just fine now. Kudos!

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.