Server Version#: 1.30.1.6562 - Ubuntu 22.04.1
Player Version#: 4.98.2 (Web)
I recently noticed plex is no longer doing hardware transcoding (nvidia decoding and encoding). I assume this was due to a recent package upgrade since nvidia-smi was not loading. I have since reinstalled nvidia drivers and updated ubuntu from 20.04 to 22.04.
nvidia-smi now loads and even shows plex transcoding process but is very low utilization (54MB)
±----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 2093 C …diaserver/Plex Transcoder 54MiB |
±----------------------------------------------------------------------------+
htop shows plexmedia transcoder h264 using 100% cpu as well as the dashboard confirming no hw acceleration:
I’ve set the appropriate HardwareDevicePath=“/dev/dri/renderD129” in Preferences.xml and the Plex debug logs show the following:
[Req#317f8/Transcode] TPU: hardware transcoding: final decoder: nvdec, final encoder: nvenc
TPU: hardware transcoding: enabled, but no hardware decode accelerator found
TPU: hardware transcoding: final decoder: , final encoder:
I downgraded to 515.86.01 (removed nvidia driver, rebooted, installed nvidia-driver-515). Part of the install process was to update initramfs. Once installed I again rebooted the host however still having the same issue.
Wed Jan 18 11:42:14 2023
±----------------------------------------------------------------------------+
| NVIDIA-SMI 515.86.01 Driver Version: 515.86.01 CUDA Version: 11.7 |
|-------------------------------±---------------------±---------------------+
| 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 Quadro P2000 Off | 00000000:0B:00.0 Off | N/A |
| 55% 52C P8 4W / 75W | 57MiB / 5120MiB | 0% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+
±----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1499 C …diaserver/Plex Transcoder 53MiB |
±----------------------------------------------------------------------------+
I agree with the 2 video files you provided however none of my content I have in the library is HEVC or AV1; they’re all H264 with mkv container (instead of mp4). None of those videos in my library are using hw transcoding, they used to.
To add to this discussion, I am currently experiencing the issue with all of my 1080p video files (VC1, H.264, MPEG2, but did not test HEVC 1080p) refusing to hardware transcode.
On Windows Server 2022 with an RTX A2000 and 515 U6 driver, hardware transcoding only works up to the 720p 4mbps preset; anything transcoded to the 4K 25-40mbps range hardware transcodes as well. If any 1080p preset is selected, the video will software transcode, with Plex logging that it cannot find a hardware accelerator for that video stream.
The kicker here is that this happens on all Plex Media Server releases after 1.30.0.6486-629d58034. Upgrading to 1.30.1.6562-915986d62 or later causes this issue to occur on the 525 branch OR 515 branch (specifically the 515 U6 517.88 release).
Thanks for looking into this, as it could potentially cause some serious issues for servers that rely on hardware transcoding.