# Transcoding broken after latest update (only on certain files)

**URL:** <https://forums.plex.tv/t/transcoding-broken-after-latest-update-only-on-certain-files/826461>\
**Category:** Plex Media Server\
**Tags:** server-unraid\
**Created:** [January 11, 2023, 7:29pm UTC](https://forums.plex.tv/t/transcoding-broken-after-latest-update-only-on-certain-files/826461 "2023-01-11T19:29:03Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![jcouch93](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@jcouch93](https://forums.plex.tv/u/jcouch93)\
**Post date:** [January 11, 2023, 7:29pm UTC](https://forums.plex.tv/t/transcoding-broken-after-latest-update-only-on-certain-files/826461/1 "2023-01-11T19:29:03Z")

</div>

Server Version#: 1.30.1.6562  
Player Version#: 4.98.2

UnRAID server with PMS running in a docker using an nVidia 1660 Ti with driver 525.78.01.

After the auto update of the Plex container from 1.30.0.6486 to 1.30.1.6562, nVidia-SMI shows a transcode when trying to play the file but the player only sits on the loading screen with a spinning cursor and never plays it (but the Dashboard shows it as playing).

If I uncheck “Use hardware-accelerated video encoding” then file plays fine (but obviously doesn’t use the GPU for encoding).

Log snippet:  
Jan 11, 2023 10:21:34.936 [0x14cee1a38b38] Error — [Req#1998c/Transcode/mff58ubc8ggvwc53purztpeh/9f425c66-15e7-42f6-83d0-3f444db6dae1] Error while decoding stream #0:0: Generic error in an external library  
Jan 11, 2023 10:21:34.937 [0x14ceefeecb38] Error — [Req#1998f/Transcode/mff58ubc8ggvwc53purztpeh/9f425c66-15e7-42f6-83d0-3f444db6dae1] [hevc @ 0x146624574280] Could not find ref with POC 14  
Jan 11, 2023 10:21:34.938 [0x14ceee87db38] Error — [Req#19992/Transcode/mff58ubc8ggvwc53purztpeh/9f425c66-15e7-42f6-83d0-3f444db6dae1] [hevc @ 0x146624574280] No decoder surfaces left  
Jan 11, 2023 10:21:34.939 [0x14cee1a38b38] Error — [Req#19995/Transcode/mff58ubc8ggvwc53purztpeh/9f425c66-15e7-42f6-83d0-3f444db6dae1] [hevc @ 0x146624574280] decoder-\>cvdl-\>cuvidDecodePicture(decoder-\>decoder, &ctx-\>pic\_params) failed → CUDA\_ERROR\_INVALID\_VALUE: invalid argument  
Jan 11, 2023 10:21:34.939 [0x14ceefeecb38] Error — [Req#19998/Transcode/mff58ubc8ggvwc53purztpeh/9f425c66-15e7-42f6-83d0-3f444db6dae1] [hevc @ 0x146624574280] hardware accelerator failed to decode picture

[Plex Media Server Logs\_2023-01-11\_14-17-12.zip](https://forums.plex.tv/uploads/short-url/hUVNub9SLNInWwgYCRNNwvzbS4R.zip) (2.5 MB)

---

<div class="post-metadata">

**Author:** ![enJOyIT](https://avatars.discourse-cdn.com/v4/letter/e/dc4da7/32.png) [@enJOyIT](https://forums.plex.tv/u/enJOyIT)\
**Post date:** [January 12, 2023, 9:20am UTC](https://forums.plex.tv/t/transcoding-broken-after-latest-update-only-on-certain-files/826461/2 "2023-01-12T09:20:18Z")

</div>

Same problem here…

annyoing  
Nvidia RTX A2000 here…

nvidia driver version: 525.78.01  
debian buster

---

<div class="post-metadata">

**Author:** ![wesley9406](https://avatars.discourse-cdn.com/v4/letter/w/dc4da7/32.png) [@wesley9406](https://forums.plex.tv/u/wesley9406)\
**Post date:** [January 13, 2023, 7:51am UTC](https://forums.plex.tv/t/transcoding-broken-after-latest-update-only-on-certain-files/826461/3 "2023-01-13T07:51:42Z")

</div>

Same problem, same error messages

NVIDIA GeForce GTX 1050 Ti   
Nvidia Driver Version: 525.78.01

---

<div class="post-metadata">

**Author:** ![mwieger](https://avatars.discourse-cdn.com/v4/letter/m/41988e/32.png) [@mwieger](https://forums.plex.tv/u/mwieger)\
**Post date:** [January 19, 2023, 1:45am UTC](https://forums.plex.tv/t/transcoding-broken-after-latest-update-only-on-certain-files/826461/4 "2023-01-19T01:45:48Z")

</div>

Same exact problem here with the same log output.

NVIDIA GeForce 1060  
Driver 525.78.01 - tried rolling this back but did not help so came back to current

---

<div class="post-metadata">

**Author:** ![Shu\_lya](https://avatars.discourse-cdn.com/v4/letter/s/a183cd/32.png) [@Shu\_lya](https://forums.plex.tv/u/Shu_lya)\
**Post date:** [January 19, 2023, 2:46am UTC](https://forums.plex.tv/t/transcoding-broken-after-latest-update-only-on-certain-files/826461/5 "2023-01-19T02:46:25Z")

</div>

Hi,

Same problem here  
Running UnRAID  
Nvidia RTX A5000  
Plex on docker container, some HEVC files (not all) not playing at all, stuck buffering at the beginning of the files but never starts.

This happens since version 1.30.1.6562 (linuxserver/plex:1.30.1)  
Rolled back to 1.30.0.6486 (linuxserver/plex:1.30.0), everything works fine with this version.

---

<div class="post-metadata">

**Author:** ![FordGuy61](https://avatars.discourse-cdn.com/v4/letter/f/22d042/32.png) [@FordGuy61](https://forums.plex.tv/u/FordGuy61)\
**Post date:** [January 19, 2023, 5:20am UTC](https://forums.plex.tv/t/transcoding-broken-after-latest-update-only-on-certain-files/826461/6 "2023-01-19T05:20:09Z")

</div>

The Nvidia 525+ drivers cause problems with PMS on Linux. Might try rolling back to 515.86.01.

> [@Latest update has rendered my plex server un usable!](https://forums.plex.tv/t/latest-update-has-rendered-my-plex-server-un-usable/826455/14):
>
> Folks. I am finding that CUDA SDK v12.0 is a problem. (That’s Nvidia 525 drivers and above) The 1.30.x series also introduces AV1 Hardware Decoding support for transcoding. I have confirmed: CUDA SDK 11.7 is good enough to HW decode AV1 QNAP: QTS [~] # /share/Public/Nvidia-SMI Mon Jan 16 23:43:46 2023 +-----------------------------------------------------------------------------+ | NVIDIA-SMI 515.48.07 Driver Version: 515.48.07 CUDA Version: 11.7 | |--------------…

---

<div class="post-metadata">

**Author:** ![mwieger](https://avatars.discourse-cdn.com/v4/letter/m/41988e/32.png) [@mwieger](https://forums.plex.tv/u/mwieger)\
**Post date:** [January 19, 2023, 5:32am UTC](https://forums.plex.tv/t/transcoding-broken-after-latest-update-only-on-certain-files/826461/7 "2023-01-19T05:32:03Z")

</div>

I saw that over in the other thread. I did the roll back on drivers to 515.86.01 but it still did not work with any 1.30.x version of PMS. Reverting back to 1.29 solves the issue for now.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [January 19, 2023, 5:44am UTC](https://forums.plex.tv/t/transcoding-broken-after-latest-update-only-on-certain-files/826461/8 "2023-01-19T05:44:35Z")

</div>

Was the host restarted after downgrading the Nvidia driver ?  
(The kernel won’t unload 525 once loaded)

---

<div class="post-metadata">

**Author:** ![mwieger](https://avatars.discourse-cdn.com/v4/letter/m/41988e/32.png) [@mwieger](https://forums.plex.tv/u/mwieger)\
**Post date:** [January 19, 2023, 5:56am UTC](https://forums.plex.tv/t/transcoding-broken-after-latest-update-only-on-certain-files/826461/9 "2023-01-19T05:56:55Z")

</div>

Correct. Host was rebooted. I also rebooted between each attempt of the 1.30.x versions. 1.29.0 is stable with the 515.86.1 drivers.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [January 19, 2023, 6:57am UTC](https://forums.plex.tv/t/transcoding-broken-after-latest-update-only-on-certain-files/826461/10 "2023-01-19T06:57:04Z")

</div>

@mwieger

A couple things. What type media are you trying to play? HEVC and H.264?

I’m able to confirm HEVC, HDR, with anything 515.86.01 and the version before on 1.30.2

I tested this on Ubuntu with Plex docker and LSIO docker, QNAP, and Ubuntu Server native.

---

<div class="post-metadata">

**Author:** ![mwieger](https://avatars.discourse-cdn.com/v4/letter/m/41988e/32.png) [@mwieger](https://forums.plex.tv/u/mwieger)\
**Post date:** [January 19, 2023, 1:44pm UTC](https://forums.plex.tv/t/transcoding-broken-after-latest-update-only-on-certain-files/826461/11 "2023-01-19T13:44:26Z")

</div>

All of my media is HEVC and under 1.30.x with rolled back NVIDIA drivers I still get the same error output as the original poster showed. 1.29 fixes the issue.

I will say it seems to be triggered at the beginning of play when the system is determining to transcode or not. Manually setting playback to 2mbps transcode does not trigger the issue. I say that because I do not think it is a codec problem, because the system will transcode if manually told to do so. So something between 1.29 and 1.30.x changed something in this sequence.

---

<div class="post-metadata">

**Author:** ![byrddogg77](https://avatars.discourse-cdn.com/v4/letter/b/6f9a4e/32.png) [@byrddogg77](https://forums.plex.tv/u/byrddogg77)\
**Post date:** [January 22, 2023, 1:28am UTC](https://forums.plex.tv/t/transcoding-broken-after-latest-update-only-on-certain-files/826461/12 "2023-01-22T01:28:24Z")

</div>

Hi All,  
I originally follow the video by SpaceInvaderOne on YouTube for setting up my Nvidia Hardware Decoding on Unraid for PMS, it has been working for years, but not it doesn’t work after a recent upgrade to Plex or Unraid. I have “Use Hardware Acceleration when available” checked under Transcoder and I have entered my GPU ID into the Plex Docker Container settings along with --runtine=nvidia. I don’t really know what else is required. I wish I could find a simple 10 step guide to enabling this it seems so confusing having to use 3rd party sources to figure this out. I need some help, this shouldn’t be this hard to get HW Transcoding to work. Nvidia Driver Version: 515.86.01

---

<div class="post-metadata">

**Author:** ![mwieger](https://avatars.discourse-cdn.com/v4/letter/m/41988e/32.png) [@mwieger](https://forums.plex.tv/u/mwieger)\
**Post date:** [January 22, 2023, 2:34pm UTC](https://forums.plex.tv/t/transcoding-broken-after-latest-update-only-on-certain-files/826461/13 "2023-01-22T14:34:00Z")

</div>

They are having an issue with it on the latest versions. We have to roll back to pms 1.29 for now.

---

<div class="post-metadata">

**Author:** ![byrddogg77](https://avatars.discourse-cdn.com/v4/letter/b/6f9a4e/32.png) [@byrddogg77](https://forums.plex.tv/u/byrddogg77)\
**Post date:** [January 23, 2023, 11:30pm UTC](https://forums.plex.tv/t/transcoding-broken-after-latest-update-only-on-certain-files/826461/14 "2023-01-23T23:30:22Z")

</div>

Thanks, but I have no idea how to roll back PMS on Unraid. I might have to wait for PMS 1.31… as I only know how to roll up.

---

<div class="post-metadata">

**Author:** ![mwieger](https://avatars.discourse-cdn.com/v4/letter/m/41988e/32.png) [@mwieger](https://forums.plex.tv/u/mwieger)\
**Post date:** [January 24, 2023, 2:26am UTC](https://forums.plex.tv/t/transcoding-broken-after-latest-update-only-on-certain-files/826461/15 "2023-01-24T02:26:29Z")

</div>

Not sure which repository you are using but you do it by hitting edit on the docker and adding a colon and the version behind it. Like I did here.

 ![image](https://global.discourse-cdn.com/plex/original/4X/3/5/a/35a36f75fa55ccc94d6810554c91c9bc5242ff99.jpeg)

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [January 26, 2023, 2:20am UTC](https://forums.plex.tv/t/transcoding-broken-after-latest-update-only-on-certain-files/826461/16 "2023-01-26T02:20:59Z")

</div>

### To all following here:

1. We have identified the issue with Nvidia 525+ drivers and now have a candidate change to PMS.

2. We identified the issue with certain 1080p input files failing to HW transcode.

I have both DEB and RPM files (Engineering development – No QA) for testing.

There will be another update before we complete this work

I would appreciate feedback at your earliest convenience.

> **[plexmediaserver-1.31.1.6617-cbcbc6f56.x86\_64.rpm](https://drive.google.com/file/d/1_m5Amr3bv95huiiThA0RYmrtdlfhHsI-/view?usp=sharing)**
>
> Google Drive file.

> **[plexmediaserver\_1.31.1.6617-cbcbc6f56\_amd64.deb](https://drive.google.com/file/d/1DSKn4fAoy_uVNda-ShbCsKNfLh6K29fb/view?usp=sharing)**
>
> Google Drive file.

Thanks.

---

<div class="post-metadata">

**Author:** ![jcouch93](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@jcouch93](https://forums.plex.tv/u/jcouch93)\
**Post date:** [March 10, 2023, 7:04pm UTC](https://forums.plex.tv/t/transcoding-broken-after-latest-update-only-on-certain-files/826461/17 "2023-03-10T19:04:40Z")

</div>

Just tried the latest Public version (1.31.1.6782) and still can’t play certain files, I’m getting the “No decoder surfaces left” error and “out of memory” errors. nVidia driver v525.78.01 I rolled back to 1.29.2.6364 and issues no longer occur.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [March 10, 2023, 7:30pm UTC](https://forums.plex.tv/t/transcoding-broken-after-latest-update-only-on-certain-files/826461/18 "2023-03-10T19:30:02Z")

</div>

Need logs ZIP file which captures this failure

If possible, a sample of the file so I may recreate it

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [March 10, 2023, 7:33pm UTC](https://forums.plex.tv/t/transcoding-broken-after-latest-update-only-on-certain-files/826461/19 "2023-03-10T19:33:14Z")

</div>

> [@byrddogg77](#):
>
> Thanks, but I have no idea how to roll back PMS on Unraid. I might have to wait for PMS 1.31… as I only know how to roll up.

To roll back or forward in docker,

1. With `/config` mapped to persistent storage (not deleted)
2. Delete the container
3. Change the spec to call for a specific image version, e.g.
4. Create the container again ON TOP OF the original container.

(example from a `docker run`)

```auto
-v /vie:/data \
-v /glock:/glock \
--device=/dev/dri:/dev/dri \
plexinc/pms-docker:1.29.2.6364-6d72b0cf6 

```

---

<div class="post-metadata">

**Author:** ![jcouch93](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@jcouch93](https://forums.plex.tv/u/jcouch93)\
**Post date:** [March 10, 2023, 8:31pm UTC](https://forums.plex.tv/t/transcoding-broken-after-latest-update-only-on-certain-files/826461/20 "2023-03-10T20:31:18Z")

</div>

Will get those files for you. I’ll let you know when I have them and will send a PM with a GDrive link to the file. Thank you!

[Next page](https://forums.plex.tv/t/transcoding-broken-after-latest-update-only-on-certain-files/826461.md?page=2)
