Converting to a lower quality fails with Hardware-Accelerated Streaming in Plex Web

Just reporting in as another user with the same issue, trying to use P2000 for hardware transcoding.
Seeing the exact same things happening (both in behavior and server logs).

I was now trying to use Debian 10 hoping it would work, but I’m still experiencing the same issue, so I was wondering @el_pedriyo if you could share some specifics on the setup that worked for you?

  • NVIDIA driver version
  • kernel version

Thanks in advance

EDIT

I just realized you probably meant you fixed the “cannot do more than 4x 4k transcodes” issue by using Debian 10, but the Transcoder crashing from Plex Web or PMP is still happening on that OS version as well?

I don’t use PMP personally, but Plex Web gets used A LOT, especially when sitting remote and thus needing transcoding…

@chrisallen Is there any way you guys can test this on Ubuntu / Debian, seeing as you reporting it works fine on Unraid probably means it has something to do with the specific combination of OS/Player/Hardware?

EDIT 2

I just downgraded my nvidia-driver to version 418.211.00 and all of my issues are resolved.

Combinations that would crash the Transcode job when using Plex Web:

  • nvidia-driver-495 on Ubuntu 20.04
  • nvidia-headless-495 on Ubuntu 20.04
  • nvidia-driver (460) on Debian 10 (latest version from buster-backports repository)

The combination that did work:

  • nvidia-driver (418) on Debian 10 (latest version on the oldstable repository for debian)

I hope this will provide some insights to the development team and I hope future nvidia drivers will be supported as well, as currently 418 is the absolute minimum supported by Plex if I’m correct (and given these issues, also the absolute maximum atm when using P2000)

Some noteworthy findings, not sure if they’ll be helpful:

  • for all drivers except the working one, one or both of the following packages were always missing and required a manual install (plex would complain in the logs not being able to find them): libnvidia-encode1, libcuda1. I find it interesting that the one driver that does not exhibit these issues, didn’t require any extra package installations.
  • driver 418 ships with CUDA 10.1, while all the drivers that were failing shipped with CUDA 11+

EDIT 3
Seems like I cheered too soon :frowning: Been getting a lot of s1003 errors whenever I force transcoding on Plex Web. Also, PMS using 100% cpu even when nothing is going on. It’s just incredibly unstable once HW transcoding is turned on.

I’ve tested with a whole range of extra drivers and they have the same issue (transcoder died) under Ubuntu/Debian:

  • 440
  • 470 (recommended version for P2000 by nvidia)

Spend nearly 10 hours testing different drivers, OS’'es, docker vs no docker with no results.

For reference I spun up Jellyfin on latest Ubuntu server, kernel and nvidia driver and transcoding works flawlessly. Kind of sad, because I like Plex better, but the most recent Plex versions just refuse to work with this gfx card on linux.