Intel Arc opencl support

Hello,

Requirements:

I have [Searched] forum for my issue and found nothing related or helpful
I have checked the [Resources category ]([Resources Index])
I have reviewed the [Wiki] for relevant information
I have read the the [Release Notes and Errata]

OpenMandriva Lx version:

Rome

Desktop environment (KDE, LXQT…):

KDE Wayland

Description of the issue (screenshots if relevant):

Intel Arc opencl support, does it exist? I have heard of people using Davinci Resolve with built in graphics cards when they have the correct packages installed.

Is there a package for intel opencl support I can install?

I scoured the package list and couldn’t find anything related to what others in other forums used to get it working; such as “intel-opencl-icd”

Resolve works on Ubuntu with the exact same computer.

Relevant informations (hardware involved, software version, logs or output…):

Intel ARC integrated graphics on MSI Prestige 16 AI EVO B1MG

Thanks everyone!

Apparently this command works in Fedora:
sudo dnf install intel-opencl

This package unfortunately does not exist in rome or even cooker, according to one of those package search engines.

From what I am reading, we need these things? I don’t know if part of them in included insomething else. I would file a package request if one of our devs can tell me that we need one. :grinning:

GitHub - intel/compute-runtime: Intel® Graphics Compute Runtime for oneAPI Level Zero and OpenCL™ Driver

GitHub - intel/fpga-runtime-for-opencl: Intel® FPGA Runtime for OpenCL™ Software Technology

GitHub - intel/gits: API capture-replay tool for Vulkan, DirectX 12, OpenCL, Intel oneAPI Level Zero, and OpenGL

I have the Intel ARC B580 (Battlemage)

For me it’s absolutely needed. You cannot open Davinci Resolve without the “unsupported GPU” message appearing. Same thing goes for your B850 (nice card by the way!), Resolve won’t open without an openCL or CUDA device. I just tried Resolve again with the 6.15 kernal you guys helped me out with in the other thread on the off chance it fixed this issue. (it did not) My Ubuntu install worked right after I had all the installer and app dependencies repaired (standard practice with resolve’s not so great Linux installer).

Resolve on Ubuntu 22 works better than on my Windows 11 install on this computer, except for HDR support which Linux is in it’s infancy of supporting (ubuntu 22 does not support HDR, 24 does with new GNOME); KDE does a better job than GNOME with the support so far. GNOME locks your brightness control out when HDR is activated, KDE does not.

Here’s some more information on this issue.

[dillon@Deez ~]$ lspci -n -n -k | grep -A 2 -e VGA -e 3D
0000:00:02.0 VGA compatible controller [0300]: Intel Corporation Meteor Lake-P [Intel Arc Graphics] [8086:7d55] (rev 08)
        DeviceName: Onboard - Video
        Subsystem: Micro-Star International Co., Ltd. [MSI] Device [1462:13e7]
[dillon@Deez ~]$ glxinfo | grep -e OpenGL.vendor -e OpenGL.renderer
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) Arc(tm) Graphics (MTL)
[dillon@Deez ~]$ clinfo
Number of platforms                               0

ICD loader properties
  ICD loader Name                                 Khronos OpenCL ICD Loader
  ICD loader Vendor                               Khronos Group
  ICD loader Version                              3.0.6
  ICD loader Profile                              OpenCL 3.0

It seems that opencl is running, but not recognizing my card the way Ubuntu does (number of platforms: 0)

As far as those packages you posted are concerned, only compute-runtime is relevent to this issue. FPGA runtime for opencl is for FPGA developers from my understanding.

Most distros have opencl support as it’s a keystone to video production on non-CUDA cards.

O.K. Package request has been filed. Now, we wait. :hourglass_flowing_sand:

It is needed for me as well. Right now, I have my nvidia 2070 running.

Intel® Graphics Compute Runtime for oneAPI Level Zero and OpenCL™ Driver · Issue #3243 · OpenMandrivaAssociation/distribution · GitHub

1 Like

Thanks Wilson! I think I may have made a little progress surprisingly enough.

[dillon@Deez ~]$ clinfo
Number of platforms                               1
  Platform Name                                   Clover
  Platform Vendor                                 Mesa
  Platform Version                                OpenCL 1.1 Mesa 25.0.5
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd
  Platform Extensions function suffix             MESA

  Platform Name                                   Clover
Number of devices                                 0

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  No platform
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   No platform
  clCreateContext(NULL, ...) [default]            No platform
  clCreateContext(NULL, ...) [other]              <error: no devices in non-default plaforms>
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  No devices found in platform
  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)  No devices found in platform

ICD loader properties
  ICD loader Name                                 Khronos OpenCL ICD Loader
  ICD loader Vendor                               Khronos Group
  ICD loader Version                              3.0.6
  ICD loader Profile                              OpenCL 3.0

I think I may have two libraries running right now, but it looks like one of the two recognize my card.

1 Like

Building it for the meantime is over my head. I have the 2070, so I can wait.

1 Like

Here’s Ubuntu’s clinfo running opencl successfully, in case this helps anyone:
clinfo-ubuntu-running.txt (35.6 KB)

Just a little update: audio over hdmi doesn’t work; it works fine in Ubuntu and windows.

1 Like

You may want to go and subscribe to the thread in our GitHub.
It does seem to be a work in progress.

1 Like

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