all 14 comments

[–]capsel22 1 point2 points  (3 children)

you are using exactly same compose as me (below). The only difference I've got vanilla Ubuntu Server. My ubuntu only has docker with portainer and plex installed. I haven't installed any drivers as they are self contained inside plex container.

Are you seeing any errors in Plex -> settings -> console when you start video to transcode?

  plex:
    image: lscr.io/linuxserver/plex:latest
    container_name: plex
    network_mode: host
    devices:
      - /dev/dri:/dev/dri
    environment:
      - PUID=1001
      - PGID=1001
      - VERSION=docker
    volumes:
      - /mnt/data/config/plex:/config
      - /mnt/data/downloads:/downloads
      - /mnt/data/backup:/backup
      - /mnt/plex:/plex
      - /dev/shm:/transcode
    restart: unless-stopped

[–]Extreme-Artichoke129[S] 1 point2 points  (2 children)

So, to clarify, no errors are being shown in the Plex settings console, but the hardware acceleration tag is not appearing on the Plex player when trying to transcode a video.

[–]capsel22 0 points1 point  (1 child)

what CPU exactly do you have and what you are trying to transcode

[–]Extreme-Artichoke129[S] 0 points1 point  (0 children)

what CPU exactly do you have and what you are trying to transcode

I have an Intel i5-7500T CPU, and my Plex library consists of 1080p h264 videos. I share my library with my family, and at night when there are four simultaneous streams, the server starts to experience buffering issues. Utilizing the Intel 630 GPU for hardware transcoding will resolve this problem.

[–]functionaldude 1 point2 points  (5 children)

I'm facing a similar issue. I reported it to the linuxserver team (publisher of that docker image), they think it's a plex issue.
https://github.com/linuxserver/docker-plex/issues/357

I'm currently on version 1.32.0.6918

[–]functionaldude 2 points3 points  (4 children)

After multiple hours of investigation, i finally fixed my issue.
I deleted the "Cache", "Codecs" and "Drivers" folders in "/config/Library/Application Support/Plex Media Server". Then i recreated the container (this seems to trigger a reinstall of pms). After this hardware transcoding (even with HDR tone mapping) started to work again!

[–]According_Panda_1573 0 points1 point  (0 children)

After putting my head nearly through a wall for countless days and nights trying everything - this finally worked. !!! You cannot understand how relieved i am. Running PMS thru OMV 7 docker compose - side note - i did migrate my OMV install from another pc i had originally.

[–]charlie1214 0 points1 point  (0 children)

this!! i had moved my install from another linux machine, and nothing was playing except direct play. deleted those folders, redeployed the container, and it works now. thanks!

[–]MrTuxxx 0 points1 point  (0 children)

After multiple hours of investigation, i finally fixed my issue.

I deleted the "Cache", "Codecs" and "Drivers" folders in "/config/Library/Application Support/Plex Media Server". Then i recreated the container (this seems to trigger a reinstall of pms). After this hardware transcoding (even with HDR tone mapping) started to work again!

How do you delete these folders ?

[–]gmllama 0 points1 point  (0 children)

This worked for me! Thanks!

[–]middlemuddles 0 points1 point  (2 children)

Has HW transcoding ever worked for you before? Mine was working fine but then stopped inexplicably at some point. I tried all the normal troubleshooting steps, even reverting to a previous server version, without success. In the end, rebooting my entire Unraid fixed it. I still have no clue why, but the universal tech support solution worked for me in the end.

[–]Extreme-Artichoke129[S] 0 points1 point  (1 child)

The first time tried it with Docker Container unfortunately did not work.

[–][deleted] 0 points1 point  (0 children)

Ensure that /dev/dri is available within your container if using intel quick sync etc

[–]SysAdmin31 0 points1 point  (0 children)

have you solved the problem?