[Linux] [AMD] [Vulkan] Fix for shadows/Lighting effects not present

I have a fix for shadows/lighting not rendering in vulkan Path of Exile (AMD).
It's probably only affecting players using the standalone launcher (the obsolete mesa workaround is not applied for steam users).
It's working for me with a ryzen 5600X/Radeon RX 6800.

In short there's an obsolete workaround setting in the driver (Mesa radv), that breaks shadows/lighting since the POE engine patch in july.
That setting is radv_absolute_depth_bias and there's also radv_no_dynamic_bounds that is not needed anymore.

You can create a .drirc file in your home directory and add this content :

"
<driconf>
<device driver="radv">
<application name="Path of Exile (64-bit)" executable="PathOfExile_x64.exe">
<option name="radv_no_dynamic_bounds" value="false" />
<option name="radv_absolute_depth_bias" value="false" />
</application>
<application name="Path of Exile (32-bit)" executable="PathOfExile.exe">
<option name="radv_no_dynamic_bounds" value="false" />
<option name="radv_absolute_depth_bias" value="false" />
</application>
</device>
</driconf>


I ketp the application names used in the driver, although we don't have a 32bits client anymore.
Last edited by MrVaad#4008 on Sep 12, 2023, 12:11:29 PM
Last bumped on Dec 8, 2024, 1:36:54 PM
thank you very much, the fix worked like a charm!
If you are running the game with lutris you can pass those parameters with environment variables

right click the game -> configure -> system options

All the way down there should be a table with Environment variables
you can add radv_absolute_depth_bias and radv_no_dynamic_bounds and set both of those to 0
You can also add the environment variables in Steam:
1. Go to Properties from the gear on the POE page in Steam
2. At the bottom of the General tab there's Launch Options
3. Paste this into the box:

radv_absolute_depth_bias=0 radv_no_dynamic_bounds=0 %command%
Last edited by goldstarbrother#3532 on Sep 20, 2023, 11:57:13 AM
Small update :
When i made this post, i submitted an issue on the mesa radv site (amd linux driver) with explanations and solution.

Those unneeded variables have been removed by the developpers. So in one of the next versions, it should be in the drivers :)
Last edited by MrVaad#4008 on Sep 27, 2023, 5:16:18 PM
This worked for me. Thank you.
"
MrVaad wrote:
Small update :
When i made this post, i submitted an issue on the mesa radv site (amd linux driver) with explanations and solution.

Those unneeded variables have been removed by the developpers. So in one of the next versions, it should be in the drivers :)


Great stuff. Thanks for helping out :)
"
radv_absolute_depth_bias=0 radv_no_dynamic_bounds=0 %command%


Reviving this because this fixed global illumination for me on PoE2

AMD/AMD system, vulkan renderer, Proton GE 9.20

Report Forum Post

Report Account:

Report Type

Additional Info