# Plex is not using GPU transcode

**URL:** <https://forums.plex.tv/t/plex-is-not-using-gpu-transcode/837211>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [April 9, 2023, 2:40am UTC](https://forums.plex.tv/t/plex-is-not-using-gpu-transcode/837211 "2023-04-09T02:40:48Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![KemMuammer](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/kemmuammer/32/275364_2.png) [@KemMuammer](https://forums.plex.tv/u/KemMuammer)\
**Post date:** [April 9, 2023, 2:40am UTC](https://forums.plex.tv/t/plex-is-not-using-gpu-transcode/837211/1 "2023-04-09T02:40:48Z")

</div>

Server Version#: 1.32.0.6918  
Player Version#: 4.104.2  
Hi, I recently added a GPU to my Plex server. But I cannot force the transcoder to use the GPU instead of the CPU, or at least there is no indication. I know that there should be a (hw) behind transcode. Is there a way to check if Plex picked up the GPU?  
Proxmox Host Ubuntu 22.04 container with full access to the GTX 1080.  
Screenshots: [Imgur: The magic of the Internet](https://imgur.com/a/Fqfn4CS)  
nvidia-smi does work in the container and also shows the process, but the Wattage stays at 8-9 W. Which is idle. Does someone have more experience, maybe with this?  
Thanks in advance. Of course, if more information is needed I will try to provide.

---

<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:** [April 9, 2023, 4:58am UTC](https://forums.plex.tv/t/plex-is-not-using-gpu-transcode/837211/2 "2023-04-09T04:58:25Z")

</div>

Need the Server’s DEBUG log files which capture the start of the failed transcode.

Screen captures don’t tell us what we need to know.

Proxmox is tricky to configure. you have to follow their documented procedures  
(their forum) for GPU passthrough to a VM or container.

I tried it here on an i3-7300 CPU and had a great deal of customizing required to pass the GPU through. (blacklisting a whole bunch of drivers)

---

<div class="post-metadata">

**Author:** ![KemMuammer](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/kemmuammer/32/275364_2.png) [@KemMuammer](https://forums.plex.tv/u/KemMuammer)\
**Post date:** [April 9, 2023, 2:13pm UTC](https://forums.plex.tv/t/plex-is-not-using-gpu-transcode/837211/3 "2023-04-09T14:13:29Z")

</div>

I downloaded the logs so which of the logs is needed?

---

<div class="post-metadata">

**Author:** ![KemMuammer](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/kemmuammer/32/275364_2.png) [@KemMuammer](https://forums.plex.tv/u/KemMuammer)\
**Post date:** [April 9, 2023, 3:40pm UTC](https://forums.plex.tv/t/plex-is-not-using-gpu-transcode/837211/4 "2023-04-09T15:40:24Z")

</div>

I got this in the Console when filtered for error and warning. This comes when I start a movie.  
Apr 09, 2023 15:39:15.455 [0x7f06da529b38] Error — [Req#5cd/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).

Apr 09, 2023 15:39:16.224 [0x7f06da529b38] Error — [Req#5cd/Transcode] [FFMPEG] - Cannot load libnvidia-encode.so.1

Apr 09, 2023 15:39:16.224 [0x7f06da529b38] Error — [Req#5cd/Transcode] [FFMPEG] - The minimum required Nvidia driver for nvenc is 455.28 or newer

Apr 09, 2023 15:39:16.281 [0x7f06da529b38] Warning — [Req#5cd/Transcode] Codecs: avcodec\_open2 returned -1 for encoder ‘h264\_nvenc’  
Apr 09, 2023 15:39:16.281 [0x7f06da529b38] Error — [Req#5cd/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).

Apr 09, 2023 15:39:16.457 [0x7f06da529b38] Error — [Req#5cd/Transcode] [FFMPEG] - Cannot load libnvidia-encode.so.1

Apr 09, 2023 15:39:16.457 [0x7f06da529b38] Error — [Req#5cd/Transcode] [FFMPEG] - The minimum required Nvidia driver for nvenc is 455.28 or newer

Apr 09, 2023 15:39:16.506 [0x7f06da529b38] Warning — [Req#5cd/Transcode] Codecs: avcodec\_open2 returned -1 for encoder ‘h264\_nvenc’  
Apr 09, 2023 15:39:16.507 [0x7f06da529b38] Error — [Req#5cd/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).

Apr 09, 2023 15:39:16.692 [0x7f06da529b38] Error — [Req#5cd/Transcode] [FFMPEG] - Cannot load libnvidia-encode.so.1

Apr 09, 2023 15:39:16.692 [0x7f06da529b38] Error — [Req#5cd/Transcode] [FFMPEG] - The minimum required Nvidia driver for nvenc is 455.28 or newer

Apr 09, 2023 15:39:16.725 [0x7f06da529b38] Warning — [Req#5cd/Transcode] Codecs: avcodec\_open2 returned -1 for encoder ‘h264\_nvenc’  
Apr 09, 2023 15:39:16.726 [0x7f06da529b38] Error — [Req#5cd/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).

Apr 09, 2023 15:39:16.873 [0x7f06da529b38] Error — [Req#5cd/Transcode] [FFMPEG] - Cannot load libnvidia-encode.so.1

Apr 09, 2023 15:39:16.873 [0x7f06da529b38] Error — [Req#5cd/Transcode] [FFMPEG] - The minimum required Nvidia driver for nvenc is 455.28 or newer

Apr 09, 2023 15:39:16.904 [0x7f06da529b38] Warning — [Req#5cd/Transcode] Codecs: avcodec\_open2 returned -1 for encoder ‘h264\_nvenc’  
Apr 09, 2023 15:39:16.905 [0x7f06da529b38] Error — [Req#5cd/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).

Apr 09, 2023 15:39:17.056 [0x7f06da529b38] Error — [Req#5cd/Transcode] [FFMPEG] - Cannot load libnvidia-encode.so.1

Apr 09, 2023 15:39:17.056 [0x7f06da529b38] Error — [Req#5cd/Transcode] [FFMPEG] - The minimum required Nvidia driver for nvenc is 455.28 or newer

Apr 09, 2023 15:39:17.083 [0x7f06da529b38] Warning — [Req#5cd/Transcode] Codecs: avcodec\_open2 returned -1 for encoder ‘h264\_nvenc’  
Apr 09, 2023 15:39:17.083 [0x7f06da529b38] Error — [Req#5cd/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).

Apr 09, 2023 15:39:17.223 [0x7f06da529b38] Error — [Req#5cd/Transcode] [FFMPEG] - Cannot load libnvidia-encode.so.1

Apr 09, 2023 15:39:17.223 [0x7f06da529b38] Error — [Req#5cd/Transcode] [FFMPEG] - The minimum required Nvidia driver for nvenc is 455.28 or newer

Apr 09, 2023 15:39:17.258 [0x7f06da529b38] Warning — [Req#5cd/Transcode] Codecs: avcodec\_open2 returned -1 for encoder ‘h264\_nvenc’  
Apr 09, 2023 15:39:17.258 [0x7f06da529b38] Error — [Req#5cd/Transcode] [FFMPEG] - Failed to initialise VAAPI connection: -1 (unknown libva error).

Apr 09, 2023 15:39:17.691 [0x7f06da123b38] Error — [Req#10d2/Transcode/64c3gj02m5q3ejtmom25ggyn/249bad8f-f4a8-4700-af3a-eac3e282053f] [hevc @ 0x7fca6cdc1040] Cannot load libnvcuvid.so.1  
Apr 09, 2023 15:39:17.692 [0x7f06da529b38] Error — [Req#10de/Transcode/64c3gj02m5q3ejtmom25ggyn/249bad8f-f4a8-4700-af3a-eac3e282053f] [hevc @ 0x7fca6cdc1040] Failed loading nvcuvid.  
Apr 09, 2023 15:39:17.692 [0x7f06d9f20b38] Error — [Req#10e2/Transcode/64c3gj02m5q3ejtmom25ggyn/249bad8f-f4a8-4700-af3a-eac3e282053f] [hevc @ 0x7fca6cdc1040] Failed setup for format cuda: hwaccel initialisation returned error.

---

<div class="post-metadata">

**Author:** ![FordGuy61](https://avatars.discourse-cdn.com/v4/letter/f/22d042/32.png) [@FordGuy61](https://forums.plex.tv/u/FordGuy61)\
**Post date:** [April 9, 2023, 6:35pm UTC](https://forums.plex.tv/t/plex-is-not-using-gpu-transcode/837211/5 "2023-04-09T18:35:24Z")

</div>

> [@KemMuammer](#):
>
> which of the logs is needed?

Upload the entire .zip file. Drag it into the message window. It will insert at the server location. You can also use the upload icon (with the arrow).

---

<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:** [April 9, 2023, 9:32pm UTC](https://forums.plex.tv/t/plex-is-not-using-gpu-transcode/837211/6 "2023-04-09T21:32:50Z")

</div>

@KemMuammer

To add to FordGuy,

Look at what it’s telling you:

> [@KemMuammer](#):
>
> Apr 09, 2023 15:39:16.224 [0x7f06da529b38] Error — [Req#5cd/Transcode] [FFMPEG] - The minimum required Nvidia driver for nvenc is 455.28 or newer

---

<div class="post-metadata">

**Author:** ![KemMuammer](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/kemmuammer/32/275364_2.png) [@KemMuammer](https://forums.plex.tv/u/KemMuammer)\
**Post date:** [April 10, 2023, 1:06am UTC](https://forums.plex.tv/t/plex-is-not-using-gpu-transcode/837211/7 "2023-04-10T01:06:04Z")

</div>

Hi so i reinstalled the server with a diffrent type of bios(SeaBIOS in Proxmox) and also diffrent maschine (i440fx instead of q35). I followed the guide of “craft computing”.  
This is the Video [- YouTube](https://www.youtube.com/watch?v=-HCzLhnNf)

---

<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:** [July 9, 2023, 1:06am UTC](https://forums.plex.tv/t/plex-is-not-using-gpu-transcode/837211/8 "2023-07-09T01:06:05Z")

</div>

Closed on July 9, 2023, 1:06am UTC

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