Bug 107454

Summary: BLENDER 2.8 principled BSDF shader and shadow are broken in EEVEE on mesa gallium r600g gpu
Product: Mesa Reporter: amonpaike <amonpaike>
Component: Drivers/Gallium/r600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED MOVED QA Contact: Default DRI bug account <dri-devel>
Severity: major    
Priority: medium CC: gw.fossdev, mirh
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Shader that gets incorrectly optimized by sb

Description amonpaike 2018-08-02 14:28:47 UTC
on the new blender 2.8 under development some shaders and projections of shadows are broken .. I do not know how to describe the problem technically, I have already reported the problem to the bug list of blender developers, although I know that the problem is probably the mesa drivers, because on my laptop that has two gpu, with the intel gpu the graphics is perfect, with the gpu amd I have these problems of shading.
For a specific description of the problem, refer to this bug report
https://developer.blender.org/T56211
(the tests were done on the latest mesa drivers built daily by padoka ppa, with the stable drivers of ubuntu 18.04 eevee shading was totally unusable, so the situation has improved significantly)
Comment 1 Gert Wollny 2018-08-13 13:34:20 UTC
Can you retry with 

R600_DEBUG=nosb blender? 

For me it seems to mostly fix ESM (when comparing to VSM)
Comment 2 Gert Wollny 2018-08-14 17:17:04 UTC
Created attachment 141085 [details]
Shader that gets incorrectly optimized by sb

The attached shader is one of the exampled that gets incorrectly optimized by sb
Comment 3 amonpaike 2018-08-17 10:38:38 UTC
today the repository padoka ppa has updated the drivers so I could test blender 2.8 ... all the problems are now solved! (Except the shadow ESMs that probably depend on blender, I will present to the blender developers of the problem)
Great job Thank you !!
Comment 4 GitLab Migration User 2019-09-18 19:26:12 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/643.

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.