# HW transcoding isn’t working smoothly with Nvidia GPU

**URL:** <https://forums.plex.tv/t/hw-transcoding-isn-t-working-smoothly-with-nvidia-gpu/382006>\
**Category:** Plex Media Server\
**Tags:** server-windows\
**Created:** [February 28, 2019, 7:10pm UTC](https://forums.plex.tv/t/hw-transcoding-isn-t-working-smoothly-with-nvidia-gpu/382006 "2019-02-28T19:10:37Z")\
**Posts on this page:** 1\
**Showing post:** 77

<div class="post-metadata">

**Author:** ![dlbogdan](https://avatars.discourse-cdn.com/v4/letter/d/f07891/32.png) [@dlbogdan](https://forums.plex.tv/u/dlbogdan)\
**Post date:** [April 7, 2019, 7:15am UTC](https://forums.plex.tv/t/hw-transcoding-isn-t-working-smoothly-with-nvidia-gpu/382006/77 "2019-04-07T07:15:04Z")

</div>

Hello @bneiderman,

You can use the P2000 in linux to a degree for both encode and decode on most movie formats.  
If you’re not familiar with bash scripting I recommend using this script put together by @revr3nd to hack it into working

> [@Guide: NVDEC Hardware Acceleration Patch for Plex Media Server on Linux](https://forums.plex.tv/t/guide-nvdec-hardware-acceleration-patch-for-plex-media-server-on-linux/391322):
>
> UPDATE: Plex has added native support for NVDEC on Linux! This patch is now redundant and no longer needed if you are using a recent version of Plex! All, there is a pretty lengthy thread going in the feature request section of the forums to make this a native feature, but recently the PMS libraries have been updated enough to insert this support with a simple patch. I have posted a copy of a script to install a patch to enable NVDEC support on Linux at the GitHub repository below: [plex-nvdec-…](https://github.com/revr3nd/plex-nvdec/blob/master/plex-nvdec-patch.sh)

If you do understand bash scripting, basically you’d be good to go for most movies (i.e. mkv h264/h265) if you rename your transcoder.bin to something else then make a script that call that something else transcoder and add the parameter -hwaccel nvdec

In my lab this works tons better than windows.  
Also in my testing, for reasons I’ve failed to quantify (lazy), it works much better in ubuntu 18.04 than in Fedora 28/29.

---

_[View the full topic](https://forums.plex.tv/t/hw-transcoding-isn-t-working-smoothly-with-nvidia-gpu/382006)._
