You are not logged in.

#1 2024-11-24 22:44:32

Maka8295
Member
Registered: 2024-11-24
Posts: 6

[SOLVED] Vulkan Errors trying to run games on steam.

Hello! Been encountering this error on a fresh install of arch. Ive tried reinstalling several times (even trying endeavourOS and i get same problem). vulkaninfo gives the following error

ERROR: [Loader Message] Code 0 : libradeon-vulkan.so: cannot open shared object file: No such file or directory

ERROR: [Loader Message] Code 0 : loader_icd_scan: Failed loading library associated with ICD JSON libradeon-vulkan.so. Ignoring this JSON

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

When installing steam I use vulkan-radeon and lib32-vulkan-radeon. I do not have amdvlk or the lib32-amdvlk installed. Ive tried re-installing and uninstalling over and over again and no dice... Also tried Linux-zen kernel as well and no difference. Any ideas?

Thank you!!

Last edited by Maka8295 (2024-11-26 16:25:32)

Offline

#2 2024-11-24 23:53:59

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,289

Re: [SOLVED] Vulkan Errors trying to run games on steam.

What's your GPU? The error suggest that the two packages were installed incorrectly Post

lspci -k | grep -EA3 'VGA|3D'
pacman -Qkk vulkan-radeon lib32-vulkan-radeon
glxinfo -B

Offline

#3 2024-11-25 10:08:11

Maka8295
Member
Registered: 2024-11-24
Posts: 6

Re: [SOLVED] Vulkan Errors trying to run games on steam.

V1del wrote:

What's your GPU? The error suggest that the two packages were installed incorrectly Post

lspci -k | grep -EA3 'VGA|3D'
pacman -Qkk vulkan-radeon lib32-vulkan-radeon
glxinfo -B

Thank you for the reply v1del! Im using an AMD 6800XT.

The lspci -k | grep -EA3 'VGA|3D|' command returns the following:

0c:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] (rev c1)
    Subsystem: Sapphire Technology Limited Device e438
    Kernel driver in use: amdgpu
    Kernel modules: amdgpu

pacman -Qkk vulkan-radeon lib32-vulkan-radeon returns the following:


vulkan-radeon: 12 total files, 0 altered files
lib32-vulkan-radeon: 10 total files, 0 altered files


the glxinfo -B command doesnt work for me.

trying to run a game in steam used to give me an error about missing a specific json file, but i cant get it to show up now even though the games still wont run.

Thank you for your time! I hope this helps to narrow it down a bit?

Offline

#4 2024-11-25 10:50:25

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,289

Re: [SOLVED] Vulkan Errors trying to run games on steam.

Install mesa-utils for the glxinfo command. Something weird is going on, is this wayland or xorg? Can you post a xorg log and

sudo journalctl -b | curl -F 'file=@-' 0x0.st
pacman -Qs vulkan
pacman -Qikk {lib32-,}vulkan-icd-loaders
printenv

and please post the outputs you get wrapped in  [code][/code] tags

Offline

#5 2024-11-25 11:24:01

Maka8295
Member
Registered: 2024-11-24
Posts: 6

Re: [SOLVED] Vulkan Errors trying to run games on steam.

V1del wrote:

Install mesa-utils for the glxinfo command. Something weird is going on, is this wayland or xorg? Can you post a xorg log and

sudo journalctl -b | curl -F 'file=@-' 0x0.st
pacman -Qs vulkan
pacman -Qikk {lib32-,}vulkan-icd-loaders
printenv

and please post the outputs you get wrapped in  [code][/code] tags

I am using wayland with Hyprland.
Here is the output of the glxinfo -B command:

 name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: AMD (0x1002)
    Device: AMD Radeon RX 6800 XT (radeonsi, navi21, LLVM 18.1.8, DRM 3.59, 6.12.1-zen1-1-zen) (0x73bf)
    Version: 24.2.7
    Accelerated: yes
    Video memory: 16384MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
    VBO free memory - total: 15703 MB, largest block: 15703 MB
    VBO free aux. memory - total: 15903 MB, largest block: 15903 MB
    Texture free memory - total: 15703 MB, largest block: 15703 MB
    Texture free aux. memory - total: 15903 MB, largest block: 15903 MB
    Renderbuffer free memory - total: 15703 MB, largest block: 15703 MB
    Renderbuffer free aux. memory - total: 15903 MB, largest block: 15903 MB
Memory info (GL_NVX_gpu_memory_info):
    Dedicated video memory: 16384 MB
    Total available memory: 32377 MB
    Currently available dedicated video memory: 15703 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon RX 6800 XT (radeonsi, navi21, LLVM 18.1.8, DRM 3.59, 6.12.1-zen1-1-zen)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 24.2.7-arch1.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.2.7-arch1.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile

OpenGL ES profile version string: OpenGL ES 3.2 Mesa 24.2.7-arch1.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20 

Im having trouble finding an xorg log from the guide on the link you provided, is it because im on wayland?

Here is the output for sudo journalctl -b | curl -F 'file=@-' 0x0.st :

 http://0x0.st/X5E1.txt 

I can post the content of the txt file if you need.

output for pacman -Qs vulkan:

 local/lib32-vulkan-icd-loader 1.3.295-1
    Vulkan Installable Client Driver (ICD) Loader (32-bit)
local/lib32-vulkan-radeon 1:24.2.7-1
    Open-source Vulkan driver for AMD GPUs - 32-bit
local/spirv-tools 2024.2-1 (vulkan-devel)
    API and commands for processing SPIR-V modules
local/vulkan-icd-loader 1.3.295-1
    Vulkan Installable Client Driver (ICD) Loader
local/vulkan-radeon 1:24.2.7-1
    Open-source Vulkan driver for AMD GPUs
local/vulkan-tools 1.3.269-1 (vulkan-devel)
    Vulkan Utilities and Tools 

for pacman -Qikk {lib32-,}vulkan-icd-loaders :

 error: package 'lib32-vulkan-icd-loaders' was not found
error: package 'vulkan-icd-loaders' was not found 

for this i recall installing both of these packages previously and it didnt fix it.

printenv :

 PWD=/home/maka/.local/share
XDG_VTNR=1
SHLVL=2
DBUS_SESSION_BUS_ADDRESS=unix:path=/tmp/dbus-HZYcEQnv67,guid=369ff19089722ce771ba3cba67443d7e
MEMORY_PRESSURE_WRITE=c29tZSAyMDAwMDAgMjAwMDAwMAA=
LOGNAME=maka
XDG_SESSION_TYPE=wayland
XDG_BACKEND=wayland
MOTD_SHOWN=pam
HOME=/home/maka
PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/maka/.local/bin
USER=maka
XDG_RUNTIME_DIR=/run/user/1000
_JAVA_AWT_WM_NONREPARENTING=1
DEBUGINFOD_URLS=https://debuginfod.archlinux.org 
HYPRLAND_CMD=Hyprland
SYSTEMD_EXEC_PID=851
HYPRLAND_INSTANCE_SIGNATURE=12f9a0d0b93f691d4d9923716557154d74777b0a_1732525438_706831962
XDG_SEAT=seat0
XCURSOR_SIZE=57
TERM=xterm-kitty
HL_INITIAL_WORKSPACE_TOKEN=61a82ddf-90e5-4d12-bf7e-dadd32d04f4b
KITTY_PUBLIC_KEY=1:+)<<Gkj6qvRa|&&O%qvsF>}Q-bgR7-iw}BN+>Zxl
WAYLAND_DISPLAY=wayland-1
MEMORY_PRESSURE_WATCH=/sys/fs/cgroup/system.slice/system-getty.slice/getty@tty1.service/memory.pressure
VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radv_icd.json
CREDENTIALS_DIRECTORY=/run/credentials/getty@tty1.service
LANG=en_GB.UTF-8
MOZ_ENABLE_WAYLAND=1
XDG_SESSION_ID=1
TERMINFO=/usr/lib/kitty/terminfo
INVOCATION_ID=a69900498f0d46b1b8958324313c1777
COLORTERM=truecolor
XDG_CURRENT_DESKTOP=Hyprland
KITTY_WINDOW_ID=1
SHELL=/usr/bin/bash
KITTY_PID=10797
HYPRCURSOR_SIZE=57
XDG_SESSION_CLASS=user
MAIL=/var/spool/mail/maka
DISPLAY=:0
KITTY_INSTALLATION_DIR=/usr/lib/kitty 

Thanks again smile

Offline

#6 2024-11-26 11:47:07

Maka8295
Member
Registered: 2024-11-24
Posts: 6

Re: [SOLVED] Vulkan Errors trying to run games on steam.

Just an update, ive done another completely fresh install of arch and its still the same problem......

Offline

#7 2024-11-26 12:36:37

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,289

Re: [SOLVED] Vulkan Errors trying to run games on steam.

Whoops "pacman -Qikk {lib32-,}vulkan-icd-loader" without the s at the end of course

VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radv_icd.json

why is that set explicitly? get rid of that. and make sure the vulkan-icd-loader packages are  installed. Your DBUS_SESSION_BUS_ADDRESS is also wrong and broken. How are you starting hyprland? Make sure you aren't using dbus-launch anywhere. Which instruction/tutorial/dotfile repo are you following to get to that kind of setup?

Last edited by V1del (2024-11-26 12:38:05)

Offline

#8 2024-11-26 15:32:21

Maka8295
Member
Registered: 2024-11-24
Posts: 6

Re: [SOLVED] Vulkan Errors trying to run games on steam.

V1del wrote:

Whoops "pacman -Qikk {lib32-,}vulkan-icd-loader" without the s at the end of course

VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radv_icd.json

why is that set explicitly? get rid of that. and make sure the vulkan-icd-loader packages are  installed. Your DBUS_SESSION_BUS_ADDRESS is also wrong and broken. How are you starting hyprland? Make sure you aren't using dbus-launch anywhere. Which instruction/tutorial/dotfile repo are you following to get to that kind of setup?


Here is the result of  pacman -Qikk {lib32-,}vulkan-icd-loader

Name            : lib32-vulkan-icd-loader
Version         : 1.3.295-1
Description     : Vulkan Installable Client Driver (ICD) Loader (32-bit)
Architecture    : x86_64
URL             : https://www.khronos.org/vulkan/
Licenses        : custom
Groups          : None
Provides        : libvulkan.so=1-32
Depends On      : lib32-glibc  lib32-gcc-libs
Optional Deps   : lib32-vulkan-driver: packaged vulkan driver [installed]
Required By     : lib32-vulkan-radeon  steam
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 576.52 KiB
Packager        : Laurent Carlier <lordheavym@archlinux.org>
Build Date      : Sun 08 Sep 2024 15:15:18 CEST
Install Date    : Tue 26 Nov 2024 12:43:55 CET
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

lib32-vulkan-icd-loader: 16 total files, 0 altered files
Name            : vulkan-icd-loader
Version         : 1.3.295-1
Description     : Vulkan Installable Client Driver (ICD) Loader
Architecture    : x86_64
URL             : https://www.khronos.org/vulkan/
Licenses        : Apache-2.0
Groups          : None
Provides        : libvulkan.so=1-64
Depends On      : glibc
Optional Deps   : vulkan-driver: packaged vulkan driver [installed]
Required By     : ffmpeg  gst-plugins-bad-libs  gtk4  hyprland  libplacebo  mpv
                  steam  vulkan-radeon  vulkan-tools
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 545.40 KiB
Packager        : Laurent Carlier <lordheavym@archlinux.org>
Build Date      : Sun 08 Sep 2024 15:14:59 CEST
Install Date    : Tue 26 Nov 2024 12:04:26 CET
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature

vulkan-icd-loader: 16 total files, 0 altered files 

For the

 VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radv_icd.json 

On my previous install I recall setting some environment variables to try and fix it, Ive now unset that variable!

The vulkan-icd-loader package is installed!

the DBUS_SESSION is a problem ive had for a while, and persists between installs, when I was first making my dotfiles I configured it to start automatically when i logged in, but I cant remember how I set it up, ill see if I can figure it out and post again. I dont think im using dbus-launch? Im not sure how to check but ill do some research

As for how I configured my system, my dotfiles I made myself and I have hosted on github https://github.com/Maka8295/Dotfiles

I install arch using this toutorial https://github.com/silentz/arch-linux-install-guide
Although I first configured my dotfiles on an EndeavourOS system.

Thank you for all the help! smile

EDIT: found  this in my .bashrc

 export VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/radv_icd.json

It was there to make RADV the default graphics driver in order for the ZED IDE to work properly (i must have found that fix on github somewhere)

EDIT2: Also found this in .bashrc

 if [-z "${WAYLAND_DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then dbus-run-session Hyprland
fi 

I take it this is causing the dbus issue? How should I start hyprland?

Also good news, removing that first line from my .bashrc now makes some games on steam work! Others simply give this error message over and over

 wine: using kernel write watches, use_kernel_writewatch 1

I think its likely unrelated though.

Last edited by Maka8295 (2024-11-26 16:00:04)

Offline

#9 2024-11-26 16:15:47

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,289

Re: [SOLVED] Vulkan Errors trying to run games on steam.

probably. but yes VK_ICD_FILENAMES has no reason to be set and if you would then the correct one would be radeon_icd.json. get rid of the dbus-run-session, just start hyprland directly.

You probably want to make a new thread for the remaining issues that are unrelated to vulkan and mark this one as [SOLVED]

Offline

#10 2024-11-26 16:23:44

Maka8295
Member
Registered: 2024-11-24
Posts: 6

Re: [SOLVED] Vulkan Errors trying to run games on steam.

V1del wrote:

probably. but yes VK_ICD_FILENAMES has no reason to be set and if you would then the correct one would be radeon_icd.json. get rid of the dbus-run-session, just start hyprland directly.

You probably want to make a new thread for the remaining issues that are unrelated to vulkan and mark this one as [SOLVED]

Thank you for all your help! Ill see if I cant puzzle it out otherwise Ill start a new thread, but it seems the first issue is solved smile

Offline

Board footer

Powered by FluxBB