4K HDR HEVC HW transcoding is broken on i5-11600K (Rocket Lake)

I just built a brand new Plex server based on the new bleeding edge 11 series Intel Rocket Lake CPU i5-11600K. (I knew I should of waited a year!)
So for the most part, I actually have it working very well except for one thing, I cannot get the transcoder to use the new Intel quicksync hardware in the new Xe GPU generation to transcode from 4K HDR file into a 1080 SDR player. I am using the iOS plex player app on my phone to test. I start the player with “Play Version” and select the 4K HDR source, I then make sure the “Settings” on the playback have been selected to a 1080 setting. The transcoding works and looks good (at 60% CPU used) but I really want it to use the HEVC hardware present in the new Xe GPU to do the work. As I understand it, looking at other posts, the Plex transcoder is capable of doing a hardware 4K HDR to 1080 SDR conversion completely on older Intel GPU hardware right now, I think my problem now is my hardware is too cutting edge and I’m either missing something in my Ubuntu installation or the Plex server code is missing something to recognize that I have all the hardware available.

Please note, I do not have a problem at all playing a 1080 SDR file using transscoding, I get the (hw) status just fine with 1080 SDR source files. My problem is I can;t get a 4K HDR to transocde with tonemapping using hardware. It always fails using the hardware and falls back to software. I am not using any subtitles in any of my tests. (I understand burned in subtitles will always use software transcoder)

History of setup:
I started with Ubuntu 20.04 LTS server but then upgraded to 20.10 server.
I figured out the linux-kernel was still too old to support Rocket Lake, so I installed the latest kernel I could find that was released: 5.11.11-051111-generic
Great, kernel found the hardware, but wouldn’t enable it without a kernel parameter, so I added “i915.force_probe=4c8a” to my kernel parameters.
Great!, now the GPU was being installed! I thought I was homefree! But no, I needed more stuff. Neither vainfo or clinfo said I had anything!
Originally I had followed the Plex guide on setting up HDR->SDR hardware support. It mentions the begneit driver and other things. Well they are all too old for Rocket Lake I found out.
So I then proceeded to install the new media packages for “iHD” instead of the “i915” stuff Ubuntu installed, and installed the new “Neo” Intel iHD compute packages.

To install latest available Ubuntu kernel:
Downloaded from: Index of /~kernel-ppa/mainline/v5.11.11/amd64
linux-headers-5.11.11-051111_5.11.11-051111.202103310025_all.deb
linux-headers-5.11.11-051111-generic_5.11.11-051111.202103310025_amd64.deb
linux-image-unsigned-5.11.11-051111-generic_5.11.11-051111.202103310025_amd64.deb
linux-modules-5.11.11-051111-generic_5.11.11-051111.202103310025_amd64.deb
Then to install:
sudo dpkg -i *.deb
Added “GRUB_CMDLINE_LINUX_DEFAULT=“i915.force_probe=4c8a”” to /etc/default/grub
sudo update-grub
sudo usermod -a -G video $LOGNAME
sudo usermod -a -G video plex
sudo reboot

> uname -r
5.11.11-051111-generic

To install the new “iHD” stuff:
sudo apt update
sudo apt upgrade
sudo apt install intel-opencl-icd intel-media-va-driver-non-free libmfx1 intel-level-zero-gpu level-zero vainfo clinfo
Added “LIBVA_DRIVER_NAME=iHD” to /etc/environment
sudo reboot

To install the new “Neo” compute stuff:
sudo apt remove intel-opencl-icd
Download packages from Intel github: Releases · intel/compute-runtime · GitHub
Followed the install instructions provided by Intel from above link.
sudo reboot

At this point I was very happy as both vainfo and clinfo were reporting:

> vainfo
libva info: VA-API version 1.10.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_10
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.10 (libva 2.10.0)
vainfo: Driver version: Intel iHD driver for Intel(R) Gen Graphics - 21.1.2 (67dbfde)
vainfo: Supported profile and entrypoints
      VAProfileNone                   :	VAEntrypointVideoProc
      VAProfileNone                   :	VAEntrypointStats
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Simple            :	VAEntrypointEncSlice
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointFEI
      VAProfileH264Main               :	VAEntrypointEncSliceLP
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointFEI
      VAProfileH264High               :	VAEntrypointEncSliceLP
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileJPEGBaseline           :	VAEntrypointVLD
      VAProfileJPEGBaseline           :	VAEntrypointEncPicture
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264ConstrainedBaseline:	VAEntrypointFEI
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSliceLP
      VAProfileHEVCMain               :	VAEntrypointVLD
      VAProfileHEVCMain               :	VAEntrypointEncSlice
      VAProfileHEVCMain               :	VAEntrypointFEI
      VAProfileHEVCMain               :	VAEntrypointEncSliceLP
      VAProfileHEVCMain10             :	VAEntrypointVLD
      VAProfileHEVCMain10             :	VAEntrypointEncSlice
      VAProfileHEVCMain10             :	VAEntrypointEncSliceLP
      VAProfileVP9Profile0            :	VAEntrypointVLD
      VAProfileVP9Profile1            :	VAEntrypointVLD
      VAProfileVP9Profile2            :	VAEntrypointVLD
      VAProfileVP9Profile3            :	VAEntrypointVLD
      VAProfileHEVCMain12             :	VAEntrypointVLD
      VAProfileHEVCMain12             :	VAEntrypointEncSlice
      VAProfileHEVCMain422_10         :	VAEntrypointVLD
      VAProfileHEVCMain422_10         :	VAEntrypointEncSlice
      VAProfileHEVCMain422_12         :	VAEntrypointVLD
      VAProfileHEVCMain422_12         :	VAEntrypointEncSlice
      VAProfileHEVCMain444            :	VAEntrypointVLD
      VAProfileHEVCMain444            :	VAEntrypointEncSliceLP
      VAProfileHEVCMain444_10         :	VAEntrypointVLD
      VAProfileHEVCMain444_10         :	VAEntrypointEncSliceLP
      VAProfileHEVCMain444_12         :	VAEntrypointVLD
      VAProfileHEVCSccMain            :	VAEntrypointVLD
      VAProfileHEVCSccMain            :	VAEntrypointEncSliceLP
      VAProfileHEVCSccMain10          :	VAEntrypointVLD
      VAProfileHEVCSccMain10          :	VAEntrypointEncSliceLP
      VAProfileHEVCSccMain444         :	VAEntrypointVLD
      VAProfileHEVCSccMain444         :	VAEntrypointEncSliceLP
      VAProfileAV1Profile0            :	VAEntrypointVLD
      VAProfileHEVCSccMain444_10      :	VAEntrypointVLD
      VAProfileHEVCSccMain444_10      :	VAEntrypointEncSliceLP
> clinfo
Number of platforms                               1
  Platform Name                                   Intel(R) OpenCL HD Graphics
  Platform Vendor                                 Intel(R) Corporation
  Platform Version                                OpenCL 3.0 
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_icd cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_intel_command_queue_families cl_intel_subgroups cl_intel_required_subgroup_size cl_intel_subgroups_short cl_khr_spir cl_intel_accelerator cl_intel_driver_diagnostics cl_khr_priority_hints cl_khr_throttle_hints cl_khr_create_command_queue cl_intel_subgroups_char cl_intel_subgroups_long cl_khr_il_program cl_intel_mem_force_host_memory cl_khr_subgroup_extended_types cl_khr_subgroup_non_uniform_vote cl_khr_subgroup_ballot cl_khr_subgroup_non_uniform_arithmetic cl_khr_subgroup_shuffle cl_khr_subgroup_shuffle_relative cl_khr_subgroup_clustered_reduce cl_intel_spirv_media_block_io cl_intel_spirv_subgroups cl_khr_spirv_no_integer_wrap_decoration cl_intel_unified_shared_memory_preview cl_khr_mipmap_image cl_khr_mipmap_image_writes cl_intel_planar_yuv cl_intel_packed_yuv cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_image2d_from_buffer cl_khr_depth_images cl_khr_3d_image_writes cl_intel_media_block_io cl_intel_va_api_media_sharing cl_intel_subgroup_local_block_io 
  Platform Host timer resolution                  1ns
  Platform Extensions function suffix             INTEL

  Platform Name                                   Intel(R) OpenCL HD Graphics
Number of devices                                 1
  Device Name                                     Intel(R) Graphics [0x4c8a]
  Device Vendor                                   Intel(R) Corporation
  Device Vendor ID                                0x8086
  Device Version                                  OpenCL 3.0 NEO 
  Driver Version                                  21.13.19438
  Device OpenCL C Version                         OpenCL C 1.2 
  Device Type                                     GPU
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                               32
  Max clock frequency                             1300MHz
  Device Partition                                (core)
    Max number of sub-devices                     0
    Supported partition types                     None
    Supported affinity domains                    (n/a)
  Max work item dimensions                        3
  Max work item sizes                             512x512x512
  Max work group size                             512
  Preferred work group size multiple              64
  Max sub-groups per work group                   64
  Sub-group sizes (Intel)                         8, 16, 32
  Preferred / native vector sizes                 
    char                                                16 / 16      
    short                                                8 / 8       
    int                                                  4 / 4       
    long                                                 1 / 1       
    half                                                 8 / 8        (cl_khr_fp16)
    float                                                1 / 1       
    double                                               1 / 1        (n/a)
  Half-precision Floating-point support           (cl_khr_fp16)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
  Single-precision Floating-point support         (core)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
    Correctly-rounded divide and sqrt operations  No
  Double-precision Floating-point support         (n/a)
  Address bits                                    64, Little-Endian
  Global memory size                              13255081984 (12.34GiB)
  Error Correction support                        No
  Max memory allocation                           4294959104 (4GiB)
  Unified memory for Host and Device              Yes
  Shared Virtual Memory (SVM) capabilities        (core)
    Coarse-grained buffer sharing                 Yes
    Fine-grained buffer sharing                   No
    Fine-grained system sharing                   No
    Atomics                                       No
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       1024 bits (128 bytes)
  Preferred alignment for atomics                 
    SVM                                           64 bytes
    Global                                        64 bytes
    Local                                         64 bytes
  Max size for global variable                    65536 (64KiB)
  Preferred total size of global vars             4294959104 (4GiB)
  Global Memory cache type                        Read/Write
  Global Memory cache size                        524288 (512KiB)
  Global Memory cache line size                   64 bytes
  Image support                                   Yes
    Max number of samplers per kernel             16
    Max size for 1D images from buffer            268434944 pixels
    Max 1D or 2D image array size                 2048 images
    Base address alignment for 2D image buffers   4 bytes
    Pitch alignment for 2D image buffers          4 pixels
    Max 2D image size                             16384x16384 pixels
    Max planar YUV image size                     16384x16352 pixels
    Max 3D image size                             2048x2048x2048 pixels
    Max number of read image args                 128
    Max number of write image args                128
    Max number of read/write image args           128
  Max number of pipe args                         0
  Max active pipe reservations                    0
  Max pipe packet size                            0
  Local memory type                               Local
  Local memory size                               65536 (64KiB)
  Max number of constant args                     8
  Max constant buffer size                        4294959104 (4GiB)
  Max size of kernel argument                     2048 (2KiB)
  Queue properties (on host)                      
    Out-of-order execution                        Yes
    Profiling                                     Yes
  Queue properties (on device)                    
    Out-of-order execution                        No
    Profiling                                     No
    Preferred size                                0
    Max size                                      0
  Max queues on device                            0
  Max events on device                            0
  Prefer user sync for interop                    Yes
  Profiling timer resolution                      83ns
  Execution capabilities                          
    Run OpenCL kernels                            Yes
    Run native kernels                            No
    Sub-group independent forward progress        No
    IL version                                    SPIR-V_1.2 
    SPIR versions                                 1.2 
  printf() buffer size                            4194304 (4MiB)
  Built-in kernels                                (n/a)
  Device Extensions                               cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_icd cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_intel_command_queue_families cl_intel_subgroups cl_intel_required_subgroup_size cl_intel_subgroups_short cl_khr_spir cl_intel_accelerator cl_intel_driver_diagnostics cl_khr_priority_hints cl_khr_throttle_hints cl_khr_create_command_queue cl_intel_subgroups_char cl_intel_subgroups_long cl_khr_il_program cl_intel_mem_force_host_memory cl_khr_subgroup_extended_types cl_khr_subgroup_non_uniform_vote cl_khr_subgroup_ballot cl_khr_subgroup_non_uniform_arithmetic cl_khr_subgroup_shuffle cl_khr_subgroup_shuffle_relative cl_khr_subgroup_clustered_reduce cl_intel_spirv_media_block_io cl_intel_spirv_subgroups cl_khr_spirv_no_integer_wrap_decoration cl_intel_unified_shared_memory_preview cl_khr_mipmap_image cl_khr_mipmap_image_writes cl_intel_planar_yuv cl_intel_packed_yuv cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_image2d_from_buffer cl_khr_depth_images cl_khr_3d_image_writes cl_intel_media_block_io cl_intel_va_api_media_sharing cl_intel_subgroup_local_block_io 

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  Intel(R) OpenCL HD Graphics
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   Success [INTEL]
  clCreateContext(NULL, ...) [default]            Success [INTEL]
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  Success (1)
    Platform Name                                 Intel(R) OpenCL HD Graphics
    Device Name                                   Intel(R) Graphics [0x4c8a]
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  Success (1)
    Platform Name                                 Intel(R) OpenCL HD Graphics
    Device Name                                   Intel(R) Graphics [0x4c8a]
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  Success (1)
    Platform Name                                 Intel(R) OpenCL HD Graphics
    Device Name                                   Intel(R) Graphics [0x4c8a]

ICD loader properties
  ICD loader Name                                 OpenCL ICD Loader
  ICD loader Vendor                               OCL Icd free software
  ICD loader Version                              2.2.12
  ICD loader Profile                              OpenCL 2.2
	NOTE:	your OpenCL library only supports OpenCL 2.2,
		but some installed platforms support OpenCL 3.0.
		Programs using 3.0 features may crash
		or behave unexpectedly

The good news after all this, Plex was now using the hardware transcoder when I was requesting 1080 files remotely, BUT if I requested 4K HDR → 1080 SDR then it is falling back to using the software transcoder. As I understand it, it should be using the hardware to do this. Note, I am not requesting any subtitles, they are disabled. I expect the 4K HDR → 1080 SDR process to use the hardware. This transcode does actually work currently with this setup, but uses 60% of the CPU to do it! So this is the one remaining problem I have not solved yet, and I need help from the Plex team to see if I have missed something in my configuration, or if there is a problem on the Plex server side not setting up the Rocket Lake quicksync correctly?

LOGS
Plex Media Server Logs_2021-04-04_06-30-33.zip (3.7 MB)

PLEX VERSIONS
Server Version#: Plex Media Server v1.22.2.4276-3cbd5e781 - Ubuntu PC x86_64
Player Version#: PlexMobile/7.15 (iPhone; iOS 14.4.2; Scale/3.00)

Thanks for your help.
If anything, I hope my setup instrutions above help more people get setup on this very new hardware as well!

2 Likes

Turn off HDR tone mapping for now till Chuck and the devs get it working for Rocket Lake. The HDR tone mapping will be done by the CPU in most cases. Plex is using/testing a specific set of ICD drivers.

Indeed, turning off HDR Tone mapping setting in plex does indeed result in a (hw) status!

image

I will eagerly await until the devs have time to add full Rocket Lake support to reenable hardware HDR tone mapping then.

I had the exact same issue, I have an i3-10100. A better solution for me was to downgrade to Plex 1.22.0.4163. This way tone mapping still works as well!

Same here, I have an i5-10600K - version 1.22.0.4163 still works for HDR → SDR HW transcoding. Anything newer does not work. It’s available in the Plex repo, try out that version and I bet it will work.

1 Like

I have a NUC10i7FNHK running Ubuntu 20.10, with Plex in docker (linuxserver.io’s latest). The NUC’s cpu is from the comet lake architecture, and FWIW - I noticed the same behavior described by the OP. In my own words, I had quicksync-powered hw transcoding working for over a year, and more recently I noticed that HDR content was no longer hardware-transcoded. I’m pretty sure it used to work, not sure, either way, content with HDR that requires being transcoded to a non-HDR tv grinds the nuc to a halt - maxes out all cpus, on the content I tested at least (a 30gb Passengers file). Turning off HDR tonemapping immediately fixed the issue. Fingers crossed we can get HDR tonemapping hardware-transcoding (re)enabled.

Another I3-10100 user with the same issue. Hardware transcoding works as soon as I turn off HDR Tone Mapping. Was definitely working before.

1 Like

Yes, using an Intel 10400 and as soon as I left plex:version-1.22.0.4163-d8c4875dd it stopped working correctly. I guess I am kind of curious as to why this would be broken and not reverted for current users?

I understand the drivers maybe not being available etc for the brand new 11xxx series chips. But everything was working perfectly for my 10400 and now it is broken. Isn’t it possible to revert to the older versions drivers whilst applying whatever Plex related updates are happening?

edit without actually posting: I note this is being worked on and it SEEMS like people are aware it’s also affecting the 9/10 series chips. Hopefully after holidays devs can roll something out ASAP to address.

Ok, I have tested this with 1.22.0.4163 version and the good news is that (hw) is showing up now with HDR tone mapping turned on, BUT the bad news is now the video is corrupted, where as with the latest version the video is perfect but not using the hardware. So going back to this old version is no better than me using the latest version at this point.

You might need updated packages from Intel for your CPU (GitHub - intel/compute-runtime: Intel® Graphics Compute Runtime for oneAPI Level Zero and OpenCL™ Driver). I think I saw something saying they didn’t have them currently supporting your iGPU but a release was imminent. Also stay on that version of Plex because anything newer breaks it. They still haven’t really said why, but they are tracking the issue.

1 Like

Indeed, I am already using the very latest packages available from the compute runtime link. I am one version behind on the media va driver, I am using the one available from intel’s package repository which has not been updated with the very latest available source code yet. Also needed to use the 5.11.11 linux kernel to even get the driver needed for Rocket Lake as well, and even so, that also requires a kernel parameter override to load the Rocket Lake driver! I fear I built the cutting edge plex server too soon! Hopefully Intel pushes out the packages very soon!

My current versions of Intel packages:

ii  intel-gmmlib                                20.4.1                              amd64        Intel(R) Graphics Memory Management Library Package
ii  intel-igc-core                              1.0.6748                            amd64        Intel(R) Graphics Compiler for OpenCL(TM)
ii  intel-igc-opencl                            1.0.6748                            amd64        Intel(R) Graphics Compiler for OpenCL(TM)
ii  intel-level-zero-gpu                        1.0.19438                           amd64        Intel(R) Graphics Compute Runtime
ii  intel-media-va-driver-non-free:amd64        21.1.2+i520~u20.04                  amd64        VAAPI driver for the Intel GEN8+ Graphics family
ii  intel-microcode                             3.20201110.0ubuntu0.20.10.2         amd64        Processor microcode firmware for Intel CPUs
ii  intel-ocloc                                 21.13.19438                         amd64        Intel(R) Graphics Compute Runtime
ii  intel-opencl                                21.13.19438                         amd64        Intel(R) Graphics Compute Runtime
rc  intel-opencl-icd                            20.13.16352-1                       amd64        Intel graphics compute runtime for OpenCL
ii  libdrm-intel1:amd64                         2.4.104+i520~u20.04                 amd64        Userspace interface to intel-specific kernel DRM services -- runtime
ii  xserver-xorg-video-intel                    2:2.99.917+git20200714-1            amd64        X.Org X server -- Intel i8xx, i9xx display driver

Very interested in this, since I am planning to build a new Plex server with the 11600K. Curious to see, when this willl be fixed. Only then will I be pulling the trigger.

Followed your method closely… and am getting closer @RoadRacer12

At the moment vainfo is reporting version 1.8.0 however and then failing.

root@ubuntu01:~# vainfo
error: XDG_RUNTIME_DIR not set in the environment.
error: can't connect to X server!
libva info: VA-API version 1.8.0
libva info: User environment variable requested driver 'iHD'
libva info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
libva info: Found init function __vaDriverInit_1_8
libva error: /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so init failed
libva info: va_openDriver() returns 1
vaInitialize failed with error code 1 (operation failed),exit

I compared the Intel packages you’ve listed; I was missing intel-opencl-icd, but when I installed it, apt removed intel-opencl.

root@ubuntu01:~# apt install intel-opencl-icd
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libclang-cpp10 libigc1 libigdfcl1 libllvm10 libllvmspirvlib10 libopencl-clang10
The following packages will be REMOVED:
  intel-opencl
The following NEW packages will be installed:
  intel-opencl-icd libclang-cpp10 libigc1 libigdfcl1 libllvm10 libllvmspirvlib10 libopencl-clang10
0 upgraded, 7 newly installed, 1 to remove and 1 not upgraded.

packages with intel in the name:

intel-gmmlib/now 20.4.1 amd64 [installed,local]
intel-igc-core/now 1.0.6812 amd64 [installed,local]
intel-igc-opencl/now 1.0.6812 amd64 [installed,local]
intel-level-zero-gpu/now 1.0.19498 amd64 [installed,local]
intel-media-va-driver-non-free/groovy,now 20.2.0+ds1-1 amd64 [installed]
intel-microcode/groovy-updates,groovy-security,now 3.20201110.0ubuntu0.20.10.2 amd64 [installed,automatic]
intel-ocloc/now 21.14.19498 amd64 [installed,local]
intel-opencl-icd/groovy,now 20.13.16352-1 amd64 [installed]
libdrm-intel1/groovy,now 2.4.102-1ubuntu1 amd64 [installed,automatic]

Other differences (slightly newer versions):

  1. kernel 5.11.13 Kernel v5.11.13 Mainline
  2. intel/compute-runtime 21.14 - intel/compute-runtime 21.14.19498

Out of curiosity:

  1. which motherboard are you using?
  2. Is your install a server or desktop?

thanks for any ideas…

First off, intel-opencl, is the correct package, intel-opencl-icd is the ubuntu provided package. But you will note on my listing "rc intel-opencl-icd " there is an “rc” under the status column. That means its removed but its detecting the configuration files are left behind. It detects that because the intel-opencl package is using those configuration files still. So your setup is correct.

Please note, your vainfo/clinfo commands have to be run under your non-root account. Running those as root while logged in graphically as another user will always fail. Run those again as the user you’re logged in as.

I think your media driver is older than mine because while I was trying to get things working I forgot that I had added a direct intel ppa to their media drivers into the package manager, so it’s actually installed the versions available through their newer ppa. Please note, leave out the ‘intel-opencl-icd’ package from below. I pasted the steps unmodified from Intels website.

sudo apt-get install -y gpg-agent wget
wget -qO - https://repositories.intel.com/graphics/intel-graphics.key | sudo apt-key add -
sudo apt-add-repository 'deb https://repositories.intel.com/graphics/ubuntu focal main'
sudo apt-get update
sudo apt-get install intel-opencl-icd intel-media-va-driver-non-free libmfx1 intel-level-zero-gpu level-zero

I am using a Gigabyte Z590 UD motherboard. Not fancy needed for Plex.
I am using the server edition of Ubuntu, currently groovy, 20.10

1 Like

Anyone feeling ambitious ?

This is a developer build.

It should correct what was lost after 1.22.0.4163 but may not correct ALL the issues.

@emb531

This will likely interest you

Unfortunately still no HW with HDR → SDR transcoding :frowning:

@emb531

Can you provide the logs please?

I will try this in a few hours myself.