每次我执行
./amdgpu-pro-install --opencl=pal,legacy在
amdgpu-pro-21.10-1247438-ubuntu-20.04文件夹中,它将尝试安装它,但随后它将崩溃,导致错误:
Errors were encountered while processing:
amdgpu-dkms
amdgpu
amdgpu-pro
amdgpu-pro-lib32
E: Sub-process /usr/bin/dpkg returned an error code (1)
Please Help, thanks.我尝试过的
sudo dpkg --configure -a5.8.0-55-generic内核启动(我只安装了5.11.0-18-generic和5.8.0-55-generic )tweimann@lol:$ neofetch
tweimann@lol
OS: Ubuntu 21.04 x86_64
Kernel: 5.11.0-18-generic
Uptime: 21 mins
Packages: 4019 (dpkg), 16 (flatpak), 32 (snap)
Shell: bash 5.1.4
Resolution: 2560x1440, 1920x1080, 1440x2560
DE: GNOME 3.38.4
WM: Mutter
WM Theme: Adwaita
Theme: Adwaita-dark [GTK2/3]
Icons: Yaru [GTK2/3]
Terminal: gnome-terminal
CPU: Intel i7-9700K (8) @ 4.900GHz
GPU: Intel CoffeeLake-S GT2 [UHD Graphics 630]
GPU: AMD ATI Radeon RX 470/480/570/570X/580/580X/590
Memory: 6698MiB / 63219MiB帮帮忙,谢谢。
发布于 2021-06-24 11:58:41
amd发行说明:对于Ubuntu20.04.1,只支持内核5.4/5.6。不支持最新的内核版本5.8+。拥有内核5.8+的客户需要降级到5.4/5.6以获得适当的驱动程序支持。
看来您将不得不降级到较低的内核版本。
发布于 2021-06-25 09:16:59
为我工作过:
如果您对系统上的旧内核感到满意:
添加旧内核的存储库,例如Gorilla的前存储库:
deb http://de.archive.ubuntu.com/ubuntu/ groovy main restricted
deb http://de.archive.ubuntu.com/ubuntu/ groovy-updates main restricted已安装内核5.8 + Modules +Header:
apt install linux-image-5.8.0-53-generic linux-modules-extra-5.8.0-53-generic linux-headers-5.8.0-53-generic更改/etc/os中的VERSION_ID -释放回20.04:
root@localhost /e/apt# cat /etc/os-release
NAME="Ubuntu"
VERSION="21.04 (Hirsute Hippo)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 21.04"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=hirsute
UBUNTU_CODENAME=hirsute转换为提取的驱动程序目录,例如在下载中:
cd ~/Downloads/amdgpu-pro-20.50-1234664-ubuntu-20.04运行安装程序:
./amdgpu-pro-install --opencl=rocr,legacy -y重新启动。
然后,使用xrandr,您应该能够看到freesync参数:
[user@localhost]➜ ~ xrandr --props | grep free
freesync_capable: 0
freesync: 0
freesync_capable: 0
freesync: 0根据监视器连接(此处: DisplayPort-0),您可以将freesync更改为1:
[user@localhost]➜ ~ xrandr --output DisplayPort-0 --set "freesync" 1
[user@localhost]➜ ~ xrandr --props | grep free
freesync_capable: 0
freesync: 1
freesync_capable: 0
freesync: 0发布于 2021-08-05 22:20:17
amdgpu-pro 21.30-1290604-ubuntu-20.04在21.04安装和工作,内核5.11.0-25只在以下位置运行:
更改/etc/os中的VERSION_ID -释放回20.04:
在搅拌机2.93.2中测试
https://askubuntu.com/questions/1345331
复制相似问题