Bug 28655 - [r300g] Regression caused by commit 9b2ebcaf4b94bfc8756f6b216e0e452013616f2c
Summary: [r300g] Regression caused by commit 9b2ebcaf4b94bfc8756f6b216e0e452013616f2c
Status: RESOLVED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/r300 (show other bugs)
Version: git
Hardware: x86 (IA32) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-21 14:48 UTC by Rubén Fernández
Modified: 2010-06-22 19:37 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Screenshot showing an incorrectly rendered scene (823.90 KB, image/png)
2010-06-21 14:56 UTC, Rubén Fernández
Details
the same scene, correctly rendered before the commit (939.95 KB, image/png)
2010-06-21 14:57 UTC, Rubén Fernández
Details
WAIT_DMA_GUI_IDLE patch (1.25 KB, patch)
2010-06-21 18:33 UTC, Marek Olšák
Details | Splinter Review
the same star, with patch applied (322.12 KB, image/png)
2010-06-22 07:12 UTC, Rubén Fernández
Details

Description Rubén Fernández 2010-06-21 14:48:30 UTC
After commit 9b2ebcaf4b94bfc8756f6b216e0e452013616f2c, "r300g: fix random pixels appearing / incomplete rendering", the game "Call of Cthulhu: Dark Corners of the Earth" (played using wine - with GLSL disabled) stops rendering textures correctly.

Graphics Card: ATI Technologies Inc RV505 [Radeon X1550 64-bit]
CPU: Intel Core Duo 1.8 Ghz, 2.5 GB RAM
Linux kernel 2.6.34, libdrm 2.4.21
Comment 1 Rubén Fernández 2010-06-21 14:56:35 UTC
Created attachment 36407 [details]
Screenshot showing an incorrectly rendered scene
Comment 2 Rubén Fernández 2010-06-21 14:57:42 UTC
Created attachment 36408 [details]
the same scene, correctly rendered before the commit
Comment 3 Marek Olšák 2010-06-21 18:33:11 UTC
Created attachment 36412 [details] [review]
WAIT_DMA_GUI_IDLE patch

Does the attached patch help?
Comment 4 Rubén Fernández 2010-06-22 07:10:54 UTC
(In reply to comment #3)
> Created an attachment (id=36412) [details]
> WAIT_DMA_GUI_IDLE patch
> 
> Does the attached patch help?

It doesn't improve anything, but it changed something: now the five-pointed star looks like a square; the new screenshot called "same star, with patch" shows the exact same white star from the other screenshots, as it looks with the patch applied
Comment 5 Rubén Fernández 2010-06-22 07:12:11 UTC
Created attachment 36418 [details]
the same star, with patch applied
Comment 6 Rubén Fernández 2010-06-22 07:54:14 UTC
> > Does the attached patch help?
> 
> It doesn't improve anything, but it changed something: now the five-pointed
> star looks like a square; the new screenshot called "same star, with patch"
> shows the exact same white star from the other screenshots, as it looks with
> the patch applied

Actually, I realised I loaded the wrong saved game; that square wasn't the same star from the previous screenshots (sorry for the confusion).

In sum, the patch changed nothing at all. As before, all textures in the game look tiled, like a jigsaw puzzle (problem with texture coordinates, perhaps? putting pieces of the texture in the wrong places?)
Comment 7 Alex Deucher 2010-06-22 08:14:04 UTC
Does disabling colortiling help?
Option "ColorTiling" "False"
in the device section of your xorg.conf
Comment 8 Rubén Fernández 2010-06-22 09:00:52 UTC
(In reply to comment #7)
> Does disabling colortiling help?
> Option "ColorTiling" "False"
> in the device section of your xorg.conf

No change, I'm afraid
Comment 9 Marek Olšák 2010-06-22 16:44:01 UTC
I've committed a workaround, could you try current mesa git?
Comment 10 Rubén Fernández 2010-06-22 19:19:12 UTC
(In reply to comment #9)
> I've committed a workaround, could you try current mesa git?

It works perfectly again now!


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.