Jellyfin Forum
OpenCL Drivers? - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Off Topic (https://forum.jellyfin.org/f-off-topic)
+--- Forum: General Discussion (https://forum.jellyfin.org/f-general-discussion)
+--- Thread: OpenCL Drivers? (/t-opencl-drivers)



OpenCL Drivers? - dwjelly - 2025-04-03

I just installed a new Intel A310 into my XCP-ng host server, where I am running a Jellyfin VM. The VM is running Ubuntu 24.4. I followed the instructions on the Jellyfin website for setting up transcoding.  Everything went well except when I ran this command...

sudo /usr/lib/jellyfin-ffmpeg/ffmpeg -v verbose -init_hw_device vaapi=vaConfused-facedev/dri/renderD128 -init_hw_device opencl@va

I am getting the following error...

   

Trying to figure out how to run and use OpenCL. It installed correctly, but when I run clinfo --list, coming up empty  

If anyone has suggestions, I would appreciate the help. Thanks.
Just so you know, in the posted cmd above, it should be a forward slash and a colon, not a confused face. Will not let me add without changing to a face.


RE: OpenCL Drivers? - TheDreadPirate - 2025-04-03

Did you install the Intel OpenCL package? Your post says you are using Ubuntu 24.04, but the output from your prompt indicates 22.04.

Code:
built with gcc 11 (Ubuntu 11.4.0-1ubuntu1_22.04)

If that is accurate, that you are on Ubuntu 22.04 and not 24.04, you will need to manually download and install the Intel OpenCL package. Last I checked, the version of the OpenCL package included in the Ubuntu 22.04 repo was not new enough for Intel Arc.

Go to Intel's compute runtime repo, linked below, and download "intel-opencl-icd_25.09.32961.7_amd64.deb" (or whatever the latest version is) and install it.

https://github.com/intel/compute-runtime/releases


RE: OpenCL Drivers? - dwjelly - 2025-04-03

Thanks for the info. You are correct. I mislabeled my Ubuntu version. It is on 22.04. I found the info on how to install OpenCL after I posted this. I ran the installer, and now I am getting the correct information when I run the clinfo -list CMD. It is now working. Thanks again for your help.