# 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:** 6\
**Page:** 4

<div class="post-metadata">

**Author:** ![mg3571](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@mg3571](https://forums.plex.tv/u/mg3571)\
**Post date:** [March 10, 2023, 9:17pm UTC](https://forums.plex.tv/t/transcoding-failure-cuda-error-invalid-value-invalid-argument/825276/61 "2023-03-10T21:17:39Z")

</div>

Thanks but still no dice. I have changed it in the past from `/dev/dri/renderD128` to `/dev/dri/renderD129` when HW transcoding wasn’t working and that seemed to fix the issue for a few weeks until it broke again.

I did also try `1.29.2.6364-6d72b0cf6` a few weeks back which also fixed my issue until this new release. Unfortunately rolling back to that version didn’t solve the issue.

---

<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, 9:20pm UTC](https://forums.plex.tv/t/transcoding-failure-cuda-error-invalid-value-invalid-argument/825276/62 "2023-03-10T21:20:18Z")

</div>

> [@mg3571](#):
>
> I did also try `1.29.2.6364-6d72b0cf6` a few weeks back which also fixed my issue until this new release. Unfortunately rolling back to that version didn’t solve the issue.

If bouncing versions doesn’t fix the issue then the root cause isn’t Plex.

Something else has happened there.

You might want to remove ALL the nvidia packages, rebuild the initramfs, reboot  
then install the default `nvidia-drivers` package for your machine and let them come in clean. (this is how we test)

---

<div class="post-metadata">

**Author:** ![nika1667](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/nika1667/32/168383_2.png) [@nika1667](https://forums.plex.tv/u/nika1667)\
**Post date:** [March 10, 2023, 9:38pm UTC](https://forums.plex.tv/t/transcoding-failure-cuda-error-invalid-value-invalid-argument/825276/63 "2023-03-10T21:38:52Z")

</div>

Yes, I am running an ubuntu vm on proxmox. Plex is running in a docker container inside this vm. Updated drivers and tried again with the same error. I let it try to play a while, stopped play back and download the logs again  
[Plex Media Server Logs\_2023-03-10\_21-34-57.zip](https://forums.plex.tv/uploads/short-url/lCsPZH2ryIMRvfYOqLh4UX3C3qh.zip) (1.8 MB)

![image](https://global.discourse-cdn.com/plex/original/4X/2/d/e/2def576b11fb107e85681da6b1e504b5fb4704d6.png)

---

<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, 9:54pm UTC](https://forums.plex.tv/t/transcoding-failure-cuda-error-invalid-value-invalid-argument/825276/64 "2023-03-10T21:54:09Z")

</div>

HUH?

Proxmox → Ubuntu VM → Docker container?

ARE YOU MAD? 🤣

Run the native Plex app in the VM. Docker is adding another layer of crap you don’t need.

1. Proxmox + docker  
-or-
2. Proxmox + VM

Not both!

Have you seen this???

> [@Great Turotial on Plex HW Acceleration with Proxmox](https://forums.plex.tv/t/great-turotial-on-plex-hw-acceleration-with-proxmox/827673):
>
> Continuing the discussion from [Plex HW acceleration in LXC container - anyone with success?](https://forums.plex.tv/t/plex-hw-acceleration-in-lxc-container-anyone-with-success/219289/35): Hude shout out to constiens for the great tutorial! Been using this same info for 2+ years to get NVIDIA GPU (1660 Super still going strong!) Hardware acceleration to work with Plex Server running as a container inside of Proxmox 7.3. Quick note as many others have mentioned in the threat – all newer versions of Proxmox require lxc.cgroup.devices.allow commands to be changed to lxc.cgroup2.device…

PS: If I could get proxmox to boot on my BabyNUC, I’d help with How-To’s. but it won’t detect the USB boot. It detects UNRAID just fine so not BIOS

---

<div class="post-metadata">

**Author:** ![mg3571](https://avatars.discourse-cdn.com/v4/letter/m/f17d59/32.png) [@mg3571](https://forums.plex.tv/u/mg3571)\
**Post date:** [March 11, 2023, 11:45am UTC](https://forums.plex.tv/t/transcoding-failure-cuda-error-invalid-value-invalid-argument/825276/65 "2023-03-11T11:45:30Z")

</div>

Thank you, that seems to have worked now. Ended up resintalling all the drivers and transcoding works fine on `1.31.2.6783`

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [June 9, 2023, 11:45am UTC](https://forums.plex.tv/t/transcoding-failure-cuda-error-invalid-value-invalid-argument/825276/66 "2023-06-09T11:45:47Z")

</div>

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

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