You are not logged in.

#1 2023-10-16 10:44:30

Caesar451
Member
Registered: 2023-10-16
Posts: 1

Vulkan instalation to a NVIDIA GPU

Hello there! I've been trying to set up my drivers so I can fully play my game library using Lutris. I followed it's guide and already installed the proprietary drivers, support for vulkan and the wines dependencies. However, Lutris shows an error message that vulkan is not found or supported. I do have a GTX1070, which is supposed to support vulkan.  I ran vulkaninfo and it returns:

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.263/vulkaninfo/vulkaninfo.h:688:vkCreateInstance failed with ERROR_INCOMPATIBLE_DRIVER

I also ran dkms status to check the installed dkms and it returns:

nvidia/535.113.01, 6.5.7-arch1-1, x86_64: installed

I suspected some corruption might have happened, so I tried reinstalling everything, but it still doesn't work.

I'd appreciate if someone could help me with this one.

Last edited by Caesar451 (2023-10-16 10:46:38)

Offline

#2 2023-10-16 12:00:33

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,102

Re: Vulkan instalation to a NVIDIA GPU

please post the full output of

$ lspci -k
$ pacman -Qs vulkan

Welcome to archlinux forums


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

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#3 2023-10-16 13:59:50

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,234

Re: Vulkan instalation to a NVIDIA GPU

What exact guide did you follow and what did you do? Link it. And post  your exact files and changes resulting from following whatever it was you followed.

Offline

#4 2023-10-17 15:23:56

fobepa2944
Member
Registered: 2023-10-17
Posts: 1

Re: Vulkan instalation to a NVIDIA GPU

I'm encountering the exact same issue as OP, and own the same 1070GTX GPU (maybe just a coincidence).

I'm on a fresh Arch install with the most recent Arch ISO and NVIDIA proprietary drivers, running KDE.

I started having an error while trying to run the Android Studio virtual emulator, which couldn't start at all and threw a vulkan error in the CLI.

vulkaninfo returns:

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.263/vulkaninfo/vulkaninfo.h:688:vkCreateInstance failed with ERROR_INCOMPATIBLE_DRIVER

This occurs under both Wayland and X11 sessions.

This is the result of my pacman -Qs vulkan:

local/nvidia-utils 535.113.01-2
    NVIDIA drivers utilities
local/spirv-tools 2022.4-1 (vulkan-devel)
    API and commands for processing SPIR-V modules
local/vulkan-icd-loader 1.3.263-1
    Vulkan Installable Client Driver (ICD) Loader
local/vulkan-tools 1.3.263-1 (vulkan-devel)
    Vulkan Utilities and Tools

I ran sudo pacman -S nvidia-utils, which somehow fixes Android Studio and allow its emulator to run, but completely breaks my resolution, and breaks my dual monitor (one is not detected at all ...)

I reinstalled Arch several times using archinstall after pacman -Sy archinstall from the most recent Arch ISO, and I only installed kde-applications-meta and git as extra packages. I tested different Android Studio versions (beta & canary) with different AVD.

The only thing that "fixes" it is installing nvidia-utils, but it massively breaks my desktop. vulkaninfo still throws the same above-mentioned error in every cases.

Any help would be appreciated.

Last edited by fobepa2944 (2023-10-17 15:33:00)

Offline

#5 2023-10-18 09:28:44

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,102

Re: Vulkan instalation to a NVIDIA GPU

Please add the full output of lspci -k (run as normal user) .

Welcome to archlinux forums.


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

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#6 2023-10-23 09:17:13

yalesib824
Banned
Registered: 2023-10-23
Posts: 1

Re: Vulkan instalation to a NVIDIA GPU

Hi, I'm fobepa2944 (I lost my credentials).

Since I solved the issue, I just wanted to update the topic for future documentation/reference. This might be the same issue author had, although I can't testify for him.

During archinstall, even though you select "Nvidia proprietary drivers" in the prompt, it seems that it installs the NOUVEAU NVIDIA open source drivers instead, which have no support of Vulkan API.

Whether it is/was a temporary bug of archinstall, or something only affecting users of 1070GTXs, make sure to check that you have the proprietary drivers installed, and not the Nouveau ones. Even if you selected "nvidia proprietary drivers" in archinstall, in my case, it did install the Nouveau ones (I manually installed like 4-5 times, so it wasn't a one-time mistake).

Installing the proprietary drivers (nvidia package) will solve the Vulkan issues immediately. If you want to use a Wayland session (on KDE), you'll have to activate the nvidia-drm modeset=1 for your screens to be properly detected. Wayland+Nouveau will work out of the box, which is a redflag that you don't have the correct drivers installed (as of the date of this post).

So make sure to double check which NVIDIA drivers you have with

lsmod | grep nvidia

If archinstall is still "faulty" when you're reading this and tries to force Nouveau drivers on you, don't select any gpu drivers and run sudo pacman -S nvidia manually instead after install.

Last edited by yalesib824 (2023-10-23 10:01:48)

Offline

#7 2023-10-23 15:19:31

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,643

Re: Vulkan instalation to a NVIDIA GPU

yalesib824, we only permit one account.  I have reached out to you by email to assist in recovering your primary account.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB