Plex hardware acceleration

I was wondering if there was a guide, post or other information for setting up the plex container with hardware acceleration(nvidia)?
2 Replies
Nicolas
Nicolas8mo ago
You should find a lot of info online. There is no definitive guide since it all depends on your device. I managed to do it for jellyfin in the past with a user-config https://forums.plex.tv/t/using-hardware-acceleration-in-docker/229702
Hope__Silent
Hope__Silent4mo ago
For posterity... I'm on Ubuntu Server 24.04. You need to do a few different things. 1) Add your user to the video group sudo usermod -a -G video your_username_here Now reboot and run id Is your user listed as part of the video group? If so, continue. 2) Determine your video device ls -l /sys/class/drm/renderD/device/driver The output may look like this /sys/class/drm/renderD/device/driver lrwxrwxrwx 1 root root 0 May 12 20:02 /sys/class/drm/renderD128/device/driver -> ../../../bus/pci/drivers/i915 Note that i915 or i965 is for Intel. Don't see your device? Make sure it's enabled and selected as the primary graphics device in your bios. 3) Create your user-config compose file First, copy the docker-compose file from ~/runtipi/apps/migrated/plex/docker-compose.yml into ~/runtipi/user-config/migrated/plex/docker-compose.yml *insert your own app store here, the default is "migrated", no quotes, no asterisks. Edit the new compose file and pass in the video device you found in step 1. nano ~/runtipi/user-config/migrated/plex/docker-compose.yml devices: - /dev/dri/renderD128:/dev/dri/renderD128
Save the file with ctrl+x and the same name. 4) Restart the plex container with runtipi and verify the container shows "yes" under user-config on the Base info tab of the Plex container on the My Apps page. Relevant guides/info: https://runtipi.io/docs/guides/customize-app-config https://hub.docker.com/r/linuxserver/plex https://github.com/plexinc/pms-docker#intel-quick-sync-hardware-transcoding-support
Customize app config
Homeserver management made easy
GitHub
GitHub - plexinc/pms-docker: Plex Media Server Docker repo, for all...
Plex Media Server Docker repo, for all your PMS docker needs. - plexinc/pms-docker

Did you find this page helpful?