Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Plex Hardware Acceleration NVIDIA GPU

Featured Replies

Hi everyone, I installed UNRAID (coming from TrueNAS after some struggles), and I want to deploy Plex with NVIDIA GPU hardware acceleration. I followed some tutorials online, but I was not able to make it work. Can you please advise?

 

I have 32GB ECC RAM and NVIDIA QUADRO P400. I have installed the NVIDIA Driver and the GPU Statistics plugins, and they seem to work. I can see the GPU stats in the dashboard. Then, I also installed the official Plex application as offered in the Apps section.

 

I have configured the Plex template to the following:

Extra Parameters: --runtime=nvidia

Additional Container Variable NVIDIA_VISIBLE_DEVICES: all

/transcode -> /dev/shm

 

When I apply the template, I get the error "unknown or invalid runtime name: nvidia.":

docker run
  -d
  --name='Plex-Media-Server'
  --net='host'
  --pids-limit 2048
  -e TZ="America/Los_Angeles"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="NAS"
  -e HOST_CONTAINERNAME="Plex-Media-Server"
  -e 'PLEX_CLAIM'='claim-XXXXXXXXXXX'
  -e 'PLEX_UID'='99'
  -e 'PLEX_GID'='100'
  -e 'VERSION'='latest'
  -e 'NVIDIA_VISIBLE_DEVICES'='all'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.webui='http://[IP]:[PORT:32400]/web'
  -l net.unraid.docker.icon='https://raw.githubusercontent.com/plexinc/pms-docker/master/img/plex-server.png'
  -v '/dev/shm':'/transcode':'rw'
  -v '/mnt/user/STORAGE/':'/data':'ro'
  -v '/mnt/user/appdata/Plex-Media-Server':'/config':'rw'
  --runtime=nvidia 'plexinc/pms-docker'

docker: Error response from daemon: unknown or invalid runtime name: nvidia.
See 'docker run --help'.

The command failed.

 

I appreciate any support and help.

 

Thanks,

Fabio

  • Community Expert

Hi

Did you try with your GPU ID instead of 'all' for NVIDIA_VISIBLE_DEVICES variable ?

You can find the ID in the nvidia driver settings. It starts with "GPU-"

  • Author
44 minutes ago, deadnote said:

Hi

Did you try with your GPU ID instead of 'all' for NVIDIA_VISIBLE_DEVICES variable ?

You can find the ID in the nvidia driver settings. It starts with "GPU-"

I did try with the GPU ID found in the NVIDIA driver settings. Is it strange that I get an error in the runtime parameter?

  • Community Expert

which docker image are you using?
I'm using the linuxserver image

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.