How to install the AMD RX560 driver on Deepin 20?
Tofloor
poster avatar
lesbara1
deepin
2020-10-16 05:03
Author
Edited by lesbara1 at 2020-10-18 22:07

Hi,

I've installed Deepin 20 but the AMD Rx 560 GPU is still not supported, therefore there's no 3D acceleration. I tried to install Liquorix but it failed because they don't have a Release file for Deepin.
I tried to follow this article but it failed with the following:
  1. Preparing to unpack .../firmware-amd-graphics_20200918-1~bpo10+1_all.deb ...
  2. Unpacking firmware-amd-graphics (20200918-1~bpo10+1) ...
  3. dpkg: error processing archive /var/cache/apt/archives/firmware-amd-graphics_20200918-1~bpo10+1_all.deb (--unpack):
  4. trying to overwrite '/lib/firmware/amdgpu/banks_k_2_smc.bin', which is also in package linux-firmware 1.187
  5. dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
  6. Preparing to unpack .../firmware-linux-free_3.4+apricot_all.deb ...
  7. Unpacking firmware-linux-free (3.4+apricot) ...
  8. dpkg: error processing archive /var/cache/apt/archives/firmware-linux-free_3.4+apricot_all.deb (--unpack):
  9. trying to overwrite '/lib/firmware/av7110/bootcode.bin', which is also in package linux-firmware 1.187
  10. Preparing to unpack .../firmware-misc-nonfree_20200918-1~bpo10+1_all.deb ...
  11. Unpacking firmware-misc-nonfree (20200918-1~bpo10+1) ...
  12. dpkg: error processing archive /var/cache/apt/archives/firmware-misc-nonfree_20200918-1~bpo10+1_all.deb (--unpack):
  13. trying to overwrite '/lib/firmware/3com/typhoon.bin', which is also in package linux-firmware 1.187
  14. dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
  15. Selecting previously unselected package firmware-linux-nonfree.
  16. Preparing to unpack .../firmware-linux-nonfree_20200918-1~bpo10+1_all.deb ...
  17. Unpacking firmware-linux-nonfree (20200918-1~bpo10+1) ...
  18. Selecting previously unselected package firmware-linux.
  19. Preparing to unpack .../firmware-linux_20200918-1~bpo10+1_all.deb ...
  20. Unpacking firmware-linux (20200918-1~bpo10+1) ...
  21. There were erros during processing:
  22. /var/cache/apt/archives/firmware-amd-graphics_20200918-1~bpo10+1_all.deb
  23. /var/cache/apt/archives/firmware-linux-free_3.4+apricot_all.deb
  24. /var/cache/apt/archives/firmware-misc-nonfree_20200918-1~bpo10+1_all.deb
  25. E: Sub-process /usr/bin/dpkg returned an error code (1)
Copy the Code
I also tried to compile liquorix from source but it returned
  1. [ERROR] Docker is not installed, cannot continue!
Copy the Code
even though I installed docker.

What can I do?


EDIT:

Here are a few other things I tried since posting this:

Installing the latest stable kernel, 5.7.0-0.bpo.2-amd64, from Debain's buster-backports repository. It still doesn't have 3D - and hardware acceleration support (see attached screnshot). Without these, I can't run any VM as they're very slow and unresponsive.
Downloading the official driver installer from AMD's site required some hacking to get past the
  1. Unsupported DEB-based OS: /etc/os-release ID 'Deepin'
Copy the Code
error (write |Deepin after ubuntu|linuxmint|debian at line 146). After the initial check, it runs into the following error:
  1. amdgpu : Depends on: amdgpu-lib (= 20.40-1147286) which has no installation candidate
  2. amdgpu-lib32 : Depends on: amdgpu-lib (= 20.40-1147286) which has no installation candidate or
  3.                               amdgpu-lib-hwe (= 20.40-1147286) de az nem telepíthető
  4.                 Depends on: libdrm2-amdgpu:i386 (= 1:2.4.100-1147286)
  5.                 Depends on: libdrm-amdgpu-amdgpu1:i386 (= 1:2.4.100-1147286)
  6.                 Depends on: libllvm10.0-amdgpu:i386 (= 1:10.0-1147286)
  7.                 Depends on: libxatracker2-amdgpu:i386 (= 1:20.1.5-1147286)
  8.                 Depends on: libgbm1-amdgpu:i386 (= 1:20.1.5-1147286)
  9.                 Depends on: libegl1-amdgpu-mesa:i386 (= 1:20.1.5-1147286)
  10.                 Depends on: libegl1-amdgpu-mesa-drivers:i386 (= 1:20.1.5-1147286)
  11.                 Depends on: libgl1-amdgpu-mesa-glx:i386 (= 1:20.1.5-1147286)
  12.                 Depends on: libgl1-amdgpu-mesa-dri:i386 (= 1:20.1.5-1147286)
  13.                 Depends on: libosmesa6-amdgpu:i386 (= 1:20.1.5-1147286)
  14.                 Depends on: mesa-amdgpu-va-drivers:i386 (= 1:20.1.5-1147286)
  15.                 Depends on: mesa-amdgpu-vdpau-drivers:i386 (= 1:20.1.5-1147286)
  16. clinfo-amdgpu-pro : Depends on: libgcc-s1 (>= 3.0) which cannot be installed
  17. opencl-orca-amdgpu-pro-icd : Depends on: libgcc-s1 (>= 4.2) which cannot be installed
  18.                               Depends on: libdrm-amdgpu-amdgpu1 which has no installation candidate
Copy the Code
I had the same issue with Deepin 15 when I was told to wait until Deepin 20. Should I wait until Deepin 25? Or Deepin 35?


Jokes aside, what else can I do?
Reply Favorite View the author
All Replies

No replies yet