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
- 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 - Download the git and unzip it. For example in your Downloads folder. rcombs/beignet at comet-lake (github.com)
- Create a Folder “build” in the unzipped git repo
mkdir buildand navigate to the foldercd build - run cmake
cmake -DLLVM_INSTALL_DIR=/usr/lib/llvm-7/bin .. - run make
make -j8 - purge the incompatible intel beignet library
sudo apt purge ocl-icd-libopencl1 beignet-opencl-icd - 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