Hardware HDR tonemapping still broken on 1.31.0.6654

@ChuckPa Sorry if this is a dumb question - but why is FreeBSD involved at all? Unraid and docker containers are all Linux-based, no?

We support FreeBSD on Intel CPUs with hardware transcoding.

The hardware transcoding problem with the J4xxx J5xxx N5xxx CPUs is the Intel Media Driver version being used. (time to update it and apply Intel bug fixes & processor support)

Updating FreeBSD is blocking our updating and releasing for Linux.

Updating our DEB/RPM package as well as all NAS packages is a trivial task.
Updating the FreeBSD package binaries is a very arduous task
(Intel’s drivers weren’t written with FreeBSD in mind).

I’m being (overly) transparent by sharing that we want to change the FreeBSD offering so the rest of the Linux / Windows users can benefit

Ohh ok - so it’s about keeping all of the releases consistent if I’m understanding correctly? They don’t want to update the DEB package without having an update for FreeBSD ready to go as well?

Yes. Consistency across the server product line is where we’re at.

Thank you for the explanation. I prefer FreeBSD for a variety of reasons… but when it came to Plex I didn’t even bother, I just went for Ubuntu since it was the path of least resistance.

If FreeBSD is a lot of work to support and holding back releases for other platforms… as much of a fan as I am, I could not fault Plex for dropping support.

If it were me, that’d be the question I’d ask and think hard about.

I’d also look at the logistics/metrics.
I hate to make it a numbers game but if there isn’t justification then a management policy decision has to be made.

This is why I’m glad I’m not in those meetings.

1 Like

Yeah or at the very least move it to a different release cycle so that the more popular distros can be updated more frequently. Regardless thank you for all your work on this issue, it is very much appreciated. Keep us posted!

@ChuckPa Just curious - what’s the timeline of this kind of update? Weeks? Months?

Thanks.

I don’t know when the senior management teams discuss product (changes).

I do know if they decouple FreeBSD the other products, the change can be put into the normal Engineering release cadence cycle

1 Like

ALL:

I have a developer build with the updated Intel Media Driver.

I will transfer to my Gdrive for you to download

Please let me know what’s needed so I don’t transfer the entire build

I have this one:

and this one

Please let me know what other packages are needed.

Report results ASAP please.

I already have confirmation of UHD770 GPU and AlderLake N100

Plex Media Server Logs_2023-04-21_19-20-23.zip (1.1 MB)
@ChuckPa

Just tested and unfortunately still having the same issue. I restarted the docker container just to be sure. Logs are attached. :frowning_face:

Is there anything else I can do to ā€œresetā€ the codecs? I saw in a prior log after updating the firmware that plex downloaded new codecs because they were out of date.

The codecs should download automatically as they’re identified by UUID.

That having been said, if things aren’t right in there.

  1. Stop PMS
  2. With exception of the .device_id file
  3. Delete all you find in Codecs
  4. Start PMS

Codecs will download as each is needed after restart

@ChuckPa I stopped PMS, deleted all codecs, and restarted. It appears to have successfully downloaded new codecs. However it still reverts to software transcoding when attempting to play the LG Colors of Journey HDR 4K Demo file. I also confirmed that hardware transcoding works with the Costa Rica UltraHD4K (non-HDR) file.

I see the error in your logs.

OpenCL (tonemapping) fails when trying to execute the OpenCL command queue.

Are you certain you blacklisted ALL the Unraid drivers ?

You got some but did you also disable those for the OpenCL ?

@ChuckPa Sorry what do you mean by blacklisting the unraid drivers? All I did was install the new PMS deb file and delete the existing codecs in the codecs folder.

Edit: here’s the logs after deleting codecs, no reference to OpenCL in these logs.
Plex Media Server Logs_2023-04-21_19-55-05.zip (1.0 MB)

@matthe6038

Are you creating your container like this (passing all of /dev/dri) ?

I am asking because the Intel Media Driver version in use is new enough to include ALL capable Intel CPUs. We’ve confirmed AlderLake N100 (January 2023 released)

@matthe6038

Would you please do a

sudo lspci -nn

Just a dumb question. How do I install deb file on Unraid?

@premikkoci

  1. Place the DEB file where it can be seen when inside the container (where /config is mapped)

  2. docker exec -it container_name bash

  3. dpkg -i /config/DEB_file_name

  4. Restart container

This works because the Debian install scripts understand when they are in a container.

For what it’s worth, I updated to the latest dev build to test another issue. Regarding the LG Colors of Journey demo, I can play it via hardware transcode with HDR tone-mapping enabled, however there are some caveats.

  • It looks good at 4k with HDR enabled via direct stream
  • Forcing transcode, the colors look off, and it down-scales to 1080 even when manually selecting 4k original quality. – though this may be a separate issue.

Either way, it doesn’t refuse to play for me and doesn’t appear to fall back to software transcoding.

image

This is tested on my 2017 Samsung 4k tv via both Roku stick and samsung tv app.