Bug 14940

Summary: Mesa/i965 corruption with Mesa 7.0.3-rc2
Product: Mesa Reporter: Brice Goglin <brice.goglin>
Component: Drivers/DRI/i965Assignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium CC: dri-devel, jan, jejebr, mario.galanti, rpilar, sjoerd, tristan.willy
Version: unspecifiedKeywords: regression
Hardware: Other   
OS: All   
URL: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=470084
Whiteboard:
i915 platform: i915 features:
Attachments: Re-enable -ve rhw workaround for all i965 chips.

Description Brice Goglin 2008-03-10 11:00:02 UTC
Kyle Kearney and Jordi Gutiérrez Hermoso both report corrupted rendering on i965 with mesa 7.0.3-rc2. The problem did not occur with rc1 (Debian's 7.0.2-4).

Kyle said:
"I am experiencing graphics corruption in several 3D games since installing the
mesa 7.0.3-rc2 updates. A screenshot is attached illustrating the effect as it is
rather difficult to describe. I have observed this in supertuxkart, planet penguin
racer, armagetron, and open arena, both with and without compiz running. Glxgears
does not report any anomolies. My graphics processor is an Intel GMA x3100 (965
chipset)."

More details at the URL above, including a screenshot at http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=Mesaproblem.png;att=1;bug=470084

Brice
Comment 1 Gordon Jin 2008-03-10 18:41:40 UTC
At least open arena works on my GM965.
Comment 2 Mario Galanti 2008-03-12 07:11:15 UTC
Hi,

I can confirm that the bug is present if I use the 7.0.3-rc2 version of the mesa library; I use Debian testing and I have an i965 video card. If I try to play Vegastrike or Armagetron, I can see exactly the same kind of graphics corruption that is shown in the screenshot:

http://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=Mesaproblem.png;att=1;bug=470084

I have not tried other 3D games or apps, so I cannot say whether there are other programs affected by this bug on my system.

Also for me, the 7.0.2-4 (as named by Debian) version of the library produced no artefacts.

Kind regards,

Mario
Comment 3 Gordon Jin 2008-03-12 20:04:37 UTC
*** Bug 14969 has been marked as a duplicate of this bug. ***
Comment 4 Otakar Truněček 2008-03-30 10:35:35 UTC
Same bug in archlinux
http://bugs.archlinux.org/task/9866
Similar glitches in opengl games with mesa 7.0.3rc2 and intel graphics driver.
Comment 5 Tristan Willy 2008-03-30 11:21:03 UTC
Created attachment 15574 [details] [review]
Re-enable -ve rhw workaround for all i965 chips.
Comment 6 Tristan Willy 2008-03-30 11:22:39 UTC
I noticed the same corruption in git (mesa_7_0_branch) and decided to track it down yesterday. The offending commit is da476ff02dd357d9909a2df9891ee645f5f776a0. It appears a workaround that was always on was changed to IGD chips only. It appears that my G965 requires this workaround, so here's a patch to include all i965 chips when executing the workaround. Patch included.

Regarding the patch, should the -ve rhw workaround even need a test? The DRI driver is for all 965 chips after all.
Comment 7 Tristan Willy 2008-03-30 11:30:38 UTC
Here's some before and after screenshots just to show the problem:

http://pc486.net/screenshot/mesa-7-0-g965-incorrect.png

http://pc486.net/screenshot/mesa-7-0-g965-correct.png
Comment 8 haihao 2008-03-30 18:28:21 UTC
(In reply to comment #6)
> I noticed the same corruption in git (mesa_7_0_branch) and decided to track it
> down yesterday. The offending commit is
> da476ff02dd357d9909a2df9891ee645f5f776a0. It appears a workaround that was
> always on was changed to IGD chips only. It appears that my G965 requires this
> workaround, so here's a patch to include all i965 chips when executing the
> workaround. Patch included.
> 
> Regarding the patch, should the -ve rhw workaround even need a test? The DRI
> driver is for all 965 chips after all.
> 

Thanks . I make a mistake in that commit. The -ve rhw workaround should be applied to 965, not IGD
Comment 9 haihao 2008-03-30 18:51:07 UTC
*** Bug 14794 has been marked as a duplicate of this bug. ***
Comment 10 Gordon Jin 2008-04-06 18:40:21 UTC
*** Bug 15351 has been marked as a duplicate of this bug. ***

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.