NVIDIA hardware acceleration inconsistently working with web streaming

:rofl: Sounds like you’re having fun over there :man_shrugging::wink::grin:… At least they’re now seeing the problem, which is better that not seeing it at all…

DVR/EPG : Someone posted in my thread telling me about another thread, so I’ve been keeping an eye on it. At least they’ve found an issue with a probable fix :+1:

@Minxster

This is the release notes info I have for Beta PMS

PMS 1.32.3.7089 contains:

NEW:

  • (NAS) - Synology - Add support for DS223 family models (rtd1619 & rtd1619b processors)

FIXES:

  • (Collections) Wording of collections display preference was confusing (#12176)
  • (DVR) Finding USB device even if it’s plugged into a different USB port (#14288)
  • (Photos) “Recently Added in Photos” may not include any items in a sub folder (#12469)
  • (PlayQueue) Playing an episode in a show that has a later aired unmatched episode could play the wrong episode (#13315)
1 Like

+1 on this issue- I am seeing it with Docker but if I go into the Docker I can see it fine but it just wont use my GPU.

1 Like

Yep similar here with Docker and QNAP - raised it here: HW Transcoding not working (QNAP Container Station / Docker) - everything is set up right? - #2 by the1dv

I too have started having this issue where I am unable to play any video’s in a browser on PC or Macs when it needs to transcode. Works perfectly fine on Apple TV, and other hardware clients.

I’m running Unraid 6.12.3 with Nvidia driver: 535.86.05. I’ve tried downgrading the Nvidia driver to 530.41.03 as well as Plex Media server 1.31.2.6810 on both Hotio and LinuxServers docker images with no success.

I and other users end up with error codes s1001 and s1003 (Network) pop up.

Here is a snapshot from the console when I tried to play a tv show…

Nvidia Unraid Plex GPU errors.txt (199.8 KB)

@Jase

You cut off the log right where I needed to see what was happening (where it fails)

Jul 26, 2023 09:46:26.055 [23352225545016] DEBUG - [Req#82f/Transcode] [FFMPEG] - Loaded sym: cuDestroyExternalSemaphore
Jul 26, 2023 09:46:26.055 [23352225545016] DEBUG - [Req#82f/Transcode] [FFMPEG] - Loaded sym: cuSignalExternalSemaphoresAsync
Jul 26, 2023 09:46:26.055 [23352225545016] DEBUG - [Req#82f/Transcode] [FFMPEG] - Loaded sym: cuWaitExternalSemaphoresAsync
Jul 26, 2023 09:46:26.055 [23352225545016] DEBUG - [Req#82f/Transcode] [FFMPEG] - Loaded sym: cuArrayCreate_v2
Jul 26, 2023 09:46:26.055 [23352225545016] DEBUG - [Req#82f/Transcode] [FFMPEG] - Loaded sym: cuArray3DCreate_v2
Jul 26, 2023 09:46:26.055 [23352225545016] DEBUG - [Req#82f/Transcode] [FFMPEG] - Loaded sym: cuArrayDestroy
Jul 26, 2023 09:46:26.055 [23352225545016] DEBUG - [Req#82f/Transcode] [FFMPEG] - Loaded sym: cuEGLStreamProducerConnect
Jul 26, 2023 09:46:26.055 [23352225545016] DEBUG - [Req#82f/Transcode] [FFMPEG] - Loaded sym: cuEGLStreamProducerDisconnect
Jul 26, 2023 09:46:26.055 [23352225545016] DEBUG - [Req#82f/Transcode] [FFMPEG] - Loaded sym: cuEGLStreamConsumerDisconnect
Jul 26, 2023 09:46:26.055 [23352225545016] DEBUG - [Req#82f/Transcode] [FFMPEG] - Loaded sym: cuEGLStreamProducerPresentFrame
Jul 26, 2023 09:46:26.055 [23352225545016] DEBUG - [Req#82f/Transcode] [FFMPEG] - Loaded sym: cuEGLStreamProducerReturnFrame
Jul 26, 2023 09:46:26.114 [23352333601592] VERBOSE - WebSocket: processed 0 frame(s)
Jul 26, 2023 09:46:26.114 [23352333601592] VERBOSE - WebSocket: processed 0 frame(s)
Jul 26, 2023 09:46:26.115 [23352333601592] VERBOSE - WebSocket: processed 1 frame(s)
Jul 26, 2023 09:46:29.164 [23352053926712] DEBUG - [JobRunner] Job running: /app/usr/lib/plexmediaserver/CrashUploader "--directory=/app/config/Plex Media Server/Crash Reports/1.32.5.7349-8f4248874" --version=1.32.5.7349-8f4248874 --platform=Linux --platformVersion=6.1.38-Unraid --serverUuid= --sentryUrl= --sentryKey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx --vendor=Docker --model=x86_64 "--device=Docker Container (hotio)"

The ‘failure’ above is the player disconnecting.

Jul 26, 2023 09:46:21.549 [23352335711032] VERBOSE - WebSocket: processed 1 frame(s)
Jul 26, 2023 09:46:21.552 [23352335711032] VERBOSE - We didn't receive any data from 10.0.1.1:59952 in time, dropping connection.
Jul 26, 2023 09:46:21.608 [23352335711032] VERBOSE - Didn't receive a request from 10.0.1.1:59952: Connection reset by peer
Jul 26, 2023 09:46:21.828 [23352296278840] VERBOSE - [Req#804/Transcode] [FFMPEG] - Nvenc unloaded
Jul 26, 2023 09:46:21.845 [23352225545016] DEBUG - [Req#82f/Transcode] Codecs: testing h264 (decoder) with hwdevice nvdec
Jul 26, 2023 09:46:21.845 [23352225545016] VERBOSE - [Req#82f/Transcode] [FFMPEG] - Rescanning for external libs: '/app/config/Plex\ Media\ Server/Codecs/8217c1c-4578-linux-x86_64/'
Jul 26, 2023 09:46:21.849 [23352225545016] DEBUG - [Req#82f/Transcode] Codecs: hardware transcoding: testing API nvdec for device

@ChuckPa Where the log cut off was from Plex Media Server.2.log and that is where it ended. I see the log starts again with ‘Plex Media Server.1.log’ with this…

"Jul 26, 2023 09:46:30.485 [22892996303672] INFO - Plex Media Server v1.32.5.7349-8f4248874 - Docker Docker Container (hotio) x86_64 - build: linux-x86_64 debian - GMT -04:00
Jul 26, 2023 09:46:30.486 [22892996303672] INFO - Linux version: 6.1.38-Unraid, language: en-US
Jul 26, 2023 09:46:30.487 [22892996303672] INFO - Processor: 32-core Genuine Intel(R) CPU @ 2.60GHz
Jul 26, 2023 09:46:30.487 [22892996303672] INFO - Compiler is - Clang 11.0.1 (https://plex.tv 9b997da8e5b47bdb4a9425b3a3b290be)
Jul 26, 2023 09:46:30.488 [22892996303672] INFO - /app/usr/lib/plexmediaserver/Plex Media Server
Jul 26, 2023 09:46:30.469 [22892998847120] DEBUG - BPQ: [Idle] → [Starting]
Jul 26, 2023 09:46:30.469 [22892998847120] VERBOSE - BPQ: delaying processing 120 second(s)

The log goes on for a while…what are you looking for so that I can find it for you.

Thanks so much for your help!!
Awesome.

Cutting directly to the chase –

  1. Are you using the 535.54.03 drivers ? 535.86.05. :white_check_mark:
  2. Is the Kernel version higher than 5.19 ?
  3. Is the CPU something newer than a CoffeeLake (-8xxx) ?
    (CPU might not matter but it does matter for me at this moment)

I am, at this very moment, fighting with the Linux kernel and the NVIDIA drivers.

The machine works perfectly until the Nvidia drivers are installed.
At that instant – it locks up when booting.

525 drivers are no longer available for download (which work)

I am running another Unraid server ‘Alder Lake 12th Gen’ with the latest Nvidia 535.86.05 with no problems at all.

I’ve cross posted over at the Unraid Nvidia driver forum to see if there is a way to downgrade to Nvidia driver 525.60.13

https://forums.unraid.net/topic/98978-plugin-nvidia-driver/page/133/

Update…So, it looks like our Plex Dev’s need to fix the Web Client. It’s a lot of work to downgrade the Nvidia drivers for us Unraid users. Do you know if the Plex Developers are on to fixing this?

@Jase

I’m at a standstill right now.

Today, I’ve tried everything from 20.04.6 LTS → 23.04
Every single one fails (locks during boot after printing out ‘i915 being initialized’)

I’ve manually downgraded 535 → 525 with no success.

I’ve not found the right combination to get Ubuntu and Nvidia working again

chuck@plexqa-av1:~$ uname -a
Linux plexqa-av1 5.19.0-50-generic #50-Ubuntu SMP PREEMPT_DYNAMIC Mon Jul 10 18:24:29 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
chuck@plexqa-av1:~$ cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.2 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.2 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
chuck@plexqa-av1:~$ cat /proc/cpuinfo | grep 'model name' | uniq
model name	: 13th Gen Intel(R) Core(TM) i5-13400
chuck@plexqa-av1:~$

If you have any suggestions, I would be grateful.
Once I have this box back up and running then I can get back to work with testing and support.

Plex/web is a strange app. I’ve seen it work in one browser and fail in another.
I’ve seen if fail because of plug-ins.

If I may suggest, start with a non-browser player. Get stability there first.

There is no problem using Plex HTPC or the Plex Player for Mac. This seems only Plex Web.

I wrote to you mate looking for support LOL. The good news is, on the Unraid forum there is a very active discussion about this. [Plugin] Nvidia-Driver - Page 134 - Plugin Support - Unraid

I think we all found the culprit…a Plex Web update that fell through the hoops for Linux which affects ALL Browsers on ALL Platforms.

Surely Plex Dev’s will sort this out before it explodes to millions of users complaining at the same time that they can’t play anything apart from Direct Stream files/clips/movies when they update their Nvidia drivers.

Here is a screenshot of the errors from FireFox.

Notice the NS_BINDING_ABORTED ?

What you probably need to fix , is to add Expires headers to what you are serving. Then you will see the NS_BINDING_ABORTED message change to (cache), meaning the browser is simply getting content out of its cache, knowing it has not yet expired.

In short – clear the firefox browser cache. Restart firefox

Ref: NS_BINDING_ABORTED Shown in Firefox with HttpFox - Stack Overflow

This isn’t working either. It happens on ALL browsers remotely. FireFox, Chrome, Safari, Opera etc

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