Server Version#: 1.25.2.5319
Player Version#: 4.72 Web
I’m running Plex Media Server on Ubuntu 21.10 (Desktop) installed on a Lenovo ThinkCentre M90n-1 Nano with an Intel i5-8265U processor, 16GB RAM, and Intel UHD Graphics 620. Ubuntu is fully updated and I’ve installed the driver dependencies with the following command: sudo apt install ocl-icd-libopencl1 beignet-opencl-icd
The video transcodes and plays fine if no tone mapping is required, but if tone mapping is used then it buffers every 10-30 seconds. Disabling tone mapping fixes the buffering, but then the color and brightness look terrible (as expected). It intersetingly also says in the Dashboard that hardware decode and transcode is being used (both lines separately), but then the CPU is clearly around 50-70% consumed and this buffering happens.
The support article says to attach a small sample file, but any HDR10 video can reproduce this. Please let me know if this is absolutely required and I’ll produce a clip if required.
Fwiw, I installed Plex using apt on Ubuntu so this is how it was configured out of the box.
I figured I might have permission problems because Plex also complains that I need to claim it after every reboot. Do you have any advice on how to correct those permission problems?
Also, regarding OpenCL drivers missing… is there something I need to do other than running sudo apt install ocl-icd-libopencl1 beignet-opencl-icd? Here’s the output on my Plex server:
beignet-opencl-icd is already the newest version (1.3.2-8).
ocl-icd-libopencl1 is already the newest version (2.2.14-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Is it possible that Ubuntu 21.10 is also part of the problem?
I just did some digging on Reddit and it sounds like Ubuntu 21.04 and 21.10 are known to have issues with HDR tone mapping.
Formatting, installing Ubuntu 20.04, adding Plex repositories, installing PMS from repositories, and reconfiguring PMS from scratch did the trick.
It sounds like I made two significant errors that hopefully others can avoid…
Don’t use Ubuntu 21.04 or 21.10 as Plex isn’t compatible with either.
Don’t install Plex from the pop-up that appears on the screen immediately after installing Ubuntu Desktop. This will install the SNAP package which @ChuckPa advised against.
Ubuntu 21, just like Ubuntu 19, is their “major development year”. During these years, the OS is having a lot of new things added to it and, based on years past, not the best choice for any production (stable) environment.
When 22 comes out, I would minimally wait until the first update before considering it (Let everyone else find the bugs).