Intel-opencl-icd plex transcoding intel GPU

My Intel x86 dietpi pplex server is no longer supporting hardware accelerated HDR tonemapping and is falling back to CPU usage.

Previous versions of plexmediaserver HW transcoded HDR without issue, and the issue appears to be linked to a change in the Intel OpenCL ICD package version requirements.

The installer advises that

PlexMediaServer install: WARNING: The Intel OpenCL library, required for Intel Compute Runtime support, is missing.
PlexMediaServer install:          Please install package:  'intel-opencl' from https://github.com/intel/compute-runtime/releases/download/21.49.21786/intel-opencl-icd_21.49.21786_amd64.deb

however when attempting to install the quoted version, i face various dependency problems that i cannot seem to circumvent.

root@Serverstacks:/mnt/6TB/transcode# sudo dpkg -i intel-opencl-icd_21.49.21786_amd64.deb
Selecting previously unselected package intel-opencl-icd.
(Reading database ... 76199 files and directories currently installed.)
Preparing to unpack intel-opencl-icd_21.49.21786_amd64.deb ...
Unpacking intel-opencl-icd (21.49.21786) ...
dpkg: dependency problems prevent configuration of intel-opencl-icd:
 intel-opencl-icd depends on libc6 (>= 2.29); however:
  Version of libc6:amd64 on system is 2.28-10+deb10u1.
 intel-opencl-icd depends on libgcc-s1 (>= 3.4); however:
  Package libgcc-s1 is not installed.
 intel-opencl-icd depends on libstdc++6 (>= 9); however:
  Version of libstdc++6:amd64 on system is 8.3.0-6.

dpkg: error processing package intel-opencl-icd (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 intel-opencl-icd
### Creating a bug report/issue

#### Required Information
G_DIETPI_VERSION_CORE=8
G_DIETPI_VERSION_SUB=5
G_DIETPI_VERSION_RC=1
G_GITBRANCH='master'
G_GITOWNER='MichaIng'
- Distro version | `Buster`
- Kernel version | `5.10.0-0.bpo.12-amd64 #1 SMP Debian 5.10.103-1~bpo10+1 (2022-03-08)
- SBC model | `Native PC (x86_64)` 
- Power supply used | (corsair 450w)
- SD card used | (samsung830)

#### Additional Information (if applicable)
- Software title | (plex/intel drivers)
- Was the software title installed freshly or updated/migrated? - updated

- Can this issue be replicated on a fresh installation of DietPi? - i am not in a position to comfortably install a fresh dietpi on this server unless it is a last resort

<-- If you sent a "dietpi-bugreport", please paste the ID here -->
- Bug report ID | `echo $G_HW_UUID`

#### Steps to reproduce
<!-- Explain how to reproduce the issue -->
1. ...update to latest plexmediaserver on an x86 image using a 10th gen intel iGPU
2. ...transcode HDR video file

#### Expected behaviour
<!-- What SHOULD be happening? -->
- ...transcoding using HW acceleration

#### Actual behaviour
<!-- What IS happening? -->
Transcoding using CPU. (all other transcoding of non HDR material, even 4k is working fine using HW acceleration)

- ...

#### Extra details
<!-- Please post any extra details that might help solve the issue -->
- ...

As far as I can see you are running Debian Buster still. However the software you are trying to install seems to require Debian Bullseye. There you might need to think to upgrade your system. You could have a look to our guide DietPi – How to upgrade to “Bullseye” – DietPi Blog

2 Likes

The version from Debian Buster is installed already and hence really too old?

apt install intel-opencl-icd

Thanks!

the upgrade to bullseye worked and i know have full iGPU supported HDR tonemapping using Intel OpenCL ICD

Great service as always x

2 Likes