https://bugs.freedesktop.org/show_bug.cgi?id=42913
Bug #: 42913 Summary: r600g: glx-swap-pixmap causes screen corruption Classification: Unclassified Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/r600 AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: debian@carbon-project.org
First: I don't think this is bug 40610 because I don't see a crash but screen corruption and (sometimes) the following lines in dmesg:
radeon 0000:01:00.0: r600_check_texture_resource:1346 texture invalid format 0 [drm:radeon_cs_ioctl] *ERROR* Invalid command stream !
But I'm no Mesa/Piglit expert, so my assumption might be wrong.
The Piglit test itself fails, the output is:
Probe at (0,0) Expected: 0.000000 1.000000 0.000000 0.000000 Observed: 0.000000 0.000000 1.000000 1.000000
Used stack: Mesa: Git/9ae10e9c libdrm: 2.4.27-1 Kernel: 3.1.1 X.org: 1.11.1.902-1
Let me know, if you need more information.
https://bugs.freedesktop.org/show_bug.cgi?id=42913
--- Comment #1 from Kai debian@carbon-project.org 2011-11-15 08:38:49 PST --- Todays run showed one difference in what was reported by Piglit:
Probe at (0,0) Expected: 0.000000 1.000000 0.000000 0.000000 Observed: 0.000000 0.000000 0.000000 1.000000 PIGLIT: {'result': 'fail' }
apart from that, the screen is still corrupted (a KDM restart fixes the screen again; also non-X TTYs aren't affected either).
Used stack: Mesa: Git/9d4d9d34 libdrm: 2.4.27-1 Kernel: 3.1.1 X.org: 1.11.1.902-1
https://bugs.freedesktop.org/show_bug.cgi?id=42913
--- Comment #2 from Dave Airlie airlied@freedesktop.org 2011-11-15 09:34:49 PST --- does xrandr to a new mode and back help?
https://bugs.freedesktop.org/show_bug.cgi?id=42913
--- Comment #3 from Kai debian@carbon-project.org 2011-11-15 11:47:33 PST --- (In reply to comment #2)
does xrandr to a new mode and back help?
Yes, that restores a normal screen. AFAICT there is no vestige of the corruption left.
https://bugs.freedesktop.org/show_bug.cgi?id=42913
--- Comment #4 from Kai debian@carbon-project.org 2011-11-22 05:31:15 PST --- The weekend's Piglit run showed the bug with Mesa git/03df791c.
Apart from that I noticed, that this bug was assigned to dri-devel and not mesa-dev. Is that correct? This is, after all, most likely a bug in r600g and I thought Gallium driver development happened on mesa-dev.
https://bugs.freedesktop.org/show_bug.cgi?id=42913
--- Comment #5 from Stefano Teso stefano.teso@gmail.com 2011-12-23 07:29:54 PST ---
But I'm no Mesa/Piglit expert, so my assumption might be wrong.
I have the very same issue here on evergreen, 32-bit userland on i7; debian unstable.
mesa: git 2eafd07323891944b9c012a17359cd5f07a87890 (cloned as of today) libdrm: 2.4.29-1 kernel: 3.2-rc6 xorg: 1.11.2.902-1
(BTW, when using gnome-shell, the corruption is fixed automatically after half a second or so; using fluxbox, the screen stays corrupted.)
HTH,
https://bugs.freedesktop.org/show_bug.cgi?id=42913
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED AssignedTo|dri-devel@lists.freedesktop |xorg-driver-ati@lists.x.org |.org | QAContact| |xorg-team@lists.x.org Product|Mesa |xorg Component|Drivers/Gallium/r600 |Driver/Radeon
--- Comment #6 from Michel Dänzer michel@daenzer.net 2011-12-28 04:26:33 PST --- Fixed in xf86-video-ati Git ae45d7e6d8e6844cd4586c9ee97c21b257fa788f ('DRI2: Can't use page flipping for pixmaps.').
dri-devel@lists.freedesktop.org