统信UOS系统从Radeon驱动更换到AMD驱动

MoMo 2022年5月21日21:05:33
评论
604

已验证在显卡 “Radeon HD 8570 /R7 240/340 /R520 OEM”上可用

#参考了如下帖子

https://askubuntu.com/questions/1094443/ubuntu-18-04-1-lts-r9-390x-amdgpu-guide-testing-summary

# 安装,如果依赖有问题,不安装也可以

sudo apt install mesa-vulkan-drivers mesa-vulkan-drivers:i386

# 添加黑名单屏蔽radeon驱动

touch /etc/modprobe.d/blacklist-radeon.conf

echo blacklist radeon >> /etc/modprobe.d/blacklist-radeon.conf

# 修改grub

#/etc/default/grub

...

GRUB_CMDLINE_LINUX_DEFAULT="amdgpu.si_support=1 amdgpu.cik_support=1 amdgpu.dc=1 amdgpu.dpm=1 amdgpu.modeset=1"

...

#更新 grub

sudo update-grub2 && sudo update-initramfs -u -k all

可能产生如下问题:注意那几个missing的文件,需要自己手动下载,并放入指定位置

http://anduin.linuxfromscratch.org/sources/linux-firmware/amdgpu/

下载地址

...

user@user-PC:~$ sudo update-initramfs -u -k all

update-initramfs: Generating /boot/initrd.img-4.19.0-desktop-amd64

cryptsetup: WARNING: The initramfs image may not contain cryptsetup binaries

nor crypto modules. If that's on purpose, you may want to uninstall the

'cryptsetup-initramfs' package in order to disable the cryptsetup initramfs

integration and avoid this warning.

setupcon is missing. Please install the 'console-setup' package.

W: plymouth: The plugin label.so is missing, the selected theme might not work as expected.

W: plymouth: You might want to install the plymouth-themes package to fix this.

W: Possible missing firmware /lib/firmware/amdgpu/oland_uvd.bin for module amdgpu

W: Possible missing firmware /lib/firmware/amdgpu/pitcairn_uvd.bin for module amdgpu

W: Possible missing firmware /lib/firmware/amdgpu/verde_uvd.bin for module amdgpu

W: Possible missing firmware /lib/firmware/amdgpu/tahiti_uvd.bin for module amdgpu

I: The initramfs will attempt to resume from /dev/nvme0n1p7

I: (UUID=00fdf415-1264-4ecd-bf8b-f6f31215a432)

I: Set the RESUME variable to override this.

live-boot: core filesystems devices utils udev blockdev dns.

...

#重启

reboot

# 查看驱动是否更换成功

# 应有  "Kernel driver in use: amdgpu"

sudo lspci -v | grep amdgpu -B 19

# 应有 "configuration: driver=amdgpu"

sudo lshw -c video | grep amdgpu -B 10 -A 1

https://xpanx.com/
MoMo
  • 本文由 发表于 2022年5月21日21:05:33
  • 转载请务必保留本文链接:https://xpanx.com/3848.html
飞书离职了怎么退出 飞书

飞书离职了怎么退出

一、功能简介 如果你是企业成员,当你被误拉入企业,或是从企业离职时,你可选择主动退出企业,也就是注销你在当前企业下的帐号。 注:退出企业后,你在该企业身份下所拥有的云文档等资源将自动流转给直属上级,无...
匿名

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: