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