Vulkan support for AMD iGPU

Hello everyone,
sorry if this question has already been answered, I’ve tried to check the forums but I couldn’t find what I was looking for.
I’m currently using a laptop which came with a Ryzen 7 5700U CPU with and iGPU and a dedicated NVIDIA 1650 Mobile GPU, the iGPU is used to render the image on screen and so far I’ve been happily using it without issues, I can game on it, browse and everything. The issue came when I tried to make gamescope work, and I noticed that if I launch vkcube from terminal the dGPU gets used to render the model, instead of the iGPU, since this laptop is somewhat recent I’m guessing that the iGPU should have Vulkan support, so I’m asking if there’s a way to check if the iGPU does support Vulkan. I stumbled upon this website which should catalog all the GPUs known to support Vulkan and I guess mine would be listed as AMD Radeon Graphics.

Here’s my inxi -Fxxx output:

System:
  Host: endeavour-laptop Kernel: 6.2.2-zen1-1-zen arch: x86_64 bits: 64
    compiler: gcc v: 12.2.1 Desktop: GNOME v: 43.3 tk: GTK v: 3.24.37
    wm: gnome-shell dm: GDM v: 43.0 Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Laptop System: Acer product: SFX14-41G v: V1.04
    serial: <superuser required>
  Mobo: LN model: Scala_CAS v: V1.04 serial: <superuser required>
    UEFI: Insyde v: 1.04 date: 08/06/2021
Battery:
  ID-1: BAT1 charge: 15.2 Wh (27.1%) condition: 56.1/58.8 Wh (95.5%)
    volts: 14.6 min: 15.4 model: SMP AP18E7M type: Li-ion serial: 352
    status: discharging
CPU:
  Info: 8-core model: AMD Ryzen 7 5700U with Radeon Graphics bits: 64
    type: MT MCP smt: enabled arch: Zen 2 rev: 1 cache: L1: 512 KiB L2: 4 MiB
    L3: 8 MiB
  Speed (MHz): avg: 1418 high: 1700 min/max: 1400/4370 boost: disabled
    cores: 1: 1400 2: 1700 3: 1400 4: 1400 5: 1400 6: 1400 7: 1400 8: 1400
    9: 1400 10: 1400 11: 1400 12: 1400 13: 1400 14: 1400 15: 1400 16: 1397
    bogomips: 57493
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q]
    vendor: Acer Incorporated ALI driver: nvidia v: 525.89.02 arch: Turing pcie:
    speed: 2.5 GT/s lanes: 8 bus-ID: 01:00.0 chip-ID: 10de:1f9d class-ID: 0302
  Device-2: AMD Lucienne vendor: Acer Incorporated ALI driver: amdgpu
    v: kernel arch: GCN-5 pcie: speed: 8 GT/s lanes: 16 ports: active: eDP-1
    empty: DP-1,HDMI-A-1 bus-ID: 04:00.0 chip-ID: 1002:164c class-ID: 0300
    temp: 34.0 C
  Device-3: Quanta HD User Facing type: USB driver: uvcvideo bus-ID: 2-3:2
    chip-ID: 0408:a094 class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.7 with: Xwayland v: 22.1.8
    compositor: gnome-shell driver: X: loaded: amdgpu,modesetting
    unloaded: radeon alternate: fbdev,nouveau,nv,vesa dri: radeonsi
    gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 mapped: eDP model: ChiMei InnoLux 0x14d5 res: 1920x1080
    hz: 60 dpi: 158 size: 309x173mm (12.17x6.81") diag: 354mm (13.9") modes:
    max: 1920x1080 min: 640x480
  API: OpenGL v: 4.6 Mesa 22.3.6 renderer: AMD Radeon Graphics (renoir LLVM
    15.0.7 DRM 3.49 6.2.2-zen1-1-zen) direct-render: Yes
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio
    vendor: Acer Incorporated ALI driver: snd_hda_intel v: kernel pcie:
    speed: 8 GT/s lanes: 16 bus-ID: 04:00.1 chip-ID: 1002:1637 class-ID: 0403
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor
    vendor: Acer Incorporated ALI driver: snd_rn_pci_acp3x v: kernel pcie:
    speed: 8 GT/s lanes: 16 bus-ID: 04:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-3: AMD Family 17h/19h HD Audio vendor: Acer Incorporated ALI
    driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16
    bus-ID: 04:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Sound API: ALSA v: k6.2.2-zen1-1-zen running: yes
  Sound Server-1: PulseAudio v: 16.1 running: no
  Sound Server-2: PipeWire v: 0.3.66 running: yes
Network:
  Device-1: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter
    vendor: Lite-On driver: mt7921e v: kernel pcie: speed: 5 GT/s lanes: 1
    bus-ID: 03:00.0 chip-ID: 14c3:7961 class-ID: 0280
  IF: wlan0 state: up mac: d8:f3:bc:80:4b:b1
  IF-ID-1: virbr0 state: down mac: 52:54:00:e5:5b:99
Bluetooth:
  Device-1: Lite-On Wireless_Device type: USB driver: btusb v: 0.8
    bus-ID: 2-4:3 chip-ID: 04ca:3802 class-ID: e001 serial: 000000000
  Report: rfkill ID: hci0 rfk-id: 2 state: down bt-service: disabled
    rfk-block: hardware: no software: no address: see --recommends
Drives:
  Local Storage: total: 476.94 GiB used: 304.27 GiB (63.8%)
  ID-1: /dev/nvme0n1 vendor: SK Hynix model: HFM512GD3JX016N
    size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 type: SSD
    serial: FYA4N036210304B1I rev: 41020C20 temp: 25.9 C scheme: GPT
Partition:
  ID-1: / size: 467.84 GiB used: 304.27 GiB (65.0%) fs: btrfs dev: /dev/dm-0
    mapped: luks-2f9f5668-7b60-4b4e-9e93-3df9e311e38b
  ID-2: /boot/efi size: 299.4 MiB used: 752 KiB (0.2%) fs: vfat
    dev: /dev/nvme0n1p1
  ID-3: /home size: 467.84 GiB used: 304.27 GiB (65.0%) fs: btrfs
    dev: /dev/dm-0 mapped: luks-2f9f5668-7b60-4b4e-9e93-3df9e311e38b
  ID-4: /var/log size: 467.84 GiB used: 304.27 GiB (65.0%) fs: btrfs
    dev: /dev/dm-0 mapped: luks-2f9f5668-7b60-4b4e-9e93-3df9e311e38b
Swap:
  ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/dm-1 mapped: luks-8c9f6a9d-6937-46c2-99d7-704ca94368f5
Sensors:
  System Temperatures: cpu: 35.9 C mobo: N/A gpu: amdgpu temp: 34.0 C
  Fan Speeds (RPM): N/A
Info:
  Processes: 376 Uptime: 29m wakeups: 1 Memory: 7.1 GiB used: 2.18 GiB (30.7%)
  Init: systemd v: 253 default: graphical Compilers: gcc: 12.2.1
  Packages: 1347 pm: pacman pkgs: 1321 pm: flatpak pkgs: 26 Shell: Zsh v: 5.9
  running-in: terminator inxi: 3.3.25

Here’s my lspci -nnk output:

00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex [1022:1630]
	Subsystem: Acer Incorporated [ALI] Device [1025:1536]
00:00.2 IOMMU [0806]: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU [1022:1631]
	Subsystem: Acer Incorporated [ALI] Device [1025:1536]
00:01.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge [1022:1632]
00:01.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge [1022:1633]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:1453]
	Kernel driver in use: pcieport
00:01.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge [1022:1634]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:1453]
	Kernel driver in use: pcieport
00:02.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge [1022:1632]
00:02.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge [1022:1634]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Device [1022:1453]
	Kernel driver in use: pcieport
00:08.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge [1022:1632]
00:08.1 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus [1022:1635]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus [1022:1635]
	Kernel driver in use: pcieport
00:08.2 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus [1022:1635]
	Subsystem: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus [1022:1635]
	Kernel driver in use: pcieport
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller [1022:790b] (rev 51)
	Subsystem: Acer Incorporated [ALI] Device [1025:1536]
	Kernel driver in use: piix4_smbus
	Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge [1022:790e] (rev 51)
	Subsystem: Acer Incorporated [ALI] Device [1025:1536]
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 0 [1022:1448]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 1 [1022:1449]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 2 [1022:144a]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 3 [1022:144b]
	Kernel driver in use: k10temp
	Kernel modules: k10temp
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 4 [1022:144c]
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 5 [1022:144d]
00:18.6 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 6 [1022:144e]
00:18.7 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Renoir Device 24: Function 7 [1022:144f]
01:00.0 3D controller [0302]: NVIDIA Corporation TU117M [GeForce GTX 1650 Mobile / Max-Q] [10de:1f9d] (rev a1)
	Subsystem: Acer Incorporated [ALI] Device [1025:1536]
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia
02:00.0 Non-Volatile memory controller [0108]: SK hynix Gold P31/PC711 NVMe Solid State Drive [1c5c:174a]
	Subsystem: SK hynix Gold P31/PC711 NVMe Solid State Drive [1c5c:174a]
	Kernel driver in use: nvme
	Kernel modules: nvme
03:00.0 Network controller [0280]: MEDIATEK Corp. MT7921 802.11ax PCI Express Wireless Network Adapter [14c3:7961]
	Subsystem: Lite-On Communications Inc Device [11ad:3802]
	Kernel driver in use: mt7921e
	Kernel modules: mt7921e
04:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Lucienne [1002:164c] (rev c1)
	Subsystem: Acer Incorporated [ALI] Device [1025:1536]
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu
04:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller [1002:1637]
	Subsystem: Acer Incorporated [ALI] Device [1025:1536]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
04:00.2 Encryption controller [1080]: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor [1022:15df]
	Subsystem: Acer Incorporated [ALI] Device [1025:1536]
	Kernel driver in use: ccp
	Kernel modules: ccp
04:00.3 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1 [1022:1639]
	Subsystem: Acer Incorporated [ALI] Device [1025:1536]
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
04:00.4 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1 [1022:1639]
	Subsystem: Acer Incorporated [ALI] Device [1025:1536]
	Kernel driver in use: xhci_hcd
	Kernel modules: xhci_pci
04:00.5 Multimedia controller [0480]: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor [1022:15e2] (rev 01)
	Subsystem: Acer Incorporated [ALI] Device [1025:1536]
	Kernel driver in use: snd_rn_pci_acp3x
	Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x, snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps, snd_sof_amd_renoir, snd_sof_amd_rembrandt
04:00.6 Audio device [0403]: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller [1022:15e3]
	Subsystem: Acer Incorporated [ALI] Device [1025:1536]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel
05:00.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 81)
	Subsystem: Acer Incorporated [ALI] Device [1025:1536]
	Kernel driver in use: ahci
05:00.1 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] [1022:7901] (rev 81)
	Subsystem: Acer Incorporated [ALI] Device [1025:1536]
	Kernel driver in use: ahci

And here’s my ls /usr/share/vulkan/icd.d output:

nvidia_icd.json

The strange thing which I’m guessing could be the root cause of the problem is the fact that I currently don’t seem to have installed any drivers for AMD Radeon, I only have NVIDIA drivers it seems, pacman -Qs vulkan output:

local/goverlay-bin 0.9.1-2
    A GUI to help manage Vulkan/OpenGL overlays
local/lib32-nvidia-utils 525.89.02-1
    NVIDIA drivers utilities (32-bit)
local/lib32-vulkan-icd-loader 1.3.240-1
    Vulkan Installable Client Driver (ICD) Loader (32-bit)
local/mangohud 0.6.8-5
    A Vulkan overlay layer for monitoring FPS, temperatures, CPU/GPU load and more.
local/nvidia-utils 525.89.02-2
    NVIDIA drivers utilities
local/spirv-tools 2022.4-1 (vulkan-devel)
    API and commands for processing SPIR-V modules
local/vkbasalt 0.3.2.8-1
    A Vulkan post-processing layer. Some of the effects are CAS, FXAA, SMAA, deband.
local/vulkan-headers 1:1.3.240-1 (vulkan-devel)
    Vulkan header files
local/vulkan-icd-loader 1.3.240-1
    Vulkan Installable Client Driver (ICD) Loader
local/vulkan-tools 1.3.240-1 (vulkan-devel)
    Vulkan Utilities and Tools

pacman -Qs radeon doesn’t return any result. Do you guys know if the issue could be that I’m missing some packages for Vulkan support on the iGPU, or if my iGPU just doesn’t support Vulkan?

Welcome @chromiell
Hope this helps. You just need to install some other packages.
vulkan-radeon
lib32-vulkan-radeon

I also install the packages for accelerated video decoding. But is up to you.

https://wiki.archlinux.org/title/AMDGPU#Installation

2 Likes

Hey!
Thank you very much for the suggestion, I just installed these 2 packages, gave the system a reboot and now I do indeed have access to Vulkan on the iGPU too, I run a simple GameScope test and it seems to work now. Thank you very much, I’ve been having this issue with GameScope for the longest time and only recently I managed to figure out that it was caused by my iGPU not processing Vulkan. I didn’t realize that AMD GPUs needed these 2 packages to process Vulkan, I was starting to think that my iGPU didn’t have Vulkan support at all.

Thank you again so much for the quick response!

1 Like

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