Jump to content

NVIDIA decoding in Plex.


Fogey

Recommended Posts

I've checked online to see if I can get guidance on how too modify the Plex Docker to allow Nvidia decoding - I have a GTX 1650 Super card which worked fine when I was running Ubuntu 20.4.  SpaceInvader Ones very useful video on YouTube seems to be outdated as the LinuxServer Docker he uses now looks nothing like he shows in the video.

So I tried the Official Plex and tried modifications I found in forums:

Quote

 

To utilize your Nvidia graphics card in your Docker container (s) the basic steps are:

 

Add '--runtime = nvidia' in your Docker template in 'Extra Parameters' (you have to enable 'Advanced view' in the template to see this option)

 

Add a variable to your Docker template with the Key: 'NVIDIA_VISIBLE_DEVICES' and as

 

Value: 'GPU-bfae4133-52be-a950-788a........' <- this is my GPU UUID

 

Add a variable to your Docker template with the Key: 'NVIDIA_DRIVER_CAPABILITIES' and as Value: 'all'

Make sure to enable hardware transcoding in the application / container itself

 

Unfortunately, this gives me a failure and the Plex Docker won't load. Can anybody kindly point me to a later version of the setup instructions or perhaps a docker where these will work.

 

Thanks

 

Fogey

Link to comment

I think this is what you want:

 

Stopping container: Plex-Media-Server

Successfully stopped container 'Plex-Media-Server'

 

Removing container: Plex-Media-Server

Successfully removed container 'Plex-Media-Server'

 

Command:root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='Plex-Media-Server' --net='host' -e TZ="America/Los_Angeles" -e HOST_OS="Unraid" -e 'PLEX_CLAIM'='Insert Token from https://plex.tv/claim' -e 'PLEX_UID'='99' -e 'PLEX_GID'='100' -e 'VERSION'='latest' -e 'NVIDIA_VISIBLE_DEVICES'='GPU-bfae4133-52be-a950-788a-d1f6d879453b' -e 'NVIDIA_DRIVER_CAPABILITIES'='all' -v '/mnt/user/appdata/Plex-Media-Server/Transcode/':'/transcode':'rw' -v '/mnt/user/Media/':'/data':'rw' -v '/mnt/user/appdata/Plex-Media-Server':'/config':'rw' --runtime = nvidia 'plexinc/pms-docker' 

docker: Error response from daemon: Unknown runtime specified =.
See 'docker run --help'.

The command failed.

Link to comment

Oops - corrected that and it works!  Thanks so much for your help again, particularly on a Sunday!  I must say it's taken me a few days to get on top of things with UnRaid (I'm 75 so not as fast as I was) , but I'm now feeling marginally more in control of it. I shall certainly become a subscriber.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...