HW Transcoding with HDR Tone mapping not working (hw works without tone mapping enabled)

Ignore it.

That’s the OLD packaging before PMS included the Intel Compute Runtime.

As you see, your versions are higher. Not to worry

I can’t try every single version… It’s not my job… Please provide me a reasonable list o milestone version you want to try like this:

1.31.3.6868 - Before the transcoder and IMD update
1.32.0.6973 - First release with the updates in place
1.32.1.6999 - Bug fixes of the regression fixes but not all.
1.32.5.7210 - Several bug fixes, but not all, ADDED AMD support + GPU selection
1.32.5.7349 - Last release before staff changes.
1.32.6.xxxx - Work since staff changes.

and I will perform tests for you…

Do you you have this one?

Please look at the test I already did for you on this post: HW Transcoding with HDR Tone mapping not working (hw works without tone mapping enabled):

@andreab809

Please confirm for me your environment?

  1. GeminiLake CPU
  2. Ubuntu 22.04 ?
  3. Native or VM installation
  1. GeminiLake CPU
  2. Debian 12
  3. Native installation

you can find more details on first post of this topic here or you can ask me other details if you need it.

Thanks. That confirms everything , including one thing I was afraid of.

I’m spinning up my development machines right now.
I’m going to try and fire off a PMS build for that older version and fully recreate the environment with debug compiled in. (Production build does not have debug compiled in). I’ll add some additional debug print statements for myself.

With luck, I’ll be able to see the difference in HW probing between 1.28.1 and current and why it fails to detect the hardware as it should.

@ChuckPa

While you’re poking around in the code, you may want to scrutinize the code path which reads this file to make sure it looks kosher:

/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Cache/cl-icds-linux-x86_64/icr.icd

I.e, that the file path reference in icr.icd points to a valid location and the library referenced is being opened successfully, etc…

Also, at least in my case, since Plex Transcoder doesn’t complain until after it picks the (correct) hardware for decode and encode and only fails when trying to enumerate OpenCL platforms, the code which performs that specific enumeration may deserve some scrutiny as well. The following OpenCL functions might be used:

clGetPlatformIDs()
clGetDeviceIDs()

My logs show that one of these two functions (likely) is returning -1001, which might point to a problem with it finding the libraries.

Hope this helps.

ok I just spun up a new lxc container with the requested PMS version 1.32.5.7210. Everything seems to work fine on this version tone mapping on & off both use hw acceleration. I then upgraded to the latest PMS beta 1.32.6.7468-07e0d4a7e rebooted the lxc container and confirmed this breaks tonemap transcoding once again. Debug Log attached for 1.32.5.7210

Happy to run any other tests that could be helpful.

PMS -  1.32.5.7210-77f7f99fa
GPU -  Raptor Lake-S GT1 [UHD Graphics 770]
CPU - i7-13700
Player - Plex Web (Firefox & Chrome) 
HDR tone mapping =  PASS
HW Transcoding = PASS
----
HDR tone mapping = ON
HW Transcoding = PASS
uname -a
Linux plexlxc 6.2.16-11-bpo11-pve #1 SMP PREEMPT_DYNAMIC PVE 6.2.16-11~bpo11+2 (2023-09-04T14:49Z) x86_64 x86_64 x86_64 GNU/Linux

Plex Media Server - 1.32.5.7210.log (1.6 MB)

Thanks.

So this confirms

  1. Clean installation environment
  2. PMS 1.32.5.7210
  3. Operational

If you have apple or android devices, please give a quick check?

I believe the update 7349 was to address some android issues arising from 7210

Sure, just tested and confirmed everything working fine with:

PMS 1.32.5.7210
Iphone 14 Pro Max - iOS 16.6.1

Sorry I don’t have any android devices.

Answers:

  1. No, not a clean install environment; still the same distro and kernel.
  2. Yes, PMS 1.32.5.7210.
  3. iOS client (iPhone 13 Mini) works fine, whether direct play or transcoding (I’ll include a screenshot below of the dashboard display when transcoding). Note: HDR tone mapping is not required on this device, so it isn’t attempted.

image

Further support to the idea that the issue is with OpenCL, not VAAPI.

@ChuckPa just to let you know that I have tested Plex Media Server 1.32.7.7571 Beta and it is still NOT working, exactly same issue as old versions.

Ragards

where can i found 1.32.5.7210 debian/ubuntu package ?

ALL:

Updating — PMS 1.32.8 contains fixes for ApolloLake and full fix for GeminiLake.

  1. Use of VaapiDriver="i965" and manual driver is no longer required
  2. Apollo & Gemini Lake CPUs now default to i965 driver; avoiding the incompatibilities with the Intel Media Driver

any news for alderlake ?

Hello,

i’ve the same issue with Alder Lake GT1.
Where can i found the 1.32.5.7210 release for Linux x64 ?

Everything is working as it should from KabyLake → RaptorLake.

If you’re not getting transcoding - Server DEBUG logs capturing the playback attempt will be needed.

Hello,

transcoding is working, but not tonemapping…


Image is “blurry” when tonemapping is activated.
Kernel Linux 6.2 Ubuntu - plex 1.32.8 - Intel 13500

Do I need to use the i965 driver with gemini lake if tone mapping works fine with 1.32.7?