Playback freezes or “your server is not fast enough…” error

Server Version#: 1.19.4.2935
Player Version#: HOW DO YOU FIND this?

I am running an Intel NUC Intel Core i3-8121U 2.20 GHz/ 3.20 GHz 8 GB of LPDDR4 memory and a Radeon 540 discrete graphics with 2GB GDDR5 graphics memory with Windows 10 Pro. It is dedicated to being a PMS.

It is hardwired to the modem which has 802.11N wifi which is extended with a Netgear AC1200 with 802.11ac wifi. A look at the Dashboard shows a peak demand of 17Mbps and an average of around 9Mbps

I am using Apple TV HD to access Plex, Acorn, Amazon, Disney, etc.I have a combination of .TS, .MP4, .M4V files.

To put it mildly I am SICK and TIRED of these problems.

The attached log file shows that I am starting and stopping the player trying to move it off the dime.

Search in the log file for : westerly
Scroll down to find:

Jul 21, 2020 14:42:14.456 [6284] ERROR - [FFMPEG] - Cannot load nvcuda.dll
Jul 21, 2020 14:42:14.456 [6284] ERROR - [FFMPEG] - Could not dynamically load CUDA

Warning I use Plex, but I know very little about it. Be gentle :slight_smile:
Help please.
Thanks, Fred

Plex Media Server.1.log (10.0 MB)

The reason it can’t find this file is that it is for NVIDA graphics, I have Radeon 540 graphics card. Why is Plex looking for the wrong card? Was I susposed to set it someplace? If so where?

@pl_5309

In this post: https://forums.plex.tv/t/transcode-on-amd-gpu-cannot-load-nvcuda-dll/562718

You replied:
“You have Hardware transcoding selected, as it tries to initialize the drivers of the three supported (Nvidia, Intel, AMD) starting with Nvidia.”

I have this problem also, how did this reply solve the problem?
Why is Plex looking for the wrong card?
Was I supposed to set it someplace?
If so where?

Thanks, Fred

If your Hardware Transcoding is working you can safely ignore the messages.

There is no place to specify which driver to initialize so it tries all 3 starting with Nvidia. On linux it is just Nvidia and Intel.

How do I prove that?
Given my problems it seems unlikely.
I can’t be the only person experiencing these problems.

Plus in the log I found this:

Jul 21, 2020 14:42:15.145 [1220] DEBUG - Codecs: testing hevc_mf (encoder)
Jul 21, 2020 14:42:15.412 [1220] INFO - [FFMPEG] - MFT name: ‘AMDh265Encoder’
Jul 21, 2020 14:42:15.539 [1220] DEBUG - Codecs: testing h264 (decoder) with hwdevice nvdec
Jul 21, 2020 14:42:15.539 [1220] DEBUG - Codecs: hardware transcoding: testing API nvdec
Jul 21, 2020 14:42:15.539 [1220] ERROR - [FFMPEG] - Cannot load nvcuda.dll
Jul 21, 2020 14:42:15.539 [1220] ERROR - [FFMPEG] - Could not dynamically load CUDA
Jul 21, 2020 14:42:15.539 [1220] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
Jul 21, 2020 14:42:15.539 [1220] DEBUG - Codecs: testing h264 (decoder) with hwdevice dxva2

It seems that it is looking for the AMD, but then tries to load the NVIDIA?

You are in a bit of a bind with your setup. I am not saying that all these things are your problem but they are not helping.

  1. That chip doesn’t have onboard Intel graphics so you can’t fall back to using them. The AMD is not initializing dxva2. The drivers have to come from Intel and I have not heard promising things.

  2. 802.11N just isn’t the most reliable when it comes to streaming media. Having an extender is probably contributing to latency and collisions.

  3. I don’t have an Apple tv but according to other threads it only supports MPEG2 when using the enhanced player.

I would start with Intel driver assistant and see if it says a new driver is available.

On the logs, you have debug on which is good but to get the whole bundle you can download them via the app.plex.tv Settings > Manage > Troubleshooting > Download Logs. This will give you a zip file that you can drop in a reply.

If HW transcoding is working it shows up in the dashboard when playing back a stream that is transcoded. There will be a HW next to the stream identifier.

image

@trumpy81

I noticed you were helping a fellow with a similar situation.
Could you please look at this thread and see if you can offer me any help.
Thanks much, Fred

I’m on it.
It doesn’t happen constantly, but I am patient.
Thanks

There is no “Get Info”.
get info

I have Mediainfo on my computer. Will that give you what you need?

It happened last night on two different episodes. Attached is the info for both.
Also I found the filter and turned it off, but that was this morning.
One more thought is that it seems to only happen on .ts files, not .mp4.
Thanks you so much for the help, Fred

Get Info XML_2020-08-01_18-48-34.txt (3.6 KB)
Get Info XML_2020-08-01_19-24-18.txt (4.0 KB)
Plex Media Server Logs_2020-08-01_18-48-34.zip (4.5 MB)
Plex Media Server Logs_2020-08-01_19-24-18.zip (4.8 MB)

Everything I put on is MP4.
The problem arises when I use Live TV to grab shows OTA.
Basically you are saying is Plex can not handle the file container it uses properly, correct?
I have been looking at MCE-Buddy to do the task automatically.
Your thoughts?

Thank you for looking into this problem and providing some insight.
It has been plaguing me for over a year.
Cheers, Fred

I have a Hauppauge WinTV-dual HD tuner USB. It is one of the tuners recommended by Plex.
I will look further into the tuner and MCE-Buddy.

Thanks again for all the help, Fred

Why can’t Plex use my GPU card?

I’m sorry, but I thought the portion of the log file you showed me said so.
Or it was where I pointed out that it was trying to load Nvidia instead of AMD drivers.
If I look at Task Manager during a recording or playback session I see Plex Transcoder running.

Even without HW transcoding this NUC should be able to handle one live stream without issue.

First you need to figure out why you can’t direct play on Apple TV, why is the stream set to 3Mbps. I don’t have an Apple TV but I thought Plex added Mpeg2 playback support. Current version is listed as 7.3.1. If you go to https://app.plex.tv/desktop on the settings > authorized devices should show all the versions of the clients in use.

Streaming Resource: Reached Decision id=6123 codes=(General=1001,Direct play not available; Conversion OK. Direct Play=3000,App cannot direct play this item. No direct play video profile exists for protocol http, with container mpegts, and video codec h264. Transcode=1001,Direct play not available; Conversion OK.) media=(id=5706 part=(id=5848 decision=transcode container=mpegts protocol=hls streams=(Video=(id=9719 decision=copy width=1920 height=1080) Audio=(id=9721 decision=copy channels=2 rate=48000))))

It mostly looks like you are having a client issue:

Failed to stream media, client probably disconnected after 9175040 bytes: 10054 - An existing connection was forcibly closed by the remote host

For the HW part to work, some conditions have to be true.

  1. You are logged in as the user that installed Plex.
  2. You are not using remote desktop.
  3. You didn’t start Plex as a service.
  4. A monitor was present and turned on when the pc booted.

My AMD Radeon RX 540was first released in Apr 2017, I have the latest drivers 7/11/2020.
Yet Plex cannot find it.
Below is a snippet from a log file.

Jul 21, 2020 14:45:50.207 [1220] INFO - [FFMPEG] - MFT name: ‘AMDh265Encoder’
Jul 21, 2020 14:45:50.220 [7992] DEBUG - Auth: authenticated user 1 as FredYates
Jul 21, 2020 14:45:50.220 [4744] DEBUG - Request: [192.168.0.65:57284 (Subnet)] GET /library/metadata/6105?asyncAugmentMetadata=0&checkFiles=1&includeChapters=1&includeConcerts=1&includeExternalMedia=1&includeExternalMetadata=1&includeExtras=1&includeGeolocation=1&includeMarkers=1&includeOnDeck=1&includePopularLeaves=1&includePreferences=0&includeRelated=0&includeRelatedCount=15&includeReviews=1 (18 live) TLS GZIP Signed-in Token (FredYates)
Jul 21, 2020 14:45:50.225 [4744] DEBUG - We’re going to try to auto-select an audio stream for account 1.
Jul 21, 2020 14:45:50.225 [4744] DEBUG - Selecting best audio stream for part ID 5840 (autoselect: 0 language: en)
Jul 21, 2020 14:45:50.225 [4744] DEBUG - Audio Stream: 9686, Subtitle Stream: -1
Jul 21, 2020 14:45:50.226 [7992] DEBUG - Completed: [192.168.0.65:57284] 200 GET /library/metadata/6105?asyncAugmentMetadata=0&checkFiles=1&includeChapters=1&includeConcerts=1&includeExternalMedia=1&includeExternalMetadata=1&includeExtras=1&includeGeolocation=1&includeMarkers=1&includeOnDeck=1&includePopularLeaves=1&includePreferences=0&includeRelated=0&includeRelatedCount=15&includeReviews=1 (18 live) TLS GZIP 5ms 1744 bytes (pipelined: 24)
Jul 21, 2020 14:45:50.319 [1220] DEBUG - Codecs: testing h264 (decoder) with hwdevice nvdec
Jul 21, 2020 14:45:50.319 [1220] DEBUG - Codecs: hardware transcoding: testing API nvdec
Jul 21, 2020 14:45:50.319 [1220] ERROR - [FFMPEG] - Cannot load nvcuda.dll
Jul 21, 2020 14:45:50.319 [1220] ERROR - [FFMPEG] - Could not dynamically load CUDA
Jul 21, 2020 14:45:50.319 [1220] DEBUG - Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred
Jul 21, 2020 14:45:50.319 [1220] DEBUG - Codecs: testing h264 (decoder) with hwdevice dxva2
Jul 21, 2020 14:45:50.319 [1220] DEBUG - Codecs: hardware transcoding: testing API dxva2
Jul 21, 2020 14:45:50.411 [1220] DEBUG - Codecs: Testing with profile ‘Main’

Please look at the bold lines

  1. FFMPEG seems to be looking for an AMDh265Encoder.
  2. Next it seems to be looking for a Codecs: testing h264 (decoder) with hwdevice nvdec
  3. Then it tries to load [FFMPEG] - Cannot load nvcuda.dll
  4. It can’t because I have an AMD RX 540
  5. Then it gives up: hardware transcoding: opening hw device failed - probably not supported by this system, error: Unknown error occurred

So obviously Plex can’t find the AMD RX540. As I pointed out it is 3 years old.
That is why I asked the question “Why can’t Plex use my GPU card?”
Your reply “If a graphics card passes the test, then that card gets used by Plex and that is also shown in the logs.” implies that it didn’t pass. Also, there is no evidence in the logs that I can find of it ever being looked for, except where FFMPEG calls it out.

When I look at the Dashboard, it shows that both video and audio are Direct Play.
It is set to 3Mbps because that is our max download speed and we also use the Apple TV to stream Amazon Prime, Apple TV+, Acorn, etc. on two different devices simultaneously and we can eke by.

I know nothing about that and obviously very little about Plex. :slight_smile:

Yes all three Apple TVs are 7.3.1

  1. From the log file: - DEBUG - Auth: authenticated user 1 as FredYates
  2. I am using the computer PMS was installed upon.
  3. It is set to run automatically whenever the computer is booted. I’m not sure what you mean with that “condition”.
  4. Why would that make any difference? It is a NUC, I don’t leave a monitor turned on all the time. Also I have had this problem on Lenovo G780, quad core i7, laptop. I switched to the NUC since it has a video card.

You can ignore the nvcuda.dll messages, everyone that doesn’t have Nvidia gets them.

How are you accomplishing this. Through autologin or running Plex as a service?

Please post a Dashboard screenshot of Live TV playback.

It is set to 3Mbps because that is our max download speed

If all the devices are local to the Plex server, there should be no need to force a lower bandwidth.

I didn’t do anything, that is how Plex installed its self.
From the plex icon in the system tray

From the registry:

Dashboard:

I discovered years ago this would allow me and my wife to stream, simultaniosly, two videos when we used Roku devices. It is left over from then.

I don’t just use Plex, I use other services like: Amazon Prime, Apple TV+, Acorn, etc. As I understand it PLex is local and Apple TV is only being used to authenticate. I am not “streaming” from my computer through the internet, through the Apple Server Farm back to Apple TV, Plex it is all local. Last I could never share my media, because I have a measly 0.5Mbps upload speed.

Remember this problem is only being seen on .ts files, not MP4. To me that is a clue that Plex can’t handle .ts files properly. If you look at post 19 you can see that Plex is doing the transcoding instead of handing it off to the GPU.

WHY is the question?

Can you do a dashboard screenshot while trying live tv and if possible while it is freezing.