Hardware transcoding not working with tone mapping enabled

Server Version#: 1.24.5.5173
Player Version#: 4.63.0 (web client, edge browser)

I recently swapped my i7-8700k for an i7-9700. I don’t think it’s related but I wanted to mention it. They have the same iGPU, and I’ve validated that linux sees it and the driver is loaded. The server is running Ubuntu 20.04.3 LTS. I have (had) the ocl-icd-libopencl1 library and beignet-opencl-icd driver loaded.

Transcoding a 4k UHD HDR video to 1080p SDR falls back to 100% software encode/decode. I do not have subtitles enabled. Disabling tone mapping in plex settings allows for HW decode/encode for the same video to the same target resolution/bitrate.

Did you install the Intel Compute Runtime drivers?

The opencl-icd and beignet drivers which work for the 8xxx cpus don’t work for the 9xxx cpus

If you’re using Ubuntu / Debian and you install the package , it will check the CPU SKU (-xxxx number) and then confirm you have the appropriate tone mapping libraries installed. It also provides the link where to download from at github.

Here’s the installer’s check based on CPU SKU

      # Test for IntelComputeRuntime or Beignet based on CPUSKU  (SKL+ and select Xeons)
      [ $HaveIntelCore -gt 0 ] && [ $CPUSKU -gt 2000 ] && [ $CPUSKU -lt 9000 ] && NeedBeignet=1 && NeedOpenCL=1
      [ $HaveIntelCore -gt 0 ] && [ $CPUSKU -gt 1000 ] && [ $CPUSKU -lt 2000 ] && NeedIntelCompute=1 && NeedOpenCL=1
      [ $HaveIntelCore -gt 0 ] && [ $CPUSKU -gt 9000 ]                         && NeedIntelCompute=1 && NeedOpenCL=1

If I install the plex package? I haven’t reinstalled it since this isn’t a new build. I guess that could be my problem.

I did uninstall the beignet driver and installed the intel compute driver, and restarted plex. It still doesn’t seem to be working but I could be missing something simple. Do I just need to reinstall plex?

Just reinstall the package. (same DEB version you’re using)

It will take an inventory (pre-install phase) then tell you if something is missing.

If nothing reports as missing then the next step is to recreate (DEBUG logging enabled) and attach the ZIP here for me to take a look at.

Thank you got it sorted. Reran the install and it identified all sorts of things that were missing but once I downloaded the intel debs and manually installed them it started working again.

Thank you for pointing me in the right direction.

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