Greetings.
Using 550-beta driver. Arch Linux. Using aur package for 550-beta-dkms.
Running electron app with --ozone-platform-hint=auto flag ( vesktop for example ), I got this error in my terminal:
Summary
vesktop --ozone-platform-hint=auto
[arRPC > ipc] listening at /run/user/1002/discord-ipc-0
[arRPC > websocket] listening on 6463
[arRPC > process] started
The NVIDIA driver was unable to open ‘libnvidia-glvkspirv.so.550.40.07’. This library is required at run time.
Warning: terminator_CreateInstance: Failed to CreateInstance in ICD 0. Skipping ICD.
Warning: terminator_CreateInstance: Found no drivers!
Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
at CheckVkSuccessImpl (…/…/third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:101)
at CreateVkInstance (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:493)
at Initialize (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:379)
at Create (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:301)
at operator() (…/…/third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:556)
find / -type f -name “libnvidia-glvkspirv*” shows that libnvidia-glvkspirv exist in /usr/lib/libnvidia-glvkspirv.so.550.40.07
Still happens at 550.54.14-1. I have this files installed at: /usr/lib/libnvidia-glvkspirv.so.550.54.14 /usr/lib32/libnvidia-glvkspirv.so.550.54.14 Here for example brave error when i’m entering in brave://gpu:
Summary
The NVIDIA driver was unable to open ‘libnvidia-glvkspirv.so.550.54.14’. This library is required at run time.
Warning: terminator_CreateInstance: Received return code -3 from call to vkCreateInstance in ICD libGLX_nvidia.so.0. Skipping this driver.
Error: Loader Message: setup_loader_term_phys_devs: Failed to detect any valid GPUs in the current config
Warning: vkEnumeratePhysicalDevices
at GatherPhysicalDevices (…/…/third_party/dawn/src/dawn/native/vulkan/VulkanInfo.cpp:148)
I got errors about missing glvkspirv in brave, plasma 6 and probably more. LD_PRELOAD=/usr/lib/libnvidia-glvkspirv.so.550.54.14 brave seems fix issue in brave atleast. Any suggestion why nvidia driver cannot find/load this? nvidia-bug-report.log.gz (944.5 KB)
Hello,
I got a similar error after updating the driver to 550.54.14 on Debian 12 “bookworm” when running applications with WINE (currently 9.3).
The exact message is
The NVIDIA driver was unable to open ‘libnvidia-glvkspirv.so.550.54.14’. This library is required at run time.
I found libnvidia-glvkspirv.so.550.54.14 under /usr/lib/i386-linux-gnu and /usr/lib/x86_64-linux-gnu (I use both 32 and 64-bit architectures).
LD_PRELOAD didn’t work for me because WINE mixes 32-bit and 64-bit binaries calls. I either got WRONG CLASS ELF32 or WRONG CLASS ELF64 when I pointed LD_PRELOAD to the i386-linux-gnu or x86_64-linux-gnu files.
My solution was to create symlinks in those two directories, mimicking existing libnvidia libraries:
No, I put the symlinks in /usr/lib/i386-linux-gnu and /usr/lib/x86-linux-gnu, alongside the original *.so.550.54.14 files.
In your case I guess it should be in /usr/lib and /usr/lib32.
This way it works globally for every application. It will break again on the next driver update and will need to be redone, though, until NVidia fixes it.
The symlink workaround still doesn’t work anymore.
Starting wine with LD_DEBUG=libs shows that /lib/x86_64-linux-gnu/libnvidia-glvkspirv.so.550.120 is found and loaded, but it then fails later when loading /lib/i386-linux-gnu/libnvidia-glvkspirv.so.550.120.
So, I think it now finds the file without need of the *.so.1 or *.so symlink, but the driver fails to load the 32-bit library on 64-bit, or when the 64-bit library is already loaded.
But I don’t know how to get a useful debug output from the loading of the 32-bit library itself.
Hi @dr.silens@boddyboy
I tried to duplicate issue locally on multiple systems with different OS combinations like Ubuntu, Arch Linux & Endeavor using Wayland protocol but did not observe repro.
I am able to open discord application with below command.
vesktop --ozone-platform-hint=auto
Do you have any other reliable repro steps or needed any specific configuration to trigger issue.
My OS is Debian 12 bookworm with the default Gnome-shell Xorg session.
I don’t use Wayland and I don’t know about vesktop.
My issue seems specific to WINE with virtual desktop enabled. I’ve never seen this error with any other program or without wine’s virtual desktop.
Also, the issue can’t be reproduced reliably. It happens about 1/4 times when I run a windows program within a WINE virtual desktop (e.g. winecfg).
The NVIDIA driver was unable to open 'libnvidia-glvkspirv.so.565.57.01'. This library is required at run time.
Warning: terminator_CreateInstance: Found no drivers!
Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:106)
00:48:20.837 › Uncaught (in promise) #<Object>
The NVIDIA driver was unable to open 'libnvidia-glvkspirv.so.565.57.01'. This library is required at run time.
Warning: terminator_CreateInstance: Failed to CreateInstance in ICD 0. Skipping ICD.
Warning: terminator_CreateInstance: Found no drivers!
Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:88)
at CreateVkInstance (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:458)
at Initialize (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:344)
at Create (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:266)
at operator() (../../third_party/dawn/src/dawn/native/vulkan/BackendVk.cpp:521)
00:48:50.264 › Uncaught (in promise) #<Object>
$ google-chrome-stable
The NVIDIA driver was unable to open 'libnvidia-glvkspirv.so.570.86.16'. This library is required at run time.
The NVIDIA driver was unable to open 'libnvidia-glvkspirv.so.570.86.16'. This library is required at run time.
Warning: terminator_CreateInstance: Found no drivers!
Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:106)
[5946:5946:0217/121155.649042:ERROR:gl_display.cc(495)] EGL Driver message (Error) eglCreateContext: Requested version is not supported
Warning: eglCreateContext failed with EGL_BAD_ATTRIBUTE
- While trying to discover a BackendType::OpenGL adapter.
at CheckEGL (../../third_party/dawn/src/dawn/native/opengl/UtilsEGL.cpp:98)
Hi @Tekstryder
I am still not able to duplicate issue locally, could you please share nvidia bug report so that I can try to match config setup as close as possible.
Also do let me know if there are any know config changes required on fresh Arch Installation setup to trigger issue.
This issue is still present with nVidia 570.133.07 Production Branch drivers.
Reproduced on Google Chrome Stable 134.0.6998.117 visiting the chrome://gpu/ information page.
$ google-chrome-stable
Created TensorFlow Lite XNNPACK delegate for CPU.
Attempting to use a delegate that only supports static-sized tensors with a graph that has dynamic-sized tensors (tensor#-1 is a dynamic-sized tensor).
The NVIDIA driver was unable to open 'libnvidia-glvkspirv.so.570.133.07'. This library is required at run time.
The NVIDIA driver was unable to open 'libnvidia-glvkspirv.so.570.133.07'. This library is required at run time.
Warning: terminator_CreateInstance: Found no drivers!
Warning: vkCreateInstance failed with VK_ERROR_INCOMPATIBLE_DRIVER
at CheckVkSuccessImpl (../../third_party/dawn/src/dawn/native/vulkan/VulkanError.cpp:106)
[5852:5852:0321/100944.166077:ERROR:gl_display.cc(495)] EGL Driver message (Error) eglCreateContext: Requested version is not supported
Warning: eglCreateContext failed with EGL_BAD_ATTRIBUTE
- While trying to discover a BackendType::OpenGL adapter.
at CheckEGL (../../third_party/dawn/src/dawn/native/opengl/UtilsEGL.cpp:98)
Per your request I’ve reproduced this issue with a clean chromium install & user profile and I’ve attached a fresh nVidia bug report.
No configuration changes are required. If this is Wayland-specific issue (unknown), ensure you’re running a Wayland environment and launch chromium with –ozone-platform-hint=auto.
Can repro on Gentoo with chromium 134.0.6998.88
Gnome Wayland 47.5 / GTK 4.18.2
NVIDIA Driver 570.133.07 / mesa 25.0.1 / vulkan-loader 1.4.309.0
[154320:154336:0322/072452.504029:ERROR:nss_util.cc(345)] After loading Root Certs, loaded==false: NSS error code: -8018
Warning: loader_get_json: Failed to open JSON file radeon_icd.i686.json
The NVIDIA driver was unable to open 'libnvidia-glvkspirv.so.570.133.07'. This library is required at run time.
Error: Loader Message: setup_loader_term_phys_devs: Failed to detect any valid GPUs in the current config
Warning: vkEnumeratePhysicalDevices
at GatherPhysicalDevices (../../third_party/dawn/src/dawn/native/vulkan/VulkanInfo.cpp:148)
[154361:154361:0322/072454.526865:ERROR:gl_display.cc(495)] EGL Driver message (Error) eglCreateContext: Requested version is not supported
Warning: eglCreateContext failed with EGL_BAD_ATTRIBUTE
- While trying to discover a BackendType::OpenGL adapter.
at CheckEGL (../../third_party/dawn/src/dawn/native/opengl/UtilsEGL.cpp:98)