550.40.07 - The NVIDIA driver was unable to open 'libnvidia-glvkspirv

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:

sudo ln -s libnvidia-glvkspirv.so.550.54.14 libnvidia-glvkspirv.so.1
sudo ln -s libnvidia-glvkspirv.so.1 libnvidia-glvkspirv.so

This fixed the issue for me with mixed architecture.

Regards.

So you put symlinks to apps directory, right?
I hope nvidia devs would look at this one day.

Hello,

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.

Regards.

Hello,

Still happens with driver 550.78.

The symlink workaround doesn’t seem to work anymore.

Regards.

Hello,

Still happens with driver 550.120.

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.

Regards.

Apologies for the delayed response, I have filed a bug [4882287] for tracking purpose.

1 Like

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.

I moved to NixOS and I cannot replicate error on 560 driver also.
Might be it was electron/chromium issue that was fixed with updates?

While trying to replicate the issue, brave spamming with this error when video playing:

[667287:3:1014/234504.995211:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[667287:3:1014/234505.011422:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[667287:3:1014/234505.011494:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[667287:3:1014/234505.011524:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[667287:3:1014/234505.011551:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[667287:3:1014/234505.024537:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[667287:3:1014/234505.024607:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[667287:3:1014/234505.024638:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[667287:3:1014/234505.024669:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping
[667287:3:1014/234505.045228:ERROR:client_native_pixmap_dmabuf.cc(50)] Failed to mmap dmabuf: Invalid argument (22)
[667287:3:1014/234505.045305:ERROR:client_shared_image.cc(146)] Failed to map the buffer.
[667287:3:1014/234505.045356:ERROR:client_shared_image.cc(132)] ScopedMapping init failed.
[667287:3:1014/234505.045394:ERROR:client_shared_image.cc(279)] Unable to create ScopedMapping

This error just flooding journal. DMABUF error might be kernel issue also…
Is this error reported somewhere, or should I create separate issue?

Error above looks like resolved on 565 beta driver.

1 Like

Hello,

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).

Regards.

̶C̶o̶n̶f̶i̶r̶m̶i̶n̶g̶ ̶b̶u̶g̶ ̶[̶4̶8̶8̶2̶2̶8̶7̶]̶ ̶f̶i̶x̶e̶d̶ ̶w̶i̶t̶h̶ ̶5̶6̶5̶.̶5̶7̶.̶0̶1̶ ̶h̶e̶r̶e̶ ̶a̶s̶ ̶w̶e̶l̶l̶.̶

Oops, spoke too soon.

Launching Chrome 130.0.6723.91 still throws:

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)

When launched with…

$ LD_PRELOAD=/usr/lib/libnvidia-glvkspirv.so.565.57.01 google-chrome-stable

… the error no longer occurs, but doesn’t seem like an actual fix.

same here when launch discord-canary 0.0.528

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>

Hi All,
Can some one please try with latest 570.86.16 driver and share test results.

$ 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)

Current stack:

  • Arch Linux | Kernel 6.13.3
  • Gnome-shell | Mutter 47.4
  • Wayland (meson_options: xwayland=false, x11=false)
  • Mesa 24.3.4
  • vulkan-icd-loader 1.4.303
  • Google Chrome 133.0.6943.98
  • nVidia 570.86.16

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)

Latest stack:
  • Arch Linux | Kernel 6.13.7
  • Gnome-shell | Mutter 48.0
  • Wayland (meson_options: xwayland=false, x11=false)
  • Gtk4 4.18.2
  • Mesa 25.0.2
  • vulkan-icd-loader 1.4.304
  • nVidia 570.133.07

Linking back to overall summary tracker:

Hi @amrits

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.

To reproduce:

  1. Install the chromium package
  2. launch chromium and visit the chrome://gpu/ page

nvidia-bug-report.log.gz (1.6 MB)

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)

nvidia-bug-report.log.gz (576.9 KB)