LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Is the 32 bit vulkan driver broken in Slackaware current? (https://www.linuxquestions.org/questions/slackware-14/is-the-32-bit-vulkan-driver-broken-in-slackaware-current-4175731875/)

adcdam 12-16-2023 08:43 PM

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.

garpu 12-17-2023 08:30 AM

Do the versions of vulkan match? Sometimes multilib lags a bit on updates, and if memory serves we did get a vulkan upgrade recently.

adcdam 12-17-2023 11:13 AM

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

garpu 12-17-2023 11:15 AM

OK...what happens when you try to run the 32-bit vkcube? (/usr/bin/32/vkcube)

adcdam 12-17-2023 11:17 AM

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.

adcdam 12-17-2023 12:32 PM

perhaps it need a patch? https://lore.kernel.org/all/20231215...gutronix.de/T/

Windu 12-17-2023 02:09 PM

Quote:

Originally Posted by adcdam (Post 6470956)
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.


adcdam 12-17-2023 02:25 PM

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


adcdam 12-17-2023 11:09 PM

Anyone with the same problem?

garpu 12-18-2023 04:48 PM

I think cwizardzone is with AMD and does stuff with 32-bit gaming, WINE, etc? We'll see what Christmas/birthday brings this year. :D

TommyC7 12-19-2023 07:18 AM

Quote:

Originally Posted by adcdam (Post 6471062)
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.

adcdam 12-20-2023 06:08 PM

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!!!!!

TommyC7 12-21-2023 05:06 AM

Do you remember which packages you were missing?

adcdam 12-21-2023 07:34 AM

Quote:

Originally Posted by TommyC7 (Post 6471830)
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


TommyC7 12-21-2023 12:00 PM

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.


All times are GMT -5. The time now is 05:48 AM.