Intel OCLoc: Not Installed

@ChuckPa

Can you maybe help me out here? Dont know how to solve this - somehow the system/plex cant see this is installed?

sudo dpkg -i intel-ocloc_21.27.20266_amd64.deb
,
dpkg: dependency problems prevent configuration of intel-ocloc:

intel-ocloc depends on intel-igc-opencl (= 1.0.7862); however:

Version of intel-igc-opencl on system is 1.0.8744.

dpkg: error processing package intel-ocloc (–install):

dependency problems - leaving unconfigured

Errors were encountered while processing:

intel-ocloc
,

PlexMediaServer install: OpenCL: Installed
PlexMediaServer install: Intel Gmmlib: Installed
PlexMediaServer install: Intel IGC Core: Installed
PlexMediaServer install: Intel IGC OpenCL: Installed
PlexMediaServer install: Intel OpenCL: Installed
PlexMediaServer install: Intel OCLoc: Not Installed
PlexMediaServer install: Intel Zero GPU: Installed

When I run sudo dpkg -s intel-igc-opencl

Package: intel-igc-opencl

Status: install ok installed

Priority: optional

Section: devel

Installed-Size: 201736

Maintainer: intel

Architecture: amd64

Version: 1.0.8744

Depends: intel-igc-core (= 1.0.8744), libc6 (>= 2.27), libgcc1 (>= 1:3.4), libstdc++6 (>= 5.2), zlib1g (>= 1:1.2.0)

Description: Intel(R) Graphics Compiler for OpenCL™

Can you help me out here? Its a fresh ubuntu server 20.04 its install.

Thanks :slight_smile:

If you look at the installer message, did you see where it provides the link where to go get the Intel Compute Runtime modules at GitHub ?

At Github, Intel provides the instructions for installing in sequence to meet the dependency chain.

From the installer script directly; :wink:

    # Intel Compute Runtime needed?  Print instructions if needed
    if [ $NeedIntelCompute -gt 0 ] && [ $HaveIntelCompute -eq 0 ]; then

      if [ $HaveIntelGmmlib -eq 0 ]; then
        Warnings=$((Warnings + 1))
        Output ""
        Output "WARNING: The Intel GMM library, required for Intel Compute Runtime support, is missing."
        Output "         Please install package:  'intel-gmmlib' from https://github.com/intel/compute-runtime/releases"
      fi

      if [ $HaveIntelIGCCore -eq 0 ]; then
        Warnings=$((Warnings + 1))
        Output ""
        Output "WARNING: The Intel IGC Core, required for Intel Compute Runtime support, is missing."
        Output "         Please install package:  'intel-igc-core' from https://github.com/intel/compute-runtime/releases"
      fi

      if [ $HaveIntelIGCOpenCL -eq 0 ]; then
        Warnings=$((Warnings + 1))
        Output ""
        Output "WARNING: The Intel IGC OpenCL library, required for Intel Compute Runtime support, is missing."
        Output "         Please install package:  'intel-igc-opencl' from https://github.com/intel/compute-runtime/releases"
      fi

      if [ $HaveIntelOpenCL -eq 0 ]; then
        Warnings=$((Warnings + 1))
        Output ""
        Output "WARNING: The Intel OpenCL library, required for Intel Compute Runtime support, is missing."
        Output "         Please install package:  'intel-opencl' from https://github.com/intel/compute-runtime/releases"
      fi

      if [ $HaveIntelOCLoc -eq 0 ]; then
        Warnings=$((Warnings + 1))
        Output ""
        Output "WARNING: The Intel Ocloc library, required for Intel Compute Runtime support, is missing."
        Output "         Please install package:  'intel-ocloc' from https://github.com/intel/compute-runtime/releases"
      fi

      if [ $HaveIntelZeroGPU -eq 0 ]; then
        Warnings=$((Warnings + 1))
        Output ""
        Output "WARNING: The Intel Level Zero GPU library, required for Intel Compute Runtime support, is missing."
        Output "         Please install package:  'intel-level-zero-gpu'"
      fi

      Output "Intel Compute Runtime packages are available from:  https://github.com/intel/compute-runtime/releases"
      Output "Please be certain to install them in the listed order."
    fi
  fi

Hi @ChuckPa

Yes im fully aware :slight_smile: - but if you look at my installation , what’s installed - everything is installed - except that Intel OCLoc.

I downloaded all the packages and sudo dpkg -I *.deb - But that single package don’t seem to get installed correctly :confused:

what does dpkg -l | grep intel- | sort provide?

Are you getting the ii (proper installed) or something else?

Getting this:

ii  intel-gmmlib                                                21.2.1                                     amd64        Intel(R) Graphics Memory Management Library Package
ii  intel-igc-core                                              1.0.8744                                   amd64        Intel(R) Graphics Compiler for OpenCL(TM)
ii  intel-igc-opencl                                            1.0.8744                                   amd64        Intel(R) Graphics Compiler for OpenCL(TM)
ii  intel-level-zero-gpu                                        1.2.021270                                 amd64        Intel(R) Graphics Compute Runtime for oneAPI Level Zero.
ii  intel-media-va-driver-non-free:amd64                        21.3.3+i620~u20.04                         amd64        VAAPI driver for the Intel GEN8+ Graphics family
ii  intel-microcode                                             3.20210608.0ubuntu0.20.04.1                amd64        Processor microcode firmware for Intel CPUs
ii  intel-opencl-icd                                            21.42.021270                               amd64        Intel graphics compute runtime for OpenCL
ii  libdrm-intel1:amd64                                         2.4.107-1028                               amd64        Userspace interface to intel-specific kernel DRM services -- runtime
rc  intel-ocloc                                                 21.27.20266                                amd64        Intel(R) Graphics Compute Runtime

The latest release 21.42.21270 doesn’t have the intel-ocloc package weirdly. Not sure if it’s broken or no longer required.

Try installing all the packages from 21.41.21220 instead.

Please let me know if Intel is changing the requirements so I can go find a :gun: and …

LOL

Looks like it’s no longer required :joy::

> You can use apt to install intel-opencl-icd or remove intel-opencl and intel-ocloc if they are installed from previous releases. intel-opencl-icd is new package containing Neo and ocloc.

I don’t even care about version.

    # ICR Packages
    [ "$(dpkg -l | grep ^ii  | grep -i intel-gmmlib)"         != "" ] && HaveIntelGmmlib=1
    [ "$(dpkg -l | grep ^ii  | grep -i intel-igc-core)"       != "" ] && HaveIntelIGCCore=1
    [ "$(dpkg -l | grep ^ii  | grep -i intel-igc-opencl)"     != "" ] && HaveIntelIGCOpenCL=1
    [ "$(dpkg -l | grep ^ii  | grep -i intel-opencl)"         != "" ] && HaveIntelOpenCL=1
    [ "$(dpkg -l | grep ^ii  | grep -i intel-ocloc)"          != "" ] && HaveIntelOCLoc=1
    [ "$(dpkg -l | grep ^ii  | grep -i intel-level-zero-gpu)" != "" ] && HaveIntelZeroGPU=1

Still… :boom:

Yeah, you will probably need to update the debian packages.

With the latest version, it won’t even be installed (and will automatically be removed when installed), never mind the version. This issue came about because @Morphy is trying to do a force-install which is causing the conflict.

Will the existing package work even with the missing , now obsoleted, requirement?

Doesn’t seem like it (Can’t test since I use docker).

From further in the same thread:

then install it using apt:

apt install ./intel-opencl-icd_21.42.021270_amd64.deb

This will remove intel-opencl package and install intel-opencl-icd.

Removing the package will fail your checks no?

I will fix the checks. I have a few things to do this afternoon but will start updating the package when I return.

Unless determined otherwise -

  1. Drop requirement for Intel-ocloc and intel-opencl.
  2. Maintain requirement for intel-opencl-icd (which Beignet also requires)

We can check out the trial package here before I release it to QA/production.

Yep, that looks correct.

So all good here? :slight_smile:

Not sure if you have any influence for the Docker packaging but maybe get those packages bumped too? They are using versions from 11 months ago: Add Intel NEO driver · plexinc/pms-docker@69b8aec · GitHub

You just need to wait for new packages to be available for testing and in the meanwhile remove the broken intel-ocloc package from your system.

Ok thanks for the info.
I made a complete reinstall now since I had these problems.

Clean server now spam the console with

Time
Oct 27, 2021 17:47:38.532

Level
Error

Thread
0x7f17f8c59b38

Message
Unknown metadata type

?!?

Well I would - but its not installed :slight_smile:

ii  intel-gmmlib                          21.2.1                                     amd64        Intel(R) Graphics Memory Management Library Package
ii  intel-igc-core                        1.0.8744                                   amd64        Intel(R) Graphics Compiler for OpenCL(TM)
ii  intel-igc-opencl                      1.0.8744                                   amd64        Intel(R) Graphics Compiler for OpenCL(TM)
ii  intel-level-zero-gpu                  1.2.021270                                 amd64        Intel(R) Graphics Compute Runtime for oneAPI Level Zero.
ii  intel-media-va-driver:amd64           20.1.1+dfsg1-1                             amd64        VAAPI driver for the Intel GEN8+ Graphics family
ii  intel-microcode                       3.20210608.0ubuntu0.20.04.1                amd64        Processor microcode firmware for Intel CPUs
ii  intel-opencl-icd                      20.13.16352-1                              amd64        Intel graphics compute runtime for OpenCL
ii  libdrm-intel1:amd64                   2.4.105-3~20.04.2                          amd64        Userspace interface to intel-specific kernel DRM services -- runtime

Yep, that’s correct. Now just wait for updated packages to be posted in this thread.

1 Like