Gentoo Archives: gentoo-user

From: Mick <michaelkintzios@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] (Not Solved for me) anyone tried amdgpu (kernel module)
Date: Sun, 20 Dec 2015 23:25:44
Message-Id: 201512202325.30854.michaelkintzios@gmail.com
In Reply to: Re: [gentoo-user] (Not Solved for me) anyone tried amdgpu (kernel module) by Alexander Kapshuk
1 On Sunday 20 Dec 2015 20:29:28 Alexander Kapshuk wrote:
2 > On Sun, Dec 20, 2015 at 9:04 PM, Mick <michaelkintzios@×××××.com> wrote:
3 > > On Saturday 19 Dec 2015 17:15:04 Alexander Kapshuk wrote:
4 > > > > Have you tried this firmware package instead,
5 > >
6 > > sys-firmware/amdgpu-ucode?
7 > >
8 > > > > Do you have the firmware included in your kernel config file?
9 > > > >
10 > > > > Device Drivers --->
11 > > > >
12 > > > > Generic Driver Options --->
13 > > > >
14 > > > > -*- Userspace firmware loading support
15 > > > > [*] Include in-kernel firmware blobs in kernel binary
16 > > > >
17 > > > > (amdgpu/<YOUR-MODEL>.bin radeon/<YOUR-MODEL>.bin)
18 > > > > (/lib/firmware) Firmware blobs root directory
19 > > > >
20 > > > > Yes I have the firmware includes, I'll try the amdgpu-ucode and
21 > > > > report back.
22 > > > >
23 > > > >
24 > > > > -------------
25 > > > >
26 > > > >
27 > > > > Mission successful! Thanks everyone, it appears the missing
28 > > > > sdma1.bin from linux-firmware is contained in amdgpu-ucode and after
29 > > > > switching everything is running fine.
30 > > >
31 > > > Good to hear.
32 > > >
33 > > > Thanks for letting us know.
34 > >
35 > > This is not working for me on a Kaveri system.
36 > >
37 > > The wiki page suggests these firmware blobs:
38 > >
39 > > radeon/kaveri_ce.bin radeon/kaveri_me.bin radeon/kaveri_mec2.bin
40 > > radeon/kaveri_mec.bin radeon/kaveri_pfp.bin radeon/kaveri_rlc.bin
41 > > radeon/kaveri_sdma1.bin radeon/kaveri_sdma.bin radeon/kaveri_uvd.bin
42 > > radeon/kaveri_vce.bin
43 > >
44 > > Unfortunately, radeon/kaveri_sdma1.bin does not seen to be available when
45 > > I use sys-kernel/linux-firmware:
46 > >
47 > > find /lib/firmware/radeon/ -iname KAVERI*sdma*
48 > > /lib/firmware/radeon/kaveri_sdma.bin
49 > > /lib/firmware/radeon/KAVERI_sdma.bin
50 > >
51 > >
52 > > I installed sys-firmware/amdgpu-ucode, but KAVERI is not found there
53 > > either:
54 > >
55 > > find /lib/firmware/amdgpu/ -iname *sdma*
56 > > /lib/firmware/amdgpu/carrizo_sdma.bin
57 > > /lib/firmware/amdgpu/carrizo_sdma1.bin
58 > > /lib/firmware/amdgpu/fiji_sdma.bin
59 > > /lib/firmware/amdgpu/fiji_sdma1.bin
60 > > /lib/firmware/amdgpu/tonga_sdma.bin
61 > > /lib/firmware/amdgpu/tonga_sdma1.bin
62 > > /lib/firmware/amdgpu/topaz_sdma.bin
63 > > /lib/firmware/amdgpu/topaz_sdma1.bin
64 > >
65 > >
66 > > Building the recommended blobs fails like so:
67 > >
68 > > # make && make modules_install && make firmware_install
69 > >
70 > > CHK include/config/kernel.release
71 > > CHK include/generated/uapi/linux/version.h
72 > > CHK include/generated/utsrelease.h
73 > > CHK include/generated/bounds.h
74 > > CHK include/generated/asm-offsets.h
75 > > CALL scripts/checksyscalls.sh
76 > > CHK include/generated/compile.h
77 > >
78 > > kernel/Makefile:135: *** No X.509 certificates found ***
79 > > make[1]: *** No rule to make target
80 > > '/lib/firmware//radeon/kaveri_sdma1.bin',
81 > > needed by 'firmware/radeon/kaveri_sdma1.bin.gen.o'. Stop.
82 > > Makefile:947: recipe for target 'firmware' failed
83 > > make: *** [firmware] Error 2
84 > >
85 > > What now?
86 > >
87 > > PS. As VIDEO_CARDS in make.conf I used to have radeon and radeonsi, but
88 > > have
89 > > now changed it to amdgpu and radeonsi. Should I revert and forget about
90 > > radeon/kaveri_sdma1.bin?
91 > > --
92 > > Regards,
93 > > Mick
94 >
95 > That's interesting. 'kaveri_sdma1.bin' is found in the
96 > 'sys-firmware/amdgpu-ucode' package. See below.
97 > % pwd
98 > radeon_ucode/kaveri
99 > % ls -1 *sdma*
100 > kaveri_sdma.bin
101 > kaveri_sdma1.bin
102 >
103 > Perhaps the path to the binary blobs specified in your kernel config file
104 > is wrong? You want to double check that.
105 > Device Drivers --->
106 > Generic Driver Options --->
107 > -*- Userspace firmware loading support
108 > [*] Include in-kernel firmware blobs in kernel binary
109 > (amdgpu/<YOUR-MODEL>.bin radeon/<YOUR-MODEL>.bin)
110 > (/lib/firmware) Firmware blobs root directory
111
112 Hmm .. perhaps I've been doing this wrong? Should I fill in:
113
114 (amdgpu/kaveri.bin radeon/kaveri.bin)
115
116 instead of:
117
118 (radeon/kaveri_ce.bin radeon/kaveri_me.bin radeon/kaveri_mec2.bin
119 radeon/kaveri_mec.bin radeon/kaveri_pfp.bin radeon/kaveri_rlc.bin
120 radeon/kaveri_sdma1.bin radeon/kaveri_sdma.bin radeon/kaveri_uvd.bin
121 radeon/kaveri_vce.bin)
122
123 I've been doing the latter for as long as I can remember.
124 --
125 Regards,
126 Mick

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
RE: [gentoo-user] (Not Solved for me) anyone tried amdgpu (kernel module) Tsukasa Mcp_Reznor <mcp_reznor@×××××××.com>