我一直在运行 Xubuntu 16.04,在默认安装的通用驱动程序上没有任何错误。我决定要玩一些视频游戏,所以我按照以下说明安装了 AMDGPU-PRO 驱动程序:http : //support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Install.aspx
cd /tmp
tar -Jxvf amdgpu-pro-17.10-414273.tar.xz
cd amdgpu-pro-17.10-414273
./amdgpu-pro-install -y
Run Code Online (Sandbox Code Playgroud)
现在,当我启动我的计算机时,我看到了我的主板启动屏幕并且可以访问 bios,但是如果我尝试启动我的安装所在的 SSD,我只会得到一个黑屏,它似乎没有输出视频信号。我试过 3 台显示器都得到相同的结果,我不太担心让 AMDGPU-PRO 驱动程序工作,只是让我的系统再次启动。所以我的问题是如何启动到可以卸载驱动程序的状态?
我已经尝试从我的笔记本电脑通过 SSH 连接到我的桌面,但我的桌面没有响应。
对于目前正在研究此问题的任何人,我从未解决过 16.04,但带有 AMDGPU-PRO 的 Radeon R9 390 在 Ubuntu 18.04 上运行良好
我的笔记本电脑有一个专用的 GPU,它是AMD Radeon HD 6300。我怎样才能测试它glmark2?
默认情况下它使用iGPU。glmark2手册页没有显示选择dGPU的选项。
更新对旧的 fglrx 驱动程序进行了一些进一步的挖掘并找到了解决此问题的方法:https : //bitcointalk.org/index.php?topic=170470.60 然而,这不适用于 AMDGPU 驱动程序,它不附带据我所知,switchlibglx 是预先打包好的。
更新 2 — 找到了这个可能的解决方案,但没有奏效。得到两件事之一:A,当我运行时黑屏systemctl isolate graphical.target,或 B,如果我继续将驱动程序列入黑名单,则无法挖掘。
更新 3/var/log/Xorg.0.log在 VT 中打开(multi-user.target在此问题仍然存在时,systemd 默认暂时设置为)?非常奇怪的“未找到屏幕”错误。想知道 AMDGPU 驱动程序是否真的试图强制 X 在启动时使用它们;希望不是。
更新 4在研究确切消息时在 Arch Linux 论坛中找到了这些说明:未找到任何显示 — 现在,当我尝试运行 startx 时,系统不会异常退出,而是挂起。改进了,但还是不行。
更新 5上述挂起发生了大约 5 分钟,然后它以“连接被拒绝”错误退出。拉起~/.local/share/xorg/Xorg.0.log- 它实际上说“服务器已成功终止”,尽管 startx 输出说这是需要咨询的。
更新 6谷歌搜索出现site:bugs.launchpad.net "amdgpu"了这个错误报告,它可能与这个问题有关。在那里尝试解决方法?不,没有用。
Update 7 Running 提供journalctl | grep gdm | grep EE | less了一些有助于解决此问题的相当有价值的信息:
(EE) …Run Code Online (Sandbox Code Playgroud) 我18.04在我的桌面上全新安装了 Radeon Vega 64 GPU。由于我安装了AMD GPU官方驱动,所以出现了一系列问题。
一个星期,老鼠在几个小时后就落后了。现在,整个屏幕在几个小时后冻结。没有图形输出。如果我关闭显示器并重新启动它,则没有信号。但是,该机器仍可用作网络服务器。
我AMD GPU用命令卸载,
amdgpu-pro-uninstall
Run Code Online (Sandbox Code Playgroud)
但是,Ubuntu 不会启动到图形界面(在紫色屏幕之前冻结)。
根据这个答案,我试图将司机列入黑名单。
同样,Ubuntu 没有出现。
真令人沮丧,因为我的机器因为这个愚蠢的司机而几乎没用。我正在考虑购买 Nvidia GPU。
你知道摆脱AMD GPU司机的安全方法吗?因为我不记得全新安装的 Ubuntu 18.04 有这些问题。我相信原生固件效果更好。
我正在使用 Dell 5570,处理器:Intel i5,GPU1:Intel 620,GPU2:AMD 530,操作系统:Ubuntu 20.04 全新安装,但在安装并使用它一段时间后,当我按“关机/重新启动”时,此问题出现,系统卡住在戴尔徽标上 1 分钟,然后重新启动/关机,因此当我按下时, Esc它会显示:
关机/重新启动日志
[664.198483] amdgpu : [powerplay] VI should always have 2 performance levels
[666.456075] amdgpu : [powerplay] can't get the mac of 5
[670.450885] systemd-shutdown[1] : waiting for process : crond
[672.138049] amdgpu : [powerplay] VI should always have 2 performance levels
Run Code Online (Sandbox Code Playgroud) ROCm 5.2.1 的AMD安装说明指出 ROCm 仅与 Ubuntu 20.04 兼容
我还可以在 Ubuntu 22.04 上安装和使用它吗?
最近,每次升级后,我都会在过程结束时得到这些行:
Processing triggers for initramfs-tools (0.131ubuntu19) ...
update-initramfs: Generating /boot/initrd.img-5.0.0-17-generic
cryptsetup: ERROR: Couldn't resolve device 048c7724-eed7-4e49-979f-f77f3d4dbfdb
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.
W: Possible missing firmware /lib/firmware/amdgpu/vega20_ta.bin for module amdgpu
Run Code Online (Sandbox Code Playgroud)
我在内核存储库中搜索了该文件,但找不到丢失的文件vega20_ta.bin。
我的目标是获得 Windows 上的最佳电源管理。意义:
\n\n阅读ArchWiki、Gentoo Wiki和amdgpu 驱动程序文档,我发现了一个叫做dpm的东西。我想将power_dpm_state\ 的值从更改performance为low。但我收到以下错误:
\xe2\x9e\x9c ~ echo "low" | sudo tee /sys/class/drm/card0/device/power_dpm_state\nlow\ntee: /sys/class/drm/card0/device/power_dpm_state: Invalid argument\nRun Code Online (Sandbox Code Playgroud)\n\n是什么导致了这个错误?如何才能成功更改该值?
\n\n您认为我是否走在实现目标的正确道路上,或者这种方法是错误的?
\n\n\xe2\x9e\x9c ~ uname -a\nLinux hostname 5.3.0-46-generic #38~18.04.1-Ubuntu SMP Tue Mar 31 04:17:56 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux\n\xe2\x9e\x9c ~ sudo …Run Code Online (Sandbox Code Playgroud) 我今天关闭了计算机并尝试重新启动。我收到消息:[6.043685] amdgpu 0000:04:00.0: Unsupported power profile mode 0 on RENOIR黑屏。这是什么?我可以修复它吗?
3 次编辑,在这个问题的底部提供了更多信息。
当我定期升级到最新的通用内核时,升级失败并停止了我的计算机启动。我必须执行 zfs 回滚才能恢复。它创建了 vmlinuz-6.2.0-26-generic 但没有 initrd.img 文件。我的引导目录中有足够的空间(622208 kb)。当我尝试安装该软件包时,出现 dpkg 错误:
dave@dave-X570:~$ sudo apt-get install linux-image-generic
[sudo] password for dave:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
linux-image-6.2.0-26-generic
The following NEW packages will be installed
linux-image-6.2.0-26-generic linux-image-generic
0 to upgrade, 2 to newly install, 0 to remove and 1 not to upgrade.
Need to get 14.3 MB of archives.
After this operation, 14.5 MB of additional disk …Run Code Online (Sandbox Code Playgroud) amdgpu ×10
amd-graphics ×3
boot ×3
drivers ×2
initramfs ×2
kernel ×2
20.04 ×1
23.04 ×1
amdgpu-pro ×1
benchmarks ×1
command-line ×1
cryptsetup ×1
ethereum ×1
firmware ×1
gnome ×1
gpu ×1
graphics ×1
intel ×1
restart ×1
shutdown ×1
xubuntu ×1