# Transcoding Failure - CUDA\_ERROR\_INVALID\_VALUE: invalid argument

**URL:** https://forums.plex.tv/t/transcoding-failure-cuda-error-invalid-value-invalid-argument/825276
**Category:** Plex Media Server
**Tags:** server-linux
**Created:** [January 2, 2023, 9:34pm UTC](https://forums.plex.tv/t/transcoding-failure-cuda-error-invalid-value-invalid-argument/825276 "2023-01-02T21:34:58Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![zenon222](https://avatars.discourse-cdn.com/v4/letter/z/e0b2c6/32.png) [@zenon222](https://forums.plex.tv/u/zenon222)
#### Post date: [January 2, 2023, 9:34pm UTC](https://forums.plex.tv/t/transcoding-failure-cuda-error-invalid-value-invalid-argument/825276/1 "2023-01-02T21:34:58Z")

</div>

Server Version#: Version 1.30.1.6497  
Player Version#: 5.52.3  
Plex for Samsung  
19\_MUSEM\_QTV

If I select a movie from my database to play on my Samsung TV, or the Plex Web interface i see a blank screen with a spinning icon. The media is supposed to be transcoded with nvenc hardware from HEVC to h264.

```auto
[Req#2c9e53/Transcode/majj58glmzmt09j10inbr8bj/4c15124f-dcab-465c-97e3-5c20a62c994d] [hevc @ 0x7fd3330b1540] decoder->cvdl->cuvidDecodePicture(decoder->decoder, &ctx->pic_params) failed -> CUDA_ERROR_INVALID_VALUE: invalid argument
[Req#2c9e55/Transcode/majj58glmzmt09j10inbr8bj/4c15124f-dcab-465c-97e3-5c20a62c994d] [hevc @ 0x7fd3330b1540] hardware accelerator failed to decode picture
[Req#2c9e58/Transcode/majj58glmzmt09j10inbr8bj/4c15124f-dcab-465c-97e3-5c20a62c994d] Error while decoding stream #0:0: Generic error in an external library
[Req#2c9e5b/Transcode/majj58glmzmt09j10inbr8bj/4c15124f-dcab-465c-97e3-5c20a62c994d] [hevc @ 0x7fd3330b1540] No decoder surfaces left

```

---

<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 2, 2023, 10:30pm UTC](https://forums.plex.tv/t/transcoding-failure-cuda-error-invalid-value-invalid-argument/825276/2 "2023-01-02T22:30:45Z")

</div>

May I have the full logs ZIP please ?

Also please tell your Nvidia drivers version and GPU card

---

<div class="post-metadata">

### Author: ![zenon222](https://avatars.discourse-cdn.com/v4/letter/z/e0b2c6/32.png) [@zenon222](https://forums.plex.tv/u/zenon222)
#### Post date: [January 3, 2023, 12:15am UTC](https://forums.plex.tv/t/transcoding-failure-cuda-error-invalid-value-invalid-argument/825276/3 "2023-01-03T00:15:18Z")

</div>

See attached and below.

[Plex Media Server Logs\_2023-01-02\_18-13-31.zip](https://forums.plex.tv/uploads/short-url/36gaEso7VmitlmQpXAbTiDNzXY3.zip) (3.3 MB)

```auto
GPU 0: NVIDIA GeForce GTX 1660 (UUID: GPU-d3341101-7a97-1a26-a016-a3b8528ce6e3)
NVIDIA-SMI 525.60.11 Driver Version: 525.60.11 CUDA Version: 12.0

```

---

<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 3, 2023, 12:43am UTC](https://forums.plex.tv/t/transcoding-failure-cuda-error-invalid-value-invalid-argument/825276/4 "2023-01-03T00:43:34Z")

</div>

Is it difficult for you to install 515.86.01 and retest ?

I have a theory, based on a trend, which I can’t test here with the QNAP GT-1050

---

<div class="post-metadata">

### Author: ![zenon222](https://avatars.discourse-cdn.com/v4/letter/z/e0b2c6/32.png) [@zenon222](https://forums.plex.tv/u/zenon222)
#### Post date: [January 3, 2023, 1:37am UTC](https://forums.plex.tv/t/transcoding-failure-cuda-error-invalid-value-invalid-argument/825276/5 "2023-01-03T01:37:01Z")

</div>

At the moment I have some encodes queued up (directly through ffmpeg) so I’ll have to wait until those are complete.  
I can go down to 515.76, but that takes me back to September, this is an issue that just cropped up a week or two ago. The download date essentially correlates to install date.

```auto
-rwxr-xr-x 1 root root 343M Apr 29 2022 NVIDIA-Linux-x86_64-515.43.04.run
-rwxr-xr-x 1 root root 344M May 27 2022 NVIDIA-Linux-x86_64-515.48.07.run
-rwxr-xr-x 1 root root 347M Jun 24 2022 NVIDIA-Linux-x86_64-515.57.run
-rwxr-xr-x 1 root root 348M Jul 26 00:21 NVIDIA-Linux-x86_64-515.65.01.run
-rwxr-xr-x 1 root root 348M Sep 14 13:58 NVIDIA-Linux-x86_64-515.76.run
-rwxr-xr-x 1 root root 388M Oct 7 14:29 NVIDIA-Linux-x86_64-520.56.06.run
-rwxr-xr-x 1 root root 395M Nov 23 21:15 NVIDIA-Linux-x86_64-525.60.11.run

```

---

<div class="post-metadata">

### Author: ![zenon222](https://avatars.discourse-cdn.com/v4/letter/z/e0b2c6/32.png) [@zenon222](https://forums.plex.tv/u/zenon222)
#### Post date: [January 3, 2023, 1:42am UTC](https://forums.plex.tv/t/transcoding-failure-cuda-error-invalid-value-invalid-argument/825276/6 "2023-01-03T01:42:34Z")

</div>

These would be the general upgrade dates for plex. 1.30.1 upgrade date better aligns with the timeline of the issue.

```auto
-rw-rw-r-- 1 zenon zenon 81M Nov 17 03:30 plexmediaserver_1.30.0.6406-f3f2fcc0a_amd64.deb
-rw-rw-r-- 1 zenon zenon 82M Dec 8 05:03 plexmediaserver_1.30.0.6486-629d58034_amd64.deb
-rw-rw-r-- 1 zenon zenon 82M Dec 14 15:06 plexmediaserver_1.30.1.6497-5fc2e0894_amd64.deb

```

---

<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 3, 2023, 4:48am UTC](https://forums.plex.tv/t/transcoding-failure-cuda-error-invalid-value-invalid-argument/825276/7 "2023-01-03T04:48:20Z")

</div>

> [@zenon222](#):
>
> I can go down to 515.76, but that takes me back to September, this is an issue that just cropped up a week or two ago. The download date essentially correlates to install date.

I asked about 515.86.01 because I have it here as a known stable GPU function point.

Drivers version 525 upgrades Nvidia protocol from version 11.x to 12.0

What we’ll need to do is gather both DEBUG log ZIP sets (525 and 515) from Plex and then I’ll write up, using your log sets for the same video, and submit to Engineering / transcoder team.

If you can achieve full function and stability with Plex by using 515.86.01 then we can reasonably conclude there is an incompatibility with PMS and 12.0 Nvidia drivers.

515 drivers are more than enough for AV1 decode so you aren’t ‘boxed in a corner’ just yet.

This same thing happened when Nvidia went from 8-\>9, 9-\>10, 10-\>11 and here we are again at 12

It’s an eternal chase.

---

<div class="post-metadata">

### Author: ![zenon222](https://avatars.discourse-cdn.com/v4/letter/z/e0b2c6/32.png) [@zenon222](https://forums.plex.tv/u/zenon222)
#### Post date: [January 3, 2023, 5:44pm UTC](https://forums.plex.tv/t/transcoding-failure-cuda-error-invalid-value-invalid-argument/825276/8 "2023-01-03T17:44:14Z")

</div>

Ok, I’ve found the 515.86.01 driver but my encodes are still going so I can’t do the test yet.  
When I do the test, you would like the same zip file I already sent, or do I need to do something different?

---

<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 3, 2023, 6:06pm UTC](https://forums.plex.tv/t/transcoding-failure-cuda-error-invalid-value-invalid-argument/825276/9 "2023-01-03T18:06:59Z")

</div>

Just create another ZIP file from PMS (as PMS always does).  
That’ll be enough.

---

<div class="post-metadata">

### Author: ![zenon222](https://avatars.discourse-cdn.com/v4/letter/z/e0b2c6/32.png) [@zenon222](https://forums.plex.tv/u/zenon222)
#### Post date: [January 4, 2023, 3:07pm UTC](https://forums.plex.tv/t/transcoding-failure-cuda-error-invalid-value-invalid-argument/825276/10 "2023-01-04T15:07:48Z")

</div>

I forgot to run another error log, so I’ll go back around with driver versions to do so.  
515.86.01 now installed:

```auto
NVIDIA-SMI 515.86.01 Driver Version: 515.86.01 CUDA Version: 11.7

```

Video does not play in web browser, video does not play in Samsung TV app, log file attached.

[Plex Media Server Logs\_2023-01-04\_09-06-46.zip](https://forums.plex.tv/uploads/short-url/4lb24fb1HzqSM7XPdGCpex4eE6s.zip) (2.6 MB)

---

<div class="post-metadata">

### Author: ![zenon222](https://avatars.discourse-cdn.com/v4/letter/z/e0b2c6/32.png) [@zenon222](https://forums.plex.tv/u/zenon222)
#### Post date: [January 4, 2023, 3:33pm UTC](https://forums.plex.tv/t/transcoding-failure-cuda-error-invalid-value-invalid-argument/825276/11 "2023-01-04T15:33:42Z")

</div>

525.60.11 now installed:

```auto
NVIDIA-SMI 525.60.11 Driver Version: 525.60.11 CUDA Version: 12.0

```

Video does not play in web browser, video does not play in Samsung TV app, log file attached.

[Plex Media Server Logs\_2023-01-04\_09-30-23.zip](https://forums.plex.tv/uploads/short-url/rlQHMRMQv8Yh4P6uCkX7kuJTbkE.zip) (2.2 MB)

---

<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 4, 2023, 5:33pm UTC](https://forums.plex.tv/t/transcoding-failure-cuda-error-invalid-value-invalid-argument/825276/12 "2023-01-04T17:33:11Z")

</div>

Your logs are showing me either a failing device or a bad installation.

I have the same version, also on a xeon, only difference is your GT-1050 vs my P2200

```auto
failed -> CUDA_ERROR_INVALID_VALUE: invalid argument
Jan 04, 2023 09:01:17.297 [0x7fef7c03fb38] ERROR - [Req#1a0/Transcode/5spzy3ghx4klgh81mohx90o8/fa7a703c-2543-4da5-ba32-a23359b484c6] [hevc @ 0x7f9c31a7d380] hardware accelerator failed to decode picture
Jan 04, 2023 09:01:17.298 [0x7fef7b88fb38] ERROR - [Req#1a1/Transcode/5spzy3ghx4klgh81mohx90o8/fa7a703c-2543-4da5-ba32-a23359b484c6] Error while decoding stream #0:0: Generic error in an external library
Jan 04, 2023 09:01:17.299 [0x7fef7e58fb38] ERROR - [Req#1a2/Transcode/5spzy3ghx4klgh81mohx90o8/fa7a703c-2543-4da5-ba32-a23359b484c6] [hevc @ 0x7f9c31a7d380] No decoder surfaces left
Jan 04, 2023 09:01:17.300 [0x7fef7d719b38] ERROR - [Req#1a3/Transcode/5spzy3ghx4klgh81mohx90o8/fa7a703c-2543-4da5-ba32-a23359b484c6] [hevc @ 0x7f9c31a7d380] decoder->cvdl->cuvidDecodePicture(decoder->decoder, &ctx->pic_params) failed -> CUDA_ERROR_INVALID_VALUE: invalid argument

```

Play this controlled test file  
[Spears & Munsil - Test 01](https://drive.google.com/file/d/1Al8WLkrrtid5YdxQ2yP61H1HKRPUZrBH/view?usp=sharing)

> **[Spears &amp; Munsil UHD HDR Benchmark\_t01.mkv](https://drive.google.com/file/d/1Al8WLkrrtid5YdxQ2yP61H1HKRPUZrBH/view?usp=sharing)**
>
> Google Drive file.

---

<div class="post-metadata">

### Author: ![zenon222](https://avatars.discourse-cdn.com/v4/letter/z/e0b2c6/32.png) [@zenon222](https://forums.plex.tv/u/zenon222)
#### Post date: [January 4, 2023, 6:14pm UTC](https://forums.plex.tv/t/transcoding-failure-cuda-error-invalid-value-invalid-argument/825276/13 "2023-01-04T18:14:59Z")

</div>

I’m downloading the file now.  
I tried re-encoding the same file with ffmpeg directly without issue.

---

<div class="post-metadata">

### Author: ![zenon222](https://avatars.discourse-cdn.com/v4/letter/z/e0b2c6/32.png) [@zenon222](https://forums.plex.tv/u/zenon222)
#### Post date: [January 4, 2023, 7:27pm UTC](https://forums.plex.tv/t/transcoding-failure-cuda-error-invalid-value-invalid-argument/825276/14 "2023-01-04T19:27:26Z")

</div>

I get about 1/3 through the test video and it locks up the Samsung app, the dashboard shows data transfer has stopped.  
I looked at the original file again, it does show a transcoding process that’s doing something throughout the black screen, the dashboard shows that this transcode process is continuing along, but the bandwidth transfer doesn’t show any data being streamed.

**Test Video**  
You can see that it locks-up the TV about 1/3 through the video.

 ![Screenshot from 2023-01-04 13-06-03](https://global.discourse-cdn.com/plex/original/4X/4/b/1/4b11c4c56c30c4695781d184ecde1c5525670ba2.png)

**Original Video**  
Here you can see the transcoder process is continuing along even though my TV shows a blank screen.

```auto
Wed Jan 4 13:10:57 2023       
+-----------------------------------------------------------------------------+
| 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 | 311MiB / 6144MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 58441 C ...diaserver/Plex Transcoder 308MiB |
+-----------------------------------------------------------------------------+

```

Here you can see the dashboard shows the movie is playing, but in fact nothing his been displayed on my screen and no data has been transferred out.

 ![Screenshot from 2023-01-04 13-11-56](https://global.discourse-cdn.com/plex/original/4X/0/0/0/000675afb8459222945010c3332b4fe5bb183d96.png)

After about 10 minutes the dashboard shows the Samsung player disappear, and the transcode process also disappears from nvidia-smi.

This is all with the CUDA 12 driver, I’ll go back to the CUDA 11 driver and retry.

You can see my GPU is 26C, this is typical because it sits in a headless server and is only used for transcoding, if you think it’s truly a hardware issue I can try taking off the heatsink and reapplying with silver paste, but I really don’t think this will make a difference… What about if I re-encoded a movie several times with ffmpeg and did a bit comparison?  
For example if a 2hr long media file the file is bit for bit identical I doubt it’s a hardware issue.

[Plex Media Server Logs\_2023-01-04\_13-24-33.zip](https://forums.plex.tv/uploads/short-url/mmXjnTZ7JnI9MENvv0yM9kX7gAO.zip) (2.4 MB)

---

<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 4, 2023, 7:46pm UTC](https://forums.plex.tv/t/transcoding-failure-cuda-error-invalid-value-invalid-argument/825276/15 "2023-01-04T19:46:52Z")

</div>

Is this log file

```auto
Jan 04, 2023 13:11:46.570 [0x7f417aa1fb38] ERROR - [Req#268ee/Transcode/c4v3y71oqqfys97r2s9trrpw/de0c969b-e4f1-48d1-8aaa-85ed16971fd7] [hevc @ 0x7ff04e215500] decoder->cvdl->cuvidDecodePicture(decoder->decoder, &ctx->pic_params) failed -> CUDA_ERROR_INVALID_VALUE: invalid argument
Jan 04, 2023 13:11:46.570 [0x7f417d6b9b38] ERROR - [Req#268ef/Transcode/c4v3y71oqqfys97r2s9trrpw/de0c969b-e4f1-48d1-8aaa-85ed16971fd7] [hevc @ 0x7ff04e215500] hardware accelerator failed to decode picture
Jan 04, 2023 13:11:46.571 [0x7f417c09ab38] ERROR - [Req#268f0/Transcode/c4v3y71oqqfys97r2s9trrpw/de0c969b-e4f1-48d1-8aaa-85ed16971fd7] Error while decoding stream #0:0: Generic error in an external library
Jan 04, 2023 13:11:46.574 [0x7f417edaab38] ERROR - [Req#268f1/Transcode/c4v3y71oqqfys97r2s9trrpw/de0c969b-e4f1-48d1-8aaa-85ed16971fd7] [hevc @ 0x7ff04e215500] No decoder surfaces left
Jan 04, 2023 13:11:46.575 [0x7f417c82fb38] ERROR - [Req#268f2/Transcode/c4v3y71oqqfys97r2s9trrpw/de0c969b-e4f1-48d1-8aaa-85ed16971fd7] [hevc @ 0x7ff04e215500] decoder->cvdl->cuvidDecodePicture(decoder->decoder, &ctx->pic_params) failed -> CUDA_ERROR_INVALID_VALUE: invalid argument
Jan 04, 2023 13:11:46.575 [0x7f417aa1fb38] ERROR - [Req#268f3/Transcode/c4v3y71oqqfys97r2s9trrpw/de0c969b-e4f1-48d1-8aaa-85ed16971fd7] [hevc @ 0x7ff04e215500] hardware accelerator failed to decode picture
Jan 04, 2023 13:11:46.576 [0x7f417d6b9b38] ERROR - [Req#268f4/Transcode/c4v3y71oqqfys97r2s9trrpw/de0c969b-e4f1-48d1-8aaa-85ed16971fd7] Error while decoding stream #0:0: Generic error in an external library

```

from playing the video file I gave you?

If so, the problem is not Plex

If I take the message literally, it means your card cannot decode HEVC HDR @ 2160p

Who made it again ? (GT-1050’s are produced by a whole bunch of people each with their own firmware installed)

Don’t re-encode anything. That’s just ASKING for trouble.

At this point in time, I don’t care about the Samsung app.

Plex/web “basic” playback is more than enough.

---

<div class="post-metadata">

### Author: ![zenon222](https://avatars.discourse-cdn.com/v4/letter/z/e0b2c6/32.png) [@zenon222](https://forums.plex.tv/u/zenon222)
#### Post date: [January 4, 2023, 10:27pm UTC](https://forums.plex.tv/t/transcoding-failure-cuda-error-invalid-value-invalid-argument/825276/16 "2023-01-04T22:27:59Z")

</div>

Okay, I played in the web browser your test file and it failed at 6:27, see below. This is the 1st time I’ve seen an actual error when the stream stops playing. The log is attached.

I played the video 2x, it froze at the same point both times.

 ![Screenshot from 2023-01-04 15-27-09](https://global.discourse-cdn.com/plex/original/4X/1/a/c/1accf4a912fcfa8d20540588222870e587c21550.jpeg)

The video card was manufactured by MSI:

 ![msi-geforce-gtx-1660-ventus-xs-6g-datasheet](https://global.discourse-cdn.com/plex/original/4X/6/2/e/62e861506671c4b0f3202ca2494b405b4f258bc0.jpeg)

[Plex Media Server Logs\_2023-01-04\_16-21-45.zip](https://forums.plex.tv/uploads/short-url/qm28y1smUUVPg9DrQrhznITXmxU.zip) (2.7 MB)

---

<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 5, 2023, 12:21am UTC](https://forums.plex.tv/t/transcoding-failure-cuda-error-invalid-value-invalid-argument/825276/17 "2023-01-05T00:21:30Z")

</div>

This error is either :

1. Transcoder temp is truly full  
-or-
2. hanging up on the Dolby TrueHD problem (1.30.x)

```auto
Jan 04, 2023 16:19:01.989 [0x7f418111eb38] INFO - Plex Media Server v1.30.1.6497-5fc2e0894 - Ubuntu PC x86_64 - build: linux-x86_64 debian - GMT -06:00
Jan 04, 2023 16:19:01.989 [0x7f418111eb38] INFO - Linux version: 22.04.1 LTS (Jammy Jellyfish), language: en-US
Jan 04, 2023 16:19:01.989 [0x7f418111eb38] INFO - Processor: 24-core Intel(R) Xeon(R) CPU E5-2630L v2 @ 2.40GHz
Jan 04, 2023 16:19:01.989 [0x7f418111eb38] INFO - Compiler is - Clang 11.0.1 (https://plex.tv 9b997da8e5b47bdb4a9425b3a3b290be393b4b1f)
Jan 04, 2023 16:19:01.989 [0x7f418111eb38] INFO - /usr/lib/plexmediaserver/Plex Media Server
Jan 04, 2023 16:19:01.985 [0x7f4170504b38] ERROR - [Req#55f9c/Transcode/scagxljzf6ommnkg9iv0oicg/99bcbee0-557e-4765-b82c-29515301d8a6] Error while decoding stream #0:1: No space left on device
Jan 04, 2023 16:19:01.986 [0x7f415fbf9b38] ERROR - [Req#55f9d/Transcode/scagxljzf6ommnkg9iv0oicg/99bcbee0-557e-4765-b82c-29515301d8a6] Error while decoding stream #0:1: No space left on device
Jan 04, 2023 16:19:01.986 [0x7f417a672b38] ERROR - [Req#55f9e/Transcode/scagxljzf6ommnkg9iv0oicg/99bcbee0-557e-4765-b82c-29515301d8a6] Error while decoding stream #0:1: No space left on device
Jan 04, 2023 16:19:01.989 [0x7f417a46fb38] ERROR - [Req#55f9f/Transcode/scagxljzf6ommnkg9iv0oicg/99bcbee0-557e-4765-b82c-29515301d8a6] Error while decoding stream #0:1: No space left on device
Jan 04, 2023 16:19:01.991 [0x7f415fbf9b38] ERROR - [Req#55fa1/Transcode/scagxljzf6ommnkg9iv0oicg/99bcbee0-557e-4765-b82c-29515301d8a6] Error while decoding stream #0:1: No space left on device

```

---

<div class="post-metadata">

### Author: ![zenon222](https://avatars.discourse-cdn.com/v4/letter/z/e0b2c6/32.png) [@zenon222](https://forums.plex.tv/u/zenon222)
#### Post date: [January 5, 2023, 3:15am UTC](https://forums.plex.tv/t/transcoding-failure-cuda-error-invalid-value-invalid-argument/825276/18 "2023-01-05T03:15:46Z")

</div>

I watched the transcoding folder, it never exceeded 500 MB, so the device definitely has plenty of room. There has always been an issue with transcoded files stopping short a minute or two.  
You’re saying this is a known issue with no fix?

Going back to my files that used to play, but won’t play anymore, any ideas?  
Below are the video stream characteristics:

```auto
Video
ID : 1
ID in the original source medium : 4113 (0x1011)
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main@L5@Main
Codec ID : V_MPEGH/ISO/HEVC
Duration : 2 h 0 min
Bit rate : 29.9 Mb/s
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 23.976 FPS
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Bits/(Pixel*Frame) : 0.602
Stream size : 25.1 GiB (90%)
Writing library : Lavc58.54.100 hevc_nvenc
Language : English
Default : No
Forced : No
Color range : Limited

```

---

<div class="post-metadata">

### Author: ![zenon222](https://avatars.discourse-cdn.com/v4/letter/z/e0b2c6/32.png) [@zenon222](https://forums.plex.tv/u/zenon222)
#### Post date: [January 7, 2023, 12:08am UTC](https://forums.plex.tv/t/transcoding-failure-cuda-error-invalid-value-invalid-argument/825276/19 "2023-01-07T00:08:52Z")

</div>

I downgraded the plex server and the video plays fine, logs attached.  
Do you want me to install a different version to test?

```auto
plexmediaserver_1.30.0.6406-f3f2fcc0a_amd64.deb

```

```auto
Fri Jan 6 18:06:45 2023       
+-----------------------------------------------------------------------------+
| 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% 29C P0 17W / 130W | 297MiB / 6144MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1105983 C ...diaserver/Plex Transcoder 294MiB |
+-----------------------------------------------------------------------------+

```

[Plex Media Server Logs\_2023-01-06\_18-04-56.zip](https://forums.plex.tv/uploads/short-url/zshbvHGG5O4tRpzgD3hWKovs8Ek.zip) (4.8 MB)

---

<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 7, 2023, 12:23am UTC](https://forums.plex.tv/t/transcoding-failure-cuda-error-invalid-value-invalid-argument/825276/20 "2023-01-07T00:23:23Z")

</div>

> [@zenon222](#):
>
> You’re saying this is a known issue with no fix?

This is a KNOWN issue.

The FIX is already set to be included in the next PMS release.

[Next page](https://forums.plex.tv/t/transcoding-failure-cuda-error-invalid-value-invalid-argument/825276.md?page=2)
