# Hardware Accelerated Decode (Nvidia) for Linux

**URL:** <https://forums.plex.tv/t/hardware-accelerated-decode-nvidia-for-linux/233510>\
**Category:** Feature Suggestions\
**Created:** [April 23, 2018, 10:09am UTC](https://forums.plex.tv/t/hardware-accelerated-decode-nvidia-for-linux/233510 "2018-04-23T10:09:09Z")\
**Posts on this page:** 20\
**Page:** 20

<div class="post-metadata">

**Author:** ![tixetsal](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tixetsal/32/185122_2.png) [@tixetsal](https://forums.plex.tv/u/tixetsal)\
**Post date:** [April 9, 2019, 3:24am UTC](https://forums.plex.tv/t/hardware-accelerated-decode-nvidia-for-linux/233510/394 "2019-04-09T03:24:09Z")

</div>

I can’t speak for Chuck, but there’s some really great info here: [HW transcoding isn’t working smoothly with Nvidia GPU](https://forums.plex.tv/t/hw-transcoding-isn-t-working-smoothly-with-nvidia-gpu/382006/78?u=tixetsal)

---

<div class="post-metadata">

**Author:** ![revr3nd](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@revr3nd](https://forums.plex.tv/u/revr3nd)\
**Post date:** [April 9, 2019, 5:19am UTC](https://forums.plex.tv/t/hardware-accelerated-decode-nvidia-for-linux/233510/395 "2019-04-09T05:19:28Z")

</div>

This is great news to see! I look forward seeing it all baked in

---

<div class="post-metadata">

**Author:** ![andy\_d0](https://avatars.discourse-cdn.com/v4/letter/a/59ef9b/32.png) [@andy\_d0](https://forums.plex.tv/u/andy_d0)\
**Post date:** [April 21, 2019, 1:40pm UTC](https://forums.plex.tv/t/hardware-accelerated-decode-nvidia-for-linux/233510/396 "2019-04-21T13:40:45Z")

</div>

Sorry for the tangent question…

For those of you running this - are you on Ubuntu Server? I’m considering the move from Windows Server to Unraid but not sure what the best handling is for Plex. I was going to install in Ubuntu Server

---

<div class="post-metadata">

**Author:** ![tixetsal](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tixetsal/32/185122_2.png) [@tixetsal](https://forums.plex.tv/u/tixetsal)\
**Post date:** [April 21, 2019, 1:56pm UTC](https://forums.plex.tv/t/hardware-accelerated-decode-nvidia-for-linux/233510/397 "2019-04-21T13:56:47Z")

</div>

We are all on different distros in this thread, some of them unsupported based on what I’ve read. I’m using Arch, which is not supported, but the package I use is built from the the source that’s used to create the .deb file for Ubuntu. People who are running on other distros are probably savvy enough to not need basic support or know how to ask the question without making which specific distro they’re using part of the equation. I don’t say that to be an elitist ■■■■■.

I say all of that because if you want support on the forums for other issues, you should use one of the officially supported distros, like Ubuntu. If you’re just starting out with Linux, Ubuntu is a great place to start. I got my feet wet with Linux way back on Ubuntu 8.04. I hope that helps.

---

<div class="post-metadata">

**Author:** ![revr3nd](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@revr3nd](https://forums.plex.tv/u/revr3nd)\
**Post date:** [April 21, 2019, 2:10pm UTC](https://forums.plex.tv/t/hardware-accelerated-decode-nvidia-for-linux/233510/398 "2019-04-21T14:10:46Z")

</div>

Andy, as tixtesal said, Plex works great on several distros. I would recommend Ubuntu 18.04 if you are getting your feet wet as it is a very common distro here and will be easiest to find support.

---

<div class="post-metadata">

**Author:** ![misha\_nasledov](https://avatars.discourse-cdn.com/v4/letter/m/bc8723/32.png) [@misha\_nasledov](https://forums.plex.tv/u/misha_nasledov)\
**Post date:** [April 23, 2019, 10:55pm UTC](https://forums.plex.tv/t/hardware-accelerated-decode-nvidia-for-linux/233510/399 "2019-04-23T22:55:49Z")

</div>

Wow, when is this ‘-hwaccel nvdec’ option going to be enabled that I don’t have to modify the transcoder script?

For playing a 4K movie, this made the difference between the transcoder process using up 1000% CPU and 100% CPU looking at top. It loads up the GPU way more, too. Without the flag, the transcoder process shows up in nvidia-smi but only chewing up like 150MB instead of 1.5GB of the video RAM.

---

<div class="post-metadata">

**Author:** ![TeknoJunky](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/teknojunky/32/165055_2.png) [@TeknoJunky](https://forums.plex.tv/u/TeknoJunky)\
**Post date:** [April 24, 2019, 1:37am UTC](https://forums.plex.tv/t/hardware-accelerated-decode-nvidia-for-linux/233510/400 "2019-04-24T01:37:51Z")

</div>

> [@misha\_nasledov](#):
>
> when is this ‘-hwaccel nvdec’ option going to be enabled that I don’t have to modify the transcoder script?

when the plex devs are ready to release it, and no sooner.

---

<div class="post-metadata">

**Author:** ![misha\_nasledov](https://avatars.discourse-cdn.com/v4/letter/m/bc8723/32.png) [@misha\_nasledov](https://forums.plex.tv/u/misha_nasledov)\
**Post date:** [April 24, 2019, 2:08am UTC](https://forums.plex.tv/t/hardware-accelerated-decode-nvidia-for-linux/233510/401 "2019-04-24T02:08:31Z")

</div>

That’s true. I was thinking of creating a new Dockerfile in the interim – something that uses the `linuxserver/plex` base image and then adds that transcode wrapper.

---

<div class="post-metadata">

**Author:** ![taylorja137](https://avatars.discourse-cdn.com/v4/letter/t/71e660/32.png) [@taylorja137](https://forums.plex.tv/u/taylorja137)\
**Post date:** [April 24, 2019, 10:53am UTC](https://forums.plex.tv/t/hardware-accelerated-decode-nvidia-for-linux/233510/402 "2019-04-24T10:53:16Z")

</div>

> [@misha\_nasledov](#):
>
> f creating a new Dockerfile in the interim – something that uses the `linuxserver/plex` base image and then adds that transcode wrapper.

I believe this is what you are looking for…  
[https://gist.github.com/Xaero252/9f81593e4a5e6825c045686d685e2428](https://gist.github.com/Xaero252/9f81593e4a5e6825c045686d685e2428)

Not my work. But it is a wrapper for docker to run the plex-nvdec linux script.

---

<div class="post-metadata">

**Author:** ![misha\_nasledov](https://avatars.discourse-cdn.com/v4/letter/m/bc8723/32.png) [@misha\_nasledov](https://forums.plex.tv/u/misha_nasledov)\
**Post date:** [April 24, 2019, 3:07pm UTC](https://forums.plex.tv/t/hardware-accelerated-decode-nvidia-for-linux/233510/403 "2019-04-24T15:07:59Z")

</div>

@taylorja137 Ooh, nice. Thank you!

---

<div class="post-metadata">

**Author:** ![pl\_5309](https://avatars.discourse-cdn.com/v4/letter/p/2bfe46/32.png) [@pl\_5309](https://forums.plex.tv/u/pl_5309)\
**Post date:** [May 17, 2019, 4:08pm UTC](https://forums.plex.tv/t/hardware-accelerated-decode-nvidia-for-linux/233510/404 "2019-05-17T16:08:10Z")

</div>

Looks like a good place for this. Comprehensive List/test of all Nvidia cards for transcoding.

[https://www.elpamsoft.com/?p=Plex-Hardware-Transcoding](https://www.elpamsoft.com/?p=Plex-Hardware-Transcoding)

---

<div class="post-metadata">

**Author:** ![TeknoJunky](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/teknojunky/32/165055_2.png) [@TeknoJunky](https://forums.plex.tv/u/TeknoJunky)\
**Post date:** [May 17, 2019, 4:33pm UTC](https://forums.plex.tv/t/hardware-accelerated-decode-nvidia-for-linux/233510/405 "2019-05-17T16:33:41Z")

</div>

that is awesome.

---

<div class="post-metadata">

**Author:** ![analogj](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/analogj/32/114754_2.png) [@analogj](https://forums.plex.tv/u/analogj)\
**Post date:** [June 14, 2019, 2:39am UTC](https://forums.plex.tv/t/hardware-accelerated-decode-nvidia-for-linux/233510/406 "2019-06-14T02:39:24Z")

</div>

Incase anyone is looking for a Docker container based on `linuxserver/plex` that has the `revr3nd/plex-nvdec` wrapper script built in, I’ve released a docker container called `mediadepot/plex-cuda`

Its on Docker Hub and Github  
Docker Hub: [https://cloud.docker.com/u/mediadepot/repository/docker/mediadepot/plex-cuda](https://cloud.docker.com/u/mediadepot/repository/docker/mediadepot/plex-cuda)  
Github: [https://github.com/mediadepot/docker-plex-cuda](https://github.com/mediadepot/docker-plex-cuda)

---

<div class="post-metadata">

**Author:** ![jhalttu](https://avatars.discourse-cdn.com/v4/letter/j/8e8cbc/32.png) [@jhalttu](https://forums.plex.tv/u/jhalttu)\
**Post date:** [June 21, 2019, 6:37pm UTC](https://forums.plex.tv/t/hardware-accelerated-decode-nvidia-for-linux/233510/407 "2019-06-21T18:37:39Z")

</div>

I downloaded it and got inside via port 32773, but It cannot find my local server (Actually it finds my remote server…). How Do I configure it to find my files on NAS and old metadata?  
Also I noticed on setting there is amd64 in use? I have i58400T + 1050 on NAS

BTW. Should I run some other Docker on side, because I only run this.

---

<div class="post-metadata">

**Author:** ![jhalttu](https://avatars.discourse-cdn.com/v4/letter/j/8e8cbc/32.png) [@jhalttu](https://forums.plex.tv/u/jhalttu)\
**Post date:** [June 21, 2019, 8:00pm UTC](https://forums.plex.tv/t/hardware-accelerated-decode-nvidia-for-linux/233510/408 "2019-06-21T20:00:23Z")

</div>

Now I found my server… But I cannot get GPU to work with my NAS.  
In cointainer I have selected from dropdown menu my Nvidia card.  
But When I run 4K video i get 50% processor, but GPU load 0%

 ![image](https://global.discourse-cdn.com/plex/original/3X/8/7/87cf763aa41f5c26fa6c277dbe39ece0d474ec53.png)  
 ![image](https://global.discourse-cdn.com/plex/original/3X/8/8/88d9fbbcdf613b9e114fd073f44ce11bad13c758.png)

---

<div class="post-metadata">

**Author:** ![Flukethought](https://avatars.discourse-cdn.com/v4/letter/f/c6cbf5/32.png) [@Flukethought](https://forums.plex.tv/u/Flukethought)\
**Post date:** [July 5, 2019, 7:40pm UTC](https://forums.plex.tv/t/hardware-accelerated-decode-nvidia-for-linux/233510/409 "2019-07-05T19:40:54Z")

</div>

Where is the Linux support at? Shouldn’t this be built into the plex server by now?

---

<div class="post-metadata">

**Author:** ![itsflanno](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/itsflanno/32/95009_2.png) [@itsflanno](https://forums.plex.tv/u/itsflanno)\
**Post date:** [July 9, 2019, 4:04am UTC](https://forums.plex.tv/t/hardware-accelerated-decode-nvidia-for-linux/233510/410 "2019-07-09T04:04:24Z")

</div>

yeah it’s kinda annoying that we pay for features that don’t exist in a linux environment

it also annoying that I need to run a work-around that isnt officially supported to get it to work - showing that the functionality is there but not implemented

---

<div class="post-metadata">

**Author:** ![D34DC3N73R](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/d34dc3n73r/32/108198_2.png) [@D34DC3N73R](https://forums.plex.tv/u/D34DC3N73R)\
**Post date:** [July 9, 2019, 4:19am UTC](https://forums.plex.tv/t/hardware-accelerated-decode-nvidia-for-linux/233510/411 "2019-07-09T04:19:34Z")

</div>

They may be waiting on bug fixes. For instance, there’s a green screen issue with 10 bit hevc hw decoding on Quadro cards (according to emby) that can only be resolved with driver updates from Nvidia.

---

<div class="post-metadata">

**Author:** ![DravorInVa](https://avatars.discourse-cdn.com/v4/letter/d/e19adc/32.png) [@DravorInVa](https://forums.plex.tv/u/DravorInVa)\
**Post date:** [July 12, 2019, 2:06am UTC](https://forums.plex.tv/t/hardware-accelerated-decode-nvidia-for-linux/233510/412 "2019-07-12T02:06:36Z")

</div>

Interesting I have not run into any green screen issues so far that I know of.

---

<div class="post-metadata">

**Author:** ![lastb0isct](https://avatars.discourse-cdn.com/v4/letter/l/2acd7d/32.png) [@lastb0isct](https://forums.plex.tv/u/lastb0isct)\
**Post date:** [July 20, 2019, 12:38am UTC](https://forums.plex.tv/t/hardware-accelerated-decode-nvidia-for-linux/233510/414 "2019-07-20T00:38:59Z")

</div>

Is there any progress being made on this to be integrated?!

[Previous page](https://forums.plex.tv/t/hardware-accelerated-decode-nvidia-for-linux/233510.md?page=19)

[Next page](https://forums.plex.tv/t/hardware-accelerated-decode-nvidia-for-linux/233510.md?page=21)
