If you're running an AMD GPU, you'll need AMD's ROCM software installed for just about anything to utilize the GPU outside of gaming. For CachyOS the package is opencl-amd included in the AUR assuming you're running the open source drivers for the video card included with the kernel. Just because the program can see the GPU is there doesn't mean it can utilize it if the proper software isn't installed already.
Folding@Home under CachyOS can see my GPU just fine but it can't fold on it unless I have the opencl-amd package installed for ROCM.
Those instructions are assuming it's an AMD GPU and newer than Polaris. I still have a Polaris I use occasionally for distributed computing and it requires a specific version of opencl-amd to work because AMD completely removed the ability in versions after this specific one.
Just to expand on this, as I think it's important that newcomers become comfortable with using their package manager via terminal; using an AUR helper like 'paru' which is included with CachyOS, the command would be:
Code:
paru opencl-amd
The result would be as follows:
Code:
❯ paru opencl-amd
1 aur/opencl-amd 1:7.2.0-1 [+137 ~0.68]
ROCm components repackaged from AMD's Ubuntu releases (ROCr runtime, OpenCL runtime, HIP runtime) - This package
is intended to work along with the free amdgpu stack.
2 aur/opencl-amd-dev 1:7.2.0-1 [+13 ~1.72]
ROCm extra runtime and developer packages. This package needs 14.03GB of disk space.
3 aur/xmr-stak-opencl-amd 2.10.8-1 [+2 ~0.00] [Out-of-date: 2024-03-28] [Orphaned]
Unified All-in-one Monero miner (AMD)
:: Packages to install (eg: 1 2 3, 1-3):
::
Select option 1 and follow the prompts to install.