nmbrg 3 Posted August 24, 2022 Posted August 24, 2022 (edited) I've installed Emby using a script from https://github.com/tteck/Proxmox that should work with HW-transcode. But for some reason im not getting it to work. And watching anything 4K that needs transcoding makes the CPU spike and a lot of buffering. Looking at the dashboard while doing that i can see that its not using hw to transcode. So, im grasping for straws... Anyone using that script to install Emby that has managed to get HW transcode to work? How did you do it? Or anyone else that perhaps know anyway what to do? The Emby LXC in proxmox is a privileged container. And yes, ive got a active emby premiere sub. Edited August 24, 2022 by nmbrg
nmbrg 3 Posted August 26, 2022 Author Posted August 26, 2022 47 minutes ago, Luke said: Hi, what is the host os? Proxmox VE is based on debian. from the proxmox site: ”Proxmox Virtual Environment is based on Debian GNU/Linux and uses a custom Linux Kernel.”
Zackk 3 Posted August 29, 2022 Posted August 29, 2022 I am having the same issue. Some details: Proxmox version is 7.2-3, which is based on Debian 11 The OS of the LXC container is Ubuntu Server 22.04.1 I have a GTX 1060M that is passed through to the container (verified by running nvidia-smi) I have installed nvidia driver 515.61.01 on both the host and the container (verified by running nvidia-smi) I'm having exactly the same problem as OP - Emby doesn't populate any encoders/decoders when "Advanced" is selected, running nvidia-smi while an active stream is encoding shows no running processes (checked multiple times on both the container and the host), and the video stutters like crazy (as expected, if it's not using the GPU), and I have an active Premier sub. I did not use a script to install it, I installed emby-server-deb_4.7.6.0_amd64.deb from Emby's download page.
Luke 42077 Posted September 1, 2022 Posted September 1, 2022 Hi, perhaps you need to configure proxmox so that emby server will have access to the GPU?
Zackk 3 Posted September 2, 2022 Posted September 2, 2022 As far as I can tell, I have. The container that Emby (and only Emby) is running in has access to the GPU, and all drivers are installed. The container itself (from CLI) recognizes the GPU, Emby doesn't. I've installed the Nvidia drivers and Emby server, and that's it (otherwise it's stock Ubuntu server 22.04.1). Do I need the CUDA toolkit or something else installed? I've only used Emby via Docker before, and once I got the GPU passed into Docker it just worked properly immediately.
Luke 42077 Posted September 14, 2022 Posted September 14, 2022 @Zackk were you able to figure out what is required to grant Emby Server access to the GPU?
Zackk 3 Posted October 3, 2022 Posted October 3, 2022 Yes, I just figured it out. My hardware_detection logs showed that Emby Server was detecting my GPU but that CUDA wasn't initializing for FFMPEG. It turned out I needed to add the cgroups for CUDA into my container config file as specified at this link - https://medium.com/@MARatsimbazafy/journey-to-deep-learning-nvidia-gpu-passthrough-to-lxc-container-97d0bc474957 - which I found on another thread. So I was passing the GPU to the server but not the libraries needed to actually perform the transcoding. @nmbrg if you're still having issues, give that a shot! 2
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