Intel Quick Sync HDR-to-SDR tonemapping performance

Hi! I’m unable to transcode a single 4k HDR to 1080p SDR with tone mapping enabled. With tone mapping enabled processor usage is around 40% and Tautulli shows transcode speed below 1, video buffers every few seconds. If I disable tone mapping processor usage drops to around 10% and transcode speed jumps to 5.

I’m using a Intel 8 NUC with i5-8259u, Ubuntu 20.04.

Is this normal? I’ve seen people say they have no issues doing HDR-to-SDR tonemapping with J4005 and J5005.

Thanks!

Server Version#: 1.21.1.3876

@Jfin

You’re missing something there (The two dependent packages ??)

I have a NUC8 i7-HVK (i7-8809g CPU) and not seeing high CPU utilization .

I did install libopencl1 and beignet dependencies, should I install something else?

edit: It’s a fresh Ubuntu install

Here are some screenshots of what’s happening:

4

1

@Jfin

What do you see in the dashboard and top (not htop) ?

Looks like this:

grab that debug log zip please?

I want to see why it decided to do that.

This is a host-native (bare metal) server install?

Here’s the log and yes, bare metal, only for Plex.

attachment removed

Hmm… I started checking out the logs myself and found this:

[0x7f367effd700] WARN - [Transcode] [TPU] Failed to load OpenCL; falling back to software tone mapping: libOpenCL.so.1: cannot open shared object file: No such file or directory

.

So there’s something wrong with the openCL library installation.

Try removing (purge) , restart, re-install ?

Tried it, didn’t work. Still get the same error. I can locate the libOpenCL.so.1 file in /usr/lib/x86_64-linux-gnu/

that’s where it should be.

Have you customized your Plex installation in any way?

I ask because this is vanilla stuff:

  1. install PMS
  2. observe packages are needed
  3. Install packages
  4. Restart PMS
  5. Enable options
  6. Use

No customization, I’ve been wrestling with this issue for a couple of days. I’ll try a fresh Ubuntu install once more as it only takes a few moments.

I think that’s appropriate.

  1. Full defaults
  2. Let it fully update
  3. Install Plex
  4. Install the dependencies it cites.
  5. Restart Plex

Didn’t work. The same libOpenCL.so.1 error message appears on debug logs before and after running ‘apt install ocl-icd-libopencl1 beignet-opencl-icd’ on a completely fresh Ubuntu install.

Logs ZIP please? I will comb through them.

Here you go, logs before and after installation of dependencies.

attachments removed

Found it.

You installed the SNAP package from the Ubuntu App Store. They changed the App store. It only dispenses SNAP apps now.

SNAP packages can only use software and are confined to your home directory. (They are locked containers)

Jan 27, 2021 01:02:47.449 [0x7f10a000e700] INFO - Plex Media Server v1.21.2.3939-3945797bd - Ubuntu snap x86_64 - build: linux-x86_64 snap - GMT 02:00

Uninstall it

Download Plex from https://plex.tv/downloads (x86_64 version)

sudo dpkg -i filename.deb

Now setup again and enjoy :smiling_imp:

Yessss it’s working! Thank you for being so patient, as you can see it’s my first week with Linux. I had no idea about that SNAP thing. Awesome :smile:

Just wait. The pain will begin soon enough :smiling_imp:

1 Like

Hi Guys !

I want to upgrade my server. My plan is to buy an i3 10100 (with UHD graphics 630). 16GB 3200 RAM one Z490 and one NVMe.

Now I would be interested in the utilization of the hardware beforehand. Ubuntu or Win10

How many 4K HDR to SDR transcodes can I do with the iGPU of the 10100?

Is there anything wrong with my plan?

I look forward to information and help. Many Thanks!

greetings
KCX