5

首先请多多包涵,因为我的英语还在进步。所以,昨天我试图使用 AMD RX 570 在我新安装的 Pop Os 上安装 DaVinci Resolve 16,但我遇到了与 openCL 相关的问题。所以,我做了一些研究,我发现了这个命令:

sudo apt install mesa-opencl-icd

有一次,我这样做并启动了达芬奇,它在启动时崩溃并出现错误“达芬奇解决方案意外退出”

我再次来谷歌寻求帮助,我发现我需要安装 amdgpu-pro 驱动程序才能获得我的 gpu openCL 支持,我按照以下说明操作:

* 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)
4

1 回答 1

0

您应该能够通过运行 /usr/bin/amdgpu(-pro)-uninstall 脚本来卸载 amdgpu(-pro) 驱动程序。

您是否尝试按照此处的建议安装具有不同内核的 amdgpu 驱动程序?

于 2021-02-17T15:15:33.647 回答