# Orin NX Transcoding

**URL:** <https://forums.plex.tv/t/orin-nx-transcoding/844973>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [June 20, 2023, 11:08am UTC](https://forums.plex.tv/t/orin-nx-transcoding/844973 "2023-06-20T11:08:55Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![venague](https://avatars.discourse-cdn.com/v4/letter/v/d6d6ee/32.png) [@venague](https://forums.plex.tv/u/venague)\
**Post date:** [June 20, 2023, 11:08am UTC](https://forums.plex.tv/t/orin-nx-transcoding/844973/1 "2023-06-20T11:08:55Z")

</div>

Server Version#: 1.32.4.7195  
Player Version#:  
I have a Jetson Orin NX 16gb module which supports NVENC/NVDEC (as opposed to jetson nano moduiles). I’ve manually tested the “Plex Transcoder” ffmpeg using the nvenc/nvdec codecs and it works. Unfortunately it seems the plex media server is unable to detect a nvidia card on this setup, so I don’t have the option to enable hardware transcoding.  
I understand this is a quite obscure setup, so this probably isn’t a priority to fix, but is there some workaround/hidden option somewhere that allows me to force enable nvidia transcoding?

---

<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:** [June 20, 2023, 3:54pm UTC](https://forums.plex.tv/t/orin-nx-transcoding/844973/2 "2023-06-20T15:54:15Z")

</div>

Is there a Redhat or Debian base OS in the machine?

---

<div class="post-metadata">

**Author:** ![venague](https://avatars.discourse-cdn.com/v4/letter/v/d6d6ee/32.png) [@venague](https://forums.plex.tv/u/venague)\
**Post date:** [June 20, 2023, 4:49pm UTC](https://forums.plex.tv/t/orin-nx-transcoding/844973/3 "2023-06-20T16:49:41Z")

</div>

Yes, the base is Ubuntu 20.04 (nvidia jetpack). Plex was installed via apt

---

<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:** [June 20, 2023, 6:41pm UTC](https://forums.plex.tv/t/orin-nx-transcoding/844973/4 "2023-06-20T18:41:36Z")

</div>

When you install via `apt` (apt-get), you are given a SNAP package from Ubuntu.

This won’t have HW transcoding capability because of how SNAP packages work.

Your best option here is to uninstall & purge the SNAP (recover the storage)  
then do two things:

1. Confirm you have the `nvidia-drivers`, `libnvidia-encode`, and `libnvidia-decode` which are paired with that driver version
2. Confirm everything is seen properly with `nvidia-smi`
3. Next, `sudo snap remove --purge plexmediaserver`
4. Download PMS from [https://downloads.plex.tv](https://downloads.plex.tv)
5. `sudo dpkg -i plexmediaserver_version-hash.deb` (actual file name here)

The debian installation scripting (internal) will configure for the host and create everything needed.

Once you claim the server, go into Settings - Server - Transcoder - Show Advanced, and enable all the transcoding options, you’ll have full Nvidia HW decode,encode, and tonemapping within the limits of the device.

---

<div class="post-metadata">

**Author:** ![venague](https://avatars.discourse-cdn.com/v4/letter/v/d6d6ee/32.png) [@venague](https://forums.plex.tv/u/venague)\
**Post date:** [June 20, 2023, 7:44pm UTC](https://forums.plex.tv/t/orin-nx-transcoding/844973/5 "2023-06-20T19:44:21Z")

</div>

Thanks for your reply. A few things  
Plex was not installed via snap. It’s from the plex apt repository. Nvidia-smi is not available on this system. It’s for controlling nvidia gpu’s on the pcie bus. Orin is an integrated gpu. Nvidia package names are also different.

As mentioned in the first post, I have confirmed that nvidia transcoding using nvenc/nvdec works on this system. This was done by inspecting parameters of the transcoding process on a box with a normal nvidia gpu, and then running /usr/lib/plexmediaserver/Plex Transcoder manually with the same parameters on the Orin NX

While the transcoding works in theory, the problem is that plex does not properly detect the embedded nvidia gpu. As far as I can see from the dpkg preinst script this detection is done by looking in /sys/module/nvidia/drivers/pci:nvidia/_:_:_._ which is not present on these systems, because the gpu is not on the pci bus. Only platform:nv\_platform is present in /sys/module/nvidia/drivers

My question is simply, is there a way to force plex to think it detected an nvidia gpu? This should in theory make everything work, as this probably only affects which parameters are send to your custom ffmpeg build in /usr/lib/plexmediaserver/Plex Transcoder

---

<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:** [June 20, 2023, 9:48pm UTC](https://forums.plex.tv/t/orin-nx-transcoding/844973/6 "2023-06-20T21:48:34Z")

</div>

> [@venague](#):
>
> My question is simply, is there a way to force plex to think it detected an nvidia gpu?

Unfortunately , No there is no way to force it.

1. If PMS doesn’t see a Nvidia GPU on the PCIe bus – game over
2. If there are no nodes in /dev/dri; card0 / renderD128 – game over
3. If there is no libnvidia decode or encode – game over
4. `/sys/module/nvidia/drivers/pci:nvidia/` is provided to the user to let them know the GPU (Nvidia card) can be seen and is recognized by the kernel.

You’re using a specialty box and wanting transcoding. I’m sorry, PMS was not intended to run in that type environment.

---

<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:** [September 18, 2023, 9:48pm UTC](https://forums.plex.tv/t/orin-nx-transcoding/844973/7 "2023-09-18T21:48:48Z")

</div>

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