You are not logged in.
I have been having trouble running any vulkan applications after the most recent update today. I am not sure if it is the Nvidia driver or vulkan or amd-ucode or Xorg?
I was previously using nvidia-dkms drivers, with the lts kernel, and everything was working fine.
I have tried reinstalling nvidia-lts, and nvidia drivers, and nothing seems to work.
I have also tried setting the environment variable,
VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.jsonwhich doesn't work either.
Output from:
vulkaninfo
Segmentation fault (core dumped)and
dmesg | grep nvidia
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-linux-lts root=UUID=75dbd973-7f9f-4d79-bac1-0b3f2bfdf307 rw loglevel=3 quiet splash nvidia-drm.modeset=1
[ 0.021877] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux-lts root=UUID=75dbd973-7f9f-4d79-bac1-0b3f2bfdf307 rw loglevel=3 quiet splash nvidia-drm.modeset=1
[ 3.594026] nvidia: loading out-of-tree module taints kernel.
[ 3.594035] nvidia: module license 'NVIDIA' taints kernel.
[ 3.602566] nvidia: module verification failed: signature and/or required key missing - tainting kernel
[ 3.843182] nvidia-nvlink: Nvlink Core is being initialized, major device number 238
[ 3.844041] nvidia 0000:05:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=io+mem
[ 5.518109] nvidia_uvm: module uses symbols nvUvmInterfaceDisableAccessCntr from proprietary module nvidia, inheriting taint.
[ 5.601367] nvidia-uvm: Loaded the UVM driver, major device number 234.
[ 6.374527] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 545.29.06 Thu Nov 16 01:47:29 UTC 2023
[ 6.379631] [drm] [nvidia-drm] [GPU ID 0x00000500] Loading driver
[ 7.401214] [drm] Initialized nvidia-drm 0.0.0 20160202 for 0000:05:00.0 on minor 0
[ 35.344312] vulkaninfo[1967]: segfault at 50 ip 00007f979bd35f40 sp 00007fff6690de10 error 4 in libnvidia-glcore.so.545.29.06[7f979b25f000+1a34000] likely on CPU 6 (core 6, socket $ sudo pacman -Qs nvidia
local/egl-wayland 2:1.1.13-1
EGLStream-based Wayland external platform
local/lib32-libvdpau 1.5-2
Nvidia VDPAU library
local/lib32-nvidia-utils 545.29.06-1
NVIDIA drivers utilities (32-bit)
local/lib32-opencl-nvidia 545.29.06-1
OpenCL implemention for NVIDIA (32-bit)
local/libvdpau 1.5-2
Nvidia VDPAU library
local/libxnvctrl 545.29.06-1
NVIDIA NV-CONTROL X extension
local/nvidia-lts 1:545.29.06-6
NVIDIA drivers for linux-lts
local/nvidia-settings 545.29.06-1
Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 545.29.06-1
NVIDIA drivers utilities
local/opencl-nvidia 545.29.06-1
OpenCL implemention for NVIDIAlspci -k |grep nvidia
Kernel driver in use: nvidia
Kernel modules: nouveau, nvidia_drm, nvidiasudo pacman -Qs vulkan
local/lib32-nvidia-utils 545.29.06-1
NVIDIA drivers utilities (32-bit)
local/lib32-vkd3d 1.9-1
Direct3D 12 to Vulkan translation library By WineHQ
local/lib32-vulkan-icd-loader 1.3.273-1
Vulkan Installable Client Driver (ICD) Loader (32-bit)
local/lib32-vulkan-radeon 1:23.3.1-1
Radeon's Vulkan mesa driver (32-bit)
local/mangohud 0.7.0-2
A Vulkan overlay layer for monitoring FPS, temperatures, CPU/GPU load and more.
local/nvidia-utils 545.29.06-1
NVIDIA drivers utilities
local/spirv-tools 2023.5-1 (vulkan-devel)
API and commands for processing SPIR-V modules
local/vkd3d 1.9-1
Direct3D 12 to Vulkan translation library By WineHQ
local/vulkan-extra-layers 1.3.250.0-1 (vulkan-devel)
Extra layers for Vulkan development
local/vulkan-extra-tools 1.3.250.0-1 (vulkan-devel)
Vulkan lunarg tools
local/vulkan-headers 1:1.3.273-1 (vulkan-devel)
Vulkan header files
local/vulkan-html-docs 1:1.3.273-1 (vulkan-devel)
Vulkan html documentation
local/vulkan-icd-loader 1.3.273-1
Vulkan Installable Client Driver (ICD) Loader
local/vulkan-radeon 1:23.3.1-1
Radeon's Vulkan mesa driver
local/vulkan-tools 1.3.269-1 (vulkan-devel)
Vulkan Utilities and Tools
local/vulkan-utility-libraries 1.3.273-1 (vulkan-devel)
Vulkan Utility Libraries
local/vulkan-validation-layers 1.3.268.0-1 (vulkan-devel)
Vulkan Validation Layersneofetch --ascii_distro windos
##### text70@archibald
####### ----------------
##O#O## OS: Arch Linux x86_64
####### Kernel: 6.1.68-1-lts
########### Uptime: 23 mins
############# Packages: 1896 (pacman)
############### Shell: bash 5.2.21
################ Resolution: 1920x1080
################# DE: Plasma 5.27.10
##################### WM: KWin
##################### Theme: Breeze Light [Plasma], Breeze [GTK2/3]
################# Icons: [Plasma], breeze-dark [GTK2/3]
Terminal: konsole
Terminal Font: Hack 12
CPU: AMD Ryzen 7 5800X (16) @ 4.100GHz
GPU: NVIDIA GeForce RTX 3070
Memory: 1878MiB / 15916MiB Offline
Segmentation fault (core dumped)
Online
Segmentation fault (core dumped)
gdb reports statement(program exited with code 0377)
core dumps look normal except for :
'core.rundll32\x2eexe.1000{longhash_function_here}.zst
Which seems to correspond to "core.fossilize_repla.1000" hash (Steam's shader layer), from core dumps.
Is this normal or something nasty?
Offline
VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json <your program here>This seems to work just fine. Almost solved. I just need to set this as an environment variable.
Offline
+1 the VK_ICD_FILENAMES workaround works!!
Offline
I have also tried setting the environment variable,
VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.jsonwhich doesn't work either.
VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json <your program here>This seems to work just fine.
1. https://wiki.archlinux.org/title/Environment_variables
2. So this is a hybrid graphics system?
"lspci"?
Why is vulkan-radeon installed?
Online
I had the same issue. The problem was indeed having installed another vulkan driver. Thanks!
Offline
I have also tried setting the environment variable,
VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.jsonwhich doesn't work either.
VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json <your program here>This seems to work just fine.
1. https://wiki.archlinux.org/title/Environment_variables
2. So this is a hybrid graphics system?
"lspci"?
Why is vulkan-radeon installed?
No, I switched graphics cards a while back and did not clean up the packages. icd loading and selection was working fine up until two days ago, I am not sure what was changed. From logs it looks like vulkan-radeon was indeed updated, but I am not sure why that automatically takes priority, as both nvidia_icd and radeon_icd were present?
EDIT:
But yes, after removing vulkan-radeon and lib32-vulkan-radeon, there is no conflict. I would assume you could use this workaround in a hybrid graphics system that has both an NVIDIA and AMD gpus in several different pci slots, only needing to specify the vk_icd in order to divide the workload.
Last edited by text70 (2023-12-19 16:08:43)
Offline
Online
Fix upstream in 1.3.274: https://github.com/KhronosGroup/Vulkan- … ssues/1412
The Starflyer is real!
Offline