Gentoo Archives: gentoo-user

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

Replies