我有一台新的 Lenovo Yoga Pro 7 14APH8,在 grub 引导加载程序屏幕后,我看到 amdgpu 固件无法加载消息。我该如何解决这个问题?

我有一台新的 Lenovo Yoga Pro 7 14APH8,在 grub 引导加载程序屏幕后,我看到 amdgpu 固件无法加载消息。我该如何解决这个问题?

我在我的新 Yoga 笔记本(带有 Radeon™ 780M 的 Ryzen 7 7840HS)上安装了带有 Gnome 的 Debian 12 Bookworm,并且在启动时遇到了奇怪的 amdgpu 错误。

这是我的dmesg | grep 'firmware'输出:

[    0.053111] Spectre V2 : Enabling Restricted Speculation for firmware calls
[    1.896309] amdgpu 0000:63:00.0: firmware: failed to load amdgpu/gc_11_0_1_mes_2.bin (-2)
[    1.896357] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[    1.896394] amdgpu 0000:63:00.0: firmware: failed to load amdgpu/gc_11_0_1_mes_2.bin (-2)
[    1.896420] amdgpu 0000:63:00.0: Direct firmware load for amdgpu/gc_11_0_1_mes_2.bin failed with error -2
[    1.896464] amdgpu 0000:63:00.0: firmware: direct-loading firmware amdgpu/gc_11_0_1_mes.bin
[    1.896499] amdgpu 0000:63:00.0: firmware: direct-loading firmware amdgpu/gc_11_0_1_mes1.bin
[    1.897445] amdgpu 0000:63:00.0: firmware: direct-loading firmware amdgpu/psp_13_0_4_toc.bin
[    1.897487] amdgpu 0000:63:00.0: firmware: direct-loading firmware amdgpu/psp_13_0_4_ta.bin
[    1.897621] amdgpu 0000:63:00.0: firmware: direct-loading firmware amdgpu/dcn_3_1_4_dmcub.bin
[    1.897624] [drm] Loading DMUB firmware via PSP: version=0x08000500
[    1.897657] amdgpu 0000:63:00.0: firmware: direct-loading firmware amdgpu/gc_11_0_1_imu.bin
[    1.897693] amdgpu 0000:63:00.0: firmware: direct-loading firmware amdgpu/gc_11_0_1_pfp.bin
[    1.897725] amdgpu 0000:63:00.0: firmware: direct-loading firmware amdgpu/gc_11_0_1_me.bin
[    1.897746] amdgpu 0000:63:00.0: firmware: direct-loading firmware amdgpu/gc_11_0_1_rlc.bin
[    1.897779] amdgpu 0000:63:00.0: firmware: direct-loading firmware amdgpu/gc_11_0_1_mec.bin
[    1.898313] amdgpu 0000:63:00.0: firmware: direct-loading firmware amdgpu/sdma_6_0_1.bin
[    1.898366] amdgpu 0000:63:00.0: firmware: direct-loading firmware amdgpu/vcn_4_0_2.bin
[    1.898367] [drm] Found VCN firmware Version ENC: 1.10 DEC: 5 VEP: 0 Revision: 0
[    1.898373] amdgpu 0000:63:00.0: amdgpu: Will use PSP to load VCN firmware
[    4.531269] platform regulatory.0: firmware: direct-loading firmware regulatory.db
[    4.531359] platform regulatory.0: firmware: direct-loading firmware regulatory.db.p7s
[    4.701149] mt7921e 0000:01:00.0: firmware: direct-loading firmware mediatek/WIFI_MT7922_patch_mcu_1_1_hdr.bin
[    4.716652] mt7921e 0000:01:00.0: firmware: direct-loading firmware mediatek/WIFI_RAM_CODE_MT7922_1.bin
[    4.766133] mt7921e 0000:01:00.0: firmware: direct-loading firmware mediatek/WIFI_RAM_CODE_MT7922_1.bin
[    5.508199] bluetooth hci0: firmware: direct-loading firmware mediatek/BT_RAM_CODE_MT7922_1_1_hdr.bin

如果您能帮我解决这个问题,我将非常感激。

答案1

即使在 Sid(Debian 的实验性前沿版本)中,Debian 的 amdgpu 固件包也已经过时了:https://packages.debian.org/sid/firmware-amd-graphics从 2023 年 6 月 25 日开始。

我建议这样做:

cd /tmp
git clone https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/
cd linux-firmware
sudo cp -a --no-preserve=ownership amdgpu /lib/firmware

并重新启动。

相关内容