Using lutris latest version in crostini debian bullseye container. I previously was able to select the correct vulkan icd loader on an older version of lutris, however the option has changed in the latest version of lutris. It says warning no vulkan icd loader detected? I had set the vulkan icd loader to :
The way you’d set the variable in Lutris would be on the System options tab of Configuration of the individual game.
You would not use “export” or = because they are form fields for variable name and value.
You’d put VK_ADD_DRIVER_FILES in the first field, then click in the field to the right of it and put /usr/share/vulkan/icd.d//virtio_icd.i686.json:/usr/share/vulkan/icd.d/virtio_icd.x86_64.json in the second.
Note that paragraph in the link that was given to you though, if any other of those variables are set, VK_ADD_DRIVER_FILES will be ignored. I still use VK_ICD_FILENAMES because, I hate shit that changes just to confuse people.
Your best bet is probably to use VK_DRIVER_FILES as that one is the preferred value (and others will be ignored), but whichever works for you.
Well, it sets the ENV for that invocation, when you launch the session to run the game. This whole thing relies on environment variables to launch with the correct parameters and paths. It’s the reason you can have multiple wine runners, runtimes and wine prefixes. Otherwise it would be /usr/bin/wine and /home/yourname/.wine etc.
Lutris really has nothing to do with your vulkan driver selection, it’s just providing a convenient way to set the environment variable to override it on invocation of vulkan.