web-dev-qa-db-fra.com

Impossible d'installer Rock-Dkms sur Ubuntu 20.04.1 LTS

J'ai eu l'erreur suivante lorsque vous essayez d'installer le rock-dkms Pilote KFD pour AMD ROCM:

$ Sudo apt install rock-dkms
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  rock-dkms-firmware
The following NEW packages will be installed:
  rock-dkms rock-dkms-firmware
0 upgraded, 2 newly installed, 0 to remove and 14 not upgraded.
Need to get 0 B/11.6 MB of archives.
After this operation, 243 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Selecting previously unselected package rock-dkms-firmware.
(Reading database ... 304692 files and directories currently installed.)
Preparing to unpack .../rock-dkms-firmware_1%3a3.10-27_all.deb ...
Unpacking rock-dkms-firmware (1:3.10-27) ...
Setting up rock-dkms-firmware (1:3.10-27) ...
Selecting previously unselected package rock-dkms.
(Reading database ... 305096 files and directories currently installed.)
Preparing to unpack .../rock-dkms_1%3a3.10-27_all.deb ...
Unpacking rock-dkms (1:3.10-27) ...
Setting up rock-dkms (1:3.10-27) ...
Loading new amdgpu-3.10-27 DKMS files...
Building for 5.4.0-56-generic
Building for architecture x86_64
Building initial module for 5.4.0-56-generic
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/rock-dkms-firmware.0.crash'
Error! Bad return status for module build on kernel: 5.4.0-56-generic (x86_64)
Consult /var/lib/dkms/amdgpu/3.10-27/build/make.log for more information.
dpkg: error processing package rock-dkms (--configure):
 installed rock-dkms package post-installation script subprocess returned error exit status 10
Errors were encountered while processing:
 rock-dkms
E: Sub-process /usr/bin/dpkg returned an error code (1)

ICI Sont le contenu de /var/lib/dkms/amdgpu/3.10-27/build/make.log.

Je suis sur Ubuntu 20.04.1 LTS x86_64. Il existe deux GPU installé: AMD Radeon RX Vega 64 et Nvidia Geforce GTX 1060 6 Go.

$ uname -a
Linux basecamp 5.4.0-56-generic #62-Ubuntu SMP Mon Nov 23 19:20:19 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
$ lspci -v | grep VGA
0a:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Vega 10 XL/XT [Radeon RX Vega 56/64] (rev c1) (prog-if 00 [VGA controller])
0b:00.0 VGA compatible controller: NVIDIA Corporation GP104 [GeForce GTX 1060 6GB] (rev a1) (prog-if 00 [VGA controller])

Toute aide serait appréciée.

1
wyphan

Vous pouvez essayer de revenir à un noyau plus âgé.

0
Alino