HDR Tone Mapping on Intel Coffee Lake (9th gen) iGPU - How to enable hw transcode

I had the Problem, that HW transcode would never work with HDR Tone Mapping enabled.
I’m running an i7-9700 on Ubuntu 20.04. Technically it has the power to transcode a 4k Video but that’s not the point of having an intel cpu with iGPU.
After reading the post from Clmcm400 Lost HW transcoding… EDIT: HDR Tone mapping issue - Plex Media Server / Desktops & Laptops - Plex Forum i had a basic idea what to do but i missed a comprehensive step by step tutorial. So here are the steps i took to get it working (the Steps 1-5 are sourced from a pull request of the dev Enable Comet Lake support by rcombs · Pull Request #20 · intel/beignet (github.com)) the rest is done by trial and error:

DISCLAIMER: DOING SO IS AT YOUR OWN RISK - DON’T BLAME ME IF YOU FCK ANYTHING UP

  1. Install depencies sudo apt install cmake pkg-config python ocl-icd-dev libegl1-mesa-dev ocl-icd-opencl-dev libdrm-dev libxfixes-dev libxext-dev llvm-7-dev clang-7 libclang-7-dev libtinfo-dev libedit-dev zlib1g-dev
  2. Download the git and unzip it. For example in your Downloads folder. rcombs/beignet at comet-lake (github.com)
  3. Create a Folder “build” in the unzipped git repo mkdir build and navigate to the folder cd build
  4. run cmake cmake -DLLVM_INSTALL_DIR=/usr/lib/llvm-7/bin ..
  5. run make make -j8
  6. purge the incompatible intel beignet library sudo apt purge ocl-icd-libopencl1 beignet-opencl-icd
  7. install the beignet you just compiled sudo make install

Now hw transcoding with HDR Tone Mapping should work. I also compiled a package from my working self compiled beignet you can try to install on your system. Gofile - Free file sharing and storage platform

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