Issues getting the system to recognize vulkan

Good afternoon,

I am rather new to Linux and have been all over the web trying to find an answer to this issue.

I have an AMD chip with an AMD video card, and I have installed Vulkan. However, when running “Once Human” in Steam, it continues to say “Processing Vulkan shaders (xx%)”. Is there a way to make sure that OpenGL is disabled and the system is using Vulkan ?

Thank you.

System:
  Kernel: 6.10.6-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 14.2.1 clocksource: tsc
    avail: hpet,acpi_pm parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=4534d447-e253-4141-a80a-1d43fadde2bc rw rootflags=subvol=@ quiet loglevel=3 ibt=off
  Desktop: Cinnamon v: 6.2.9 tk: GTK v: 3.24.43 wm: Muffin v: 6.2.0 tools:
    avail: cinnamon-screensaver,xautolock vt: 7 dm: LightDM v: 1.32.0 Distro: Garuda base: Arch Linux
Machine:
  Type: Desktop Mobo: Micro-Star model: PRO B550M-VC WIFI (MS-7C95) v: 3.0
    serial: <superuser required> uuid: <superuser required> UEFI: American Megatrends LLC. v: H.B0
    date: 03/14/2024
CPU:
  Info: model: AMD Ryzen 7 5700G with Radeon Graphics bits: 64 type: MT MCP arch: Zen 3 gen: 4
    level: v3 note: check built: 2021-22 process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x50 (80)
    stepping: 0 microcode: 0xA50000F
  Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache: L1: 512 KiB
    desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 4335 high: 4340 min/max: 400/4673 scaling: driver: amd-pstate-epp
    governor: powersave cores: 1: 4318 2: 4317 3: 4336 4: 4339 5: 4339 6: 4340 7: 4340 8: 4339
    9: 4339 10: 4339 11: 4318 12: 4339 13: 4339 14: 4339 15: 4340 16: 4340 bogomips: 121371
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: AMD Navi 23 [Radeon RX 6600/6600 XT/6600M] vendor: Gigabyte driver: amdgpu v: kernel
    arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm) built: 2020-22 pcie: gen: 4 speed: 16 GT/s
    lanes: 16 ports: active: HDMI-A-1,HDMI-A-2 empty: DP-1,DP-2,Writeback-1 bus-ID: 29:00.0
    chip-ID: 1002:73ff class-ID: 0300
  Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 24.1.2 driver: X: loaded: amdgpu
    unloaded: modesetting,radeon alternate: fbdev,vesa dri: radeonsi gpu: amdgpu display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 2720x768 s-dpi: 96 s-size: 719x203mm (28.31x7.99") s-diag: 747mm (29.41")
  Monitor-1: HDMI-A-1 mapped: HDMI-A-0 pos: primary,left model: LG (GoldStar) W1953
    serial: <filter> built: 2009 res: 1360x768 hz: 60 dpi: 85 gamma: 1.2
    size: 406x229mm (15.98x9.02") diag: 466mm (18.4") ratio: 16:9 modes: max: 1360x768 min: 720x400
  Monitor-2: HDMI-A-2 mapped: HDMI-A-1 pos: right model: LG (GoldStar) W1953 serial: <filter>
    built: 2009 res: 1360x768 hz: 60 dpi: 85 gamma: 1.2 size: 406x229mm (15.98x9.02")
    diag: 466mm (18.4") ratio: 16:9 modes: max: 1360x768 min: 720x400
  API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi device: 1 drv: swrast
    gbm: drv: kms_swrast surfaceless: drv: radeonsi x11: drv: radeonsi inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.1.6-arch1.1 glx-v: 1.4
    direct-render: yes renderer: AMD Radeon RX 6600 (radeonsi navi23 LLVM 18.1.8 DRM 3.57
    6.10.6-zen1-1-zen) device-ID: 1002:73ff memory: 7.81 GiB unified: no
  API: Vulkan v: 1.3.279 layers: 9 device: 0 type: discrete-gpu name: AMD Radeon RX 6600
    driver: amd v: 2024.Q3.1 (LLPC) device-ID: 1002:73ff surfaces: xcb,xlib
Audio:
  Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel v: kernel pcie: gen: 4
    speed: 16 GT/s lanes: 16 bus-ID: 29:00.1 chip-ID: 1002:ab28 class-ID: 0403
  Device-2: AMD Renoir Radeon High Definition Audio vendor: Micro-Star MSI driver: snd_hda_intel
    v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 30:00.1
    chip-ID: 1002:1637 class-ID: 0403
  Device-3: AMD Family 17h/19h HD Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
    pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 30:00.6
    chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.10.6-zen1-1-zen status: kernel-api with: aoss type: oss-emulator tools: N/A
  Server-1: PipeWire v: 1.2.2 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: MEDIATEK MT7922 802.11ax PCI Express Wireless Network Adapter driver: mt7921e v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 2a:00.0 chip-ID: 14c3:0616 class-ID: 0280
  IF: wlp42s0 state: down mac: <filter>
  Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet vendor: Micro-Star MSI
    driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 2b:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: enp43s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Info: services: NetworkManager, smbd, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: MediaTek Wireless_Device driver: btusb v: 0.8 type: USB rev: 2.1 speed: 480 Mb/s
    lanes: 1 mode: 2.0 bus-ID: 1-9:5 chip-ID: 0e8d:0616 class-ID: e001 serial: <filter>
  Report: btmgmt ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 5.2 lmp-v: 11 status:
    discoverable: no pairing: no class-ID: 6c0104
Drives:
  Local Storage: total: 3.4 TiB used: 1.45 TiB (42.6%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: PNY model: CS1311 240GB SSD size: 223.57 GiB block-size:
    physical: 512 B logical: 512 B speed: 6.0 Gb/s tech: SSD serial: <filter> fw-rev: 1122
    scheme: GPT
  ID-2: /dev/sdb maj-min: 8:16 vendor: PNY model: CS900 500GB SSD size: 465.76 GiB block-size:
    physical: 512 B logical: 512 B speed: 6.0 Gb/s tech: SSD serial: <filter> fw-rev: 06J5
    scheme: GPT
  ID-3: /dev/sdc maj-min: 8:32 vendor: Western Digital model: WD10EZEX-75M2NA0 size: 931.51 GiB
    block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 7200 serial: <filter>
    fw-rev: 1A01 scheme: MBR
  ID-4: /dev/sdd maj-min: 8:48 vendor: PNY model: CS900 2TB SSD size: 1.82 TiB block-size:
    physical: 512 B logical: 512 B speed: 6.0 Gb/s tech: SSD serial: <filter> fw-rev: 0600
    scheme: MBR
Partition:
  ID-1: / raw-size: 465.46 GiB size: 465.46 GiB (100.00%) used: 28.89 GiB (6.2%) fs: btrfs
    dev: /dev/sdb2 maj-min: 8:18
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%) used: 584 KiB (0.2%) fs: vfat
    dev: /dev/sdb1 maj-min: 8:17
  ID-3: /home raw-size: 465.46 GiB size: 465.46 GiB (100.00%) used: 28.89 GiB (6.2%) fs: btrfs
    dev: /dev/sdb2 maj-min: 8:18
  ID-4: /var/log raw-size: 465.46 GiB size: 465.46 GiB (100.00%) used: 28.89 GiB (6.2%) fs: btrfs
    dev: /dev/sdb2 maj-min: 8:18
  ID-5: /var/tmp raw-size: 465.46 GiB size: 465.46 GiB (100.00%) used: 28.89 GiB (6.2%) fs: btrfs
    dev: /dev/sdb2 maj-min: 8:18
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 31.24 GiB used: 0 KiB (0.0%) priority: 100 comp: zstd
    avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 16 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 84.9 C mobo: 40.0 C gpu: amdgpu temp: 38.0 C mem: 34.0 C
  Fan Speeds (rpm): N/A gpu: amdgpu fan: 0
Info:
  Memory: total: 32 GiB available: 31.24 GiB used: 6.26 GiB (20.0%)
  Processes: 415 Power: uptime: 1h 19m states: freeze,mem,disk suspend: deep avail: s2idle
    wakeups: 0 hibernate: platform avail: shutdown, reboot, suspend, test_resume image: 12.48 GiB
    services: csd-power,upowerd Init: systemd v: 256 default: graphical tool: systemctl
  Packages: pm: pacman pkgs: 1562 libs: 497 tools: gnome-software, octopi, pamac, paru Compilers:
    gcc: 14.2.1 Client: shell wrapper v: 5.2.32-release inxi: 3.3.35
Garuda (2.6.26-1):
  System install date:     2024-08-20
  Last full system update: 2024-08-21 ↻
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       No/Undetected
  Failed units:            

You can have steam load them in the background via settings. but its more of a steam proton thing then anything. It’s speed is dependent on your cpu for the building of your shaders.

You also might want to use proton qt get 1 version of proton that works with the game. Cause the AUR proton or experimental get updated from time to time and cause you to have to rebuild the shaders.

That’s a Steam feature for games that use vulkan or opengl (which is basically every game on linux, even the ones you run through proton), the idea is that it builds shaders before opening the game so you don’t have to do it while playing which might cause slowdowns and frame drops, it might be useful for low end hardware like the steam deck, but I’ve never seen a difference in game on a full pc other than having to wait before playing my games.
You can disable it in the settings under: “Downloads” > “Enable Shader Pre-caching”, or you can enable “Allow background processing of Vulkan shaders” like elite suggested, which makes it work in the background so it takes less time when you open a game, but if you have a lot of games installed it doesn’t help much and keeps your cpu in use for long time, it also doesn’t run while you are playing, so if you only run steam before opening a game and don’t have it always in the background it doesn’t really do anything.

Note that this was my experience a couple years back and don’t know if anything has improved or changed in the meantime since I just disabled it and forgot about it.

Thank you both. It is disappointing that they have not come up with a better solution on Steam, but my guess is that Linux users are not a very high priority in the scale of things. Hope that changes in the future. I will just have to start Steam up a couple of hours before I play the game if I don’t turn this feature off.

Looking at your hardware I really don’t think you are going to experience any problems if you turn it off, I had a much worse pc when I first disabled it and you can always turn it back on if you feel like it’s worth it.
I think it was meant for a time when the proton layer was much less mature and could have more hiccups.

1 Like

With them making the steam deck an having 6 years of proton development id say linux is as 1st class as it can be. The way games work on linux is not the same as it is on windows. So there will be some differences.

1 Like

DXVK (DirectX to Vulkan) has made big leaps in shader compilation improvements in the past 2 years or so; notably version 2.1 that helped reducing stutters. Later version 2.3.1 helped with shader code generation on NVIDIA GPUs even.
I would just recommend trying without preprocessing the shaders as others have mentioned here. Preprocessing can take upwards of what feels like forever anyways, and in some situations (like with specific games or setups) don’t even retain the preprocessed shaders correctly and makes you do the whole process over again. If the game does stutter a little after a new area or something that triggers the processing of shaders, it should retain the shaders it processed on the fly for the next time it needs them for those assets (so you shouldn’t notice any hiccups the second time).

2 Likes

Thank you. I think I will turn them off and see how it goes. I really appreciate your input.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.