Plex Media Server 1.23.1.4571 breaks HW Transcoding on NVIDIA GTX 1080

Server Version#: 1.23.1.4571
Linux Kernel: 5.12.6
NVIDIA Driver: 460.73.01
GPU: NVIDIA GeForce GTX 1080
CPU: AMD Ryzen 5 1600

Updating Plex Media Server from 1.22.3.4532 to 1.23.1.4571 breaks hardware transcoding with NVIDIA GTX 1080. Software transcode works fine, but neither the Server Dashboard nor nvidia-smi show that the GPU is being used with the latest version. Downgrading back to 1.22.3.4532 solves the issue.

Is this a known issue or bug?

1 Like

Can you get me the Server DEBUG logs please?

(we are tracking a bug which happens with a select few users)

@arcadellama

Thank you for that.

Your PMS 1.22.3 logs are INFO/WARN only. I can’t see what’s happening.

What I do see in the PMS 1.23.x logs is a failure to detect the Nvidia.

We fixed the GTX and Quadro cards in 1.23.0
Do the nvidia tools respond properly?

Do you mean nvidia provided tools? Nvidia-smi reports in normally, yes.

Here is another try at 1.22:

I cannot explain why this isn’t working for you.

  1. Nvidia works for all the QNAP boxes
  2. It’s working for every other Linux distro I know.

Which version of the driver do you have installed ?
(Asking because there might have been a protocol bump)

460.73.01.

Because I was able to simply reproduce the problem by changing server versions, I wanted to check first if there was already a known issues before I started any other troubleshooting. I’ll try bumping up GPU driver to see if that is a remedy. Thanks.

Unfortunately, neither 460.80 or 465.31 drivers for NVIDIA are working with 1.23.1.4571 either. Same as before, working fine on 1.22.3.4533.

Any suggestions on something else to try, based on what could be different in this newest build?

I’m having the same issue but with INTEL iGPU

@ChuckPa I’ll pm you my logs

@jrniemand

Let me ask.

  1. Intel 11th Gen CPU ?
  2. Did the installer prompt you to install Intel Compute Runtime and OpenCL ?

8th gen. HP290-p0043w, this is not a new installation, hardware transcoding had been working flawlessly until this version was installed.

Here’s the full upgrade log.

Unattended upgrade result: All upgrades installed

Packages that were upgraded:
 plexmediaserver telegraf

Package installation log:
Log started: 2021-05-26  07:00:40
apt-listchanges: Reading changelogs...
Preparing to unpack .../telegraf_1.18.3-1_amd64.deb ...
Unpacking telegraf (1.18.3-1) over (1.18.2-1) ...
Setting up telegraf (1.18.3-1) ...
Installing new version of config file /etc/telegraf/telegraf.conf.sample ...
Log ended: 2021-05-26  07:00:52

Log started: 2021-05-26  07:00:52
apt-listchanges: Reading changelogs...
Preparing to unpack .../plexmediaserver_1.23.1.4571-6119e8eed_amd64.deb ...
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install: Pre-installation Validation complete.
Unpacking plexmediaserver (1.23.1.4571-6119e8eed) over (1.22.3.4523-d0ce30438) ...
Setting up plexmediaserver (1.23.1.4571-6119e8eed) ...
PlexMediaServer install: PlexMediaServer-1.23.1.4571-6119e8eed - Installation starting.
PlexMediaServer install:
PlexMediaServer install: Now installing based on:
PlexMediaServer install:   Installation Type:   Update
PlexMediaServer install:   Process Control:     systemd
PlexMediaServer install:   Plex User:           plex
PlexMediaServer install:   Plex Group:          plex
PlexMediaServer install:   Video Group:         render
PlexMediaServer install:   Metadata Dir:        /var/lib/plexmediaserver/Library/Application Support
PlexMediaServer install:   Temp Directory:      /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache  (set in Preferences.xml)
PlexMediaServer install:   Lang Encoding:       en_US.UTF-8
PlexMediaServer install:   Intel i915 Hardware: Found
PlexMediaServer install:   Nvidia GPU card:     Not Found
PlexMediaServer install: 
PlexMediaServer install: Completing final configuration.
PlexMediaServer install: Starting Plex Media Server.
PlexMediaServer install: PlexMediaServer-1.23.1.4571-6119e8eed - Installation successful.  Errors: 0, Warnings: 0
Processing triggers for libc-bin (2.28-10) ...
Processing triggers for mime-support (3.62) ...
Log ended: 2021-05-26  07:01:21



Unattended-upgrades log:
Checking if system is running on battery is skipped. Please install powermgmt-base package to check power status and skip installing updates when the system is running on battery.
Initial blacklist :
Initial whitelist:
Starting unattended upgrades script
Allowed origins are: origin=Debian,codename=buster-updates, origin=Debian,codename=buster-proposed-updates, origin=Debian,codename=buster,label=Debian, origin=Debian,codename=buster,label=Debian-Security, site=repos.influxdata.com, site=downloads.plex.tv
Packages that will be upgraded: plexmediaserver telegraf
Writing dpkg log to /var/log/unattended-upgrades/unattended-upgrades-dpkg.log
All upgrades installed

ChuckPa the Mac guys are having this issue as well -

https://forums.plex.tv/t/pms-1-23-0-4438-crash-on-macos-mojave-10-14-16-roll-back-to-1-22-3-4392-works-fine/712614/8

https://forums.plex.tv/t/pms-crashing-because-of-the-transcoder/713768/24

1 Like

I can’t help with MacOS. Don’t own one and without the Apple hardware chips, nothing runs

Thanks for the reply at least. We’ve been having transcoder crashes since the 1.23 branch. If someone on your team could engage us on those threads, it’d be appreciated.

If you have DEBUG log files which capture it, I can at least take a look ?

I’ll send you my debug logs, I just don’t want to post them here.

Hello, Thanks for your message.

I have a similar problem with GTX 1080. Rollback to a 1.21.1.3876 works for me.

@Lutak

Not a helpful post, … just saying.

If something needs fixing in the new toolchain, let’s get it fixed :wink:
The other GT1080 problem I’ve seen is related to the 11th Gen CPU which
a. I’m working on
b. blocked because upstream Linux support is incomplete.

Just saying the rollback works for me and may works for others. I have trouble since few weeks and a lot waste of time for me and users.

I have a poor english so i not will be helpful and i cant do more test in my production environment.

For me, the transcode didn’t work at all for multiple users, using multiple plex client (tv, web, smartphone, whatever) but weirdly work for some user in the same configuration.
The process plex media server use a very huge amount of CPU creating a heavy load on server.

My CPU: Intel(R) Core™ i7-4770K CPU @ 3.50GHz
RAM: 8GB
GPU: Nvidia GTX 1080 drivers 430.50

Since the rollback, every of my user are happy.

I understand you need to fix it and i hope you will. If someone can help you on it with a test environment. If i had more time i could create a docker with plex to reproduce it… but not the right time.

Thank you for sharing.

I appreciate the language issue and respect your decision.

Thank you.

Just wanted to add to this thread as it may help someone. Today I upgraded my Plex Server (1.23.2.4625) and upgraded my NVIDIA driver to 460.80 (latest stable release) and my hw transcoding also stopped working.

I ended up upgrading to the latest new-feature release driver 465.31, and restarted my Plex docker and it started working again, so maybe something in driver 460.xx ?

OS: Ubuntu 20.04.2 LTS
Server Version: 1.23.2.4625 (via LinuxServer.io docker)
GPU: EVGA NVIDIA GTX1070 FTW
CPU: AMD Ryzen9 3950X
NVIDIA Driver: 455.45 (Previous) / 460.80 (Broken?) / 465.31 (Working)