After last nvidia update, I can’t start any game and vulkan seems to be broken. When I load snapshot before I updated system, everything works fine.
ERROR: [Loader Message] Code 0 : loader_scanned_icd_add: Could not get 'vkCreateInstance' via 'vk_icdGetInstanceProcAddr' for ICD libGLX_nvidia.so.0
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 /usr/src/debug/vulkan-tools/Vulkan-Tools-1.3.255/vulkaninfo/vulkaninfo.h:676:vkCreateInstance failed with ERROR_INCOMPATIBLE_DRIVER
prime-run glxinfo -B
name of display: :0
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 150 (GLX)
Minor opcode of failed request: 24 (X_GLXCreateNewContext)
Value in failed request: 0x0
Serial number of failed request: 50
Current serial number in output stream: 51
glxinfo from working snapshot:
prime-run glxinfo -B Čt 24. srpna 2023, 22:56:29
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 8192 MB
Total available memory: 8192 MB
Currently available dedicated video memory: 7912 MB
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: NVIDIA GeForce RTX 3070 Laptop GPU/PCIe/SSE2
OpenGL core profile version string: 4.6.0 NVIDIA 535.98
OpenGL core profile shading language version string: 4.60 NVIDIA
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6.0 NVIDIA 535.98
OpenGL shading language version string: 4.60 NVIDIA
OpenGL context flags: (none)
OpenGL profile mask: (none)
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 535.98
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
Since vulkaninfo returns error as shown in OP, this does not work eiter:
vkEnumerateInstanceExtensionProperties failed to find the VK_KHR_surface extension.
Do you have a compatible Vulkan installable client driver (ICD) installed?
Please look at the Getting Started guide for additional information.
As you can see from my pacman -Qs nvidia command I have both nvidia-utils and lib32-nvidia-utils installed.
Setting environment variable did nothing. And I don’t use optimus, result of glxinfo can be also seen in OP both broken state and working snapshot.
So I have completely reinstalled system. Installed nvidia drivers through nvidia-inst, installed steam to get all vulkan dependencies and problem is somehow solved, vulkan is working. However I am now facing another problem with gpu memory alocation. Will create seperate post for it and paste link here if you want to see: