loader gets confused with extra / in XDG_DATA_DIRS
airlied opened this issue · 0 comments
airlied commented
So on Fedora XDG_DATA_DIRS is
XDG_DATA_DIRS=/home/airlied/.local/share/flatpak/exports/share/:/var/lib/flatpak/exports/share/:/usr/local/share/:/usr/share/
which causes the search path to end up as
/etc/xdg/vulkan/explicit_layer.d:/usr/share/vulkan/explicit_layer.d:/etc/vulkan/explicit_layer.d:/home/airlied/.local/share/flatpak/exports/share//vulkan/explicit_layer.d:/var/lib/flatpak/exports/share//vulkan/explicit_layer.d:/usr/local/share//vulkan/explicit_layer.d:/usr/share//vulkan/explicit_layer.d
Note we get extra // in there, this means the loader end up loading the same icd twice and double reporting devices.