Plex is not using GPU transcode

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
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.

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)

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

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.

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).

@KemMuammer

To add to FordGuy,

Look at what it’s telling you:

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

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