Hardware transcoding issue

So… I finally was able to make it work with the latest version. At least with Proxmox LXC Containers. I didn’t test with Docker yet.

I recently found this thread on Reddit where they mentioned exactly the same error as mine.
I decided to download all the Codecs from version 1.29.2.6364 which is the one that I know if works on my system.

After that I performed the following:

Host:

  1. Performed all the GPU Passthrough following this Video

  2. Install Nvidia driver. I am using 525.116.03 with cuda 12
    image

  3. Install nvidia-container-runtime and nvidia-container-toolkit

    • apt update
    • apt install nvidia-container-runtime
    • apt install nvidia-container-toolkit

LXC Container:

  1. Create a Container with ubuntu 22.04. Performed the whole GPU process. Below is the LXC config file:

  2. Install Nvidia driver, nvidia-container-runtime and nvidia-container-toolkit, build essential

    • apt install build-essential

    • ./NVIDIA-Linux-x86_64-525.116.03.run --no-kernel-module --silent

    • apt install nvidia-container-runtime

    • apt install nvidia-container-toolkit (should be already installed)

    image

  3. Install ffmpeg (optional since I am using xteve)

    apt install ffmpeg

  4. Download plex 1.29.2.63.64 and 1.30.0.6486 version. You can file previous plex deb files here

  1. Install plex 1.29.2.6364

    • dpkg -i plexmediaserver_1.29.2.6364-6d72b0cf6_amd64.deb

  1. Reboot Container

  2. It you test Live TV you will see that it works fine.

  3. It will create a Codec folder name c4efa15-4387-linux-x86_64. It should be empty and from what I noticed the files are downloaded from Plex when they are needed.

    image

  4. Copy all the Codecs file that you downloaded following the Reddit discussion.

Also make sure the owner of the files are plex:plex

  1. Restart Plex
  2. Update Plex to 1.30.0.6486-629d58034_amd64.deb
  3. Update to the latest Plex Version.

I don’t know how or why but it works now.

2 Likes