A few years ago, I started my self-hosted services journey. I was researching media playback solutions to replace the Kodi-based one I was running on a Raspberry Pi 3 connected directly to my TV. I landed on Jellyfin, running in an LXC container on Proxmox. If that sounds like word salad to you, there are a bunch of tutorials, videos, and opinions available online if you want to dive in. It was a fun nerdy project for me.
The community-scripts website has an installer for Jellyfin that already handles all the details of setting up GPU passthrough from the host to the container:
https://community-scripts.org/scripts/jellyfin
I thought that meant I was all set and the GPU would be used for hardware acceleration of any necessary transcoding (Jellyfin will automatically transcode your library files based on which client you are streaming to). Unfortunately, I was still seeing errors in my logs when trying to play certain files:
No VA display found for device /dev/dri/renderD128.
Device creation failed: -22.
Failed to set value 'vaapi=va:/dev/dri/renderD128,driver=iHD' for option 'init_hw_device': Invalid argument
Error parsing global options: Invalid argument
I tried a bunch of different things and followed a number of different instructions in blog posts and forum posts but the solution for me ended up being super simple.
- From inside the Jellyfin LXC container, run the following command in the console:
cat /etc/group - Look for the group called
renderand take note of the id number. Mine happened to be 993. - Click on the Resources tab of your Jellyfin container, then double-click on the /dev/dri/renderD128 entry to edit it.
- Enter the
rendergroup id in the form field “GID in CT” and hit OK.

After updating that one setting, my interlaced home video file played successfully on my phone and there were no errors in the transcode logs.















So crisp and clean!

You must be logged in to post a comment.