HDR to SDR tone mapping not working on Intel iGPU?

I just built a new Unraid server. I was testing the waters and noticed that when I enable HDR to SDR tonemapping and try to transcode the 4K file, it refuses to use Intel Quick Sync and instead goes to software transcode. When I disable tone mapping, it works fine. Any ideas on what is causing this? Or how to fix it?

i7-14700k

Did you ever find a fix? I’m having the same problem

Nope never figured it out. But i tired it last night and just now and it works as intended. No clue why or how. Some people said it was the linux kernal that needed to update in Unraid, but i haven’t updated and it finally started working out of nowhere. The only thing i can think of is thay it was a PLEX issue and it was fixed in an update.

Can you share your settings? Perhaps I can copy them and test if there is something wrong with mine.

The only setting is the checkbox in the transcoder settings called HDR to SDR tonemapping.

Broke for me sometime around 1.40.3. or .4. I fixed it by reverting docker image to:

image: plexinc/pms-docker:1.40.2.8395-c67dce28e

My friends 12th gen i5 hasn’t had working tone mapping since 1.4xxx versions. He is on unraid. Meanwhile my 14900k has never broke tone mapping wise. But Plex will crash unraid during library scans so I was forced to use Emby.

As you can see igpu working as advertised
image

This did not fixed it for me. Such a weird issue.

Did you add the gpu as a device or with the parameter command? I have an i5-14500. I added an Nvidia card and that works but I want to use the igpu just for Plex.

You do have to add the device into the Plex container just like everything else.

–device=/dev/dri

Yeah that’s how I did it. And transcoding works. Just not with tone mapping.

Ya I put /dev/dri is all. But like I was saying it seems to be processor specific support. My 14900k servers HW tone mapping works, my friend with 12600k his tone mapping does NOT work. My 13900HX works but my 12900k does not.

Thats interesting. I have a feeling there is something else going on here. Consider that when I started this thread, it didnt work for me either (i7-14700k). But now it is. Furthermore, all those CPU’s that you just listed (and mine) all use the exact same intel igpu (UHD 770). So either its a misconfiguration on our end, or something about the Plex container is wonky. Maybe we could get a dev to come tell us which one it is.

@ChuckPa

Folks,

  1. PMS build 8555 did have a problem. (The Intel Compute Runtime upgrade)
  2. In PMS 1.40.4.8679 (current) we fixed what we could locally. There is a problem with the update which requires Intel’s help. We have an open ticket/issue with them.

On a slight tangent but still related,

  1. I was going to purchase a 14th gen MeteorLake machine
  2. I’ve cancelled that order given all the problems with the CPU (now public) in conjunction with Intel’s statements about how they’ll handle the problem.
  3. I have, in its place, ordered the Dragon Canyon NUC12DCMi9 .
  4. The new nuc will allow me to add, as needed, discrete GPU cards where the Scorpion Canyon has no such flexibility.

Related to this thread:

  1. UHD 770 should be working fine. I’ll have my new unit either later this week or beginning of next week and be able to test with a real UHD 770 unit.
  2. I will retain the NUC8-i7-HVK box (UHD630) as baseline along with my production Nvidia P2200 system
2 Likes

@Unibrowser

Would you please grab a set of DEBUG logs for me so that I can see what it’s doing?

Basic stuff – No subtitles in the file (which disables HW) and then HW decode/encode/tonemap as required.

@ChuckPa Do you also need one that fails? I can provide these if you’d like.

As far as Unraid goes, I was stold by someone else that the issue potentially is the linux kernal not being up to date in Unraid. Is this a possibility? But then that doesn’t explain why it wasn’t working and now it is, and i haven’t updated yet.

@Unibrowser

Please give me a couple days?

I have my entire home office torn apart for a power upgrade
(replace UPS w/ new UPS + eternal battery and new distribution power strips)

I received word this morning that my new NUC12 Dragon Canyon (NUC12DCMi9) shipped from Ireland w/ FedEx.

That NUC has UHD770 graphics. I’ll then be able to verify what you’re having trouble with.

As for your question about AlderLake w/ 770 GPU, I know of no issues with it.
If you want to change the code image and are already above 1.40.0, then I recommend pulling image, 1.40.2.8395-c67dce28e

1.40.2.8395-c67dce28e, while it has problems with ApolloLake & GeminiLake, is best known stable across the other Intel workstation processors.

(APL and GLK are extremely problematic because of the lack of Intel support)

1 Like

Sorry for the confusion. Mine is working fine now. I was just curious. The others in this thread are having issues. I’m interested to see what you find when you get your new nuc

I fixed my issue when I did the following:
I removed all nvidia gpu referenced in the docker settings:

  • Extra parameters: --runtime=nvidia
  • NVIDIA_VISIBLE_DEVICES:
  • NVIDIA_DRIVER_CAPABILITIES:

The Nvidia gpu still showed up in Plex but now when I select the alder lake gpu it uses that gpu and tone mapping works.

1 Like