to know the package relative to amdgpu try
" dpkg -l| grep amdgpu|grep -v ubuntu16"
(the grep -v ubuntu16 is because some adgpu libs are from core ubuntu, not amdgpu-pro. check each name)
but there are also many other pakage related but without the name
then do somethin like
"dpkg --purge amgdpu-core amdgpu-pro-core amdgpu-dkms ... and so on"
or if you are lazy and feel lucky (check the list generated before)
"dpkg --purge `dpkg -l| grep amdgpu|grep -v ubuntu| awk '{ print $2;}'` "
check if there are pachage with failed dependencies with
"apt-get install"
if there are, purge them too...
and then reinstall (--opencl=legacy and probably --headless unless you use X11 on your GPU).
I have a Sapphire RX580, so it should work...
It was amdgpu-pro 17.40.xxx installed on my system. I removed it. And installed amdgpu-pro 17.50.xxx with --opencl=legacy and --headless . However, after reboot my card is not recognized at all. It is mdded AsusRX580 , on windows dual boot , same system its giving +29.3.
lspci | grep VGA
shows its present
However, following shows no driver loaded for it ,
lshw -c video | grep configuration
letancy=0
Now I am in a fix, I want it to work work on linux only, windows is there only modding things as of now.
Any idea what went wrong ?