# Plex hardware transcoding not working Quadro P2000

**URL:** <https://forums.plex.tv/t/plex-hardware-transcoding-not-working-quadro-p2000/728152>\
**Category:** Plex Media Server\
**Tags:** server-windows, server-linux, player-windows\
**Created:** [July 11, 2021, 6:59pm UTC](https://forums.plex.tv/t/plex-hardware-transcoding-not-working-quadro-p2000/728152 "2021-07-11T18:59:33Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![el\_pedriyo](https://avatars.discourse-cdn.com/v4/letter/e/e274bd/32.png) [@el\_pedriyo](https://forums.plex.tv/u/el_pedriyo)\
**Post date:** [July 11, 2021, 6:59pm UTC](https://forums.plex.tv/t/plex-hardware-transcoding-not-working-quadro-p2000/728152/1 "2021-07-11T18:59:33Z")

</div>

Hello guys,

Lets see if someone can help me. I am currently running a P2000 under ubuntu. And the problem I am facing is Plex is currently kicking my third transcoded playback, when trying to go from 4k to 1080.  
I was currently monitoring my vRAM, and it was not even 30% full. So, something strange might be ongoing in here.  
Here the huge logs to see if you can find anything on them.

[Plex Media Server.log](https://forums.plex.tv/uploads/short-url/iU0WU6EY5gl7mcrkBFgaijLt4Ck.log) (4.0 MB)

Kind regards

---

<div class="post-metadata">

**Author:** ![el\_pedriyo](https://avatars.discourse-cdn.com/v4/letter/e/e274bd/32.png) [@el\_pedriyo](https://forums.plex.tv/u/el_pedriyo)\
**Post date:** [July 11, 2021, 11:32pm UTC](https://forums.plex.tv/t/plex-hardware-transcoding-not-working-quadro-p2000/728152/2 "2021-07-11T23:32:13Z")

</div>

Hello,

Ok, this is really weird, for 4k I was having the issue described above, buuuut, it seems I am not able to transcode more than 3 1080p videos. Every time I open the 4th video, the video gets stopped and taken me to main video menu in plex.  
This makes me think about Nvidia limitation for consumer GPUs, but P2000 should be unrestricted, any ideas on what can be happening in here?

Kind regards

---

<div class="post-metadata">

**Author:** ![el\_pedriyo](https://avatars.discourse-cdn.com/v4/letter/e/e274bd/32.png) [@el\_pedriyo](https://forums.plex.tv/u/el_pedriyo)\
**Post date:** [July 12, 2021, 9:15am UTC](https://forums.plex.tv/t/plex-hardware-transcoding-not-working-quadro-p2000/728152/3 "2021-07-12T09:15:55Z")

</div>

Hey guys,

I have checked with other video tools, and it doesn’t seem to be a limitation of the GPU, but something going wrong with plex ☹  
Any help on here?

---

<div class="post-metadata">

**Author:** ![el\_pedriyo](https://avatars.discourse-cdn.com/v4/letter/e/e274bd/32.png) [@el\_pedriyo](https://forums.plex.tv/u/el_pedriyo)\
**Post date:** [July 12, 2021, 2:39pm UTC](https://forums.plex.tv/t/plex-hardware-transcoding-not-working-quadro-p2000/728152/4 "2021-07-12T14:39:03Z")

</div>

Whether I use 1.23.4.4805-186bae04e or 1.23.3.4707-ebb5fe9f3, I am having the same issues ☹

Can someone give me some feedback about what can be happening in here?

---

<div class="post-metadata">

**Author:** ![el\_pedriyo](https://avatars.discourse-cdn.com/v4/letter/e/e274bd/32.png) [@el\_pedriyo](https://forums.plex.tv/u/el_pedriyo)\
**Post date:** [July 12, 2021, 4:23pm UTC](https://forums.plex.tv/t/plex-hardware-transcoding-not-working-quadro-p2000/728152/5 "2021-07-12T16:23:18Z")

</div>

I have even tried to use RAMDISK for plex transcoding path, but nothing, still the same problem.

Here the windows media player log:

[Plex.log](https://forums.plex.tv/uploads/short-url/e61OcRURbWl89zJWjRIxfHDHZMd.log) (240.1 KB)

I currently can see some errors, but no idea how to solve them.

---

<div class="post-metadata">

**Author:** ![el\_pedriyo](https://avatars.discourse-cdn.com/v4/letter/e/e274bd/32.png) [@el\_pedriyo](https://forums.plex.tv/u/el_pedriyo)\
**Post date:** [July 12, 2021, 4:33pm UTC](https://forums.plex.tv/t/plex-hardware-transcoding-not-working-quadro-p2000/728152/6 "2021-07-12T16:33:31Z")

</div>

[Plex Media Server.log](https://forums.plex.tv/uploads/short-url/b3f2pnawsX2vwC22b8Id5f0ghdY.log) (337.5 KB)

Attaching [server log](https://support.plex.tv/articles/200250417-plex-media-server-log-files/) in debug mode

---

<div class="post-metadata">

**Author:** ![el\_pedriyo](https://avatars.discourse-cdn.com/v4/letter/e/e274bd/32.png) [@el\_pedriyo](https://forums.plex.tv/u/el_pedriyo)\
**Post date:** [July 12, 2021, 5:14pm UTC](https://forums.plex.tv/t/plex-hardware-transcoding-not-working-quadro-p2000/728152/7 "2021-07-12T17:14:23Z")

</div>

I have been checking with other players, like from the chrome browser. And when quality is set to max:

![image](https://global.discourse-cdn.com/plex/original/3X/1/8/183aa578b44b3b835cafd20c09adb0b7c3dfb3fe.png)

I am having no problems opening more playbacks. However, when I change to a different resolution, I am not even able to playback 1 stream

---

<div class="post-metadata">

**Author:** ![el\_pedriyo](https://avatars.discourse-cdn.com/v4/letter/e/e274bd/32.png) [@el\_pedriyo](https://forums.plex.tv/u/el_pedriyo)\
**Post date:** [July 13, 2021, 9:37am UTC](https://forums.plex.tv/t/plex-hardware-transcoding-not-working-quadro-p2000/728152/8 "2021-07-13T09:37:14Z")

</div>

Any plex team member can assist on this?

---

<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 13, 2021, 2:42pm UTC](https://forums.plex.tv/t/plex-hardware-transcoding-not-working-quadro-p2000/728152/9 "2021-07-13T14:42:42Z")

</div>

Some of the cards have a 2-transcode limit.  
Might this be the issue?

---

<div class="post-metadata">

**Author:** ![el\_pedriyo](https://avatars.discourse-cdn.com/v4/letter/e/e274bd/32.png) [@el\_pedriyo](https://forums.plex.tv/u/el_pedriyo)\
**Post date:** [July 13, 2021, 2:47pm UTC](https://forums.plex.tv/t/plex-hardware-transcoding-not-working-quadro-p2000/728152/10 "2021-07-13T14:47:59Z")

</div>

Hello,

No, that can not be the issue, since according to this site: [Video Encode and Decode GPU Support Matrix [NEW] | NVIDIA Developer](https://developer.nvidia.com/video-encode-and-decode-gpu-support-matrix-new)

The P2000 is not locked as the rest of the consumer cards. Also as I was stating, the card transcodes for example up to 4 streams when playing them from the browser till it hits the 5GB of VRAM, but when I change the resolution in the browser, it just doesn’t work. On the other hand when doing it from the media player it does not allow me even 2 o 3, without hitting the max capacity of the GPU.

---

<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 13, 2021, 6:08pm UTC](https://forums.plex.tv/t/plex-hardware-transcoding-not-working-quadro-p2000/728152/11 "2021-07-13T18:08:26Z")

</div>

@el_pedriyo

I checked with the team.

1. There is a FFMPEG bug, which the team patched.
2. That bug used 1.5 GB of memory per transcode. (Math error)
3. It was a huge waste of GPU memory
4. PMS 1.23.4 & above contains the patch until upstream FFMPEG is properly fixed.

---

<div class="post-metadata">

**Author:** ![el\_pedriyo](https://avatars.discourse-cdn.com/v4/letter/e/e274bd/32.png) [@el\_pedriyo](https://forums.plex.tv/u/el_pedriyo)\
**Post date:** [July 13, 2021, 7:25pm UTC](https://forums.plex.tv/t/plex-hardware-transcoding-not-working-quadro-p2000/728152/12 "2021-07-13T19:25:02Z")

</div>

Sorry but I am not getting the point in here. Plex team patched an FFMPEG bug, as it was using huge loads of VRAM, and now because of that patch, the full transcoding feature is broken?

---

<div class="post-metadata">

**Author:** ![el\_pedriyo](https://avatars.discourse-cdn.com/v4/letter/e/e274bd/32.png) [@el\_pedriyo](https://forums.plex.tv/u/el_pedriyo)\
**Post date:** [July 13, 2021, 7:30pm UTC](https://forums.plex.tv/t/plex-hardware-transcoding-not-working-quadro-p2000/728152/13 "2021-07-13T19:30:55Z")

</div>

I guess you are trying to say, that I am probably running on a lower PMS version, and that is causing me the issues, but I am currently running 1.23.4.4712 which is the latest official one, and also tested the BETA (1.23.5.4801-bc4dd58bb), so the problems I am having are with these 2 versions.

---

<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 13, 2021, 7:44pm UTC](https://forums.plex.tv/t/plex-hardware-transcoding-not-working-quadro-p2000/728152/14 "2021-07-13T19:44:07Z")

</div>

From the Engineer who implemented the memory allocation patch in the Plex Transcoder:

“patch was from june 8th”  
“starting in 1.23.4”

If something is not happening, this should be easy to check.

1. Start one transcode at full resolution.
2. See how much VRAM it’s using.
3. Report back.

AFAIK. the correct memory allocation should be 600 MB and not 1.5 GB.

---

<div class="post-metadata">

**Author:** ![el\_pedriyo](https://avatars.discourse-cdn.com/v4/letter/e/e274bd/32.png) [@el\_pedriyo](https://forums.plex.tv/u/el_pedriyo)\
**Post date:** [July 13, 2021, 9:31pm UTC](https://forums.plex.tv/t/plex-hardware-transcoding-not-working-quadro-p2000/728152/16 "2021-07-13T21:31:59Z")

</div>

On chrome browser, it is 1.5G de memory allocation. However if I open the same video and transcode it on the plex media app, it is huge less, like 600mb, but I won’t be able to open more, it is unstable, and not working as I was stating.  
Is your colleague able to check the logs I sent, or make some testing about this?

---

<div class="post-metadata">

**Author:** ![el\_pedriyo](https://avatars.discourse-cdn.com/v4/letter/e/e274bd/32.png) [@el\_pedriyo](https://forums.plex.tv/u/el_pedriyo)\
**Post date:** [July 14, 2021, 8:18am UTC](https://forums.plex.tv/t/plex-hardware-transcoding-not-working-quadro-p2000/728152/17 "2021-07-14T08:18:51Z")

</div>

Hello,

I was able to test yesterday under windows, version 1.22.1.4228, which shouldn’t have the patch, and it is not working either. So something might be happening in plex, before to the patch.

---

<div class="post-metadata">

**Author:** ![el\_pedriyo](https://avatars.discourse-cdn.com/v4/letter/e/e274bd/32.png) [@el\_pedriyo](https://forums.plex.tv/u/el_pedriyo)\
**Post date:** [July 14, 2021, 12:34pm UTC](https://forums.plex.tv/t/plex-hardware-transcoding-not-working-quadro-p2000/728152/18 "2021-07-14T12:34:18Z")

</div>

Hey @ChuckPa any suggestions?

---

<div class="post-metadata">

**Author:** ![el\_pedriyo](https://avatars.discourse-cdn.com/v4/letter/e/e274bd/32.png) [@el\_pedriyo](https://forums.plex.tv/u/el_pedriyo)\
**Post date:** [July 14, 2021, 9:06pm UTC](https://forums.plex.tv/t/plex-hardware-transcoding-not-working-quadro-p2000/728152/19 "2021-07-14T21:06:46Z")

</div>

![image](https://global.discourse-cdn.com/plex/original/3X/9/b/9b03c1d7a5da40682958ab82ebb8dd98f9064c5b.png)

---

<div class="post-metadata">

**Author:** ![el\_pedriyo](https://avatars.discourse-cdn.com/v4/letter/e/e274bd/32.png) [@el\_pedriyo](https://forums.plex.tv/u/el_pedriyo)\
**Post date:** [July 14, 2021, 9:14pm UTC](https://forums.plex.tv/t/plex-hardware-transcoding-not-working-quadro-p2000/728152/20 "2021-07-14T21:14:48Z")

</div>

This are some errors I am able to locate in the log:

```auto
Jul 14, 2021 20:57:43.151 [0x7faf87749b38] VERBOSE - [Transcode] [FFMPEG] - Trying to use DRM render node for device 0.
Jul 14, 2021 20:57:43.151 [0x7faf87749b38] VERBOSE - [Transcode] [FFMPEG] - libva: VA-API version 1.9.0
Jul 14, 2021 20:57:43.151 [0x7faf87749b38] ERROR - [Transcode] [FFMPEG] - libva: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
Jul 14, 2021 20:57:43.151 [0x7faf87749b38] ERROR - [Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).

```

Any idea?

---

<div class="post-metadata">

**Author:** ![el\_pedriyo](https://avatars.discourse-cdn.com/v4/letter/e/e274bd/32.png) [@el\_pedriyo](https://forums.plex.tv/u/el_pedriyo)\
**Post date:** [July 14, 2021, 9:32pm UTC](https://forums.plex.tv/t/plex-hardware-transcoding-not-working-quadro-p2000/728152/21 "2021-07-14T21:32:10Z")

</div>

So about VA-API, up to what I see is for nouveau driver, which for this it is recommended to be disabled, and to use nvidia driver, which is what I can see in here:

```auto
DEBUG - [Transcode] Codecs: hardware transcoding: opening hw device failed - probably not supported by this system, error: I/O error
DEBUG - [Transcode] Codecs: testing hevc (decoder) with hwdevice nvdec
VERBOSE - [Transcode] [FFMPEG] - Rescanning for external libs: '/var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/Codecs/fa235d6-3858-linux-x86_64/'
DEBUG - [Transcode] Codecs: hardware transcoding: testing API nvdec

```

We can see in there nvdec starts to be tested, however I get into this:

```auto
DEBUG - [Transcode] Scaled maximum bitrate for resolution reduction to 84848Kbps.
DEBUG - [Transcode] MDE: 13 horas: los soldados secretos de Bengasi (2016): Audio Direct Streaming is disabled, so video's audio stream will be transcoded
DEBUG - [Transcode] MDE: Cannot direct stream audio stream due to profile or setting limitations
DEBUG - [Transcode] MDE: 13 horas: los soldados secretos de Bengasi (2016): selected media 0 / 101
DEBUG - [Transcode] Killing job.
DEBUG - [Transcode] Signalling job ID 2589 with 9
DEBUG - [Transcode] Job was already killed, not killing again.
DEBUG - [Transcode] Stopping transcode session 2vg3r6mk2gb4eq2qgq194oi2

```

Correct me if I am wrong, but, is it killing the transcoding because it says it is not able to direct stream the audio?

[Next page](https://forums.plex.tv/t/plex-hardware-transcoding-not-working-quadro-p2000/728152.md?page=2)
