OK, cool.
I’ll stick with 1.30.0.6406 until the new version is out.
I have the same error with an Nvidia RTX A2000.
When will the working release published? 1.30.2.xxxx doesn’t work.
I have to stay on 1.30.0.xxxx too
thanks
Thanks for confirming the issue persists, I was planning to try the new version this weekend.
We’re finding that we thought we got everything TrueHD / EAE related but there’s still one (hopefully only one) to fix.
Today, I’m working on finding out what the exact failure is and isolating it
Please confirm for me the errors are Video or Audio ?
We have a mix of both errors in this thread.
For me, PMS versions up to 1.30.1 stop videos short when transcoding.
Version 1.30.1 doesn’t play videos at all when transcodeing.
can you get me an example (snippet or otherwise) of a video which recreates this?
I am working on another user’s issue which looks similar.
Per above, the test video you provided stopped short with PMS 1.30.0.6406 and failed to play with PMS 1.30.1.6497.
enJOyIT, was it v.1.30.2.6563-3d4dc0cce from January 10, 2023 that you had tried?
Here is the second development version for the CUDA 12.0 issue.
This one allows us to change the FrameBuffer size
The munsil sample you sent played once through to the very end (previously it would stop short 2 minutes), but then would fail to play. The personal movie that started this thread failed to play, I did not try more than once.
Attached are: Munsil Fail, Munsil Success, Personal Movie Fail
Preparing to unpack .../plexmediaserver_1.31.1.6638-fad659ac6_amd64.deb ...
PlexMediaServer install: Pre-installation Validation.
PlexMediaServer install: Pre-installation Validation complete.
Unpacking plexmediaserver (1.31.1.6638-fad659ac6) over (1.30.0.6406-f3f2fcc0a) ...
Setting up plexmediaserver (1.31.1.6638-fad659ac6) ...
PlexMediaServer install: PlexMediaServer-1.31.1.6638-fad659ac6 - 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: video
PlexMediaServer install: Metadata Dir: /var/lib/plexmediaserver/Library/Application Support
PlexMediaServer install: Temp Directory: /var/lib/plexmediaserver/transcode-temp (set in Preferences.xml)
PlexMediaServer install: Lang Encoding: en_US.UTF-8
PlexMediaServer install: Processor: Intel(R) Xeon(R) CPU E5-2630L v2 @ 2.40GHz
PlexMediaServer install: Intel i915 Hardware: Not found
PlexMediaServer install: Nvidia GPU card: Found
PlexMediaServer install:
PlexMediaServer install: Completing final configuration.
PlexMediaServer install: Starting Plex Media Server.
PlexMediaServer install: PlexMediaServer-1.31.1.6638-fad659ac6 - Installation successful. Errors: 0, Warnings: 0
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.60.11 Driver Version: 525.60.11 CUDA Version: 12.0 |
|-------------------------------+----------------------+----------------------+
| 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 NVIDIA GeForce ... Off | 00000000:83:00.0 Off | N/A |
| 45% 25C P8 3W / 130W | 3MiB / 6144MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
Plex Media Server Logs_[personal movie fail]_2023-01-28_12-52-55.zip (2.6 MB)
Plex Media Server Logs_[munsil success]_2023-01-28_12-48-12.zip (3.6 MB)
Plex Media Server Logs_[munsil_fail]_2023-01-28_12-54-08.zip (2.8 MB)
Now for the fun part. ![]()
Build 6638 has changed 2 things
- The default decode frame buffer length = 1 (works for most users)
- Build 6638 allows tuning of this buffer length as a hidden pref (until we stabilize it further)
You might need to tune (increase beyond 1 buffer) when:
- non-standard geometry ,
- Crazy ref counts
- High macroblock counts
All these require more GPU decoder memory to complete the task.
Therefore, for this build, you have two options:
- Set a value in Preferences.xml
nvdecExtraFrames="N" - Set a value using CURL or browser directly into the API
curl -X PUT 'http://addr.of.server:32400/:/prefs?nvdecExtraFrames=N&X-Plex-Token=YOUR_TOKEN_HERE'
This allows you to experiment. (PLEASE report findings)
To give an idea, I set a nvdecExtraFrames=16 value.
Video memory consumption increased from 650 → 1580 MB
Therefore, use this sparingly.
Knowing build 6617 had a value of 8, we can extrapolate from there by bisecting until a safe minimum is found (or not).
I REALLY need feedback here please.
Please let me know which minimal value works for ALL your videos (pick all your worst-case stuff)
Let me know the value you use AND the amount of Nvidia memory used (Nvidia-smi)
While this is tagental, I did research on my server (Ubuntu server 20.04.5 LTS)
- Nvidia drivers 515 is what it still recommends.
- I need to go hunting for 525 drivers ( nvidia’s
prime-selectto see 525 ) - I agree the thought of 525 (most recent) is nice but it’s not being forced by the OS nor is it needed for AV1 hardware decoding in the RTX 2070 and above cards.
Yes, that’s just my opinion (insert tasteless joke here – haha)
I am , sincerely, trying to help you all have a good experience so am asking “Bleeding edge is just that – painful”.
I will start testing…
The diver 525 is here: http://international.download.nvidia.com/XFree86/Linux-x86_64/525.60.11/NVIDIA-Linux-x86_64-525.60.11.run
I just use this file to find the most recent driver: nvidia-patch/README.md at master · keylase/nvidia-patch · GitHub
I have found the newer NVIDIA drivers run smoother, so I run them.
I did try downgrading drivers and the issue persisted with Plex.
All I do is wait until a kernel upgrade breaks the module and then I download the latest listed in the README.
I’m testing with the original file that caused issues…
16 frames looks to be optimal for me, I’ll continue testing in my library and advise.
did not play
nvdecExtraFrames="2"
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.60.11 Driver Version: 525.60.11 CUDA Version: 12.0 |
|-------------------------------+----------------------+----------------------+
| 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 NVIDIA GeForce ... Off | 00000000:83:00.0 Off | N/A |
| 45% 27C P8 2W / 130W | 303MiB / 6144MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 2667522 C ...diaserver/Plex Transcoder 300MiB |
+-----------------------------------------------------------------------------+
did not play
nvdecExtraFrames="6"
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.60.11 Driver Version: 525.60.11 CUDA Version: 12.0 |
|-------------------------------+----------------------+----------------------+
| 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 NVIDIA GeForce ... Off | 00000000:83:00.0 Off | N/A |
| 45% 26C P8 3W / 130W | 335MiB / 6144MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 2668414 C ...diaserver/Plex Transcoder 332MiB |
+-----------------------------------------------------------------------------+
did not play
nvdecExtraFrames="8"
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.60.11 Driver Version: 525.60.11 CUDA Version: 12.0 |
|-------------------------------+----------------------+----------------------+
| 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 NVIDIA GeForce ... Off | 00000000:83:00.0 Off | N/A |
| 45% 28C P0 17W / 130W | 351MiB / 6144MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 2660300 C ...diaserver/Plex Transcoder 348MiB |
+-----------------------------------------------------------------------------+
did not play
nvdecExtraFrames="12"
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.60.11 Driver Version: 525.60.11 CUDA Version: 12.0 |
|-------------------------------+----------------------+----------------------+
| 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 NVIDIA GeForce ... Off | 00000000:83:00.0 Off | N/A |
| 45% 26C P8 3W / 130W | 383MiB / 6144MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 2662282 C ...diaserver/Plex Transcoder 380MiB |
+-----------------------------------------------------------------------------+
played
nvdecExtraFrames="14"
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.60.11 Driver Version: 525.60.11 CUDA Version: 12.0 |
|-------------------------------+----------------------+----------------------+
| 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 NVIDIA GeForce ... Off | 00000000:83:00.0 Off | N/A |
| 44% 28C P0 20W / 130W | 271MiB / 6144MiB | 8% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 2663466 C ...diaserver/Plex Transcoder 268MiB |
+-----------------------------------------------------------------------------+
played
nvdecExtraFrames="16"
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.60.11 Driver Version: 525.60.11 CUDA Version: 12.0 |
|-------------------------------+----------------------+----------------------+
| 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 NVIDIA GeForce ... Off | 00000000:83:00.0 Off | N/A |
| 45% 29C P0 18W / 130W | 271MiB / 6144MiB | 3% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 2658207 C ...diaserver/Plex Transcoder 268MiB |
+-----------------------------------------------------------------------------+
played
nvdecExtraFrames="32"
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.60.11 Driver Version: 525.60.11 CUDA Version: 12.0 |
|-------------------------------+----------------------+----------------------+
| 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 NVIDIA GeForce ... Off | 00000000:83:00.0 Off | N/A |
| 45% 29C P0 21W / 130W | 271MiB / 6144MiB | 8% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 2664664 C ...diaserver/Plex Transcoder 268MiB |
+-----------------------------------------------------------------------------+
played
nvdecExtraFrames="64"
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.60.11 Driver Version: 525.60.11 CUDA Version: 12.0 |
|-------------------------------+----------------------+----------------------+
| 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 NVIDIA GeForce ... Off | 00000000:83:00.0 Off | N/A |
| 45% 30C P0 20W / 130W | 271MiB / 6144MiB | 6% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 2665716 C ...diaserver/Plex Transcoder 268MiB |
+-----------------------------------------------------------------------------+
I found a file that would not play at 16, increasing to 32 worked.
nvdecExtraFrames="32"
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.60.11 Driver Version: 525.60.11 CUDA Version: 12.0 |
|-------------------------------+----------------------+----------------------+
| 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 NVIDIA GeForce ... Off | 00000000:83:00.0 Off | N/A |
| 44% 28C P0 22W / 130W | 271MiB / 6144MiB | 3% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 2676994 C ...diaserver/Plex Transcoder 268MiB |
+-----------------------------------------------------------------------------+
Buffer 24 Frames
I have gone through quite a few files, 10 have issues at 16 frames, I’ll try at 24 and 32.
The following are set to 24 frames.
File #1: Played, 268 MB memory used
File #2: Played, 272 MB memory used
File #3: Played, 268 MB memory used
File #4: Played, 272 MB memory used
File #5: Did Not Play, 125 MB memory used
File #6: Played, 272 MB memory used
File #7: Played, 272 MB memory used
File #8: Did Not Play, 115 MB memory used
File #9: Played, 272 MB memory used
File #10: Played, 174 MB memory used
Buffer 32 Frames
The following are set to 32 frames.
File #5: Played, 115 MB memory used
File #8: Played, 105 MB memory used
1080p ?
Yes. Generally everything is 1080p.
so, for you and your video, 32 works.
for others, 1 works.
Then there are the 2, 4, and 8’s
We are working on this but D***** this is a tough one.
It’s really starting to look like a Nvidia fault / departure from how the API is supposed to work.
It seems like a file based issue, not hardware… I’ll do more testing with lower numbers.
I would think it might have something to do with GOP or B-frames, it would be nice if the ideal buffer could be calculated.