Bug 87518

Summary: radeonsi/cik: some lighting > dashed lines artifact
Product: Mesa Reporter: smoki <smoki00790>
Component: Drivers/Gallium/radeonsiAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: medium    
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: stk screenshot
stacking screenshot

Description smoki 2014-12-20 03:36:53 UTC
Two examples, two pictures. From supertuxkart 0.8.2-beta and also happens in Stacking game.
 
 http://sourceforge.net/projects/supertuxkart/files/SuperTuxKart/0.8.2-beta/
 http://www.gog.com/game/stacking
 
 Hardware is Athlon 5350 R3 Kabini, mesa and llvm from today git.
 
 A tried to go down to mesa 10.1/llvm3.4 but this had never work right, so issue is there too.
Comment 1 smoki 2014-12-20 03:38:57 UTC
Created attachment 111065 [details]
stk screenshot

 BTW for STK i first need 'radeonsi: force NaNs to 0' patch, otherwise when just enable 'Advanced pipeline' in game settings nearly everything is completely black. So just to mention that, but even without that patch those dashed (sky)lines are visible. 
 
 https://freedesktop.org/patch/38706/
Comment 2 smoki 2014-12-20 03:41:27 UTC
Created attachment 111066 [details]
stacking screenshot

 For Stacking game, it render otherwise fine by default (no NaNs patch needed), just those dashed lines whanever OGL/Shaders/Light.fxo is used... that happens mainly when lighting appear from windows or in some specific more lightned up places.
 
 I might upload apitrace from that one if needed, but i think it is the same cause as in opensource SupertuxKart 0.8.2-beta game.
Comment 3 smoki 2014-12-20 04:15:10 UTC
 Checked llvmpipe and fglrx, both worked fine... so yeah it is radeonsi driver bug.
Comment 4 smoki 2015-01-26 15:06:48 UTC
 This Michel's llvm patch fixes this bug:

http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20150119/254035.html
Comment 5 smoki 2015-01-26 15:07:41 UTC

*** This bug has been marked as a duplicate of bug 88642 ***

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.