-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GPU support for plex docker #89
Comments
Hey @wibuf There is actually a pull request in for this via: #73 I am trying to work out a way to see if the user has a device available or not and only add the mapping for it in the yaml file if it is available. So it is being looked into I just haven't found the 'right' way to do it yet. |
Okay, since I know I have a device available, is there a way to edit the plex docker to use it now instead of waiting for the device check code to be done? Thanks |
You will need to edit the
The spacing is very important, it should look like what is shown here after adding it in: |
Where's that file located? I've been trying to make changes in portainer itself. |
That file should be right inside the |
Does this change require a full restart or just the plex docker? I still can't get the GPU to transcode with plex, but I got it working fine with emby Here's my docker-compose.yml, I copied and pasted right from the link you posted: https://i.imgur.com/dZD8qSo.png |
@wibuf I'll have to get back to you on this... but I'm going to be away for a bit so it will have to wait until I get back. --Tom |
Still working on this. Think I'm a bit closer. I tried running nvidia-smi -L in the plex container console and get the error: Led me to here: NVIDIA/nvidia-docker#341 I think I'm missing something in the docker-compose Should I try using docker-nvidia? |
You should not need nvidia-docker - |
/dev/dri$ ls -lah |
Im having issues getting HW transcoding working in Plex it just continues to do CPU transcoding. I've added the device to the
My
The drivers are installed for the card and it looks to be working.
Any help or suggestions would be appreciated. |
I went through the same and never was able to get it working. |
Been doing more research on this. Looks like its an issue between Nvidia-container-toolkit, Docker 19.03+ and Portainer: portainer/portainer#3143 Won't have a fix for awhile: Not scheduled for development until later this year (post July). I have not been able to get any workarounds to work successfully. Would probably need to abandon portainer for the plex docker, and use docker2 to get it working successfully. This should work: |
Is Nvidia GPU support possible to add to the plex docker?
Thanks
The text was updated successfully, but these errors were encountered: