hello, i had tought time installing opencl drivers for my radeonx rx560x, i tried manyy different drivers, but i finally managed to install correct ones using this script: https://github.com/Diolinux/amd-opencl-pro-linux-resolve/blob/main/install-opencl-amd.sh
but guess what? after installing those drivers opengl stopped working, so i had to uninstall them, i am looking for help on getting to work both OpenCL and OpenGL
#AMD OpenCL & OpenGL drivers
32 messages · Page 1 of 1 (latest)
amd drivers are just really confusing
i saw other people having the same issue, but i didnt found any solutions
what about? https://wiki.archlinux.org/title/GPGPU#OpenCL
yeah, i tried those different packages but was only getting segfaults while running clinfo
what driver are you running?
radeon or amdgpu?
execute this: glxinfo | grep "OpenGL vendor string" | cut -f2 -d":" | xargs
AMD
currently i have opencl-rusticl-mesa package
and clinfo says no devices
i also tried proprietary drivers
but those were segfaulting on clinfo
and what about rocm-opencl-runtime?
well
Anyways. I don't think I can help anyway. I only own nvidia cards
make sure to see the output in dmesg -w
there is always useful msgs there
it shows just bunch of these
if i put those files:libdrm_amdpro.so.1 libdrm_amdpro.so.1.0.0 into /opt/amdgpu-pro/lib/x86_64-linux-gnu/, opengl stops working and opencl begins to work
libdrm_amdpro.so.1 is actually a symlink to libdrm_amdpro.so.1.0.0
but when i rename those files
then its the otherway around
and opengl works
but opencl not
what is wrong with amd and their drivers
thats just ridiculous
i want both to work xd
okay
fixed it finally
i installed only proprietary drivers for opengl
and used the above script to install opencl