steam-for-linux icon indicating copy to clipboard operation
steam-for-linux copied to clipboard

Vulkan loader (from the steam runtime) ignores ICD in /usr/share/vulkan/icd.d

Open Jajcus opened this issue 10 years ago • 4 comments

According to https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/blob/sdk-1.0.3/loader/LoaderAndLayerInterface.md, the Vulkan loader should look for ICD configuration in /usr/share/vulkan/icd.d and /etc/vulkan/icd.d, but the loader included in steam runtime seems to look only into /etc/vulkan/icd.d (checked with strace).

Vulkan apps started from Steam won't see my Vulkan driver unless I put their ICD json file in /etc/vulkan/icd.d. My Linux distribution package with the driver puts the JSON file in the /usr/share/vulkan/icd.d directory, as suggested by the Khronos document:

The "/usr/share/vulkan/icd.d" directory is for ICDs that are installed from Linux-distribution-provided packages.

Jajcus avatar Feb 20 '16 16:02 Jajcus

We have a fix coming for this, thanks for the report.

Plagman avatar Feb 20 '16 20:02 Plagman

Can you confirm the fix with tonight's update?

Plagman avatar Feb 23 '16 03:02 Plagman

How start Steam on Vulkan API ?

mrdeathman avatar Feb 23 '16 13:02 mrdeathman

Can you confirm the fix with tonight's update?

Yes, it is working now.

Jajcus avatar Feb 23 '16 15:02 Jajcus