4K decoding with plex-htpc and plex-server as a container

Server Version#:1.30.0
Player Version#: 1.30.1 latest

Hello,
Here is the symptom: the player cannot read 4K videos. It’s more than choppy. Probably a frame every 15 sec or so.

Here is my configuration:

Plex Server

  • Runs as a docker container using linuxserver/plex:1.30.0.

  • I have added this to my docker-compose.yml:

 devices:
      - /dev/dri:/dev/dri
  • It runs on a linux VM on vmware. 2 cores, 8GB ram

  • Intel Xeon based, no GPU

Plex HTPC

  • CPU N3350 / 4GB RAM

  • Runs on lubuntu 22.04.1 LTS

  • Plex-HTPC Version 1.30.1 latest, Uses WebGL

Facts:
The player can play 4K videos from the network (using VLC)
I can play 4K video from plex-web (plexserver:32400) in a browser from a windows VM (no GPU + RDP)

How can I fix this ?
Is there a way the video is read like it simply could through NFS (which works with VLC) ?

Any help much appreciated.
Thank you

up.
Any idea ?

Are you using EGL (Testing Linux EGL)? Note: it fatally breaks the app with some drivers which is why we don’t have it enabled by default.

This fixed my issue on Intel HD Graphics 500.
Thank you very much.