You are not logged in.

#1 2022-12-26 18:40:41

FoxNerdSaysMoo
Member
Registered: 2022-12-26
Posts: 2

[SOLVED] Vulkan not functional on NVIDIA gpu

$ expac -Qs '%n' vulkan-driver               
lib32-nvidia-utils
nvidia-utils


$ ls /usr/share/vulkan/icd.d/                                    
nvidia_icd.json


$ VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json vkcube
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.

$ pacman -Qs vulkan                                              
local/lib32-nvidia-utils 525.60.11-1
    NVIDIA drivers utilities (32-bit)
local/lib32-vulkan-icd-loader 1.3.235-1
    Vulkan Installable Client Driver (ICD) Loader (32-bit)
local/nvidia-utils 525.60.11-1
    NVIDIA drivers utilities
local/spirv-tools 2022.1-1 (vulkan-devel)
    API and commands for processing SPIR-V modules
local/vulkan-headers 1:1.3.235-1 (vulkan-devel)
    Vulkan header files
local/vulkan-icd-loader 1.3.235-1
    Vulkan Installable Client Driver (ICD) Loader
local/vulkan-tools 1.3.226-1 (vulkan-devel)
    Vulkan Utilities and Tools

$ lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GP107GL [Quadro P620] (rev a1)

$ pacman -Qs nvidia
local/egl-wayland 2:1.1.11-2
    EGLStream-based Wayland external platform
local/lib32-nvidia-utils 525.60.11-1
    NVIDIA drivers utilities (32-bit)
local/libvdpau 1.5-1
    Nvidia VDPAU library
local/nvidia 525.60.11-5
    NVIDIA drivers for linux
local/nvidia-utils 525.60.11-1
    NVIDIA drivers utilities

$ cat /usr/share/vulkan/icd.d/nvidia_icd.json                    
{
    "file_format_version" : "1.0.0",
    "ICD": {
        "library_path": "libGLX_nvidia.so.0",
        "api_version" : "1.3.224"
    }
}

I reinstalled Arch yesterday, however now vulkan is not working. My system is up to date as of 2022/12/26. Please let me know if there is more information I could provide.

Last edited by FoxNerdSaysMoo (2022-12-26 22:50:09)

Offline

#2 2022-12-26 22:51:46

FoxNerdSaysMoo
Member
Registered: 2022-12-26
Posts: 2

Re: [SOLVED] Vulkan not functional on NVIDIA gpu

It turns out I had nouveau loaded, which I found via

lsmod

. I believe this was accidentally installed due to mesa.

Offline

#3 2022-12-27 09:58:58

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,868

Re: [SOLVED] Vulkan not functional on NVIDIA gpu

. I believe this was accidentally installed due to mesa.

Nope.
lsmod lists kernel modules, mesa does nothing with kernel modules.

The nouveau kernel module is part of the kernel and doesn't need to be installed.
Your problem was not with vulkan, but with your basic graphics configuration .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

Board footer

Powered by FluxBB