Plex Server Version#: 1.31.3.6868
OS: Ubuntu 22.04.2 Server
Kernel:5.19.0-38-generic
CPU: i9-12900K
Proxmox 7.3.3 with iGPU Passthrough
Hello!
So this is a nice fresh install of Ubuntu 22.04.2 and just Plex Media Server 1.31.6868. No extra drivers etc.
I load up Plex. It scans the library's. Streams direct with no issues. Everything seems fine.
When I fire up plex on my iphone to test hardware transcoding I can see the stream on the dashboard with the video marked as hardware transcoding and the audio is direct.
About 5 seconds later Plex crashes and brings down my machine.
Some background. I had the pass through working just fine with an NVIDIA 1080 card on in a Proxmox VM on an older machine with an i7. I recently upgraded to a new Promox server with a i9-12900K.
I am new to Proxmox and not exactly sure where to start to troubleshoot first. However it seems there is an issue with the passthrough as the error below says it cannot read from device 0000:00:02.0 which is my iGPU.
Help! Where do I start to work this out.
Proxmox Host Settings:
VM Config
Seems to be passed through to the VM just fine:

OS: Ubuntu 22.04.2 Server
Kernel:5.19.0-38-generic
CPU: i9-12900K
Proxmox 7.3.3 with iGPU Passthrough
Hello!
So this is a nice fresh install of Ubuntu 22.04.2 and just Plex Media Server 1.31.6868. No extra drivers etc.
I load up Plex. It scans the library's. Streams direct with no issues. Everything seems fine.
When I fire up plex on my iphone to test hardware transcoding I can see the stream on the dashboard with the video marked as hardware transcoding and the audio is direct.
About 5 seconds later Plex crashes and brings down my machine.
Some background. I had the pass through working just fine with an NVIDIA 1080 card on in a Proxmox VM on an older machine with an i7. I recently upgraded to a new Promox server with a i9-12900K.
I am new to Proxmox and not exactly sure where to start to troubleshoot first. However it seems there is an issue with the passthrough as the error below says it cannot read from device 0000:00:02.0 which is my iGPU.
Help! Where do I start to work this out.
Code:
Mar 29 10:08:32 pve QEMU[415398]: kvm: vfio-pci: Cannot read device rom at 0000:00:02.0
Mar 29 10:08:32 pve QEMU[415398]: Device option ROM contents are probably invalid (check dmesg).
Mar 29 10:08:32 pve QEMU[415398]: Skip option ROM probe with rombar=0, or load from file with romfile=
Mar 29 10:08:32 pve kernel: vfio-pci 0000:00:02.0: Invalid PCI ROM header signature: expecting 0xaa55, got 0x3389
Mar 29 10:08:36 pve kernel: kvm_msr_ignored_check: 25 callbacks suppressed
Mar 29 10:08:36 pve kernel: kvm [415398]: ignored rdmsr: 0x1a6 data 0x0
Mar 29 10:08:36 pve kernel: kvm [415398]: ignored wrmsr: 0x1a6 data 0x11
Mar 29 10:08:36 pve kernel: kvm [415398]: ignored rdmsr: 0x1a6 data 0x0
Mar 29 10:08:36 pve kernel: kvm [415398]: ignored rdmsr: 0x1a7 data 0x0
Mar 29 10:08:36 pve kernel: kvm [415398]: ignored wrmsr: 0x1a7 data 0x11
Mar 29 10:08:36 pve kernel: kvm [415398]: ignored rdmsr: 0x1a7 data 0x0
Mar 29 10:08:36 pve kernel: kvm [415398]: ignored rdmsr: 0x3f6 data 0x0
Mar 29 10:08:36 pve kernel: kvm [415398]: ignored wrmsr: 0x3f6 data 0x11
Mar 29 10:08:36 pve kernel: kvm [415398]: ignored rdmsr: 0x3f6 data 0x0
Mar 29 10:08:36 pve kernel: kvm [415398]: ignored rdmsr: 0x1a6 data 0x0
Mar 29 10:08:45 pve kernel: usb 1-7: reset full-speed USB device number 4 using xhci_hcd
Mar 29 10:08:46 pve kernel: usb 1-8: reset low-speed USB device number 5 using xhci_hcd
Mar 29 10:08:54 pve kernel: kvm_msr_ignored_check: 19 callbacks suppressed
Mar 29 10:08:54 pve kernel: kvm [415398]: ignored rdmsr: 0x64d data 0x0
Mar 29 10:08:54 pve kernel: kvm [415398]: ignored rdmsr: 0xc7 data 0x0
Mar 29 10:08:54 pve kernel: kvm [415398]: ignored rdmsr: 0xc8 data 0x0
Mar 29 10:08:54 pve kernel: kvm [415398]: ignored rdmsr: 0x18c data 0x0
Mar 29 10:08:54 pve kernel: kvm [415398]: ignored rdmsr: 0x18d data 0x0
Mar 29 10:08:54 pve kernel: kvm [415398]: ignored rdmsr: 0x64d data 0x0
-- Journal begins at Sun 2023-03-26 13:34:48 EDT, ends at Wed 2023-03-29 10:17:01 EDT. --
Mar 27 16:27:17 pve kernel: Linux version 5.15.74-1-pve (build@proxmox) (gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU B>
Mar 27 16:27:17 pve kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-5.15.74-1-pve root=/dev/mapper/pve-root ro quiet intel_iom>
Mar 27 16:27:17 pve kernel: KERNEL supported cpus:
Mar 27 16:27:17 pve kernel: Intel GenuineIntel
Mar 27 16:27:17 pve kernel: AMD AuthenticAMD
Mar 27 16:27:17 pve kernel: Hygon HygonGenuine
Mar 27 16:27:17 pve kernel: Centaur CentaurHauls
Mar 27 16:27:17 pve kernel: zhaoxin Shanghai
Mar 27 16:27:17 pve kernel: x86/split lock detection: #AC: crashing the kernel on kernel split_locks and warning on user-spac>
Mar 27 16:27:17 pve kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Mar 27 16:27:17 pve kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
Mar 27 16:27:17 pve kernel: x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
Mar 27 16:27:17 pve kernel: x86/fpu: Supporting XSAVE feature 0x200: 'Protection Keys User registers'
Mar 27 16:27:17 pve kernel: x86/fpu: xstate_offset[2]: 576, xstate_sizes[2]: 256
Proxmox Host Settings:
Code:
cat /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_iommu=on iommu=pt pcie_acs_override=downstream,multifunction initcall_blacklist=sysfb_init video=simplefb:off video=vesafb:off video=efifb:off video=vesa:off disable_vga=1 vfio_iommu_type1.allow_unsafe_interrupts=1 kvm.ignore_msrs=1 modprobe.blacklist=radeon,nouveau,nvidia,nvidiafb,nvidia-gpu,snd_hda_intel,snd_hda_codec_hdmi,i915"
#GRUB_CMDLINE_LINUX_DEFAULT="quiet"
Code:
root@pve:~# cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
# Modules required for PCI passthrough
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
root@pve:~#
Code:
root@pve:~# find /sys/kernel/iommu_groups/ -type l
/sys/kernel/iommu_groups/17/devices/0000:04:00.0
/sys/kernel/iommu_groups/7/devices/0000:00:16.0
/sys/kernel/iommu_groups/15/devices/0000:02:00.1
/sys/kernel/iommu_groups/5/devices/0000:00:14.2
/sys/kernel/iommu_groups/5/devices/0000:00:14.0
/sys/kernel/iommu_groups/13/devices/0000:01:00.0
/sys/kernel/iommu_groups/3/devices/0000:00:08.0
/sys/kernel/iommu_groups/11/devices/0000:00:1c.3
/sys/kernel/iommu_groups/1/devices/0000:00:02.0
/sys/kernel/iommu_groups/8/devices/0000:00:17.0
/sys/kernel/iommu_groups/16/devices/0000:03:00.0
/sys/kernel/iommu_groups/6/devices/0000:00:14.3
/sys/kernel/iommu_groups/14/devices/0000:02:00.0 <--------- iGPU
/sys/kernel/iommu_groups/4/devices/0000:00:0a.0
/sys/kernel/iommu_groups/12/devices/0000:00:1f.0
/sys/kernel/iommu_groups/12/devices/0000:00:1f.5
/sys/kernel/iommu_groups/12/devices/0000:00:1f.3
/sys/kernel/iommu_groups/12/devices/0000:00:1f.4
/sys/kernel/iommu_groups/2/devices/0000:00:06.0
/sys/kernel/iommu_groups/10/devices/0000:00:1c.1
/sys/kernel/iommu_groups/0/devices/0000:00:00.0
/sys/kernel/iommu_groups/9/devices/0000:00:1c.0
VM Config
Code:
root@pve:~# cat /etc/pve/nodes/pve/qemu-server/101.conf
agent: 1
boot: order=scsi0;ide2;net0
cores: 16
cpu: host
hostpci0: 0000:00:02,pcie=1,x-vga=1
ide2: cdrom,media=cdrom
machine: q35
memory: 4196
meta: creation-qemu=7.1.0,ctime=1679959234
name: Plex
net0: virtio=E6:DB:B0:06:CC:5D,bridge=vmbr0,firewall=1
numa: 0
ostype: l26
scsi0: local-lvm:vm-101-disk-0,discard=on,iothread=1,size=192G
scsihw: virtio-scsi-single
smbios1: uuid=7c327814-09d1-4bb4-9bba-d65ea9c11494
sockets: 1
usb0: host=046d:c318
usb1: host=0461:4d51
vga: none
vmgenid: b06f3c3e-0d30-4b24-ab25-54d7238ec14c
Seems to be passed through to the VM just fine:

Code:
:~$ ls /dev/dri
by-path card0 renderD128
Code:
:~$ lspci |grep VGA
01:00.0 VGA compatible controller: Intel Corporation AlderLake-S GT1 (rev 0c)
Last edited: