OpenCL GPU acceleration not avaliable [SOLVED]

My graphics card is an RX5700, and I’m using Fedora 42. Why is GPU acceleration not available?

I think, you need to install the driver for the graphic card … Nvidia, I guess?

Its a AMD RX5700 XT

Ah, ok, check this:

https://www.reddit.com/r/Fedora/comments/g1eawm/guide_getting_opencl_working_with_radeon_rx/

You need to install the driver anyway, and/or OpenCL support, also for AMD! :wink:

1 Like

sudo dnf install rocm-opencl

This link is 5yrs old. Do you use this in your fedora system?

No, I didn’t. I use Ubuntu based distribution. It may be not complete or 100% up to date, but it is a starting point. :wink:

It doesn’t work.

Messages of command darktable -d opencl:

So, did you install OpenCL on your device? It seems to me, that it is not available, or not found…

Ok, this is the GPU driver, you need also the rocm opencl

is this link more clear to you?

1 Like

It worked. I needed to use AI to solve a few small problems, but in the end everything went well. Thank you.

1 Like

On Artix (Arch) with Ryzen 5 5600H I seemed to have all the drivers, opencl and rocm (core) installed, but there was no opencl.so or vendor file. one of Duck.ai (gpt 4o mini) suggestions was rocm-opencl-runtime which worked and now opencl is activated in DT 5.2.
hth, I’ve been chasing this issue occasionally for over a year!

I use AUR (en) - opencl-amd for a minimal installation. Might be comparable. Never had issues with the above package.