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