[Bug 30044] [R600c] Corruption in Penumbra Overture demo when color tiling is enabled

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 7 07:11:04 PDT 2010


https://bugs.freedesktop.org/show_bug.cgi?id=30044

Nils Kneuper <crazy-ivanovic at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |crazy-ivanovic at gmx.net

--- Comment #6 from Nils Kneuper <crazy-ivanovic at 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&view=markup

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


More information about the dri-devel mailing list