Bug 18516

Summary: [G45 GEM] Problem with shadows in Doom 3
Product: Mesa Reporter: Sven Arvidsson <sa>
Component: Drivers/DRI/i965Assignee: Eric Anholt <eric>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Doom 3 screenshot
Doom 3 menu

Description Sven Arvidsson 2008-11-13 07:06:07 UTC
Created attachment 20281 [details]
Doom 3 screenshot

Doom 3, and other games based on the same engine (Quake 4, Prey) all have severe problems with shadows. I'm attaching a screenshot to show the problem.

This happens when the arb2 renderer is used, which seems to be the default. 
Setting it manually to arb (+set r_renderer arb) doesn't result in this problem, but it's a lot less fun as it makes the game quite ugly.

I will retry later with Mesa 7.2 to see if this is a regression.

System environment:
-- chipset: G45 / ICH10R
-- system architecture: 32-bit
-- xf86-video-intel: 667923559219429b0c5fec12a0164f7eba1f8f2d
-- xserver: 1.5.2
-- mesa: e1fbb30211549f2ee79d8ff9764f833e5317bebe
-- drm: 930c0e7cf4f4776f7a69e7acc6fedeed7addb235
-- kernel: drm-intel-next 78d3308fc296d1f960a0b35912ba4178f56a3d6f
-- Linux distribution: Debian unstable
-- Machine or mobo model: Asus P5Q-EM
-- Display connector: DVI
Comment 1 Eric Anholt 2008-12-02 14:04:46 UTC
May be fixed as of 3e0164aabb48a99fce58964cad99fd3978ee84f6 in mesa.
Comment 2 Sven Arvidsson 2008-12-02 16:11:33 UTC
Created attachment 20752 [details]
Doom 3 menu

It's still there, in fact the broken shadows can even be seen on the planet in the menu, which also has other strange effects. I'm attaching a new screenshot.
Comment 3 Eric Anholt 2008-12-03 14:18:01 UTC
Last I used doom 3 long ago, it had z-fighting-looking issues like that in the main menu.  Do you have some evidence that it's gem-related?
Comment 4 Sven Arvidsson 2008-12-04 14:59:39 UTC
No, indeed, the problems with shadows and the menu exist with a non-GEM kernel too.
Comment 5 Gordon Jin 2008-12-09 22:19:24 UTC
Thanks, Sven, I'm marking dup.

*** This bug has been marked as a duplicate of bug 18844 ***
Comment 6 Adam Jackson 2009-08-24 12:31:05 UTC
Mass version move, cvs -> git

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.