Bug 84156

Summary: Half of lighting gets broken in older apps
Product: Mesa Reporter: smoki <smoki00790>
Component: Drivers/Gallium/radeonsiAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description smoki 2014-09-22 01:40:04 UTC
This is from old bug 77785 and about old games where seems like GLSL is not used. In examples i can mention it happens when truck/vehicle turn on lights. Useful apitrace from 18 WoS: Pedal to the Metal game - it is OpenGL game running under wine:

 https://dl.dropboxusercontent.com/u/74553632/pttm_trace2.7z

 The same issue i found that can be reproduced is with 3DMark2001 http://www.futuremark.com/benchmarks/legacy (which is mostly for benchmarking DirectX8 features. So it happens too in 'Car Chase' test, but only when wine is used with UseGLSL disabled.

 http://wiki.winehq.org/UsefulRegistryKeys
Comment 1 smoki 2015-01-08 15:52:51 UTC
 After commit radeonsi: force NaNs to 0

 http://cgit.freedesktop.org/mesa/mesa/commit/?id=2150db4d5daad3781876254d2b440367afd756cd

 Rendering changed partially, at least truck is no more black.
Comment 2 smoki 2016-07-26 18:17:19 UTC
 This works now on fglrx, fixed.
Comment 3 Nicolai Hähnle 2016-07-27 06:15:43 UTC
Whether it works with fglrx is irrelevant for this bug report. Does it work with radeonsi?
Comment 4 smoki 2016-07-29 10:02:22 UTC
 No it does not work, so i guessed it is irrelevant after 2 years of no one else commennted on it.
Comment 5 Marek Olšák 2016-10-17 20:31:28 UTC
This works fine on Tonga and Bonaire here.
Comment 6 smoki 2016-10-30 15:12:50 UTC
 So you got this fixed now, works for me too... thanks :)

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.