Hello,
I’ve upgrade my homelab and bought a new motherboard with an iGPU. My goal is to use this iGPU to create a mediacenter. It’s not my first try, but I’m not an expert. I followed the advices and tutorials.
In this case, I’ve followed this one (Minisforum BD795i SE Frigate NVR with hardware acceleration) made by @Destari. I’ve got the same motherboard. It doesn’t worked ![]()
The iGPU is working, it is correctly passthrough (at first sight). Do you have an idea ?
Some commands
inxi -F
CPU:
Info: 16-core model: AMD Ryzen 9 7945HX with Radeon Graphics bits: 64 type: MT MCP cache:
L2: 16 MiB
Speed (MHz): avg: 590 min/max: 400/5461 cores: 1: 400 2: 3299 3: 3593 4: 400 5: 400 6: 400
7: 400 8: 400 9: 400 10: 400 11: 400 12: 400 13: 400 14: 400 15: 400 16: 400 17: 400 18: 400
19: 400 20: 400 21: 400 22: 400 23: 400 24: 400 25: 400 26: 400 27: 400 28: 400 29: 400
30: 400 31: 400 32: 400
Graphics:
Device-1: AMD Raphael driver: amdgpu v: kernel
Display: server: No display server data found. Headless machine? tty: 177x53
API: OpenGL Message: GL data unavailable in console for root.
Audio:
Device-1: AMD Rembrandt Radeon High Definition Audio driver: snd_hda_intel
Device-2: AMD Family 17h/19h HD Audio driver: snd_hda_intel
API: ALSA v: k6.8.12-11-pve status: kernel-api
lspci -k | grep VGA
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. \[AMD/ATI] Raphael (rev d8)
lspci -k | grep Audio
05:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller
05:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
lspci -nn | grep -e ‘AMD/ATI’
05:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev d8)
05:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller [1002:1640]
lspci -n -s 05:00
05:00.0 0300: 1002:164e (rev d8)
05:00.1 0403: 1002:1640
05:00.2 1080: 1022:1649
05:00.3 0c03: 1022:15b6
05:00.4 0c03: 1022:15b7
05:00.6 0403: 1022:15e3
Control
dmesg
dmesg | grep -e DMAR -e IOMMU
[ 0.357776] pci 0000:00:00.2: AMD-Vi: IOMMU performance counters supported\
[ 0.423910] perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank).
dmesg | grep “AMD-Vi|Intel VT”
nothing
lspci -nnk
05:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e] (rev d8)
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Raphael [1002:164e]
Kernel driver in use: vfio-pci
Kernel modules: amdgpu
05:00.1 Audio device [0403]: Advanced Micro Devices, Inc. \[AMD/ATI] Rembrandt Radeon High Definition Audio Controller [1002:1640]
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller [1002:1640]
Kernel driver in use: vfio-pci
Kernel modules: snd_hda_intel
My modifications
GRUB
GRUB_DEFAULT=0
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on iommu=pt"
GRUB_CMDLINE_LINUX=""
Interrupt remaping IOMMU
echo “options vfio_iommu_type1 allow_unsafe_interrupts=1” > /etc/modprobe.d/iommu_unsafe_interrupts.conf
/etc/modules
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
/etc/modprobe.d/blacklist.conf
blacklist radeon
blacklist amdgpu
blacklist nouveau
blacklist nvidia
blacklist snd_hda_intel
/etc/modprobe.d/vfio.conf
options vfio-pci ids=1002:164e,1002:1640 disable_vga=1
softdep radeon pre: vfio-pci
softdep amdgpu pre: vfio-pci
softdep snd_hda_intel pre: vfio-pci
Final
- update-initramfs -u -k all
- Reboot