Gentoo Archives: gentoo-user

From: Klaus Dittrich <kladit@××××××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] need help with amdgpu driver
Date: Fri, 27 Jan 2023 10:09:10
Message-Id: ddd58ca5-47f1-a1cc-9ab5-9e0f28ad1ccb@t-online.de
1 I have a ryzen-7900X cpu but I cannot get the amdgpu driver up and
2 running with my kernel 6.1.8 (uefi system)
3
4
5 These are the errors dmesg shows:
6
7 [ 0.668913] [drm] amdgpu: 512M of VRAM memory ready
8 [ 0.668915] [drm] amdgpu: 31783M of GTT memory ready.
9 [ 0.669819] amdgpu 0000:0d:00.0: Direct firmware load for
10 amdgpu/psp_13_0_5_ta.bin failed with error -2
11 [ 0.669823] amdgpu 0000:0d:00.0: amdgpu: fail to initialize ta microcode
12 [ 0.669828] [drm:amdgpu_device_init.cold] *ERROR* sw_init of IP block
13 <psp> failed -2
14 [ 0.669831] amdgpu 0000:0d:00.0: amdgpu: amdgpu_device_ip_init failed
15 [ 0.669833] amdgpu 0000:0d:00.0: amdgpu: Fatal error during GPU init
16 [ 0.669834] amdgpu 0000:0d:00.0: amdgpu: amdgpu: finishing device.
17 [ 0.670042] amdgpu: probe of 0000:0d:00.0 failed with error -2
18 [ 0.670046] amdgpu 0000:0d:00.0: devm_attr_group_remove: removing
19 group (____ptrval____)
20 [ 0.670052] [drm] amdgpu: ttm finalized
21 [ 0.907335] bus: 'pci': add driver pcie_mp2_amd
22 [ 0.907411] bus: 'platform': add driver amd_pmc
23 [ 1.007964] amd_hsmp: HSMP is not supported on Fam:19 model:61
24 [ 1.007967] amd_hsmp: Or Is HSMP disabled in BIOS ?
25 [ 1.007968] bus: 'platform': add driver amd-pmf
26
27
28 This is my .config
29 #
30 # Firmware loader
31 #
32 CONFIG_FW_LOADER=y
33 CONFIG_FW_LOADER_PAGED_BUF=y
34 CONFIG_FW_LOADER_SYSFS=y
35 CONFIG_EXTRA_FIRMWARE="amd-ucode/microcode_amd_fam19h.bin
36 amdgpu/psp_13_0_5_toc.bin"
37 CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware"
38 CONFIG_FW_LOADER_USER_HELPER=y
39 # CONFIG_FW_LOADER_USER_HELPER_FALLBACK is not set
40 CONFIG_FW_LOADER_COMPRESS=y
41 CONFIG_FW_LOADER_COMPRESS_XZ=y
42 CONFIG_FW_LOADER_COMPRESS_ZSTD=y
43 # CONFIG_FW_UPLOAD is not set
44 # end of Firmware loader
45
46
47 I do not even get a console because of amdgpu gets not loaded.
48
49 But I can log into the system via ssh because the system is
50 a copy of my well running mbr system.
51
52 My questions are:
53
54 What firmware blobs of linux-firmware has to be installed to support
55 the gpu of a ryzen-7900X?
56 CONFIG_EXTRA_FIRMWARE=?
57
58 I do not use initrd nor initramfs and all neccessary drivers
59 are not installed as modules but compiled into the kernel.
60
61 I it possible that a that moment the kernel cannot get blobs
62 because the ext4 filesystem is not mounted already?
63 So does one have to use initrd to get the blobs loaded?
64
65 What is the meaning of "failed with error -2"?
66
67
68 --
69 regards Klaus

Replies

Subject Author
Re: [gentoo-user] need help with amdgpu driver "Peter Böhm" <peter.bo@×××.de>
Re: [gentoo-user] need help with amdgpu driver "Björn Fischer" <bf@×××××××××××××××××××××.de>