https://bugs.freedesktop.org/show_bug.cgi?id=105282
Bug ID: 105282 Summary: Divinity: Original Sin Enhanced Edition blocky and jagged shadows. Product: Mesa Version: 17.3 Hardware: All OS: Linux (All) Status: NEW Severity: enhancement Priority: medium Component: Drivers/Gallium/radeonsi Assignee: dri-devel@lists.freedesktop.org Reporter: e.singularitycat@gmail.com QA Contact: dri-devel@lists.freedesktop.org
After working around the bugs described in #93551 and getting the game running, I noticed that unless the shadow quality setting was at "Ultra", all rendered shadows are blocky and jagged, with gaps appearing between the shadows cast be apparently solid objects.
I messed around with some driconf options, and discovered that this rendering issue goes away if setting the "glsl_correct_derivatives_after_discard" option.
Unfortunately, I couldn't get a working apitrace because of the LD_PRELOAD hacks, but attached are two screenshots of roughly the same area, one without the option (before.png) and one with (after.png).
https://bugs.freedesktop.org/show_bug.cgi?id=105282
--- Comment #1 from Elliot Thomas e.singularitycat@gmail.com --- Created attachment 137676 --> https://bugs.freedesktop.org/attachment.cgi?id=137676&action=edit Without "glsl_correct_derivatives_after_discard"
https://bugs.freedesktop.org/show_bug.cgi?id=105282
--- Comment #2 from Elliot Thomas e.singularitycat@gmail.com --- Created attachment 137677 --> https://bugs.freedesktop.org/attachment.cgi?id=137677&action=edit With "glsl_correct_derivatives_after_discard"
https://bugs.freedesktop.org/show_bug.cgi?id=105282
Timothy Arceri t_arceri@yahoo.com.au changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #3 from Timothy Arceri t_arceri@yahoo.com.au --- Should be fixed by:
commit 3c9144f9e5888e9a31886b64168f63e991da01d0 Author: Timothy Arceri tarceri@itsqueeze.com Date: Fri Aug 2 10:05:20 2019 +1000
drirc: Add discard workaround for Divinity: Original Sin EE
This adds an additional work around for the game to fix the blocky shadows as reported in bug 105282
Acked-by: Eric Engestrom eric.engestrom@intel.com Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=105282
dri-devel@lists.freedesktop.org