Plex Hardware HDR tone mapping not working after version 1.28.0.5999

Server Version#: All versions above 1.28.0.5999 (e.g. 1.30.2.6563 & 1.31.0.6654)
Player Version#: Hosted Plex Web App

Hi, I run an Ubuntu Server with Plex running via a docker container which has the iGPU of my 8th gen intel processor passing through to it.

I’ve started to run into an issue whereby some videos, but not all, are falling back to software transcoding, which causes constant buffering since they’re fairly high bitrate files. I can see the fallback in the logs (line 2303 of the “Plex Media Server.log”) but I can’t figure out why it might be happening.

Any help would be much appreciated.

Plex Media Server Logs_2023-02-09_10-33-49.zip (4.6 MB)

UPDATE: The issue looks to stem from HDR tone mapping being enabled on versions above 1.28.0.5999 as per my below comments. Any suggestions for a more permenant fix that will allow me to continue updating versions? I’m also open to running this on linux bare metal instead of inside a docker container if that’s a factor here.

Just did a little more testing, it looks to be related to HDR to SDR tonemapping. I just disabled this and the video played via hw Transcoding without issue.

Additional logs showing this working with tonemapping disabled:
Plex Media Server Logs_2023-02-09_10-53-09.zip (2.0 MB)

Looks as though this might be related to a bug that others have reported here: HDR HW Tone Mapping broken...again · Issue #325 · linuxserver/docker-plex · GitHub

When changing the version back to “lscr.io/linuxserver/plex:amd64-version-1.28.0.5999-97678ded3” it works with tone mapping enabled.

Any suggestions for a more permenant fix that will allow me to continue updating versions? I’m also open to running this on linux bare metal instead of inside a docker container if that’s a factor here.

PMS Beta 1.31.0.6654 fixed the HW HDR to SDR tonemapping for me on Docker under unRAID.

1 Like

Thanks, I’ll give the beta a go.

Are you using the linuxserver docker image? If so do you mind telling me how to get the beta version on there? From their releases they don’t seem to do beta versions but perhaps I’m missing something!

I’m running official docker and pull this: plexinc/pms-docker:plexpass

edit: looking at linuxserver docs it implies setting VERSION to latest would pull the beta for you…

So I just tried out the beta version 1.31.0.6654 and unfortunately I’m getting the same errors as anything above version 1.28.0.5999:

Feb 09, 2023 20:29:37.864 [0x7fecda68eb38] ERROR - [Req#123e/Transcode/qxksnsa8zsjqs2pd9jlch2f9/07085521-7511-46f3-a2de-a073b3500b9b] [AVHWDeviceContext @ 0x7effbf4f5640] Failed to get number of OpenCL platforms: -1001.
Feb 09, 2023 20:29:37.864 [0x7fecdc376b38] ERROR - [Req#1264/Transcode/qxksnsa8zsjqs2pd9jlch2f9/07085521-7511-46f3-a2de-a073b3500b9b] [AVHWDeviceContext @ 0x7effbf4f5640] Failed to get number of OpenCL platforms: -1001.
Feb 09, 2023 20:29:37.864 [0x7fece0124b38] ERROR - [Req#1268/Transcode/qxksnsa8zsjqs2pd9jlch2f9/07085521-7511-46f3-a2de-a073b3500b9b] [Parsed_hwmap_2 @ 0x7effc6def600] Failed to created derived device context: -19.
Feb 09, 2023 20:29:37.865 [0x7fecda402b38] ERROR - [Req#126b/Transcode/qxksnsa8zsjqs2pd9jlch2f9/07085521-7511-46f3-a2de-a073b3500b9b] [Parsed_hwmap_2 @ 0x7effc6def600] Failed to configure output pad on Parsed_hwmap_2
Feb 09, 2023 20:29:37.866 [0x7fecdb744b38] ERROR - [Req#126c/Transcode/qxksnsa8zsjqs2pd9jlch2f9/07085521-7511-46f3-a2de-a073b3500b9b] Error reinitializing filters!
Feb 09, 2023 20:29:37.866 [0x7fecda68eb38] ERROR - [Req#1270/Transcode/qxksnsa8zsjqs2pd9jlch2f9/07085521-7511-46f3-a2de-a073b3500b9b] Failed to inject frame into filter network: No such device
Feb 09, 2023 20:29:37.866 [0x7fecdc376b38] ERROR - [Req#1272/Transcode/qxksnsa8zsjqs2pd9jlch2f9/07085521-7511-46f3-a2de-a073b3500b9b] Error while processing the decoded data for stream #0:0
Feb 09, 2023 20:29:37.888 [0x7fece19fdb38] DEBUG - Jobs: '/usr/lib/plexmediaserver/Plex Transcoder' exit code for process 1145 is 1 (failure)
Feb 09, 2023 20:29:37.888 [0x7fecded41b38] DEBUG - Streaming Resource: Changing client to use software decoding

New logs available here: Plex Media Server Logs_2023-02-09_20-30-14.zip (1.5 MB)

Strange, I noticed quite a few missing driver files comparing latest beta Vs public and that seemed to resolve my issues

Managed to get this working, turned out to be my ubuntu/kernel version not playing well. Upgraded to the latest ubuntu version (22.10) and it’s now working as expected

Do you mean the kernel version on the host or the docker container? I am still fighting this, and would love a solution.

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