Debian Minimal + Docker Compose + Quicksync Passthrough

Rabid3east

Member
Jan 20, 2022
15
0
6
38
I'm posting again as I've abandoned the LXC container as I was receiving a lot of advice about how unsecure privilaged containers and how normal people don't run LXC containers for docker. *shrug* Anyways, now that I've setup a new VM with Debian minimal, I've got the original issue resolved with the VPN not functioning in docker. But now the other pass-through device (Intel quick-sync) is not working. I was able to configure the /etc/pve/lxc/****.conf file before and add some lines to enable it with the LXC container. Post to LXC issue https://forum.proxmox.com/threads/t...ause-its-a-privileged-lxc.113091/#post-488601


One of the forum posts I read suggested that I change my machine to Q35 and add OVMF Bios + new EFI volume. I've set that up before but never had to change it from the default so no luck in that department yet. Despite having pressed ESC and adding/changing boot loaders. Hopefully the passthrough can be done without changing the EFI because I already got the machine setup hah.
 
I currently went into grub config file.
sudo nano /etc/default/grub
added intel_iommu=on
GRUB_CMDLINE_LINUX="intel_iommu=on"
Rebuilt grub
grub-mkconfig rebooted
Now dmesg | grep -i iommu appears to be saying that Iommu is working. So I switch back over to Jellyfin which has Intel Quick-Sync (QSV) enabled.
But it can't even play the file as before. Earlier it would play but spiked the cpu as it wasn't enabled properly. My current error inside Jellyfin is:
"Playback Error This client isn't compatible with the media and the server isn't sending a compatible media format."
I don't understand why it's throwing me issues, maybe I didn't set up the quicksync properly? I mean I had this working in the LXC =/

EDIT: Actually this isn't related to quicksync as I turned off the option in Jellyfin and it's still occurring. Was just a new issues with mounting the SMB shares, likely due to creating grub. Solved the issue by adding _netdev to the fstab and then enabling systemctl enable systemd-networkd-wait-online

I'm still left with quick-sync not working in jellyfin.
Jellyfin Log
[AVHWDeviceContext @ 0x557b7a32bd80] No VA display found for device /dev/dri/renderD128. Device creation failed: -22. Failed to set value 'vaapi=va:/dev/dri/renderD128' for option 'init_hw_device': Invalid argument Error parsing global options: Invalid argument

Not sure if it's needed but I added the PCI device "0000:00:02.0" which is Intel graphics and gave it all functions as somebody had mentioned this, but still not working.
 
Last edited:

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!