I'm new to team red because I'm tired of lying to a GPU about virtualization just to make team green drivers accept the OS they're installed on. I bought a RX 460 to get my feet with with team red again.
I got my GPU passthrough setup working with Ubuntu 16.04 x64 desktop using the amdgpu-pro_16.30.3-315407.tar.xz install. This was fine but now I want to install the amdgpu-pro-16.40-348864.tar.xz driver and I don't understand the correct procedure.
Eventually after the script choked and there was a absence of an uninstall script:
Preparing to unpack .../vulkan-amdgpu-pro_16.40-348864_amd64.deb ...
Unpacking vulkan-amdgpu-pro:amd64 (16.40-348864) ...
dpkg: error processing archive /var/opt/amdgpu-pro-local/./vulkan-amdgpu-pro_16.40-348864_amd64.deb (
trying to overwrite '/etc/vulkan/icd.d/amd_icd64.json', which is also in package amdgpu-pro-vulkan-d
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Errors were encountered while processing:
Log ended: 2016-11-06 12:30:38
I was able to fix this with:
dpkg -i --force-overwrite vulkan-amdgpu-pro_16.40-348864_amd64.deb
dpkg -i --force-overwrite opencl-amdgpu-pro-icd_16.40-348864_amd64.deb
and then apt-get install -f to force the package manager back into a semi-consistent state at which point the the install script uninstalled everything and installed everything fresh.
My question is - this seems like kludge. What is the correct way to upgrade the drivers? Uninstall and then reinstall? Or is there a standard AMD upgrade path I'm unware of? Is there a better way I can do this in the future?
I have the almost same issue. I just forced my way from 30 to 50, using the above method. Uname -r gives 4.4.0-59-generic, which might be a problem for the install script (I read that with 4.2.0 the install works: drivers - amdgpu-pro-install on Ubuntu GNOME 16.04 with R9 285 and RX 480 - Ask Ubuntu ). I don't think I got any messages regarding errors in DKMS, error reporting could also be improved with the install script.