VM lost iGPU passthrough (and/or permissions) - only fixable with host reboot. what could be the cause?

Iacov

Member
Jan 24, 2024
38
0
6
hey

i've posted this question also on the jellyfin forum as i don't want to rule it out, but it most likely is a proxmox topic

my setup:
- Jellyfin via LSIO Docker Image
- Running on Ubuntu LTS 22.04 HWE Stack (edit: specifically a VM with passed through iGPU, not a privileged LXC)
- virtualized as VM on Proxmox (8.1.4)
- on a Minisforum Intel N100 machine/cpu

the symtpoms:
jellyfin was not able to start a stream that required transcoding

the ffmpeg log stated everytiime (besides other stuff)
Code:
[AVHWDeviceContext @ 0x60bed0cb4100] No VA display found for any default device.
Device creation failed: -22.
Failed to set value 'vaapi=va:,kernel_driver=i915,driver=iHD' for option 'init_hw_device': Invalid argument
Error parsing global options: Invalid argument

i did a reboot of the container as well as the VM, but no change
striking my eye was the line
Code:
'vaapi=va:,kernel_driver=i915,driver=iHD' for option 'init_hw_device'
which i also blacklisted in the PVE grub for the iGPU passthrough
following the lead from this reddit thread, i am tilting towards a permission or blacklist issue Problems with transcoding after update to 10.8.10 : r/jellyfin (reddit.com)

i did a restart of the proxmox host - starting the streams does work now again, but i have to monitor for how long or what could have triggered the issue
but i'm not sure if the issue is fixed and/or if it was just a random PVE hiccup
what could cause a vm to loose permissions or the passed through iGPU? (i did miss the change to check /dev/dri on the VM though...will do if it happens again)

i'm still on 8.1.4 and have not done proxmox updates in a while
i'm not sure, but i think my last reboot was a week ago when a second vm on the same host failed consistantly to be backed up (a host restart fixed the issue)
could this be a hint towards a more severe issue with the host? i did set it up in january aproximately

does anyone have experience with this kind of errors?
any hint or idea/input is welcome :)
 

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!