Skip to contentSkip to conversation

New: [R600c] Corruption in Penumbra Overture demo when color tiling is enabled

Bug 30044 [email protected] 1 participant 8 messages Sep 6, 2010 – Feb 20, 2011

lore
Share & tools
lore
#0 lore raw

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: [email protected]
ReportedBy: [email protected]

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

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw

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

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

--- Comment #1 from Alex Deucher <[email protected]> 2010-09-06 21:09:54 PDT --- Please attach your xorg log and dmesg output after running the game with tiling enabled.

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#2 lore raw

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

In reply to [email protected]

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

--- Comment #2 from darkbasic <[email protected]> 2010-09-07 05:02:42 PDT --- Created an attachment (id=38507)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38507)
dmesg

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

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

In reply to [email protected]

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

--- Comment #3 from darkbasic <[email protected]> 2010-09-07 05:03:04 PDT --- Created an attachment (id=38508)
--> (https://bugs.freedesktop.org/attachment.cgi?id=38508)
Xorg.0.log

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#5 lore raw

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

In reply to [email protected]

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

Mathieu Belanger <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #5 from Mathieu Belanger <[email protected]> 2010-09-08 10:14:54 PDT --- *** Bug 30076 has been marked as a duplicate of this bug. ***

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#6 lore raw

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

In reply to [email protected]

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

Nils Kneuper <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #6 from Nils Kneuper <[email protected]> 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

Signature · 3 lines
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#7 lore raw

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

In reply to [email protected]

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

darkbasic <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #7 from darkbasic <[email protected]> 2011-02-20 15:40:07 PST --- Corruption is solved, but it's slow as hell. Just unplayable.

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