Установка amdgpu-pro не удалась, и теперь проблема с зависимостями

Прежде всего, пожалуйста, потерпите меня, так как мой английский все еще улучшается. Итак, вчера я пытался установить DaVinci Resolve 16 на мою недавно установленную Pop Os с использованием AMD RX 570, но я столкнулся с проблемой, связанной с openCL. Итак, я провел небольшое исследование и нашел эту команду:

sudo apt установить mesa-opencl-icd

Однажды я сделал это и запустил DaVinci, он вылетел при запуске с ошибкой «DaVinci Resolve неожиданно завершил работу»

Я снова обратился в Google за помощью и обнаружил, что мне нужно установить драйверы amdgpu-pro, чтобы получить поддержку OpenCL на gpu, и выполнил следующие инструкции:

      * you need to edit the "amdgpu-pro-install"-file.

* Change the string "ubuntu" to debian or debianlinux or so.

* The string "ubuntu" you can find in function os_release()

* With Linux Mint i need to change it to "linuxmint" and installation will be fine

поэтому я выполнил инструкции, и теперь он дает мне следующие ошибки:

      Errors were encountered while processing:
 amdgpu-dkms
 amdgpu
 amdgpu-pro-rocr-opencl
 amdgpu-pro
 amdgpu-pro-lib32

E: Sub-process /usr/bin/dpkg returned an error code (1)

и теперь я не могу установить или удалить любой файл pkg или deb

      -> sudo apt-get autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
5 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up amdgpu-dkms (1:5.6.20.906316-1188099) ...
Removing old amdgpu-5.6.20.906316-1188099 DKMS files...

------------------------------
Deleting module version: 5.6.20.906316-1188099
completely from the DKMS tree.
------------------------------
Done.
Loading new amdgpu-5.6.20.906316-1188099 DKMS files...
Building for 5.8.0-7630-generic
Building for architecture amd64
Building initial module for 5.8.0-7630-generic
ERROR (dkms apport): kernel package linux-headers-5.8.0-7630-generic is not supported
Error! Bad return status for module build on kernel: 5.8.0-7630-generic (amd64)
Consult /var/lib/dkms/amdgpu/5.6.20.906316-1188099/build/make.log for more information.
dpkg: error processing package amdgpu-dkms (--configure):
 installed amdgpu-dkms package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of amdgpu:
 amdgpu depends on amdgpu-dkms (= 1:5.6.20.906316-1188099); however:
  Package amdgpu-dkms is not configured yet.

dpkg: error processing package amdgpu (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of amdgpu-pro-rocr-opencl:
 amdgpu-pro-rocr-opencl depends on amdgpu-dkms (= 1:5.6.20.906316-1188099); however:
  Package amdgpu-dkms is not configured yet.

dpkg: error processing package amdgpu-pro-rocr-opencl (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of amdgpu-pro:
 amdgpu-pro depends on amdgpu (= 20.45-1188099); however:
  Package amdgpu is not configured yet.

dpkg: error processing package amdgpu-pro (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of amdgpu-pro-lib32:
 amdgpu-pro-lib32 depends on amdgpu (= 20.45-1188099) | amdgpu-hwe (= 20.45-1188099No apport report written because the error message indicates it's a follow-up error from a previous failure.
   No apport report written because the error message indicates it's a follow-up error from a previous failure.
                 No apport report written because MaxReports has already been reached
                                                                                     No apport report written because MaxReports has already been reached
                                                           ); however:
  Package amdgpu is not configured yet.
  Package amdgpu-hwe is not installed.
 amdgpu-pro-lib32 depends on amdgpu-pro (= 20.45-1188099) | amdgpu-pro-hwe (= 20.45-1188099); however:
  Package amdgpu-pro is not configured yet.
  Package amdgpu-pro-hwe is not installed.

dpkg: error processing package amdgpu-pro-lib32 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 amdgpu-dkms
 amdgpu
 amdgpu-pro-rocr-opencl
 amdgpu-pro
 amdgpu-pro-lib32

E: Sub-process /usr/bin/dpkg returned an error code (1)

1 ответ

Вы должны иметь возможность удалить драйверы amdgpu (-pro), запустив сценарий / usr / bin / amdgpu (-pro) -uninstall.

Вы пытались установить драйверы amdgpu с другим ядром, как описано здесь ?

Другие вопросы по тегам