You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The deqp-vk executable of the vulkan-cts package is pretty much guaranteed to not work if LD_LIBRARY_PATH is set (and doesn't include vulkan-loader specifically).
Steps To Reproduce
Steps to reproduce the behavior:
$ cd$(mktemp -d)&& LD_LIBRARY_PATH= nix-shell -p vulkan-cts --run deqp-vkWriting test log into TestResults.qpadEQP Core unknown (0xcafebabe) starting.. target implementation = 'Default'FATAL ERROR: Failed to open dynamic library: '/nix/store/fr89g4mi5zsplmjfl56y0ckl7pzzdskq-vulkan-loader-1.3.283.0/lib/libvulkan.so'/tmp/nix-shell-1315847-0/rc: line 3: 1319655 Killed deqp-vk
(as per KhronosGroup/VK-GL-CTS#479, it actually tries dlopen("libvulkan.so") - more precisely, dlopen(basename("/nix/store/.../libvulkan.so")), throwing away absolute paths)
Expected behavior
deqp-vk should work regardless of the ambient value of LD_LIBRARY_PATH.
Additional context
I've filed an upstream report for the bizarre sensitivity to LD_LIBRARY_PATH:
Might make sense to patch it in nixpkgs than trying to work around it by e.g. appending ${vulkan-loader}/lib to LD_LIBRARY_PATH etc. (even if that might be easier for now - locally I just unset LD_LIBRARY_PATH before running deqp-vk).
Describe the bug
The
deqp-vk
executable of thevulkan-cts
package is pretty much guaranteed to not work ifLD_LIBRARY_PATH
is set (and doesn't includevulkan-loader
specifically).Steps To Reproduce
Steps to reproduce the behavior:
(as per KhronosGroup/VK-GL-CTS#479, it actually tries
dlopen("libvulkan.so")
- more precisely,dlopen(basename("/nix/store/.../libvulkan.so"))
, throwing away absolute paths)Expected behavior
deqp-vk
should work regardless of the ambient value ofLD_LIBRARY_PATH
.Additional context
I've filed an upstream report for the bizarre sensitivity to
LD_LIBRARY_PATH
:Might make sense to patch it in
nixpkgs
than trying to work around it by e.g. appending${vulkan-loader}/lib
toLD_LIBRARY_PATH
etc. (even if that might be easier for now - locally I just unsetLD_LIBRARY_PATH
before runningdeqp-vk
).Notify maintainers
cc @Flakebi
Metadata
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: