-
-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wsl-distro: introduce wsl.useWindowsDriver
option
#339
Conversation
This isn't enough AFAIK, as you also need to load the libraries required by the Windows drivers. Unless Nvidia's driver is just statically linked? |
The problem is that the drivers are designed to The driver libs themselves are in a read-only mount, so they can't be patched either. /usr/lib/wsl/lib]$ readelf -p .rodata ./libcuda.so | grep "\.so"
[ d] libcuda.so.1
[ 1a] libdxcore.so |
Binaries in Unpatched Linux binaries would need |
The problem isn't the binaries themselves, the problem is that the drivers in /usr/lib/wsl attempt to dlopen things and fail. |
Could you share your error message. At least I can use |
On AMD at the very least it will fail with "can't find libcrypto.so.3" or similar. |
I think a workaround is to enable nix-ld-rs. |
No, it doesn't cover dlopen. |
I only have Nvidia GPUs to test and I cannot reproduce the error about |
Not really, at least not easily. Are you saying this configuration is enough to get proper hardware accelerated rendering on Nvidia? Can you run |
The motivation of this PR is to support CUDA, which actually works. I had not tried Vulkan. |
Now I am running 57020: find library=libdl.so.2 [0]; searching 57020: search path=glibc-hwcaps/x86-64-v3:glibc-hwcaps/x86-64-v2:tls/x86_64/x86_64:tls/x86_64:tls/x86_64:tls:x86_64/x86_64:x86_64:x86_64::/run/opengl-driver/lib/glibc-hwcaps/x86-64-v3:/run/opengl-driver/lib/glibc-hwcaps/x86-64-v2:/run/opengl-driver/lib/tls/x86_64/x86_64:/run/opengl-driver/lib/tls/x86_64:/run/opengl-driver/lib/tls/x86_64:/run/opengl-driver/lib/tls:/run/opengl-driver/lib/x86_64/x86_64:/run/opengl-driver/lib/x86_64:/run/opengl-driver/lib/x86_64:/run/opengl-driver/lib (LD_LIBRARY_PATH) 57020: trying file=glibc-hwcaps/x86-64-v3/libdl.so.2 57020: trying file=glibc-hwcaps/x86-64-v2/libdl.so.2 57020: trying file=tls/x86_64/x86_64/libdl.so.2 57020: trying file=tls/x86_64/libdl.so.2 57020: trying file=tls/x86_64/libdl.so.2 57020: trying file=tls/libdl.so.2 57020: trying file=x86_64/x86_64/libdl.so.2 57020: trying file=x86_64/libdl.so.2 57020: trying file=x86_64/libdl.so.2 57020: trying file=libdl.so.2 57020: trying file=/run/opengl-driver/lib/glibc-hwcaps/x86-64-v3/libdl.so.2 57020: trying file=/run/opengl-driver/lib/glibc-hwcaps/x86-64-v2/libdl.so.2 57020: trying file=/run/opengl-driver/lib/tls/x86_64/x86_64/libdl.so.2 57020: trying file=/run/opengl-driver/lib/tls/x86_64/libdl.so.2 57020: trying file=/run/opengl-driver/lib/tls/x86_64/libdl.so.2 57020: trying file=/run/opengl-driver/lib/tls/libdl.so.2 57020: trying file=/run/opengl-driver/lib/x86_64/x86_64/libdl.so.2 57020: trying file=/run/opengl-driver/lib/x86_64/libdl.so.2 57020: trying file=/run/opengl-driver/lib/x86_64/libdl.so.2 57020: trying file=/run/opengl-driver/lib/libdl.so.2 57020: search path=/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib/glibc-hwcaps/x86-64-v3:/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib/glibc-hwcaps/x86-64-v2:/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib/tls/x86_64/x86_64:/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib/tls/x86_64:/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib/tls/x86_64:/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib/tls:/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib/x86_64/x86_64:/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib/x86_64:/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib/x86_64:/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib:/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib64/glibc-hwcaps/x86-64-v3:/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib64/glibc-hwcaps/x86-64-v2:/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib64/tls/x86_64/x86_64:/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib64/tls/x86_64:/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib64/tls/x86_64:/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib64/tls:/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib64/x86_64/x86_64:/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib64/x86_64:/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib64/x86_64:/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib64:/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib/glibc-hwcaps/x86-64-v3:/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib/glibc-hwcaps/x86-64-v2:/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib/tls/x86_64/x86_64:/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib/tls/x86_64:/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib/tls/x86_64:/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib/tls:/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib/x86_64/x86_64:/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib/x86_64:/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib/x86_64:/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib:/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib/glibc-hwcaps/x86-64-v3:/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib/glibc-hwcaps/x86-64-v2:/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib/tls/x86_64/x86_64:/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib/tls/x86_64:/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib/tls/x86_64:/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib/tls:/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib/x86_64/x86_64:/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib/x86_64:/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib/x86_64:/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib:/nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib/glibc-hwcaps/x86-64-v3:/nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib/glibc-hwcaps/x86-64-v2:/nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib/tls/x86_64/x86_64:/nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib/tls/x86_64:/nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib/tls/x86_64:/nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib/tls:/nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib/x86_64/x86_64:/nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib/x86_64:/nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib/x86_64:/nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib:/nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib/glibc-hwcaps/x86-64-v3:/nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib/glibc-hwcaps/x86-64-v2:/nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib/tls/x86_64/x86_64:/nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib/tls/x86_64:/nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib/tls/x86_64:/nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib/tls:/nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib/x86_64/x86_64:/nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib/x86_64:/nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib/x86_64:/nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib (RUNPATH from file vulkaninfo) 57020: trying file=/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib/glibc-hwcaps/x86-64-v3/libdl.so.2 57020: trying file=/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib/glibc-hwcaps/x86-64-v2/libdl.so.2 57020: trying file=/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib/tls/x86_64/x86_64/libdl.so.2 57020: trying file=/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib/tls/x86_64/libdl.so.2 57020: trying file=/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib/tls/x86_64/libdl.so.2 57020: trying file=/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib/tls/libdl.so.2 57020: trying file=/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib/x86_64/x86_64/libdl.so.2 57020: trying file=/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib/x86_64/libdl.so.2 57020: trying file=/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib/x86_64/libdl.so.2 57020: trying file=/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib/libdl.so.2 57020: trying file=/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib64/glibc-hwcaps/x86-64-v3/libdl.so.2 57020: trying file=/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib64/glibc-hwcaps/x86-64-v2/libdl.so.2 57020: trying file=/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib64/tls/x86_64/x86_64/libdl.so.2 57020: trying file=/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib64/tls/x86_64/libdl.so.2 57020: trying file=/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib64/tls/x86_64/libdl.so.2 57020: trying file=/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib64/tls/libdl.so.2 57020: trying file=/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib64/x86_64/x86_64/libdl.so.2 57020: trying file=/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib64/x86_64/libdl.so.2 57020: trying file=/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib64/x86_64/libdl.so.2 57020: trying file=/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib64/libdl.so.2 57020: trying file=/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib/glibc-hwcaps/x86-64-v3/libdl.so.2 57020: trying file=/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib/glibc-hwcaps/x86-64-v2/libdl.so.2 57020: trying file=/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib/tls/x86_64/x86_64/libdl.so.2 57020: trying file=/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib/tls/x86_64/libdl.so.2 57020: trying file=/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib/tls/x86_64/libdl.so.2 57020: trying file=/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib/tls/libdl.so.2 57020: trying file=/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib/x86_64/x86_64/libdl.so.2 57020: trying file=/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib/x86_64/libdl.so.2 57020: trying file=/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib/x86_64/libdl.so.2 57020: trying file=/nix/store/s5aizvmdbkjbddxhjzaxp71wvw0jlb3s-vulkan-tools-1.3.211.0/lib/libdl.so.2 57020: trying file=/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib/glibc-hwcaps/x86-64-v3/libdl.so.2 57020: trying file=/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib/glibc-hwcaps/x86-64-v2/libdl.so.2 57020: trying file=/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib/tls/x86_64/x86_64/libdl.so.2 57020: trying file=/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib/tls/x86_64/libdl.so.2 57020: trying file=/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib/tls/x86_64/libdl.so.2 57020: trying file=/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib/tls/libdl.so.2 57020: trying file=/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib/x86_64/x86_64/libdl.so.2 57020: trying file=/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib/x86_64/libdl.so.2 57020: trying file=/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib/x86_64/libdl.so.2 57020: trying file=/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib/libdl.so.2 57020: trying file=/nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib/glibc-hwcaps/x86-64-v3/libdl.so.2 57020: trying file=/nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib/glibc-hwcaps/x86-64-v2/libdl.so.2 57020: trying file=/nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib/tls/x86_64/x86_64/libdl.so.2 57020: trying file=/nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib/tls/x86_64/libdl.so.2 57020: trying file=/nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib/tls/x86_64/libdl.so.2 57020: trying file=/nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib/tls/libdl.so.2 57020: trying file=/nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib/x86_64/x86_64/libdl.so.2 57020: trying file=/nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib/x86_64/libdl.so.2 57020: trying file=/nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib/x86_64/libdl.so.2 57020: trying file=/nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib/libdl.so.2 57020: trying file=/nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib/glibc-hwcaps/x86-64-v3/libdl.so.2 57020: trying file=/nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib/glibc-hwcaps/x86-64-v2/libdl.so.2 57020: trying file=/nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib/tls/x86_64/x86_64/libdl.so.2 57020: trying file=/nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib/tls/x86_64/libdl.so.2 57020: trying file=/nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib/tls/x86_64/libdl.so.2 57020: trying file=/nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib/tls/libdl.so.2 57020: trying file=/nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib/x86_64/x86_64/libdl.so.2 57020: trying file=/nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib/x86_64/libdl.so.2 57020: trying file=/nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib/x86_64/libdl.so.2 57020: trying file=/nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib/libdl.so.2 57020: search path=/nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib/glibc-hwcaps/x86-64-v3:/nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib/glibc-hwcaps/x86-64-v2:/nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib/tls/x86_64/x86_64:/nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib/tls/x86_64:/nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib/tls/x86_64:/nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib/tls:/nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib/x86_64/x86_64:/nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib/x86_64:/nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib/x86_64:/nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib (system search path) 57020: trying file=/nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib/glibc-hwcaps/x86-64-v3/libdl.so.2 57020: trying file=/nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib/glibc-hwcaps/x86-64-v2/libdl.so.2 57020: trying file=/nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib/tls/x86_64/x86_64/libdl.so.2 57020: trying file=/nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib/tls/x86_64/libdl.so.2 57020: trying file=/nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib/tls/x86_64/libdl.so.2 57020: trying file=/nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib/tls/libdl.so.2 57020: trying file=/nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib/x86_64/x86_64/libdl.so.2 57020: trying file=/nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib/x86_64/libdl.so.2 57020: trying file=/nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib/x86_64/libdl.so.2 57020: trying file=/nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib/libdl.so.2 57020: 57020: find library=libxcb.so.1 [0]; searching 57020: search path=glibc-hwcaps/x86-64-v3:glibc-hwcaps/x86-64-v2:tls/x86_64/x86_64:tls/x86_64:tls/x86_64:tls:x86_64/x86_64:x86_64:x86_64::/run/opengl-driver/lib (LD_LIBRARY_PATH) 57020: trying file=glibc-hwcaps/x86-64-v3/libxcb.so.1 57020: trying file=glibc-hwcaps/x86-64-v2/libxcb.so.1 57020: trying file=tls/x86_64/x86_64/libxcb.so.1 57020: trying file=tls/x86_64/libxcb.so.1 57020: trying file=tls/x86_64/libxcb.so.1 57020: trying file=tls/libxcb.so.1 57020: trying file=x86_64/x86_64/libxcb.so.1 57020: trying file=x86_64/libxcb.so.1 57020: trying file=x86_64/libxcb.so.1 57020: trying file=libxcb.so.1 57020: trying file=/run/opengl-driver/lib/libxcb.so.1 57020: search path=/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib:/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib:/nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib:/nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib (RUNPATH from file vulkaninfo) 57020: trying file=/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib/libxcb.so.1 57020: trying file=/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib/libxcb.so.1 57020: 57020: find library=libX11.so.6 [0]; searching 57020: search path=glibc-hwcaps/x86-64-v3:glibc-hwcaps/x86-64-v2:tls/x86_64/x86_64:tls/x86_64:tls/x86_64:tls:x86_64/x86_64:x86_64:x86_64::/run/opengl-driver/lib (LD_LIBRARY_PATH) 57020: trying file=glibc-hwcaps/x86-64-v3/libX11.so.6 57020: trying file=glibc-hwcaps/x86-64-v2/libX11.so.6 57020: trying file=tls/x86_64/x86_64/libX11.so.6 57020: trying file=tls/x86_64/libX11.so.6 57020: trying file=tls/x86_64/libX11.so.6 57020: trying file=tls/libX11.so.6 57020: trying file=x86_64/x86_64/libX11.so.6 57020: trying file=x86_64/libX11.so.6 57020: trying file=x86_64/libX11.so.6 57020: trying file=libX11.so.6 57020: trying file=/run/opengl-driver/lib/libX11.so.6 57020: search path=/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib:/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib:/nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib:/nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib (RUNPATH from file vulkaninfo) 57020: trying file=/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib/libX11.so.6 57020: trying file=/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib/libX11.so.6 57020: trying file=/nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib/libX11.so.6 57020: 57020: find library=libwayland-client.so.0 [0]; searching 57020: search path=glibc-hwcaps/x86-64-v3:glibc-hwcaps/x86-64-v2:tls/x86_64/x86_64:tls/x86_64:tls/x86_64:tls:x86_64/x86_64:x86_64:x86_64::/run/opengl-driver/lib (LD_LIBRARY_PATH) 57020: trying file=glibc-hwcaps/x86-64-v3/libwayland-client.so.0 57020: trying file=glibc-hwcaps/x86-64-v2/libwayland-client.so.0 57020: trying file=tls/x86_64/x86_64/libwayland-client.so.0 57020: trying file=tls/x86_64/libwayland-client.so.0 57020: trying file=tls/x86_64/libwayland-client.so.0 57020: trying file=tls/libwayland-client.so.0 57020: trying file=x86_64/x86_64/libwayland-client.so.0 57020: trying file=x86_64/libwayland-client.so.0 57020: trying file=x86_64/libwayland-client.so.0 57020: trying file=libwayland-client.so.0 57020: trying file=/run/opengl-driver/lib/libwayland-client.so.0 57020: search path=/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib:/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib:/nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib:/nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib (RUNPATH from file vulkaninfo) 57020: trying file=/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib/libwayland-client.so.0 57020: trying file=/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib/libwayland-client.so.0 57020: trying file=/nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib/libwayland-client.so.0 57020: trying file=/nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib/libwayland-client.so.0 57020: 57020: find library=libstdc++.so.6 [0]; searching 57020: search path=glibc-hwcaps/x86-64-v3:glibc-hwcaps/x86-64-v2:tls/x86_64/x86_64:tls/x86_64:tls/x86_64:tls:x86_64/x86_64:x86_64:x86_64::/run/opengl-driver/lib (LD_LIBRARY_PATH) 57020: trying file=glibc-hwcaps/x86-64-v3/libstdc++.so.6 57020: trying file=glibc-hwcaps/x86-64-v2/libstdc++.so.6 57020: trying file=tls/x86_64/x86_64/libstdc++.so.6 57020: trying file=tls/x86_64/libstdc++.so.6 57020: trying file=tls/x86_64/libstdc++.so.6 57020: trying file=tls/libstdc++.so.6 57020: trying file=x86_64/x86_64/libstdc++.so.6 57020: trying file=x86_64/libstdc++.so.6 57020: trying file=x86_64/libstdc++.so.6 57020: trying file=libstdc++.so.6 57020: trying file=/run/opengl-driver/lib/libstdc++.so.6 57020: search path=/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib:/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib:/nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib:/nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib (RUNPATH from file vulkaninfo) 57020: trying file=/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib/libstdc++.so.6 57020: trying file=/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib/libstdc++.so.6 57020: trying file=/nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib/libstdc++.so.6 57020: trying file=/nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib/libstdc++.so.6 57020: search path=/nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib (system search path) 57020: trying file=/nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib/libstdc++.so.6 57020: search path=/nix/store/sqhyhvf3qpnnj6xnb55kv46ckfjx2na8-gcc-11.3.0-lib/lib/glibc-hwcaps/x86-64-v3:/nix/store/sqhyhvf3qpnnj6xnb55kv46ckfjx2na8-gcc-11.3.0-lib/lib/glibc-hwcaps/x86-64-v2:/nix/store/sqhyhvf3qpnnj6xnb55kv46ckfjx2na8-gcc-11.3.0-lib/lib/tls/x86_64/x86_64:/nix/store/sqhyhvf3qpnnj6xnb55kv46ckfjx2na8-gcc-11.3.0-lib/lib/tls/x86_64:/nix/store/sqhyhvf3qpnnj6xnb55kv46ckfjx2na8-gcc-11.3.0-lib/lib/tls/x86_64:/nix/store/sqhyhvf3qpnnj6xnb55kv46ckfjx2na8-gcc-11.3.0-lib/lib/tls:/nix/store/sqhyhvf3qpnnj6xnb55kv46ckfjx2na8-gcc-11.3.0-lib/lib/x86_64/x86_64:/nix/store/sqhyhvf3qpnnj6xnb55kv46ckfjx2na8-gcc-11.3.0-lib/lib/x86_64:/nix/store/sqhyhvf3qpnnj6xnb55kv46ckfjx2na8-gcc-11.3.0-lib/lib/x86_64:/nix/store/sqhyhvf3qpnnj6xnb55kv46ckfjx2na8-gcc-11.3.0-lib/lib (RUNPATH from file vulkaninfo) 57020: trying file=/nix/store/sqhyhvf3qpnnj6xnb55kv46ckfjx2na8-gcc-11.3.0-lib/lib/glibc-hwcaps/x86-64-v3/libstdc++.so.6 57020: trying file=/nix/store/sqhyhvf3qpnnj6xnb55kv46ckfjx2na8-gcc-11.3.0-lib/lib/glibc-hwcaps/x86-64-v2/libstdc++.so.6 57020: trying file=/nix/store/sqhyhvf3qpnnj6xnb55kv46ckfjx2na8-gcc-11.3.0-lib/lib/tls/x86_64/x86_64/libstdc++.so.6 57020: trying file=/nix/store/sqhyhvf3qpnnj6xnb55kv46ckfjx2na8-gcc-11.3.0-lib/lib/tls/x86_64/libstdc++.so.6 57020: trying file=/nix/store/sqhyhvf3qpnnj6xnb55kv46ckfjx2na8-gcc-11.3.0-lib/lib/tls/x86_64/libstdc++.so.6 57020: trying file=/nix/store/sqhyhvf3qpnnj6xnb55kv46ckfjx2na8-gcc-11.3.0-lib/lib/tls/libstdc++.so.6 57020: trying file=/nix/store/sqhyhvf3qpnnj6xnb55kv46ckfjx2na8-gcc-11.3.0-lib/lib/x86_64/x86_64/libstdc++.so.6 57020: trying file=/nix/store/sqhyhvf3qpnnj6xnb55kv46ckfjx2na8-gcc-11.3.0-lib/lib/x86_64/libstdc++.so.6 57020: trying file=/nix/store/sqhyhvf3qpnnj6xnb55kv46ckfjx2na8-gcc-11.3.0-lib/lib/x86_64/libstdc++.so.6 57020: trying file=/nix/store/sqhyhvf3qpnnj6xnb55kv46ckfjx2na8-gcc-11.3.0-lib/lib/libstdc++.so.6 57020: 57020: find library=libm.so.6 [0]; searching 57020: search path=glibc-hwcaps/x86-64-v3:glibc-hwcaps/x86-64-v2:tls/x86_64/x86_64:tls/x86_64:tls/x86_64:tls:x86_64/x86_64:x86_64:x86_64::/run/opengl-driver/lib (LD_LIBRARY_PATH) 57020: trying file=glibc-hwcaps/x86-64-v3/libm.so.6 57020: trying file=glibc-hwcaps/x86-64-v2/libm.so.6 57020: trying file=tls/x86_64/x86_64/libm.so.6 57020: trying file=tls/x86_64/libm.so.6 57020: trying file=tls/x86_64/libm.so.6 57020: trying file=tls/libm.so.6 57020: trying file=x86_64/x86_64/libm.so.6 57020: trying file=x86_64/libm.so.6 57020: trying file=x86_64/libm.so.6 57020: trying file=libm.so.6 57020: trying file=/run/opengl-driver/lib/libm.so.6 57020: search path=/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib:/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib:/nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib:/nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib (RUNPATH from file vulkaninfo) 57020: trying file=/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib/libm.so.6 57020: trying file=/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib/libm.so.6 57020: trying file=/nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib/libm.so.6 57020: trying file=/nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib/libm.so.6 57020: search path=/nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib (system search path) 57020: trying file=/nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib/libm.so.6 57020: 57020: find library=libgcc_s.so.1 [0]; searching 57020: search path=glibc-hwcaps/x86-64-v3:glibc-hwcaps/x86-64-v2:tls/x86_64/x86_64:tls/x86_64:tls/x86_64:tls:x86_64/x86_64:x86_64:x86_64::/run/opengl-driver/lib (LD_LIBRARY_PATH) 57020: trying file=glibc-hwcaps/x86-64-v3/libgcc_s.so.1 57020: trying file=glibc-hwcaps/x86-64-v2/libgcc_s.so.1 57020: trying file=tls/x86_64/x86_64/libgcc_s.so.1 57020: trying file=tls/x86_64/libgcc_s.so.1 57020: trying file=tls/x86_64/libgcc_s.so.1 57020: trying file=tls/libgcc_s.so.1 57020: trying file=x86_64/x86_64/libgcc_s.so.1 57020: trying file=x86_64/libgcc_s.so.1 57020: trying file=x86_64/libgcc_s.so.1 57020: trying file=libgcc_s.so.1 57020: trying file=/run/opengl-driver/lib/libgcc_s.so.1 57020: search path=/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib:/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib:/nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib:/nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib (RUNPATH from file vulkaninfo) 57020: trying file=/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib/libgcc_s.so.1 57020: trying file=/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib/libgcc_s.so.1 57020: trying file=/nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib/libgcc_s.so.1 57020: trying file=/nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib/libgcc_s.so.1 57020: search path=/nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib (system search path) 57020: trying file=/nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib/libgcc_s.so.1 57020: 57020: find library=libc.so.6 [0]; searching 57020: search path=glibc-hwcaps/x86-64-v3:glibc-hwcaps/x86-64-v2:tls/x86_64/x86_64:tls/x86_64:tls/x86_64:tls:x86_64/x86_64:x86_64:x86_64::/run/opengl-driver/lib (LD_LIBRARY_PATH) 57020: trying file=glibc-hwcaps/x86-64-v3/libc.so.6 57020: trying file=glibc-hwcaps/x86-64-v2/libc.so.6 57020: trying file=tls/x86_64/x86_64/libc.so.6 57020: trying file=tls/x86_64/libc.so.6 57020: trying file=tls/x86_64/libc.so.6 57020: trying file=tls/libc.so.6 57020: trying file=x86_64/x86_64/libc.so.6 57020: trying file=x86_64/libc.so.6 57020: trying file=x86_64/libc.so.6 57020: trying file=libc.so.6 57020: trying file=/run/opengl-driver/lib/libc.so.6 57020: search path=/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib:/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib:/nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib:/nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib (RUNPATH from file vulkaninfo) 57020: trying file=/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib/libc.so.6 57020: trying file=/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib/libc.so.6 57020: trying file=/nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib/libc.so.6 57020: trying file=/nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib/libc.so.6 57020: search path=/nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib (system search path) 57020: trying file=/nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib/libc.so.6 57020: 57020: find library=libXau.so.6 [0]; searching 57020: search path=glibc-hwcaps/x86-64-v3:glibc-hwcaps/x86-64-v2:tls/x86_64/x86_64:tls/x86_64:tls/x86_64:tls:x86_64/x86_64:x86_64:x86_64::/run/opengl-driver/lib (LD_LIBRARY_PATH) 57020: trying file=glibc-hwcaps/x86-64-v3/libXau.so.6 57020: trying file=glibc-hwcaps/x86-64-v2/libXau.so.6 57020: trying file=tls/x86_64/x86_64/libXau.so.6 57020: trying file=tls/x86_64/libXau.so.6 57020: trying file=tls/x86_64/libXau.so.6 57020: trying file=tls/libXau.so.6 57020: trying file=x86_64/x86_64/libXau.so.6 57020: trying file=x86_64/libXau.so.6 57020: trying file=x86_64/libXau.so.6 57020: trying file=libXau.so.6 57020: trying file=/run/opengl-driver/lib/libXau.so.6 57020: search path=/nix/store/gf6db1v6lbglnwa13kd915cfjk4kivcp-libXau-1.0.9/lib/glibc-hwcaps/x86-64-v3:/nix/store/gf6db1v6lbglnwa13kd915cfjk4kivcp-libXau-1.0.9/lib/glibc-hwcaps/x86-64-v2:/nix/store/gf6db1v6lbglnwa13kd915cfjk4kivcp-libXau-1.0.9/lib/tls/x86_64/x86_64:/nix/store/gf6db1v6lbglnwa13kd915cfjk4kivcp-libXau-1.0.9/lib/tls/x86_64:/nix/store/gf6db1v6lbglnwa13kd915cfjk4kivcp-libXau-1.0.9/lib/tls/x86_64:/nix/store/gf6db1v6lbglnwa13kd915cfjk4kivcp-libXau-1.0.9/lib/tls:/nix/store/gf6db1v6lbglnwa13kd915cfjk4kivcp-libXau-1.0.9/lib/x86_64/x86_64:/nix/store/gf6db1v6lbglnwa13kd915cfjk4kivcp-libXau-1.0.9/lib/x86_64:/nix/store/gf6db1v6lbglnwa13kd915cfjk4kivcp-libXau-1.0.9/lib/x86_64:/nix/store/gf6db1v6lbglnwa13kd915cfjk4kivcp-libXau-1.0.9/lib:/nix/store/zpxivlbp3y4p75jbl5ksk90ajkn4i810-libXdmcp-1.1.3/lib/glibc-hwcaps/x86-64-v3:/nix/store/zpxivlbp3y4p75jbl5ksk90ajkn4i810-libXdmcp-1.1.3/lib/glibc-hwcaps/x86-64-v2:/nix/store/zpxivlbp3y4p75jbl5ksk90ajkn4i810-libXdmcp-1.1.3/lib/tls/x86_64/x86_64:/nix/store/zpxivlbp3y4p75jbl5ksk90ajkn4i810-libXdmcp-1.1.3/lib/tls/x86_64:/nix/store/zpxivlbp3y4p75jbl5ksk90ajkn4i810-libXdmcp-1.1.3/lib/tls/x86_64:/nix/store/zpxivlbp3y4p75jbl5ksk90ajkn4i810-libXdmcp-1.1.3/lib/tls:/nix/store/zpxivlbp3y4p75jbl5ksk90ajkn4i810-libXdmcp-1.1.3/lib/x86_64/x86_64:/nix/store/zpxivlbp3y4p75jbl5ksk90ajkn4i810-libXdmcp-1.1.3/lib/x86_64:/nix/store/zpxivlbp3y4p75jbl5ksk90ajkn4i810-libXdmcp-1.1.3/lib/x86_64:/nix/store/zpxivlbp3y4p75jbl5ksk90ajkn4i810-libXdmcp-1.1.3/lib (RUNPATH from file /nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib/libxcb.so.1) 57020: trying file=/nix/store/gf6db1v6lbglnwa13kd915cfjk4kivcp-libXau-1.0.9/lib/glibc-hwcaps/x86-64-v3/libXau.so.6 57020: trying file=/nix/store/gf6db1v6lbglnwa13kd915cfjk4kivcp-libXau-1.0.9/lib/glibc-hwcaps/x86-64-v2/libXau.so.6 57020: trying file=/nix/store/gf6db1v6lbglnwa13kd915cfjk4kivcp-libXau-1.0.9/lib/tls/x86_64/x86_64/libXau.so.6 57020: trying file=/nix/store/gf6db1v6lbglnwa13kd915cfjk4kivcp-libXau-1.0.9/lib/tls/x86_64/libXau.so.6 57020: trying file=/nix/store/gf6db1v6lbglnwa13kd915cfjk4kivcp-libXau-1.0.9/lib/tls/x86_64/libXau.so.6 57020: trying file=/nix/store/gf6db1v6lbglnwa13kd915cfjk4kivcp-libXau-1.0.9/lib/tls/libXau.so.6 57020: trying file=/nix/store/gf6db1v6lbglnwa13kd915cfjk4kivcp-libXau-1.0.9/lib/x86_64/x86_64/libXau.so.6 57020: trying file=/nix/store/gf6db1v6lbglnwa13kd915cfjk4kivcp-libXau-1.0.9/lib/x86_64/libXau.so.6 57020: trying file=/nix/store/gf6db1v6lbglnwa13kd915cfjk4kivcp-libXau-1.0.9/lib/x86_64/libXau.so.6 57020: trying file=/nix/store/gf6db1v6lbglnwa13kd915cfjk4kivcp-libXau-1.0.9/lib/libXau.so.6 57020: 57020: find library=libXdmcp.so.6 [0]; searching 57020: search path=glibc-hwcaps/x86-64-v3:glibc-hwcaps/x86-64-v2:tls/x86_64/x86_64:tls/x86_64:tls/x86_64:tls:x86_64/x86_64:x86_64:x86_64::/run/opengl-driver/lib (LD_LIBRARY_PATH) 57020: trying file=glibc-hwcaps/x86-64-v3/libXdmcp.so.6 57020: trying file=glibc-hwcaps/x86-64-v2/libXdmcp.so.6 57020: trying file=tls/x86_64/x86_64/libXdmcp.so.6 57020: trying file=tls/x86_64/libXdmcp.so.6 57020: trying file=tls/x86_64/libXdmcp.so.6 57020: trying file=tls/libXdmcp.so.6 57020: trying file=x86_64/x86_64/libXdmcp.so.6 57020: trying file=x86_64/libXdmcp.so.6 57020: trying file=x86_64/libXdmcp.so.6 57020: trying file=libXdmcp.so.6 57020: trying file=/run/opengl-driver/lib/libXdmcp.so.6 57020: search path=/nix/store/gf6db1v6lbglnwa13kd915cfjk4kivcp-libXau-1.0.9/lib:/nix/store/zpxivlbp3y4p75jbl5ksk90ajkn4i810-libXdmcp-1.1.3/lib/glibc-hwcaps/x86-64-v3:/nix/store/zpxivlbp3y4p75jbl5ksk90ajkn4i810-libXdmcp-1.1.3/lib/glibc-hwcaps/x86-64-v2:/nix/store/zpxivlbp3y4p75jbl5ksk90ajkn4i810-libXdmcp-1.1.3/lib/tls/x86_64/x86_64:/nix/store/zpxivlbp3y4p75jbl5ksk90ajkn4i810-libXdmcp-1.1.3/lib/tls/x86_64:/nix/store/zpxivlbp3y4p75jbl5ksk90ajkn4i810-libXdmcp-1.1.3/lib/tls/x86_64:/nix/store/zpxivlbp3y4p75jbl5ksk90ajkn4i810-libXdmcp-1.1.3/lib/tls:/nix/store/zpxivlbp3y4p75jbl5ksk90ajkn4i810-libXdmcp-1.1.3/lib/x86_64/x86_64:/nix/store/zpxivlbp3y4p75jbl5ksk90ajkn4i810-libXdmcp-1.1.3/lib/x86_64:/nix/store/zpxivlbp3y4p75jbl5ksk90ajkn4i810-libXdmcp-1.1.3/lib/x86_64:/nix/store/zpxivlbp3y4p75jbl5ksk90ajkn4i810-libXdmcp-1.1.3/lib (RUNPATH from file /nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib/libxcb.so.1) 57020: trying file=/nix/store/gf6db1v6lbglnwa13kd915cfjk4kivcp-libXau-1.0.9/lib/libXdmcp.so.6 57020: trying file=/nix/store/zpxivlbp3y4p75jbl5ksk90ajkn4i810-libXdmcp-1.1.3/lib/glibc-hwcaps/x86-64-v3/libXdmcp.so.6 57020: trying file=/nix/store/zpxivlbp3y4p75jbl5ksk90ajkn4i810-libXdmcp-1.1.3/lib/glibc-hwcaps/x86-64-v2/libXdmcp.so.6 57020: trying file=/nix/store/zpxivlbp3y4p75jbl5ksk90ajkn4i810-libXdmcp-1.1.3/lib/tls/x86_64/x86_64/libXdmcp.so.6 57020: trying file=/nix/store/zpxivlbp3y4p75jbl5ksk90ajkn4i810-libXdmcp-1.1.3/lib/tls/x86_64/libXdmcp.so.6 57020: trying file=/nix/store/zpxivlbp3y4p75jbl5ksk90ajkn4i810-libXdmcp-1.1.3/lib/tls/x86_64/libXdmcp.so.6 57020: trying file=/nix/store/zpxivlbp3y4p75jbl5ksk90ajkn4i810-libXdmcp-1.1.3/lib/tls/libXdmcp.so.6 57020: trying file=/nix/store/zpxivlbp3y4p75jbl5ksk90ajkn4i810-libXdmcp-1.1.3/lib/x86_64/x86_64/libXdmcp.so.6 57020: trying file=/nix/store/zpxivlbp3y4p75jbl5ksk90ajkn4i810-libXdmcp-1.1.3/lib/x86_64/libXdmcp.so.6 57020: trying file=/nix/store/zpxivlbp3y4p75jbl5ksk90ajkn4i810-libXdmcp-1.1.3/lib/x86_64/libXdmcp.so.6 57020: trying file=/nix/store/zpxivlbp3y4p75jbl5ksk90ajkn4i810-libXdmcp-1.1.3/lib/libXdmcp.so.6 57020: 57020: find library=libffi.so.8 [0]; searching 57020: search path=glibc-hwcaps/x86-64-v3:glibc-hwcaps/x86-64-v2:tls/x86_64/x86_64:tls/x86_64:tls/x86_64:tls:x86_64/x86_64:x86_64:x86_64::/run/opengl-driver/lib (LD_LIBRARY_PATH) 57020: trying file=glibc-hwcaps/x86-64-v3/libffi.so.8 57020: trying file=glibc-hwcaps/x86-64-v2/libffi.so.8 57020: trying file=tls/x86_64/x86_64/libffi.so.8 57020: trying file=tls/x86_64/libffi.so.8 57020: trying file=tls/x86_64/libffi.so.8 57020: trying file=tls/libffi.so.8 57020: trying file=x86_64/x86_64/libffi.so.8 57020: trying file=x86_64/libffi.so.8 57020: trying file=x86_64/libffi.so.8 57020: trying file=libffi.so.8 57020: trying file=/run/opengl-driver/lib/libffi.so.8 57020: search path=/nix/store/5yc626hjfj65nd1lknf1iqvyvk31fw9g-libffi-3.4.2/lib/glibc-hwcaps/x86-64-v3:/nix/store/5yc626hjfj65nd1lknf1iqvyvk31fw9g-libffi-3.4.2/lib/glibc-hwcaps/x86-64-v2:/nix/store/5yc626hjfj65nd1lknf1iqvyvk31fw9g-libffi-3.4.2/lib/tls/x86_64/x86_64:/nix/store/5yc626hjfj65nd1lknf1iqvyvk31fw9g-libffi-3.4.2/lib/tls/x86_64:/nix/store/5yc626hjfj65nd1lknf1iqvyvk31fw9g-libffi-3.4.2/lib/tls/x86_64:/nix/store/5yc626hjfj65nd1lknf1iqvyvk31fw9g-libffi-3.4.2/lib/tls:/nix/store/5yc626hjfj65nd1lknf1iqvyvk31fw9g-libffi-3.4.2/lib/x86_64/x86_64:/nix/store/5yc626hjfj65nd1lknf1iqvyvk31fw9g-libffi-3.4.2/lib/x86_64:/nix/store/5yc626hjfj65nd1lknf1iqvyvk31fw9g-libffi-3.4.2/lib/x86_64:/nix/store/5yc626hjfj65nd1lknf1iqvyvk31fw9g-libffi-3.4.2/lib (RUNPATH from file /nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib/libwayland-client.so.0) 57020: trying file=/nix/store/5yc626hjfj65nd1lknf1iqvyvk31fw9g-libffi-3.4.2/lib/glibc-hwcaps/x86-64-v3/libffi.so.8 57020: trying file=/nix/store/5yc626hjfj65nd1lknf1iqvyvk31fw9g-libffi-3.4.2/lib/glibc-hwcaps/x86-64-v2/libffi.so.8 57020: trying file=/nix/store/5yc626hjfj65nd1lknf1iqvyvk31fw9g-libffi-3.4.2/lib/tls/x86_64/x86_64/libffi.so.8 57020: trying file=/nix/store/5yc626hjfj65nd1lknf1iqvyvk31fw9g-libffi-3.4.2/lib/tls/x86_64/libffi.so.8 57020: trying file=/nix/store/5yc626hjfj65nd1lknf1iqvyvk31fw9g-libffi-3.4.2/lib/tls/x86_64/libffi.so.8 57020: trying file=/nix/store/5yc626hjfj65nd1lknf1iqvyvk31fw9g-libffi-3.4.2/lib/tls/libffi.so.8 57020: trying file=/nix/store/5yc626hjfj65nd1lknf1iqvyvk31fw9g-libffi-3.4.2/lib/x86_64/x86_64/libffi.so.8 57020: trying file=/nix/store/5yc626hjfj65nd1lknf1iqvyvk31fw9g-libffi-3.4.2/lib/x86_64/libffi.so.8 57020: trying file=/nix/store/5yc626hjfj65nd1lknf1iqvyvk31fw9g-libffi-3.4.2/lib/x86_64/libffi.so.8 57020: trying file=/nix/store/5yc626hjfj65nd1lknf1iqvyvk31fw9g-libffi-3.4.2/lib/libffi.so.8 57020: 57020: 57020: calling init: /nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib/ld-linux-x86-64.so.2 57020: 57020: 57020: calling init: /nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib/libc.so.6 57020: 57020: 57020: calling init: /nix/store/5yc626hjfj65nd1lknf1iqvyvk31fw9g-libffi-3.4.2/lib/libffi.so.8 57020: 57020: 57020: calling init: /nix/store/zpxivlbp3y4p75jbl5ksk90ajkn4i810-libXdmcp-1.1.3/lib/libXdmcp.so.6 57020: 57020: 57020: calling init: /nix/store/gf6db1v6lbglnwa13kd915cfjk4kivcp-libXau-1.0.9/lib/libXau.so.6 57020: 57020: 57020: calling init: /nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib/libgcc_s.so.1 57020: 57020: 57020: calling init: /nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib/libm.so.6 57020: 57020: 57020: calling init: /nix/store/sqhyhvf3qpnnj6xnb55kv46ckfjx2na8-gcc-11.3.0-lib/lib/libstdc++.so.6 57020: 57020: 57020: calling init: /nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib/libwayland-client.so.0 57020: 57020: 57020: calling init: /nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib/libxcb.so.1 57020: 57020: 57020: calling init: /nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib/libX11.so.6 57020: 57020: 57020: calling init: /nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib/libdl.so.2 57020: 57020: 57020: initialize program: vulkaninfo 57020: 57020: 57020: transferring control: vulkaninfo 57020: 57020: find library=libvulkan.so [0]; searching 57020: search path=glibc-hwcaps/x86-64-v3:glibc-hwcaps/x86-64-v2:tls/x86_64/x86_64:tls/x86_64:tls/x86_64:tls:x86_64/x86_64:x86_64:x86_64::/run/opengl-driver/lib (LD_LIBRARY_PATH) 57020: trying file=glibc-hwcaps/x86-64-v3/libvulkan.so 57020: trying file=glibc-hwcaps/x86-64-v2/libvulkan.so 57020: trying file=tls/x86_64/x86_64/libvulkan.so 57020: trying file=tls/x86_64/libvulkan.so 57020: trying file=tls/x86_64/libvulkan.so 57020: trying file=tls/libvulkan.so 57020: trying file=x86_64/x86_64/libvulkan.so 57020: trying file=x86_64/libvulkan.so 57020: trying file=x86_64/libvulkan.so 57020: trying file=libvulkan.so 57020: trying file=/run/opengl-driver/lib/libvulkan.so 57020: search path=/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib:/nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib:/nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib:/nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib (RUNPATH from file vulkaninfo) 57020: trying file=/nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib/libvulkan.so 57020: 57020: 57020: calling init: /nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib/libvulkan.so 57020: ERROR: [Loader Message] Code 0 : vkCreateInstance: Found no drivers! Cannot create Vulkan instance. This problem is often caused by a faulty installation of the Vulkan driver or attempting to use a GPU that does not support Vulkan. ERROR at /build/source/vulkaninfo/vulkaninfo.h:665:vkCreateInstance failed with ERROR_INCOMPATIBLE_DRIVER 57020: 57020: calling fini: vulkaninfo [0] 57020: 57020: 57020: calling fini: /nix/store/144pgqy6gdala3yk0xa74dhii6nsmx09-libX11-1.7.2/lib/libX11.so.6 [0] 57020: 57020: 57020: calling fini: /nix/store/3vkgbqmpz0ijs61pbrkzfm2n3blz3jdm-libxcb-1.14/lib/libxcb.so.1 [0] 57020: 57020: 57020: calling fini: /nix/store/1v3bm3sh9a3zgibamxz04a1aj04kg1zj-wayland-1.20.0/lib/libwayland-client.so.0 [0] 57020: 57020: 57020: calling fini: /nix/store/sqhyhvf3qpnnj6xnb55kv46ckfjx2na8-gcc-11.3.0-lib/lib/libstdc++.so.6 [0] 57020: 57020: 57020: calling fini: /nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib/libgcc_s.so.1 [0] 57020: 57020: 57020: calling fini: /nix/store/gf6db1v6lbglnwa13kd915cfjk4kivcp-libXau-1.0.9/lib/libXau.so.6 [0] 57020: 57020: 57020: calling fini: /nix/store/zpxivlbp3y4p75jbl5ksk90ajkn4i810-libXdmcp-1.1.3/lib/libXdmcp.so.6 [0] 57020: 57020: 57020: calling fini: /nix/store/5yc626hjfj65nd1lknf1iqvyvk31fw9g-libffi-3.4.2/lib/libffi.so.8 [0] 57020: 57020: 57020: calling fini: /nix/store/5fm2h08qdmv8p0yn106fdyiw4gyb2ljw-vulkan-loader-1.3.211.0/lib/libvulkan.so [0] 57020: 57020: 57020: calling fini: /nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib/libm.so.6 [0] 57020: 57020: 57020: calling fini: /nix/store/b2hc0i92l22ir2kavnjn3z5z6mzabbvm-glibc-2.34-210/lib/libdl.so.2 [0] 57020: |
wsl.useWslLib
optionwsl.useWindowsDriver
option
This comment was marked as outdated.
This comment was marked as outdated.
Vulkan is supported with Dozen. |
Then hardware rendering support is just a matter of getting the right mesa drivers linked to the wsl libs and into |
It is not, because Dozen attempts to dlopen d3d12core.so (which is trivially fixable with some rpath fiddling), but d3d12core.so then dlopens the Windows provided driver, which attempts to dlopen other things, which causes issues because we can't just patch rpath on the Windows provided read only driver. |
This kind of reminds me of the problems with the jetson platform driver. One of the proposed solutions there was to create a dummy library that has the correct rpath and preloads the required libraries using its own path. If we can add |
When setting
|
Change looks OK, can you please squash all the commits? |
Squashed |
extraPackages = mkIf cfg.useWindowsDriver [ | ||
(pkgs.runCommand "wsl-lib" { } '' | ||
mkdir "$out" | ||
ln -s /usr/lib/wsl/lib "$out/lib" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This breaks if any other opengl-driver provides $out/lib which is basically any
opengl-drivers> building '/nix/store/gzizcchmspk8bpl0fpjj615in842fn66-opengl-drivers.drv'
opengl-drivers> warning: creating dangling symlink `/nix/store/c4ja1apm7lfb8llqqs79bg3s9lxmyrp5-opengl-drivers//lib' -> `/nix/store/q18kz23pnlnahbbgfb1rgx85vgpw57yz-wsl-lib/lib' -> `/usr/lib/wsl/lib'
opengl-drivers> error: collision between `/nix/store/kljglapjihjav85vd69g6nf0i2bwb1pk-intel-compute-runtime-23.35.27191.9/lib' and dangling symlink `/nix/store/q18kz23pnlnahbbgfb1rgx85vgpw57yz-wsl-lib/lib'
Where do you get the For convenience, shouldn't this also be added to I got this working by having: { config, ... }: {
programs.nix-ld = {
enable = true;
libraries = config.hardware.opengl.extraPackages;
};
} I'm not sure if it is possible to get working in another way? |
This PR introduce
wsl.useWindowsDriver
option, which enables/usr/lib/wsl/lib
as OpenGL driver.With the help of this PR, CUDA can be used if there is a Nvidia GPU.