Fun times with Vulkan Loaders

Or how I stopped crashing and learnt to love to game 😀

I recently figured out what was causing me some issues with games running under Proton/Wine/Lutris. I have both RADV and AMDVLK drivers installed and many games/loaders do not cope well when there are multiple choices. This would often result in crashes in games that have Silver/Gold/Platinum ratings on winedb.

The trick is to have the game runner enforce a single driver. For Steam you can alter the command used to run the game to:

VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radeon_icd.i686.json:/usr/share/vulkan/icd.d/radeon_icd.x86_64.json %command%
VK_ICD_FILENAMES=/etc/vulkan/icd.d/amd_icd32.json:/etc/vulkan/icd.d/amd_icd64.json %command%

For Lutris, you can add an environment variable for the runners for Epic Games/ Connect etc. Under the games config dialog on the System Options tab you can specify the Environment variables (from above)