LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-16-2023, 08:43 PM   #1
adcdam
Member
 
Registered: Aug 2020
Location: Berisso, Argentina
Distribution: Slackware
Posts: 255

Rep: Reputation: 205Reputation: 205Reputation: 205
Is the 32 bit vulkan driver broken in Slackaware current?


im getting
Code:
Vulkan missing requested extension 'VK_KHR_surface'.
Vulkan missing requested extension 'VK_KHR_xlib_surface'.
BInit - Unable to initialize Vulkan!
since Mesa 23.2. i tried Mesa 23.3.1 and same thing, work fine with mesa 23.1.8 and llvm 16
https://github.com/ValveSoftware/ste...x/issues/10127
games that are 64 bit and wine 64 bits work, games that are 32 doesn't work.
My gpu is rx6700xt.
 
Old 12-17-2023, 08:30 AM   #2
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,570

Rep: Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905
Do the versions of vulkan match? Sometimes multilib lags a bit on updates, and if memory serves we did get a vulkan upgrade recently.
 
Old 12-17-2023, 11:13 AM   #3
adcdam
Member
 
Registered: Aug 2020
Location: Berisso, Argentina
Distribution: Slackware
Posts: 255

Original Poster
Rep: Reputation: 205Reputation: 205Reputation: 205
i have mesa-23.3.1-x86_64-1,
mesa-compat32-23.3.1-x86_64-1compat32
llvm-17.0.6-x86_64-1 ,
llvm-compat32-17.0.6-x86_64-1compat32,
spirv-llvm-translator-17.0.0-x86_64-1 ,
vulkan-sdk-1.3.268.0-x86_64-1
vulkan-sdk-compat32-1.3.268.0-x86_64-1compat32
same thing the driver is broken at least for my gpu perhaps it need a patch or something.

it work fine with
mesa 23.1.8
llvm 16

Last edited by adcdam; 12-17-2023 at 11:16 AM.
 
Old 12-17-2023, 11:15 AM   #4
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,570

Rep: Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905
OK...what happens when you try to run the 32-bit vkcube? (/usr/bin/32/vkcube)
 
Old 12-17-2023, 11:17 AM   #5
adcdam
Member
 
Registered: Aug 2020
Location: Berisso, Argentina
Distribution: Slackware
Posts: 255

Original Poster
Rep: Reputation: 205Reputation: 205Reputation: 205
Code:
/usr/bin/32/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.
Quote:
/usr/bin/vkcube
Selected GPU 0: AMD Radeon RX 6700 XT (RADV NAVI22), type: DiscreteGpu
the 64 bit work fine, i can see the cube spinning.

the steam guys told me this:
https://github.com/ValveSoftware/ste...x/issues/10127
Thanks, https://gist.github.com/adcdam/26e0d...e1-txt-L83-L97 confirms that 32 bit Vulkan is indeed broken on your system because the Vulkan loader isn't finding a suitable driver for your video card, but beyond that it's not clear why that's the case.

Last edited by adcdam; 12-17-2023 at 11:43 AM.
 
Old 12-17-2023, 12:32 PM   #6
adcdam
Member
 
Registered: Aug 2020
Location: Berisso, Argentina
Distribution: Slackware
Posts: 255

Original Poster
Rep: Reputation: 205Reputation: 205Reputation: 205
perhaps it need a patch? https://lore.kernel.org/all/20231215...gutronix.de/T/
 
Old 12-17-2023, 02:09 PM   #7
Windu
Member
 
Registered: Aug 2021
Distribution: Arch Linux, Debian, Slackware
Posts: 591

Rep: Reputation: Disabled
Quote:
Originally Posted by adcdam View Post
i have mesa-23.3.1-x86_64-1,
mesa-compat32-23.3.1-x86_64-1compat32
llvm-17.0.6-x86_64-1 ,
llvm-compat32-17.0.6-x86_64-1compat32,
spirv-llvm-translator-17.0.0-x86_64-1 ,
vulkan-sdk-1.3.268.0-x86_64-1
vulkan-sdk-compat32-1.3.268.0-x86_64-1compat32
same thing the driver is broken at least for my gpu perhaps it need a patch or something.

it work fine with
mesa 23.1.8
llvm 16
I miss the compat32 version of spirv-llvm-translator in this list, it is needed by the 32bit vulkan driver.
Perhaps you have not run "slackpkg install multilib" for a while? Sometimes, new packages get added to the collection and spirv-llvm-translator-compat32 was added in october:
Code:
+--------------------------+
Fri Oct  6 08:55:55 UTC 2023
current/compat32-tools: added l/spirv-llvm-translator to massconvert32.sh
current/slackware64-compat32:  Refreshed the *compat32 packages.
 
Old 12-17-2023, 02:25 PM   #8
adcdam
Member
 
Registered: Aug 2020
Location: Berisso, Argentina
Distribution: Slackware
Posts: 255

Original Poster
Rep: Reputation: 205Reputation: 205Reputation: 205
i added the package spirv-llvm-translator-compat32-17.0.0-x86_64-1compat32
and the result is the same as before, 32 bit games doesn't work

Code:
ls /var/log/packages | grep mesa
mesa-23.3.1-x86_64-1
mesa-compat32-23.3.1-x86_64-1compat32
❯ ls /var/log/packages | grep llvm
llvm-17.0.6-x86_64-1
llvm-compat32-17.0.6-x86_64-1compat32
spirv-llvm-translator-17.0.0-x86_64-1
spirv-llvm-translator-compat32-17.0.0-x86_64-1compat32
❯ ls /var/log/packages | grep vulkan
vulkan-sdk-1.3.268.0-x86_64-1
vulkan-sdk-compat32-1.3.268.0-x86_64-1compat32
ls /var/log/packages | grep kernel
kernel-firmware-20231212_c52dc25-noarch-1
kernel-generic-6.6.7-x86_64-1
kernel-headers-6.6.7-x86-1
kernel-huge-6.6.7-x86_64-1
kernel-modules-6.6.7-x86_64-1



Vulkan missing requested extension 'VK_KHR_surface'.
Vulkan missing requested extension 'VK_KHR_xlib_surface'.
BInit - Unable to initialize Vulkan!

if i downgrade back to mesa 23.1.8 and llvm 16 all work fine.
with the packages below all work fine, steam, wine and the 32-bit vkcube
32-bit vkcube example
Code:
/usr/bin/32/vkcube
Selected GPU 0: AMD Radeon RX 6700 XT (RADV NAVI22), type: DiscreteGpu
Code:
ls /var/log/packages | grep mesa
mesa-23.1.8-x86_64-2
mesa-compat32-23.1.8-x86_64-1compat32
❯ ls /var/log/packages | grep llvm
llvm-16.0.6-x86_64-1
llvm-compat32-16.0.6-x86_64-1compat32
spirv-llvm-translator-16.0.0-x86_64-2
❯ ls /var/log/packages | grep vulkan
vulkan-sdk-1.3.268.0-x86_64-1
vulkan-sdk-compat32-1.3.268.0-x86_64-1compat32

Last edited by adcdam; 12-17-2023 at 03:33 PM.
 
Old 12-17-2023, 11:09 PM   #9
adcdam
Member
 
Registered: Aug 2020
Location: Berisso, Argentina
Distribution: Slackware
Posts: 255

Original Poster
Rep: Reputation: 205Reputation: 205Reputation: 205
Anyone with the same problem?
 
Old 12-18-2023, 04:48 PM   #10
garpu
Senior Member
 
Registered: Oct 2009
Distribution: Slackware
Posts: 1,570

Rep: Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905
I think cwizardzone is with AMD and does stuff with 32-bit gaming, WINE, etc? We'll see what Christmas/birthday brings this year.
 
Old 12-19-2023, 07:18 AM   #11
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 530

Rep: Reputation: Disabled
Quote:
Originally Posted by adcdam View Post
Anyone with the same problem?
Yes. I recall you made a post about this a few weeks ago and the problem hasn't resolved itself even with the November 24th upgrades to mulitlib.

You're not alone, but it is weird that it's affecting only 32-bit applications but I have no idea if it affects nVidia users? I'm also using an AMD GPU and CPU.
 
1 members found this post helpful.
Old 12-20-2023, 06:08 PM   #12
adcdam
Member
 
Registered: Aug 2020
Location: Berisso, Argentina
Distribution: Slackware
Posts: 255

Original Poster
Rep: Reputation: 205Reputation: 205Reputation: 205
Tommyc7 there is no problem with 32 bit vulkan drivers i was missing some multilib packages, sorry!!!!!!!!!
it got solved by slackpkg install multilib
Sorry Pat my apologies!!!!!
 
Old 12-21-2023, 05:06 AM   #13
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 530

Rep: Reputation: Disabled
Do you remember which packages you were missing?
 
Old 12-21-2023, 07:34 AM   #14
adcdam
Member
 
Registered: Aug 2020
Location: Berisso, Argentina
Distribution: Slackware
Posts: 255

Original Poster
Rep: Reputation: 205Reputation: 205Reputation: 205
Quote:
Originally Posted by TommyC7 View Post
Do you remember which packages you were missing?
i don t remember but if i list by time
Code:
ls -lt /var/lib/pkgtools/packages | less

-rw-r--r-- 1 root root     996 dic 20 20:26 xcb-util-keysyms-compat32-0.4.1-x86_64-1compat32
-rw-r--r-- 1 root root    1162 dic 20 20:26 vid.stab-compat32-1.1.1-x86_64-1compat32
-rw-r--r-- 1 root root    1119 dic 20 20:26 taglib-compat32-1.13.1-x86_64-1compat32
-rw-r--r-- 1 root root    1406 dic 20 20:26 openssl11-solibs-compat32-1.1.1w-x86_64-1compat32
-rw-r--r-- 1 root root    1723 dic 20 20:26 openexr-compat32-3.2.1-x86_64-1compat32
-rw-r--r-- 1 root root    1427 dic 20 20:26 libnice-compat32-0.1.21-x86_64-1compat32
-rw-r--r-- 1 root root    1032 dic 20 20:26 libdvdnav-compat32-6.1.1-x86_64-1compat32
-rw-r--r-- 1 root root    1566 dic 20 20:26 libdeflate-compat32-1.19-x86_64-1compat32
-rw-r--r-- 1 root root     978 dic 20 20:26 jansson-compat32-2.14-x86_64-1compat32
-rw-r--r-- 1 root root   42599 dic 20 20:26 gcc-gm2-13.2.0_multilib-x86_64-1alien
-rw-r--r-- 1 root root    1301 dic 20 20:26 cdparanoia-compat32-III_10.2-x86_64-5compat32
-rw-r--r-- 1 root root    1646 dic 20 20:26 aalib-compat32-1.4rc5-x86_64-8compat32
 
Old 12-21-2023, 12:00 PM   #15
TommyC7
Member
 
Registered: Mar 2012
Distribution: Slackware, CentOS, OpenBSD, FreeBSD
Posts: 530

Rep: Reputation: Disabled
Cheers.

Unfortunately for me it doesn't seem like any of those were the source of my problem as I have those packages installed but I appreciate your post nonetheless.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Open Source NVIDIA Vulkan Driver NVK Reaches Vulkan 1.0 Conformance LXer Syndicated Linux News 0 11-21-2023 01:21 AM
LXer: Vulkan 1.2.140 spec out and NVIDIA has a new Vulkan Beta Driver up with new extension support LXer Syndicated Linux News 0 05-06-2020 06:11 AM
LXer: Vulkan API specification 1.2 released, new NVIDIA Vulkan Beta driver up LXer Syndicated Linux News 0 01-18-2020 06:50 AM
Slackaware (-current) on H3: step by step SCerovec Slackware - ARM 42 06-27-2017 07:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration