mirror of
https://github.com/lutris/lutris
synced 2024-11-02 08:20:51 +00:00
Fix VK_ICD_FILENAMES not being set correctly
-We don't need to validate the file paths, there are two reasons this is incorrect: (1) The file paths are already verified when they are auto-added here:089b865290/lutris/sysoptions.py (L72)
(2) Since the files are concatenated here:089b865290/lutris/sysoptions.py (L78)
it makes system.path_exists(vk_icd) invalid, because the value of vk_icd is now path1:path2:path3:path4 and so on, instead of a single file path. Therefore the check for system.path_exists(vk_icd) fails and VK_ICD_FILENAMES never actually gets set by Lutris.
This commit is contained in:
parent
5632d3b8a8
commit
9541841cd5
1 changed files with 1 additions and 1 deletions
|
@ -177,7 +177,7 @@ class Runner: # pylint: disable=too-many-public-methods
|
|||
|
||||
# Vulkan ICD files
|
||||
vk_icd = self.system_config.get("vk_icd")
|
||||
if vk_icd and vk_icd != "off" and system.path_exists(vk_icd):
|
||||
if vk_icd:
|
||||
env["VK_ICD_FILENAMES"] = vk_icd
|
||||
|
||||
runtime_ld_library_path = None
|
||||
|
|
Loading…
Reference in a new issue