https://bugs.freedesktop.org/show_bug.cgi?id=30044
Summary: [R600c] Corruption in Penumbra Overture demo when color tiling is enabled Product: DRI Version: XOrg CVS Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: DRM/Radeon AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: darkbasic4@gmail.com
The same kind of corruption I noticed in every game with R600g+color tiling. I does work properly when color tiling is off.
mesa git, libdrm git, xf86-video-ati git, xorg-server-1.9, drm-radeon-testing
Darkbasic
https://bugs.freedesktop.org/show_bug.cgi?id=30044
--- Comment #1 from Alex Deucher agd5f@yahoo.com 2010-09-06 21:09:54 PDT --- Please attach your xorg log and dmesg output after running the game with tiling enabled.
https://bugs.freedesktop.org/show_bug.cgi?id=30044
--- Comment #2 from darkbasic darkbasic4@gmail.com 2010-09-07 05:02:42 PDT --- Created an attachment (id=38507) --> (https://bugs.freedesktop.org/attachment.cgi?id=38507) dmesg
https://bugs.freedesktop.org/show_bug.cgi?id=30044
--- Comment #3 from darkbasic darkbasic4@gmail.com 2010-09-07 05:03:04 PDT --- Created an attachment (id=38508) --> (https://bugs.freedesktop.org/attachment.cgi?id=38508) Xorg.0.log
https://bugs.freedesktop.org/show_bug.cgi?id=30044
--- Comment #4 from darkbasic darkbasic4@gmail.com 2010-09-07 05:03:18 PDT --- Here it is.
https://bugs.freedesktop.org/show_bug.cgi?id=30044
Mathieu Belanger b747xx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |b747xx@gmail.com
--- Comment #5 from Mathieu Belanger b747xx@gmail.com 2010-09-08 10:14:54 PDT --- *** Bug 30076 has been marked as a duplicate of this bug. ***
https://bugs.freedesktop.org/show_bug.cgi?id=30044
Nils Kneuper crazy-ivanovic@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |crazy-ivanovic@gmx.net
--- Comment #6 from Nils Kneuper crazy-ivanovic@gmx.net 2010-10-07 07:11:03 PDT --- Currently alink is working on porting wesnoth to opengl. The start was a crude hack somehow coding opengl equivalents of sdl commands. This branch does lead to screen corruptions as shown in the screenshot attached to Bug 30076 which is marked a duplicate of this one.
alink added some tests for commonly used functions in the wesnoth-gl port. It seems as if this (at least regarding the output of the function later on) does not work as expected:
20101007 15:55:17 error display: Can't read or write on back buffer. 20101007 15:55:17 error display: Can't read or write on front buffer. 20101007 15:55:17 error display: Can't copy from back buffer to front buffer. 20101007 15:55:17 error display: Can't copy from back buffer to back buffer.
Adding glFlush commands does lead the the same prob. Using r600c this does work over here, r600g does show the corruption when color tiling is active. Testbase: rv670 512MB (HD3850), kernel 2.6.36-rc[6,7] (amd64), xorg-server-1.9.x, libdrm git master, xf86-video-ati git master, mesa git master
The function creating this output is "static bool test_buffers(bool flush)" and it is part of the following source file: http://svn.gna.org/viewcvs/wesnoth/branches/ogl/src/video.cpp?revision=46911...
https://bugs.freedesktop.org/show_bug.cgi?id=30044
darkbasic darkbasic4@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #7 from darkbasic darkbasic4@gmail.com 2011-02-20 15:40:07 PST --- Corruption is solved, but it's slow as hell. Just unplayable.
dri-devel@lists.freedesktop.org