AnsweredAssumed Answered

What is the correct way to upgrade driver versions? Ubuntu 16.04 x64

Question asked by wbrb on Nov 6, 2016
Latest reply on Jan 18, 2017 by mandibela

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 (

--unpack):

trying to overwrite '/etc/vulkan/icd.d/amd_icd64.json', which is also in package amdgpu-pro-vulkan-d

river:amd64 16.30.3-315407

dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)

Processing triggers for libc-bin (2.23-0ubuntu3) ...

Errors were encountered while processing:

/var/opt/amdgpu-pro-local/./vulkan-amdgpu-pro_16.40-348864_amd64.deb

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

and

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?

 

Thanks

 

-wbrb

Outcomes