我有和radeon hd 4350/4550 gpu,我在ubuntu 20.04。因此,我尝试了许多方法来安装官方和ubuntu驱动程序,但每次我得到一个错误。例如:我从amd.com下载了amd驱动程序,在安装之前我将安装请求。
kernel@kernel-EP43-UD3L:~$ sudo apt-get install linux-headers-generic build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0 dh-modaliases
[sudo] password for kernel:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libqtgui4 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'libqtgui4' has no installation candidate
E: Unable to locate package libelfg0我得到一个错误,我能做什么来解决它?
发布于 2021-03-11 22:29:06
一个问题可能是Ubuntu 20附带了内核版本5.4。驱动程序的内核仅限于3.4。可能需要一个不同的Ubuntu?或者是时候升级GPU了?不管怎样,这可能是你的主要问题。
我已经成功地在Ubuntu20.04上为下列卡安装了AMD驱动程序:
我知道那些卡使用不同的驱动程序,所以相应地调整命名规则(S)。也许这会对其他人有帮助。
让我们先来个干净的安装。
locate amdgpu-uninstall应该是/usr/bin/amdgpu-卸载.运行它。
sudo /usr/bin/amdgpu-uninstall如果它无法删除/opt/amdgpu/和/或/opt/amdgpu-pro/目录,那么:
sudo rm -rf /opt/amd...这是您的驱动程序:https://www2.ati.com/drivers/legacy/amd-driver-installer-catalyst-13.1-legacy-linux-x86.x86_64.zip
你需要解开它。
sudo apt-get install unzip
unzip ~/Downloads/amd-driver-installer-catalyst-13.1-legacy-linux-x86.x86_64.zip
./amd-driver-installer-catalyst-13.1-legacy-linux-x86.x86_64.run同样,错误的内核,所以这可能是没有意义的。
你可以试着让另一个司机转一圈吗?
另一种选择:检查这里
tar -xvf ~/Downloads/amdgpu-pro-21.30-1290604-ubuntu-20.04.tar.xz
sudo ./amdgpu-pro-21.30-1290604-ubuntu-20.04/amdgpu-install --opencl=pal,legacy,rocr --no-dkms --headless添加自己到呈现组和视频组
sudo usermod -aG render $USER
sudo usermod -aG video $USER
sudo reboot在重新启动之前,更改不会生效。
终于..。
sudo apt install darktable
sudo darktable-cltest这也可能会有帮助。
git clone https://kernel.googlesource.com/pub/scm/linux/kernel/git/firmware/linux-firmware.git
sudo cp ~/linux-firmware/amdgpu/* /lib/firmware/amdgpu && sudo update-initramfs -k all -u -v祝好运。
愿机会永远对你有利。
发布于 2021-08-19 10:24:27
许多来源之一:https://linuxconfig.org/amd-radeon-ubuntu-20-04-driver-installation
Ubuntu驱动程序
驱动程序的提供包是xserver-xorg-video-radeon_19.1.0-1_amd64,所以您应该使用sudo apt install xserver-xorg-video-radeon_19.1.0-1_amd64安装它(apt-get不受欢迎)。这件事应该能开箱就行。
Proprietary驱动程序
如果您想使用专有驱动程序,就会有一个简单指南。转到AMD下载页面,并获取与您的卡匹配的最新版本的驱动程序。然后执行(有适当的版本号)
$ tar -xf amdgpu-pro_*.tar.xz
$ cd amdgpu-pro-XX.XX-XXXXXX
$ ./amdgpu-pro-install -yThird派对存储库
执行最新的AMD Radeon驱动程序版本
$ sudo add-apt-repository ppa:oibaf/graphics-drivers
$ sudo apt update && sudo apt -y upgradeTL;DR:
Ubuntu驱动程序
来自https://help.ubuntu.com/community/BinaryDriverHowto/AMD
注意:对于Ubuntu 16.04 LTS及以上版本,AMD催化剂或fglrx驱动程序不再受AMD支持,或者在Ubuntu中。{1}如果您有AMD GPU并希望运行任何Ubuntu版本16.04 LTS或更新版本,则有两个开源驱动程序选项: Radeon或AMDGPU。AMDGPU驱动程序提供开源的AMDGPU驱动程序和专有的覆盖层。使用GCN技术设计的较新的AMD GPU (Graphics Core Next)应该使用AMDGPU或AMDGPU,而较老的AMD GPU应该使用Radeon。
对于显卡Radeon 4350/4550,芯片组是RV710。
根据这份官方信息 (或man radeon),该卡/芯片组在radeon Xorg驱动程序支持的硬件列表中,具有以下特性:
提供包是xserver-xorg-video-radeon_19.1.0-1_amd64,所以您应该用sudo apt install xserver-xorg-video-radeon_19.1.0-1_amd64安装它(apt-get是不受欢迎的)。这件事应该能开箱就行。
您在OP中引用的问题是'libqtgui4' has no installation candidate。
是什么让你认为你需要它来为你的卡找到合适的司机?你从哪里得到这样的信息/提示的?你正在安装的其他软件包呢?
我建议您逐个查看以下命令,并通过复制粘贴文本(而不是屏幕截图)将输出发布到OP中。这将有助于解决解决方案不起作用的潜在问题。
$ sudo update-pciids
$ lspci -nn | grep -E 'VGA|Display'
$ dmesg | egrep -i 'drm|radeon'
$ sudo lshw -c video
$ lsmod | grep amd
$ glxinfo -B注意:这可能是另一种选择,YMMV。
https://askubuntu.com/questions/1322376
复制相似问题