You are not logged in.
clinfo output: https://bpa.st/FUHGW
pacman -Qs opencl output: https://bpa.st/NAAS2
ls /usr/lib/dri/ | grep radeonsi shows radeonsi_dri.so and radeonsi_drv_video.so
sudo pacman -Qs mesa and llvm output: https://bpa.st/77LF4
grep -E "(EE)|(WW)|failed|error" /var/log/Xorg.0.log output: https://bpa.st/E2OTK
lsmod | grep amdgpu output: https://bpa.st/2D5G6
printenv output: https://bpa.st/P5DMS
glxinfo -B output: https://bpa.st/YZBRU shows:
MESA-LOADER: glx: failed to open rusticl: driver not built!
failed to load driver: rusticl
OpenGL renderer string: llvmpipe (LLVM 18.1.8, 256 bits)
ChatGPT says: "If llvmpipe is still listed, there may be further issues with driver loading."
This is all the relevant info I could think of, I have an RX 570 and I've seen this guy get rusticl working on his RX 580 but for me clinfo just shows the number of devices as 0 no matter what env variables I try, I've tried different opencl drivers with both mesa and amd pro drivers to no luck, but so far rusticl has taken me the farthest, maybe I'm missing some dependencies I couldn't find?
Last edited by jorjro (2024-09-20 16:06:06)
Offline
glx: failed to open rusticl: driver not built!
Then please post
1. the complete xorg log and
2. complete system journal for the boot:
sudo journalctl -b | curl -F 'file=@-' 0x0.st
Offline
glx: failed to open rusticl: driver not built!
Then please post
1. the complete xorg log and
2. complete system journal for the boot:sudo journalctl -b | curl -F 'file=@-' 0x0.st
/var/log/Xorg.0.log: https://bpa.st/NJT3M
journal: http://0x0.st/X3GM.txt
Offline
That's all fine, the problem is actually
MESA_LOADER_DRIVER_OVERRIDE=rusticl
You want
OCL_ICD_FILENAMES=/etc/OpenCL/vendors/rusticl.icd
and leave mesa alone.
Then post an updated "glxinfo -B; clinfo -l"
Offline
That's all fine, the problem is actually
MESA_LOADER_DRIVER_OVERRIDE=rusticl
You want
OCL_ICD_FILENAMES=/etc/OpenCL/vendors/rusticl.icd
and leave mesa alone.
Then post an updated "glxinfo -B; clinfo -l"
Would've never thought it was that simple after spending 8 hours on this, thanks a lot seth, I've solved many problems from your replies I've seen on here
[jorj@arch ~]$ glxinfo -B
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: AMD (0x1002)
Device: AMD Radeon RX 570 Series (radeonsi, polaris10, LLVM 18.1.8, DRM 3.54, 6.6.52-1-lts) (0x67df)
Version: 24.2.2
Accelerated: yes
Video memory: 4096MB
Unified memory: no
Preferred profile: core (0x1)
Max core profile version: 4.6
Max compat profile version: 4.6
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
Memory info (GL_ATI_meminfo):
VBO free memory - total: 3362 MB, largest block: 3362 MB
VBO free aux. memory - total: 7875 MB, largest block: 7875 MB
Texture free memory - total: 3362 MB, largest block: 3362 MB
Texture free aux. memory - total: 7875 MB, largest block: 7875 MB
Renderbuffer free memory - total: 3362 MB, largest block: 3362 MB
Renderbuffer free aux. memory - total: 7875 MB, largest block: 7875 MB
Memory info (GL_NVX_gpu_memory_info):
Dedicated video memory: 4096 MB
Total available memory: 12056 MB
Currently available dedicated video memory: 3362 MB
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon RX 570 Series (radeonsi, polaris10, LLVM 18.1.8, DRM 3.54, 6.6.52-1-lts)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 24.2.2-arch1.1
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 4.6 (Compatibility Profile) Mesa 24.2.2-arch1.1
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 24.2.2-arch1.1
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
[jorj@arch ~]$ clinfo -l
Platform #0: rusticl
`-- Device #0: AMD Radeon RX 570 Series (radeonsi, polaris10, LLVM 18.1.8, DRM 3.54, 6.6.52-1-lts)
Offline
I have the same problem. The glxinfo output is normal, but clinfo has no output. I don't know if it is because I installed too many packages. I used ocl-icd-choose to solve it.
Offline