Bug 80834

Summary: Unigine Valley incorrect rendering (trees and land are black) on HD Graphics 4000
Product: Mesa Reporter: Vitaliy Filippov <vitalif>
Component: Drivers/DRI/i965Assignee: Ian Romanick <idr>
Status: RESOLVED NOTOURBUG QA Contact: Intel 3D Bugs Mailing List <intel-3d-bugs>
Severity: normal    
Priority: medium CC: intel-gfx-bugs
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Scene 7 - Intel
Scene 8 - Intel
Scene 7 - radeonsi
Scene 8 - radeonsi

Description Vitaliy Filippov 2014-07-02 23:04:22 UTC
Created attachment 102169 [details]
Scene 7 - Intel

Hi!

I'm getting incorrect rendering in Unigine Valley benchmark on HD Graphics 4000 card (Core i7-3635QM CPU). When I've tried to run Valley first I did hit Bug 75664 and got lots of shader errors and white screen... but that was fixed by adding MESA_EXTENSION_OVERRIDE="-GL_ARB_sample_shading" (as I understand it shouldn't be a problem because r600/radeonsi I use as a reference doesn't have this extension either). So it runs now, but the trees and most of the land is black. See screenshots... everything is good on r600/radeonsi.
Comment 1 Vitaliy Filippov 2014-07-02 23:04:48 UTC
Created attachment 102170 [details]
Scene 8 - Intel
Comment 2 Vitaliy Filippov 2014-07-02 23:05:18 UTC
Created attachment 102171 [details]
Scene 7 - radeonsi
Comment 3 Vitaliy Filippov 2014-07-02 23:06:15 UTC
Created attachment 102172 [details]
Scene 8 - radeonsi
Comment 4 Vitaliy Filippov 2014-07-10 20:45:30 UTC
Still reproduces after upgrading to mesa 10.2.2. Anyone?
Comment 5 Kenneth Graunke 2014-07-19 17:40:25 UTC
The current release of Unigine Valley has a bug in their dual color blending code.  It tells us to blend two colors together in a particular way, but doesn't tell us which is which.  We could guess, but it's only a 50-50 chance we'd get it right.  Presumably radeonsi happens to guess correctly.

Unigine has an updated version of Valley which fixes this bug, but hasn't released it yet for some reason.
Comment 6 Vitaliy Filippov 2014-07-22 20:20:46 UTC
Do you think it's the same bug?

I've read the discussion in the previous bug, and I thought the color mixing bug only results in white screen... But in this case it's not white screen...
Comment 7 Kenneth Graunke 2014-07-30 03:18:02 UTC
No, the dual color blending bug results in most foreground objects being totally black, which looks like your pictures.  The "#extension GL_ARB_sample_shading : enable" in the wrong place bug results in the entire screen being white.

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.