#AMD OpenCL & OpenGL drivers

32 messages · Page 1 of 1 (latest)

fickle remnant
#

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 drivers are just really confusing

#

i saw other people having the same issue, but i didnt found any solutions

fickle remnant
#

yeah, i tried those different packages but was only getting segfaults while running clinfo

radiant beacon
#

radeon or amdgpu?

fickle remnant
#

currently amdgpu

#

should i use radeon instead?

radiant beacon
#

execute this: glxinfo | grep "OpenGL vendor string" | cut -f2 -d":" | xargs

fickle remnant
#

AMD

#

currently i have opencl-rusticl-mesa package

#

and clinfo says no devices

#

i also tried proprietary drivers

#

but those were segfaulting on clinfo

radiant beacon
fickle remnant
radiant beacon
#

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

fickle remnant
#

it shows just bunch of these

fickle remnant
#

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

fickle remnant
#

okay
fixed it finally
i installed only proprietary drivers for opengl
and used the above script to install opencl