1 |
On Tuesday 22 Dec 2015 21:30:48 Alexander Kapshuk wrote: |
2 |
> On Tue, Dec 22, 2015 at 9:39 PM, Mick <michaelkintzios@×××××.com> wrote: |
3 |
> > On Sunday 20 Dec 2015 20:29:28 Alexander Kapshuk wrote: |
4 |
> > > On Sun, Dec 20, 2015 at 9:04 PM, Mick <michaelkintzios@×××××.com> wrote: |
5 |
> > > > This is not working for me on a Kaveri system. |
6 |
> > > > |
7 |
> > > > The wiki page suggests these firmware blobs: |
8 |
> > > > |
9 |
> > > > radeon/kaveri_ce.bin radeon/kaveri_me.bin radeon/kaveri_mec2.bin |
10 |
> > > > radeon/kaveri_mec.bin radeon/kaveri_pfp.bin radeon/kaveri_rlc.bin |
11 |
> > > > radeon/kaveri_sdma1.bin radeon/kaveri_sdma.bin radeon/kaveri_uvd.bin |
12 |
> > > > radeon/kaveri_vce.bin |
13 |
> > > > |
14 |
> > > > Unfortunately, radeon/kaveri_sdma1.bin does not seen to be available |
15 |
> > |
16 |
> > when |
17 |
> > |
18 |
> > > > I use sys-kernel/linux-firmware: |
19 |
> > > > |
20 |
> > > > find /lib/firmware/radeon/ -iname KAVERI*sdma* |
21 |
> > > > /lib/firmware/radeon/kaveri_sdma.bin |
22 |
> > > > /lib/firmware/radeon/KAVERI_sdma.bin |
23 |
> > > > |
24 |
> > > > |
25 |
> > > > I installed sys-firmware/amdgpu-ucode, but KAVERI is not found there |
26 |
> > > > either: |
27 |
> > > > |
28 |
> > > > find /lib/firmware/amdgpu/ -iname *sdma* |
29 |
> > > > /lib/firmware/amdgpu/carrizo_sdma.bin |
30 |
> > > > /lib/firmware/amdgpu/carrizo_sdma1.bin |
31 |
> > > > /lib/firmware/amdgpu/fiji_sdma.bin |
32 |
> > > > /lib/firmware/amdgpu/fiji_sdma1.bin |
33 |
> > > > /lib/firmware/amdgpu/tonga_sdma.bin |
34 |
> > > > /lib/firmware/amdgpu/tonga_sdma1.bin |
35 |
> > > > /lib/firmware/amdgpu/topaz_sdma.bin |
36 |
> > > > /lib/firmware/amdgpu/topaz_sdma1.bin |
37 |
> > > > |
38 |
> > > > |
39 |
> > > > Building the recommended blobs fails like so: |
40 |
> > > > |
41 |
> > > > # make && make modules_install && make firmware_install |
42 |
> > > > |
43 |
> > > > CHK include/config/kernel.release |
44 |
> > > > CHK include/generated/uapi/linux/version.h |
45 |
> > > > CHK include/generated/utsrelease.h |
46 |
> > > > CHK include/generated/bounds.h |
47 |
> > > > CHK include/generated/asm-offsets.h |
48 |
> > > > CALL scripts/checksyscalls.sh |
49 |
> > > > CHK include/generated/compile.h |
50 |
> > > > |
51 |
> > > > kernel/Makefile:135: *** No X.509 certificates found *** |
52 |
> > > > make[1]: *** No rule to make target |
53 |
> > > > '/lib/firmware//radeon/kaveri_sdma1.bin', |
54 |
> > > > needed by 'firmware/radeon/kaveri_sdma1.bin.gen.o'. Stop. |
55 |
> > > > Makefile:947: recipe for target 'firmware' failed |
56 |
> > > > make: *** [firmware] Error 2 |
57 |
> > > |
58 |
> > > That's interesting. 'kaveri_sdma1.bin' is found in the |
59 |
> > > 'sys-firmware/amdgpu-ucode' package. See below. |
60 |
> > > % pwd |
61 |
> > > radeon_ucode/kaveri |
62 |
> > |
63 |
> > I don't seem to have such a directory, or the files therein. Where am I |
64 |
> > supposed to look? |
65 |
> > |
66 |
> > This is what emerge -uaDv sys-firmware/amdgpu-ucode installed on my PC: |
67 |
> > >>> Installing (1 of 1) sys-firmware/amdgpu-ucode-20150803::gentoo |
68 |
> > |
69 |
> > * checking 44 files for package collisions |
70 |
> > |
71 |
> > >>> Merging sys-firmware/amdgpu-ucode-20150803 to / |
72 |
> > |
73 |
> > --- /lib/ |
74 |
> > --- /lib/firmware/ |
75 |
> > --- /lib/firmware/amdgpu/ |
76 |
> > |
77 |
> > >>> /lib/firmware/amdgpu/carrizo_ce.bin |
78 |
> > >>> /lib/firmware/amdgpu/carrizo_me.bin |
79 |
> > >>> /lib/firmware/amdgpu/carrizo_mec.bin |
80 |
> > >>> /lib/firmware/amdgpu/carrizo_mec2.bin |
81 |
> > >>> /lib/firmware/amdgpu/carrizo_pfp.bin |
82 |
> > >>> /lib/firmware/amdgpu/carrizo_rlc.bin |
83 |
> > >>> /lib/firmware/amdgpu/carrizo_sdma.bin |
84 |
> > >>> /lib/firmware/amdgpu/carrizo_sdma1.bin |
85 |
> > >>> /lib/firmware/amdgpu/carrizo_uvd.bin |
86 |
> > >>> /lib/firmware/amdgpu/carrizo_vce.bin |
87 |
> > >>> /lib/firmware/amdgpu/fiji_ce.bin |
88 |
> > >>> /lib/firmware/amdgpu/fiji_mc.bin |
89 |
> > >>> /lib/firmware/amdgpu/fiji_me.bin |
90 |
> > >>> /lib/firmware/amdgpu/fiji_mec.bin |
91 |
> > >>> /lib/firmware/amdgpu/fiji_mec2.bin |
92 |
> > >>> /lib/firmware/amdgpu/fiji_pfp.bin |
93 |
> > >>> /lib/firmware/amdgpu/fiji_rlc.bin |
94 |
> > >>> /lib/firmware/amdgpu/fiji_sdma.bin |
95 |
> > >>> /lib/firmware/amdgpu/fiji_sdma1.bin |
96 |
> > >>> /lib/firmware/amdgpu/fiji_smc.bin |
97 |
> > >>> /lib/firmware/amdgpu/fiji_uvd.bin |
98 |
> > >>> /lib/firmware/amdgpu/fiji_vce.bin |
99 |
> > >>> /lib/firmware/amdgpu/tonga_ce.bin |
100 |
> > >>> /lib/firmware/amdgpu/tonga_mc.bin |
101 |
> > >>> /lib/firmware/amdgpu/tonga_me.bin |
102 |
> > >>> /lib/firmware/amdgpu/tonga_mec.bin |
103 |
> > >>> /lib/firmware/amdgpu/tonga_mec2.bin |
104 |
> > >>> /lib/firmware/amdgpu/tonga_pfp.bin |
105 |
> > >>> /lib/firmware/amdgpu/tonga_rlc.bin |
106 |
> > >>> /lib/firmware/amdgpu/tonga_sdma.bin |
107 |
> > >>> /lib/firmware/amdgpu/tonga_sdma1.bin |
108 |
> > >>> /lib/firmware/amdgpu/tonga_smc.bin |
109 |
> > >>> /lib/firmware/amdgpu/tonga_uvd.bin |
110 |
> > >>> /lib/firmware/amdgpu/tonga_vce.bin |
111 |
> > >>> /lib/firmware/amdgpu/topaz_ce.bin |
112 |
> > >>> /lib/firmware/amdgpu/topaz_mc.bin |
113 |
> > >>> /lib/firmware/amdgpu/topaz_me.bin |
114 |
> > >>> /lib/firmware/amdgpu/topaz_mec.bin |
115 |
> > >>> /lib/firmware/amdgpu/topaz_mec2.bin |
116 |
> > >>> /lib/firmware/amdgpu/topaz_pfp.bin |
117 |
> > >>> /lib/firmware/amdgpu/topaz_rlc.bin |
118 |
> > >>> /lib/firmware/amdgpu/topaz_sdma.bin |
119 |
> > >>> /lib/firmware/amdgpu/topaz_sdma1.bin |
120 |
> > >>> /lib/firmware/amdgpu/topaz_smc.bin |
121 |
> > |
122 |
> > No /kaveri/ in there. |
123 |
> > |
124 |
> > > Perhaps the path to the binary blobs specified in your kernel config |
125 |
> > > file is wrong? You want to double check that. |
126 |
> > |
127 |
> > This is what I have: |
128 |
> > |
129 |
> > grep /firmware .config |
130 |
> > CONFIG_EXTRA_FIRMWARE_DIR="/lib/firmware/" |
131 |
> > |
132 |
> > Looking at it again the amdgpu wiki page does not list amdgpu firmwares |
133 |
> > for the KAVERI APU. However, I am confused as to why I can't find |
134 |
> > radeon/kaveri_sdma1 in my installed firmwares (either from |
135 |
> > linux-firmware, or |
136 |
> > from amdgpu-ucode. |
137 |
> > |
138 |
> > -- |
139 |
> > Regards, |
140 |
> > Mick |
141 |
> |
142 |
> What USE flags did you compile 'sys-firmware/amdgpu-ucode' with? |
143 |
> |
144 |
> If I am reading the section of the ebuild shown below correctly, having |
145 |
> 'legacy' enabled is what installs the 'kaveri' binaries. |
146 |
> /usr/portage/sys-firmware/amdgpu-ucode/amdgpu-ucode-20150803.ebuild:23,33 |
147 |
> AMDGPU_LEGACY_CIK="bonaire hawaii kabini kaveri mullins" |
148 |
> |
149 |
> src_install() { |
150 |
> local directory files legacyfiles |
151 |
> if use legacy; then |
152 |
> for directory in ${AMDGPU_LEGACY_CIK}; do |
153 |
> legacyfiles+=( ${directory}/*.bin ) |
154 |
> done |
155 |
> insinto /lib/firmware/radeon |
156 |
> doins ${legacyfiles[@]} |
157 |
> fi |
158 |
> |
159 |
> 'legacy' seems to be disabled by default. See below. |
160 |
> # emerge -ap sys-firmware/amdgpu-ucode |
161 |
> |
162 |
> These are the packages that would be merged, in order: |
163 |
> |
164 |
> Calculating dependencies ... done! |
165 |
> [ebuild N ~] sys-firmware/amdgpu-ucode-20150803 USE="-legacy" |
166 |
|
167 |
Aha! Good catch! |
168 |
|
169 |
[- ] legacy |
170 |
sys-firmware/amdgpu-ucode: Install firmware for older chipsets which |
171 |
are optionally supported by AMDGPU |
172 |
[- ] 20150803 [gentoo] |
173 |
|
174 |
|
175 |
Can I have both amdgpu and linux-firmware? |
176 |
|
177 |
The latter has some wireless firmware I think I need to retain. |
178 |
-- |
179 |
Regards, |
180 |
Mick |