iGPU Passthrough (Ryzen 5 5600G)

Tim1

Member
May 5, 2022
55
0
6
Hallo Zusammen,

ich scheitere gerade daran die iGPU durchzureichen.

Folgendes habe ich bereits gemacht. (Anleitung https://pve.proxmox.com/wiki/Pci_passthrough)

root@pve:~# dmesg | grep -e DMAR -e IOMMU
[ 0.361513] pci 0000:00:00.2: AMD-Vi: IOMMU performance counters supported
[ 0.362396] pci 0000:00:00.2: AMD-Vi: Found IOMMU cap 0x40
[ 0.698258] perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank).
[ 3.248989] AMD-Vi: AMD IOMMUv2 loaded and initialized
root@pve:~# iommu=pt
root@pve:~# nano /etc/m
machine-id magic magic.mime mailcap mailcap.order mail.rc manpath.config mediaprm mime.types mke2fs.conf modprobe.d/ modules modules-load.d/ motd mtab
root@pve:~# nano /etc/mo
modprobe.d/ modules modules-load.d/ motd
root@pve:~# nano /etc/mod
modprobe.d/ modules modules-load.d/
root@pve:~# nano /etc/modules
root@pve:~# dmesg | grep 'remapping'
[ 0.362400] AMD-Vi: Interrupt remapping enabled
root@pve:~# find /sys/kernel/iommu_groups/ -type l
/sys/kernel/iommu_groups/3/devices/0000:00:14.3
/sys/kernel/iommu_groups/3/devices/0000:00:14.0
/sys/kernel/iommu_groups/1/devices/0000:02:00.0
/sys/kernel/iommu_groups/1/devices/0000:00:02.3
/sys/kernel/iommu_groups/1/devices/0000:00:02.0
/sys/kernel/iommu_groups/4/devices/0000:00:18.3
/sys/kernel/iommu_groups/4/devices/0000:00:18.1
/sys/kernel/iommu_groups/4/devices/0000:00:18.6
/sys/kernel/iommu_groups/4/devices/0000:00:18.4
/sys/kernel/iommu_groups/4/devices/0000:00:18.2
/sys/kernel/iommu_groups/4/devices/0000:00:18.0
/sys/kernel/iommu_groups/4/devices/0000:00:18.7
/sys/kernel/iommu_groups/4/devices/0000:00:18.5
/sys/kernel/iommu_groups/2/devices/0000:03:00.0
/sys/kernel/iommu_groups/2/devices/0000:00:08.0
/sys/kernel/iommu_groups/2/devices/0000:03:00.3
/sys/kernel/iommu_groups/2/devices/0000:03:00.1
/sys/kernel/iommu_groups/2/devices/0000:00:08.1
/sys/kernel/iommu_groups/2/devices/0000:03:00.6
/sys/kernel/iommu_groups/2/devices/0000:03:00.4
/sys/kernel/iommu_groups/2/devices/0000:04:00.0
/sys/kernel/iommu_groups/2/devices/0000:03:00.2
/sys/kernel/iommu_groups/2/devices/0000:00:08.2
/sys/kernel/iommu_groups/0/devices/0000:00:01.0
/sys/kernel/iommu_groups/0/devices/0000:01:00.0
/sys/kernel/iommu_groups/0/devices/0000:00:01.1

root@pve:~# lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir Root Complex
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166a
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166b
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166c
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166d
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166e
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 166f
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1670
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1671
01:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd Device a809
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne (rev c9)
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 1637
03:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
03:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1
03:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir USB 3.1
03:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
04:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81)
root@pve:~# cd /etc/pve/qemu-server/
root@pve:/etc/pve/qemu-server# dir
100.conf 101.conf
root@pve:/etc/pve/qemu-server# nano 101.conf

Aktuell sagt er mir beim Start der VM: TASK ERROR: Cannot open iommu_group: No such file or directory

Jemand eine Idee?
 
servus,
hast du schon im BIOS nachgesehen ob du dort IOMMU aktivieren kannst?
 
servus,
hast du schon im BIOS nachgesehen ob du dort IOMMU aktivieren kannst?
Guten Morgen, ich habe nochmal nachgeschaut, stand auf Auto. Ich hab es jetzt auf enabled gesetzt.

Liegt es evtl. auch daran? So wie es aussieht ist Rennoir IOMMU keiner IOMMU Gruppe zugeordnet. Oder lieg ich da falsch? Wenn ja wie ordne ich die einer Gruppe zu?

https://prnt.sc/rKvVKHMoSX6N
 
Leider sind, soweit ich weiß, interne Grafikkarten meist etwas problematisch da sie z.B. in ihrer IOMMU Gruppe andere Geräte haben die der Host braucht. Das die interne Grafik gar keine hat hab ich bis jetzt noch nicht gesehen.
 
brauchst du die interne GPU für ne VM oder nur für Hardware Unterstützung bei z.B. Emby oder Plex?
 
Niemand eine Idee? Zumindest wie ich den Audio Controller aktiviert und durchgereicht bekomme?
 
1670495262030.png
root@pve:/var/lock/qemu-server# dmesg | grep -e DMAR -e IOMMU
[ 0.000000] Warning: PCIe ACS overrides enabled; This may allow non-IOMMU protected peer-to-peer DMA
[ 0.068147] DMAR: IOMMU enabled
[ 0.379980] pci 0000:00:00.2: AMD-Vi: IOMMU performance counters supported
[ 0.380406] pci 0000:00:00.2: AMD-Vi: Found IOMMU cap 0x40
[ 0.704050] perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank).
[ 3.215485] AMD-Vi: AMD IOMMUv2 loaded and initialized


root@pve:/var/lock/qemu-server# lspci -nnv | grep VGA
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [1002:1638] (rev c9) (prog-if 00 [VGA controller])


Can someone help?
 
View attachment 44273
root@pve:/var/lock/qemu-server# dmesg | grep -e DMAR -e IOMMU
[ 0.000000] Warning: PCIe ACS overrides enabled; This may allow non-IOMMU protected peer-to-peer DMA
[ 0.068147] DMAR: IOMMU enabled
[ 0.379980] pci 0000:00:00.2: AMD-Vi: IOMMU performance counters supported
[ 0.380406] pci 0000:00:00.2: AMD-Vi: Found IOMMU cap 0x40
[ 0.704050] perf/amd_iommu: Detected AMD IOMMU #0 (2 banks, 4 counters/bank).
[ 3.215485] AMD-Vi: AMD IOMMUv2 loaded and initialized


root@pve:/var/lock/qemu-server# lspci -nnv | grabbed the VGA
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [1002:1638] (rev c9) (prog-if 00 [VGA controller])


Can someone help?
For linux it works with seabios because the vbios non uefi. For Windows does not work with a seabios due to "device does not support requested feature x-vga" error and without x-vga it cause code 43 error.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!