Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[SOLVED] vulkan problem

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
phoenix_art
Posts: 134
Joined: 2013-12-08 17:47
Has thanked: 1 time

[SOLVED] vulkan problem

#1 Post by phoenix_art »

Hello!

I installed my newest available driver (460.39) for my card (Nvidia 750ti) from the official website (https://wiki.debian.org/NvidiaGraphicsD ... ckports.29) and after installing vulkan and running vulkaninfo i got this message:

"$ vulkaninfo
The NVIDIA driver was unable to open 'libnvidia-glvkspirv.so.460.39'. This library is required at run time.

WARNING: [Loader Message] Code 0 : terminator_CreateInstance: Failed to CreateInstance in ICD 0. Skipping ICD.
The NVIDIA driver was unable to open 'libnvidia-glvkspirv.so.460.39'. This library is required at run time.

WARNING: [Loader Message] Code 0 : terminator_CreateInstance: Failed to CreateInstance in ICD 1. Skipping ICD.
Cannot create Vulkan instance.
/build/vulkan-tools-6bmpQy/vulkan-tools-1.1.97+dfsg1/vulkaninfo/vulkaninfo.c:918: failed with VK_ERROR_INCOMPATIBLE_DRIVER"

Please help!

Thank you!
Last edited by phoenix_art on 2021-03-13 23:27, edited 2 times in total.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: vulkan problem

#2 Post by Head_on_a_Stick »

Try the nvidia-driver package from the buster-backports repository instead. It's the same version and the kernel module will be rebuilt automatically after kernel upgrades, unlike NVIDIA's version.
deadbang

phoenix_art
Posts: 134
Joined: 2013-12-08 17:47
Has thanked: 1 time

Re: vulkan problem

#3 Post by phoenix_art »

Head_on_a_Stick wrote:Try the nvidia-driver package from the buster-backports repository instead. It's the same version and the kernel module will be rebuilt automatically after kernel upgrades, unlike NVIDIA's version.
# buster-backports
deb http://deb.debian.org/debian buster-backports main contrib non-free

This is what I used.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: vulkan problem

#4 Post by Head_on_a_Stick »

Oops, sorry.

Did you also install the Vulkan packages from buster-backports?

Code: Select all

apt-file search libnvidia-glvkspirv.so.460.39
deadbang

phoenix_art
Posts: 134
Joined: 2013-12-08 17:47
Has thanked: 1 time

Re: vulkan problem

#5 Post by phoenix_art »

Head_on_a_Stick wrote:Oops, sorry.

Did you also install the Vulkan packages from buster-backports?

Code: Select all

apt-file search libnvidia-glvkspirv.so.460.39

I installed vulkan from this tutorial:

https://linuxconfig.org/install-and-tes ... n-on-linux

$ sudo apt-file search libnvidia-glvkspirv.so.460.39
libnvidia-glvkspirv: /usr/lib/x86_64-linux-gnu/libnvidia-glvkspirv.so.460.39

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: vulkan problem

#6 Post by Head_on_a_Stick »

If I ever meet that idiot Nick Congleton I will punch him in the face :x

Code: Select all

# apt install -t buster-backports nvidia-vulkan-icd
deadbang

phoenix_art
Posts: 134
Joined: 2013-12-08 17:47
Has thanked: 1 time

Re: vulkan problem

#7 Post by phoenix_art »

I already feel like you're close to the solution. Thank you for your help so far! :)

sudo apt install -t buster-backports nvidia-vulkan-icd
Csomaglisták olvasása... Kész
Függőségi fa építése
Állapotinformációk olvasása... Kész
A következő további csomagok lesznek telepítve:
libnvidia-cbl libnvidia-glvkspirv libnvidia-rtcore
Az alábbi ÚJ csomagok lesznek telepítve:
libnvidia-cbl libnvidia-glvkspirv libnvidia-rtcore nvidia-vulkan-icd
0 frissített, 4 újonnan telepített, 0 eltávolítandó és 274 nem frissített.
Letöltendő adatmennyiség: 16,7 MB.
A művelet után 82,4 MB lemezterület kerül felhasználásra.
Folytatni akarja? [I/n] Y
Letöltés:1 http://deb.debian.org/debian buster-backports/non-free amd64 libnvidia-cbl amd64 460.39-1~bpo10+1 [475 kB]
Letöltés:2 http://deb.debian.org/debian buster-backports/non-free amd64 libnvidia-glvkspirv amd64 460.39-1~bpo10+1 [4.044 kB]
Letöltés:3 http://deb.debian.org/debian buster-backports/non-free amd64 libnvidia-rtcore amd64 460.39-1~bpo10+1 [12,0 MB]
Letöltés:4 http://deb.debian.org/debian buster-backports/non-free amd64 nvidia-vulkan-icd amd64 460.39-1~bpo10+1 [227 kB]
Letöltve 16,7 MB 2mp alatt (8.589 kB/s)
Selecting previously unselected package libnvidia-cbl:amd64.
(Adatbázis olvasása ... 254605 files and directories currently installed.)
Preparing to unpack .../libnvidia-cbl_460.39-1~bpo10+1_amd64.deb ...
Unpacking libnvidia-cbl:amd64 (460.39-1~bpo10+1) ...
Selecting previously unselected package libnvidia-glvkspirv:amd64.
Preparing to unpack .../libnvidia-glvkspirv_460.39-1~bpo10+1_amd64.deb ...
Unpacking libnvidia-glvkspirv:amd64 (460.39-1~bpo10+1) ...
dpkg: error processing archive /var/cache/apt/archives/libnvidia-glvkspirv_460.39-1~bpo10+1_amd64.deb (--unpack):
trying to overwrite shared '/usr/share/bug/libnvidia-glvkspirv/control', which is different from other instances of package libnvidia-glvkspirv:amd64
dpkg-deb: error: paste subprocess was killed by signal (Törött adatcsatorna)
Selecting previously unselected package libnvidia-rtcore:amd64.
Preparing to unpack .../libnvidia-rtcore_460.39-1~bpo10+1_amd64.deb ...
Unpacking libnvidia-rtcore:amd64 (460.39-1~bpo10+1) ...
Selecting previously unselected package nvidia-vulkan-icd:amd64.
Preparing to unpack .../nvidia-vulkan-icd_460.39-1~bpo10+1_amd64.deb ...
Unpacking nvidia-vulkan-icd:amd64 (460.39-1~bpo10+1) ...
Hibák történtek a feldolgozáskor:
/var/cache/apt/archives/libnvidia-glvkspirv_460.39-1~bpo10+1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

I don't know whats happening.

And what to do now. :roll:

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: vulkan problem

#8 Post by Head_on_a_Stick »

Prepend commands with LC_ALL=C to make them speak English. And please use code tags when posting terminal output.

For the error try moving the offending file then fix the packages:

Code: Select all

# mv /usr/share/bug/libnvidia-glvkspirv/control{,.orig}
# apt install -f
But this problem should never happen — have you been adding PPAs or something?

Please post the output of

Code: Select all

apt policy
deadbang

phoenix_art
Posts: 134
Joined: 2013-12-08 17:47
Has thanked: 1 time

Re: vulkan problem

#9 Post by phoenix_art »

Code: Select all

LC_ALL=C sudo apt install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
and
$ LC_ALL=C apt policy
Package files:
100 /var/lib/dpkg/status
release a=now
500 https://repo.steampowered.com/steam stable/steam i386 Packages
release o=Valve Software LLC,n=stable,l=Steam launcher,c=steam,b=i386
origin repo.steampowered.com
500 https://repo.steampowered.com/steam stable/steam amd64 Packages
release o=Valve Software LLC,n=stable,l=Steam launcher,c=steam,b=amd64
origin repo.steampowered.com
500 http://download.opensuse.org/repositori ... /Debian_10 ./ Packages
release o=obs://build.opensuse.org/home:strycore/Debian_10,n=Debian_10,l=home:strycore,c=
origin download.opensuse.org
100 http://deb.debian.org/debian buster-backports/main i386 Packages
release o=Debian Backports,a=buster-backports,n=buster-backports,l=Debian Backports,c=main,b=i386
origin deb.debian.org
100 http://deb.debian.org/debian buster-backports/main amd64 Packages
release o=Debian Backports,a=buster-backports,n=buster-backports,l=Debian Backports,c=main,b=amd64
origin deb.debian.org
100 http://deb.debian.org/debian buster-backports/contrib i386 Packages
release o=Debian Backports,a=buster-backports,n=buster-backports,l=Debian Backports,c=contrib,b=i386
origin deb.debian.org
100 http://deb.debian.org/debian buster-backports/contrib amd64 Packages
release o=Debian Backports,a=buster-backports,n=buster-backports,l=Debian Backports,c=contrib,b=amd64
origin deb.debian.org
100 http://deb.debian.org/debian buster-backports/non-free i386 Packages
release o=Debian Backports,a=buster-backports,n=buster-backports,l=Debian Backports,c=non-free,b=i386
origin deb.debian.org
100 http://deb.debian.org/debian buster-backports/non-free amd64 Packages
release o=Debian Backports,a=buster-backports,n=buster-backports,l=Debian Backports,c=non-free,b=amd64
origin deb.debian.org
500 https://dl.winehq.org/wine-builds/debian buster/main i386 Packages
release o=dl.winehq.org,a=stable,n=buster,l=winehq,c=main,b=i386
origin dl.winehq.org
500 https://dl.winehq.org/wine-builds/debian buster/main amd64 Packages
release o=dl.winehq.org,a=stable,n=buster,l=winehq,c=main,b=amd64
origin dl.winehq.org
500 http://deb.debian.org/debian buster-updates/main i386 Packages
release o=Debian,a=stable-updates,n=buster-updates,l=Debian,c=main,b=i386
origin deb.debian.org
500 http://deb.debian.org/debian buster-updates/main amd64 Packages
release o=Debian,a=stable-updates,n=buster-updates,l=Debian,c=main,b=amd64
origin deb.debian.org
500 http://deb.debian.org/debian buster-updates/non-free i386 Packages
release o=Debian,a=stable-updates,n=buster-updates,l=Debian,c=non-free,b=i386
origin deb.debian.org
500 http://deb.debian.org/debian buster-updates/non-free amd64 Packages
release o=Debian,a=stable-updates,n=buster-updates,l=Debian,c=non-free,b=amd64
origin deb.debian.org
500 http://security.debian.org/debian-security buster/updates/main i386 Packages
release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=main,b=i386
origin security.debian.org
500 http://security.debian.org/debian-security buster/updates/main amd64 Packages
release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=main,b=amd64
origin security.debian.org
500 http://security.debian.org/debian-security buster/updates/non-free i386 Packages
release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=non-free,b=i386
origin security.debian.org
500 http://security.debian.org/debian-security buster/updates/non-free amd64 Packages
release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=non-free,b=amd64
origin security.debian.org
500 http://deb.debian.org/debian buster/non-free i386 Packages
release v=10.8,o=Debian,a=stable,n=buster,l=Debian,c=non-free,b=i386
origin deb.debian.org
500 http://deb.debian.org/debian buster/non-free amd64 Packages
release v=10.8,o=Debian,a=stable,n=buster,l=Debian,c=non-free,b=amd64
origin deb.debian.org
500 http://deb.debian.org/debian buster/contrib i386 Packages
release v=10.8,o=Debian,a=stable,n=buster,l=Debian,c=contrib,b=i386
origin deb.debian.org
500 http://deb.debian.org/debian buster/contrib amd64 Packages
release v=10.8,o=Debian,a=stable,n=buster,l=Debian,c=contrib,b=amd64
origin deb.debian.org
500 http://deb.debian.org/debian buster/main i386 Packages
release v=10.8,o=Debian,a=stable,n=buster,l=Debian,c=main,b=i386
origin deb.debian.org
500 http://deb.debian.org/debian buster/main amd64 Packages
release v=10.8,o=Debian,a=stable,n=buster,l=Debian,c=main,b=amd64
origin deb.debian.org

phoenix_art
Posts: 134
Joined: 2013-12-08 17:47
Has thanked: 1 time

Re: vulkan problem

#10 Post by phoenix_art »

Now its solved thanks to this command finally which I found on another forum:

Code: Select all

sudo apt install -t buster-backports nvidia-vulkan-icd
Vulkan works very well now also with games like Crysis.

Thanks for all your help here.

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: vulkan problem

#11 Post by Head_on_a_Stick »

phoenix_art wrote:Now its solved thanks to this command finally which I found on another forum:

Code: Select all

sudo apt install -t buster-backports nvidia-vulkan-icd
That's the command I gave above. It works now because you moved the conflicting file. The file was probably conflicting because you added those Valve repositories. Why did you do that? Steam is available from the Debian repositories.

You should remove the Valve repositories and anything you installed from there. Find the packages from those repositories with

Code: Select all

aptitude search '?narrow(?installed, ?origin(Valve))'
deadbang

phoenix_art
Posts: 134
Joined: 2013-12-08 17:47
Has thanked: 1 time

Re: vulkan problem

#12 Post by phoenix_art »

Head_on_a_Stick wrote:If I ever meet that idiot Nick Congleton I will punch him in the face :x

Code: Select all

# apt install -t buster-backports nvidia-vulkan-icd
Yes, really I missed reading again your previous suggestion after solve that conflicting files. I'm sorry and thanks again, you are good helper.

Post Reply