New LXC Add Option - Device Passthrough #2850
Replies: 13 comments 46 replies
-
|
Beta Was this translation helpful? Give feedback.
-
i noticed just yesterday when i updated proxmox, it would be great to run the iGPU in an unprivileged container because i currently use jellyfin with privileged LXC and it is dangerous, it would solve all my problems because running the iGPU in a VM is very complicated ;/ |
Beta Was this translation helpful? Give feedback.
-
Using advanced settings to set the GID to render(104). |
Beta Was this translation helpful? Give feedback.
-
100% verified, it works with jellyfin!!! |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
I'm running a Docker LXC container and made it privilaged to allow for HW Acceleration (used by Immich). Any suggestions for converting to unprivilaged? I can simply do an LXC restore and modify to unprivilaged, but I noticed above that approach may necessate addition steps to fix groups/permissions. |
Beta Was this translation helpful? Give feedback.
-
Crazy coincidence I stumbled on to a such a recent post regarding this. I created a plex server about a month or so using your script and spent a whole day trying to pass through quicksync for plex. Today I decided to run your script for a clean slate and I noticed that hardware transcoding worked out the box! The biggest thing I noticed was the addition of:
So I tried adding that to my old unprivileged plex lxc, but it didn't work. I decided to just migrate to the new container. I also noticed my old lxc was debian, but not sure if that was chosen explicitly by me. Did you make a change to the plex script recently? Works for me on 8.1.11. Thank you! |
Beta Was this translation helpful? Give feedback.
-
Would you be able to apply similar changes you made with plex/jellyfin with frigate? A lot of frigate users have coral tpu via pci as well as use igpu for processing. |
Beta Was this translation helpful? Give feedback.
-
How are you mounting a shared drive? I tried using the unprivileged container, but I don't have the correct permissions to access my NFS folder that is binded to mp0. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
For some reason, the groups in the Jellyfin LXC created from the script has the render as 993, and _ssh on 104. In the Jellyfix LXC container (Ubuntu 24.04) unprivileged,
|
Beta Was this translation helpful? Give feedback.
-
I installed jellyfin unprivileged, and no hw transcoding. The script has render as 104, but 'id jellyfin' showed gid=106 for render. Changed it to 106 and now hw transcoding is working! |
Beta Was this translation helpful? Give feedback.
-
See edit
Edit: Alright, oops. I am fresh to linux and I dug myself into a hole. tteck posting the 101.conf contents pointed me to the solution. In all my efforts to get Intel QuickSync working, I followed some advice that led me astray, and then I forgot about it. Because I migrated my Plex data from an old Synology server, lots of things were a mess.
If a future googler finds this; if you've been throwing potential solutions at passthrough transcoding, especially if you imported an older Plex instance, clean up your host's |
Beta Was this translation helpful? Give feedback.
-
Has anyone tried this to see if it works in an unprivileged container?
Beta Was this translation helpful? Give feedback.
All reactions