You are not logged in.
I already installed the packages mentioned in the issue https://bugs.archlinux.org/task/76845?p … pencl-mesa. The rusticl platform shows up in clinfo, but it lists no devices.
❯ clinfo -l
Platform #0: Clover
`-- Device #0: AMD Radeon RX 6700 XT (navi22, LLVM 14.0.6, DRM 3.48, 6.0.12-zen1-1-zen)
Platform #1: rusticlIn case it is relevant, I have also installed: ocl-icd, mesa, mesa-utils, opencl-mesa, vulkan-mesa-layers, libva-mesa-driver, lib32-mesa
Is this even supposed to work? This article https://www.phoronix.com/news/Rusticl-Outperformed-ROCm suggests that it should support my GPU.
Offline
Hello,
I have read this bug report: https://bugs.archlinux.org/task/76845?p … pencl-mesa
You may be missing these dependencies: spirv-tools" and/or spirv-llvm-translator
For me it wen better after that, but still not working. rustcl is not detecting my card (Radeon RX590)
Platform Name rusticl
Number of devices 0
NULL platform behavior
clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) Clover
clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) Success [MESA]
clCreateContext(NULL, ...) [default] Success [MESA]
clCreateContext(NULL, ...) [other]
clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) Success (1)
Platform Name Clover
Device Name AMD Radeon RX 590 Series (polaris10, LLVM 14.0.6, DRM 3.48, 6.0.12-arch1-1)
clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform
clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) Success (1)
Platform Name Clover
Device Name AMD Radeon RX 590 Series (polaris10, LLVM 14.0.6, DRM 3.48, 6.0.12-arch1-1)
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) Success (1)
Platform Name Clover
Device Name AMD Radeon RX 590 Series (polaris10, LLVM 14.0.6, DRM 3.48, 6.0.12-arch1-1)
ICD loader properties
ICD loader Name OpenCL ICD Loader
ICD loader Vendor OCL Icd free software
ICD loader Version 2.3.1
ICD loader Profile OpenCL 3.0Offline
Thanks for your reply. As mentioned in my post, I have already installed the spirv-tools and spirv-llvm-translator. Before installing, I got no output from clinfo. With these packages, I get the same output as you. But it seems the issue is not just for me.
Offline
Hello,
I'm sorry for not paying attention to your first link pointing exactly at the location as the one I posted..
After reading around about the subject. My guess is that radeonsi driver is not implemented into mesa 22.3 , look at this:
https://gitlab.freedesktop.org/mesa/mes … ests/19232
I'm not sure it is merged into the branch which is used here.
Edited: I mean radeonsi driver for rusticl.
Last edited by angel6700 (2022-12-20 16:51:40)
Offline
Very interesting & useful link, thanks .
It indicates the support for radeonsi on rusticl hasn't been merged to main sofar and thus is not even in aur mesa-minimal-git or lordheavy's mesa-git (aur mesa-git doesn't include rusticl yet) .
Since mesa branches off stable versions from main and usually only backports fixes, even if this code makes is to main soon it's unlikely to land in stable before the next major version (probably 23.0) is branched off in a few months.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline