# Ubuntu PMS not utilizing Nvidia HW transcoding

**URL:** <https://forums.plex.tv/t/ubuntu-pms-not-utilizing-nvidia-hw-transcoding/614442>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [July 17, 2020, 12:34pm UTC](https://forums.plex.tv/t/ubuntu-pms-not-utilizing-nvidia-hw-transcoding/614442 "2020-07-17T12:34:15Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![totilolmomanon](https://avatars.discourse-cdn.com/v4/letter/t/46a35a/32.png) [@totilolmomanon](https://forums.plex.tv/u/totilolmomanon)\
**Post date:** [July 17, 2020, 12:34pm UTC](https://forums.plex.tv/t/ubuntu-pms-not-utilizing-nvidia-hw-transcoding/614442/1 "2020-07-17T12:34:16Z")

</div>

Hello Community,

I specifically purchased a used GTX 1660 to help my PMS (and Handbrake) with transcoding. However, no matter my effort, I cannot get Plex to actually utilize my GPU resources at all. Please help!  
Server Version#: 1.19.4.2935 (via snap)

My system:  
Ryzen 3 2200G  
64GB RAM  
GTX 1660  
Ubuntu 20.04

NVidia smi readout WHILE TRANSCODING:  
Fri Jul 17 14:25:58 2020  
±----------------------------------------------------------------------------+  
| NVIDIA-SMI 450.57 Driver Version: 450.57 CUDA Version: 11.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 GeForce GTX 1660 Off | 00000000:01:00.0 On | N/A |  
| 38% 44C P8 6W / 120W | 224MiB / 5941MiB | 2% Default |  
| | | N/A |  
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+  
| Processes: |  
| GPU GI CI PID Type Process name GPU Memory |  
| ID ID Usage |  
|=============================================================================|  
| 0 N/A N/A 1206 G /usr/lib/xorg/Xorg 35MiB |  
| 0 N/A N/A 1932 G /usr/lib/xorg/Xorg 73MiB |  
| 0 N/A N/A 2134 G /usr/bin/gnome-shell 99MiB |  
| 0 N/A N/A 3208 G /usr/lib/firefox/firefox 2MiB |  
±----------------------------------------------------------------------------+

I already reinstalled the driver multiple times, rebooted the system as well as PMS via snap and installed the keylase patch to unlock the card from Nvidia restrictions. Handbrake gladly uses the GPU for transcoding but Plex just says:

Video

1080p (H.264)

SD (H264)—Transcode

Any recommendations are greatly appreciated at this point.

---

<div class="post-metadata">

**Author:** ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)\
**Post date:** [July 17, 2020, 1:01pm UTC](https://forums.plex.tv/t/ubuntu-pms-not-utilizing-nvidia-hw-transcoding/614442/2 "2020-07-17T13:01:33Z")

</div>

Sounds like a restriction through snap which does not provide support for the necessary drivers.

> [@Transcoding on Nvidia 1650 Super](https://forums.plex.tv/t/transcoding-on-nvidia-1650-super/597756/6):
>
> The snap does not include driver support for GPU’s and it isolates Plex from the one’s you installed. Be aware that the Plex install/data directory is or use to be different /var/snap/plexmediaserver/common/Library/Application Support vs /var/lib/plexmediaserver. If it is and you want to transfer your current data you will have to cp or move it to the new location, don’t forget to check file ownership afterward, should be plex.

Have you tried a plain install of Plex Media Server on your Ubuntu (using the dpkg without the abstractions)?

---

<div class="post-metadata">

**Author:** ![totilolmomanon](https://avatars.discourse-cdn.com/v4/letter/t/46a35a/32.png) [@totilolmomanon](https://forums.plex.tv/u/totilolmomanon)\
**Post date:** [July 17, 2020, 1:15pm UTC](https://forums.plex.tv/t/ubuntu-pms-not-utilizing-nvidia-hw-transcoding/614442/3 "2020-07-17T13:15:58Z")

</div>

I didn’t think snap could be the issue, I’ll try to install PMS again and let you know if that helps.

---

<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:** [July 17, 2020, 1:52pm UTC](https://forums.plex.tv/t/ubuntu-pms-not-utilizing-nvidia-hw-transcoding/614442/4 "2020-07-17T13:52:48Z")

</div>

If i may augment;

SNAP is a container and as hardware restrictive as any docker/lxc in the default state.

---

<div class="post-metadata">

**Author:** ![totilolmomanon](https://avatars.discourse-cdn.com/v4/letter/t/46a35a/32.png) [@totilolmomanon](https://forums.plex.tv/u/totilolmomanon)\
**Post date:** [July 17, 2020, 2:07pm UTC](https://forums.plex.tv/t/ubuntu-pms-not-utilizing-nvidia-hw-transcoding/614442/5 "2020-07-17T14:07:13Z")

</div>

OK, I managed to transfer my install but now all my media is supposedly unavailable, even though Plex knows the correct path to my files…

---

<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:** [July 17, 2020, 2:12pm UTC](https://forums.plex.tv/t/ubuntu-pms-not-utilizing-nvidia-hw-transcoding/614442/6 "2020-07-17T14:12:00Z")

</div>

User `plex` must minimally have `read` access to the media (directories and resultant files)

---

<div class="post-metadata">

**Author:** ![totilolmomanon](https://avatars.discourse-cdn.com/v4/letter/t/46a35a/32.png) [@totilolmomanon](https://forums.plex.tv/u/totilolmomanon)\
**Post date:** [July 17, 2020, 2:36pm UTC](https://forums.plex.tv/t/ubuntu-pms-not-utilizing-nvidia-hw-transcoding/614442/7 "2020-07-17T14:36:27Z")

</div>

Awesome. It worked.  
I would like to thank you two very much. It’s nice knowing that there’s someone here to quickly provide help.

---

<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:** [October 15, 2020, 2:36pm UTC](https://forums.plex.tv/t/ubuntu-pms-not-utilizing-nvidia-hw-transcoding/614442/8 "2020-10-15T14:36:29Z")

</div>

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