[SOLVED] Passthrough iGPU zu VM auf einem Protectli VP2420 funktioniert nicht

gout3

New Member
Aug 8, 2024
7
0
1
Mein Problem ist, dass das HDMI Video/Audio Signal nicht an die VM weitergeben wird. Anbei meine Beschreibung. Vielen Dank für eure Zeit und Unterstützung.

Installation von coreboot (https://kb.protectli.com/kb/how-to-use-flashli/) v1.2.0 erfolgreich.
Installation von Proxmox 8.2.2 erfolgreich.
Monitor über HDMI mit VP2420 verbunden

GPU Passthrough konfigurieren​

Artikel https://kb.protectli.com/kb/pci-passthrough-vt-d-proxmox-ve/

Enabling IOMMU​

Vor Aktivierung IOMMU
Code:
root@prox:~# dmesg | grep -e IOMMU
[ 0.168394] DMAR-IR: IOAPIC id 2 under DRHD base 0xfed91000 IOMMU 1
[ 0.258548] pci 0000:00:02.0: DMAR: Skip IOMMU disabling for graphics
[    0.416194] DMAR: IOMMU feature fl1gp_support inconsistent
[    0.416196] DMAR: IOMMU feature pgsel_inv inconsistent
[    0.416197] DMAR: IOMMU feature nwfs inconsistent
[    0.416199] DMAR: IOMMU feature pds inconsistent
[    0.416200] DMAR: IOMMU feature eafs inconsistent
[    0.416201] DMAR: IOMMU feature prs inconsistent
[    0.416202] DMAR: IOMMU feature nest inconsistent
[    0.416203] DMAR: IOMMU feature mts inconsistent
[    0.416204] DMAR: IOMMU feature sc_support inconsistent
[    0.416205] DMAR: IOMMU feature dev_iotlb_support inconsistent


Code:
nano /etc/default/grub editiert und folgende Zeile hinzugefügt
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on"
update-grub ausgeführt
root@prox:~# update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.8.4-2-pve
Found initrd image: /boot/initrd.img-6.8.4-2-pve
Found memtest86+ 64bit EFI image: /boot/memtest86+x64.efi
Adding boot menu entry for UEFI Firmware Settings ...
done


reboot durchgeführt
Nach Aktivierung IOMMU
Code:
root@prox:~# dmesg | grep -e IOMMU
[    0.053613] DMAR: IOMMU enabled
[ 0.168045] DMAR-IR: IOAPIC id 2 under DRHD base 0xfed91000 IOMMU 1
[ 0.257060] pci 0000:00:02.0: DMAR: Skip IOMMU disabling for graphics
[    0.414882] DMAR: IOMMU feature fl1gp_support inconsistent
[    0.414884] DMAR: IOMMU feature pgsel_inv inconsistent
[    0.414886] DMAR: IOMMU feature nwfs inconsistent
[    0.414887] DMAR: IOMMU feature pds inconsistent
[    0.414888] DMAR: IOMMU feature eafs inconsistent
[    0.414889] DMAR: IOMMU feature prs inconsistent
[    0.414890] DMAR: IOMMU feature nest inconsistent
[    0.414891] DMAR: IOMMU feature mts inconsistent
[    0.414892] DMAR: IOMMU feature sc_support inconsistent
[    0.414894] DMAR: IOMMU feature dev_iotlb_support inconsistent
root@prox:~#

Info zu VGA
Code:
root@prox:~# lspci -nn | grep 'VGA'
00:02.0 VGA compatible controller [0300]: Intel Corporation Elkhart Lake [UHD Graphics Gen11 16EU] [8086:4555] (rev 01)

Virtuelle Maschine erstellt​

Neue virtuelle Maschine mit ISO (ubuntu-22.04.4-desktop-amd64.iso) erstellt

Konfiguration von /etc/pve/qemu-server/220.conf

bios: ovmf
boot: order=scsi0;ide2;net0
cores: 4
cpu: x86-64-v2-AES
efidisk0: local-lvm:vm-220-disk-0,efitype=4m,pre-enrolled-keys=1,size=4M
hostpci0: 0000:00:02,pcie=1,x-vga=1
ide2: local:iso/ubuntu-22.04.4-desktop-amd64.iso,media=cdrom,size=4899762K
machine: q35
memory: 4096
meta: creation-qemu=8.1.5,ctime=1723106414
name: ubuntu
net0: virtio=BC:24:11:86:65:57,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: local-lvm:vm-220-disk-1,iothread=1,size=32G
scsihw: virtio-scsi-single
smbios1: uuid=2a5499c8-d6f3-430e-91fb-51ab0a7fced7
sockets: 1
vmgenid: bbe8b1c3-6ade-40e0-a1a4-c9868de00768

Fehlerbild​

Nach Start der Maschine (siehe kurzes Video) ist das HDMI Signal auf dem Host nicht mehr da und der Monitor meldet, dass kein HDMI Signal gefunden werden kann. Der Test auf einem zweiten Monitor lieferte das selbe Fehlerbild.
 
Last edited:
Mein Problem hier war, dass nicht der HDMI, sondern der DP Ausgang angesprochen wurde. Ich hatte mittels einem Adapter DP -> HDMI Erfolg und kann nun Video und Audio an die VM weiter geben.
 

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!