Fresh PMS Ubuntu install — no transcode on GTX 760

Server Version#: 1.20.3.3483
Player Version#: 1.21.0.1410-50a34597

Ubuntu 20.04.1 LTS
NVIDIA-SMI 450.80.02 (GTX 760)
Intel(R) Core™ i5-4440 CPU @ 3.10GHz

plex@PLEX:~$ ls -la /dev/dri
total 0
drwxr-xr-x 3 root root 140 окт 22 22:57 .
drwxr-xr-x 19 root root 4600 окт 22 22:57 …
drwxr-xr-x 2 root root 120 окт 22 22:57 by-path
crw-rw----+ 1 root render 226, 0 окт 22 23:32 card0
crw-rw----+ 1 root render 226, 1 окт 22 23:32 card1
crw-rw----+ 1 root render 226, 128 окт 22 23:32 renderD128
crw-rw----+ 1 root render 226, 129 окт 22 23:32 renderD129
plex@PLEX:~$

plex@PLEX:~$ groups plex
plex : plex adm cdrom sudo dip video plugdev render lpadmin lxd sambashare

While running transcode session, GPU has nothing in it`s processes:

Fri Oct 23 01:54:41 2020
±----------------------------------------------------------------------------+
| NVIDIA-SMI 450.80.02 Driver Version: 450.80.02 CUDA Version: 11.0 |
|-------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 GeForce GTX 760 Off | 00000000:01:00.0 N/A | N/A |
| 34% 38C P8 N/A / N/A | 3MiB / 4035MiB | N/A Default |
| | | N/A |
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| No running processes found |
±----------------------------------------------------------------------------+

What am i doing wrong, how to achieve hw on GPU?
“Use hardware acceleration when available” & “Use hardware-accelerated video encoding” are checked.

Transcode log is attached.

Plex Transcoder Statistics.1.log (8.2 KB)

  1. Need the full DEBUG (not VERBOSE) logs ZIP capturing the attempt to transcode.
  2. Transcoder statistics don’t provide anything useful in this case. Everything needed is in the Plex Media Server.log file

Plex Media Server Logs_2020-10-23_11-01-57.zip (1.5 MB)

Thank you.

Your system has an an Intel i5 which has an internal ASIC for transcoding.
All you need do is tell Plex which device to use.

  1. HardwareDevicePath="/dev/dri/renderD128" to use the Intel
  2. HardwareDevicePath="/dev/dri/renderD129" to use the Nvidia.
1 Like

Sorry, I rechecked the solution and there is still no luck. I added Hardware device path into Preferences.xml

Preferences.xml.zip (792 Bytes)

run this command

nvidia-modprobe -c0 -u

and try again

and you trying to decode a 4k file when your GPU is not supported to have those features

Thanks for advice, but nvidia-modprobe -c0 -u command does not help.
Plex does not use GPU even in HD to SD transcode.

you need to check out the support matrix for decode and encode for nvidia GPU’s


i stated before that you Video Card is a non supported for HEVC h.265

in fact it might not even be able to HW trans code at all in the way you want to use it unless you say it work in a windows machine

do a test convert you HEVC file to a H.264 12 mbits file and see if the trans code work or you can download big bunny 4 k file off the internet and try that

put it to you this way get a new hard drive install proxmox 6.2-1

go to this website and run this script

it will download and install drivers and plexmediaserver, in a LXC CT vm machine it is like docker but is is not. it is fully automated and only askes up to 2 questions

there might be something installed that is borking your setup.
Do this download the BBB 4k file and remember you must have a plexpass account to use Hardware encoding if this works and you dont have any problems you know something installed that is missing up config

you will be installing Proxmox in a debian env you will be installing ubuntu 20.xx you will be installing nvidia 455.28 drivers and installing the very latest plex media server

please note you will be using shell prompt for most of everything you need to do in linux i am through out a wild guess check to make sure you dont have nouveau drivers installed they are not supported for transcoding.

or if you want to try and get you setup working uninstall any thing and everything Nvidia

using apt purge nvidia*

then proceed to install official nvidia driver from there website not the repo
make shure you have gcc installed and make

apt install gcc make

wget https://us.download.nvidia.com/XFree86/Linux-x86_64/455.28/NVIDIA-Linux-x86_64-455.28.run

then run
bash NVIDIA-Linux-x86_64-455.28.run

restart machine after installs are done

and test

1 Like

Can it be, that GPU is not used for transcode, because i have modified /etc/X11/xorg.conf? Maybe it prevents system to use GPU, because i always have " No running processes found".

My server is headless and i used video dummy driver to get VNC image.

That would have been really helpful information to know upfront.
If the processes aren’t running then the drivers don’t get loaded.
Nvidia’s default configuration assumes a graphics head or a dummy plug

i would say most likely but you have going over my head with with the xorg X11 issue i suggest start fresh install the minimal driver and minimal packages and find out which one breaks your install witch is why i suggested a fresh install with just drivers and plex then add one thing at a time to find out were the issue lies.

it will be a process to figure it out.

you most likely have a config issue / or a package installed that is conflicting with your nvidia drivers

i run my server headless and i dont have those issues dont know why you would need a video dummy driver for VNC when you have a GPU. but as i have said it has officially gone over my head.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.