Phreeak 3 Posted February 11 Share Posted February 11 Hi Volks, I don't know if there is already an article on this, at least I haven't found one. I have a Proxmox server with an inbuilt Intel 630 GPU. I will show you here how you can activate the hardware acceleration for it. !! This is how it works for me. There are probably better ways, but this is the way it works for me I installed Emby with the LXC script from tteck (https://github.com/tteck) thanks for your work! https://tteck.github.io/Proxmox/ If you install Emby via the script and are on the emby interface, you still have to make a few settings on Proxmox and the LXC container itself. 1. switch to your Proxmox instance and execute the following command: nano /etc/modprobe.d/i915.conf enter the following there: options i915 enable_guc=3 and save the file. 2. reboot Proxmox 3. Still in the Proxmox instance, execute this command nano /etc/pve/lxc/105.conf (You must adapt 105 to your LXC container!!) Copy the following lines into the last position lxc.cgroup2.devices.allow: c 226:0 rwm lxc.cgroup2.devices.allow: c 226:128 rwm lxc.mount.entry: /dev/denderD128 dev/dri/renderD128 none bind,optional,create=file save the file. 4. Still in the Proxmox shell, execute this command: chmod -R 777 /dev/dri/* 5. Now switch to the shell of the Emby LXC container add the Emby user to the groups: usermod -aG video emby usermod -aG input emby usermod -aG render emby 6. Restart your emby server And here you go! 3 Link to comment Share on other sites More sharing options...
cThumbs 0 Posted February 13 Share Posted February 13 This is a great guide and matches a Jellyfin one I've actually been using and that's reassuring. My issue is that my emby is nested inside the LXC using docker, so far I can't work out how to pass the gpu through (i think it's Step 5 where I basically become stuck). Does anyone have any idea what I need to do to get this working for my set up? Link to comment Share on other sites More sharing options...
Luke 37272 Posted February 18 Share Posted February 18 On 2/13/2024 at 6:28 AM, cThumbs said: This is a great guide and matches a Jellyfin one I've actually been using and that's reassuring. My issue is that my emby is nested inside the LXC using docker, so far I can't work out how to pass the gpu through (i think it's Step 5 where I basically become stuck). Does anyone have any idea what I need to do to get this working for my set up? Hi, can you explain more about where you think you're stuck? Link to comment Share on other sites More sharing options...
T_Tronix 11 Posted March 31 Share Posted March 31 Wonder if this is the same for someone with AMD Cpu and Nvidia GPU on a pcie Link to comment Share on other sites More sharing options...
Luke 37272 Posted April 2 Share Posted April 2 @cThumbs? Link to comment Share on other sites More sharing options...
richt 73 Posted April 2 Share Posted April 2 Assuming the "i915" used in the above config is referring to an intel driver, then no. Link to comment Share on other sites More sharing options...
T_Tronix 11 Posted April 2 Share Posted April 2 I ended up following this post: https://passbe.com/2020/gpu-nvidia-passthrough-on-proxmox-lxc-container/ 1 Link to comment Share on other sites More sharing options...
Luke 37272 Posted April 9 Share Posted April 9 Thanks for following up. Link to comment Share on other sites More sharing options...
AriaGloris 1 Posted April 18 Share Posted April 18 On 2/12/2024 at 3:07 AM, Phreeak said: chmod -R 777 /dev/dri/* Was checking if anyone knows how to make this command stick if proxmox resets. After a server reboot, I have to run this command line again to bring back hardware transcoding. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now