1 |
On 12/13/2020 04:44 PM, Michael wrote: |
2 |
> On Sunday, 13 December 2020 18:52:51 GMT thelma@×××××××××××.com wrote: |
3 |
>> I have "nouveau" build into kernel but it doesn't work: |
4 |
>> |
5 |
>> Fom dmesg: |
6 |
>> |
7 |
>> nouveau 0000:08:00.0: NVIDIA GP107 (137000a1) |
8 |
>> nouveau 0000:08:00.0: gr: failed to load firmware "gr/sw_nonctx" |
9 |
>> nouveau 0000:08:00.0: gr: failed to load gr/sw_nonctx |
10 |
>> nouveau 0000:08:00.0: DRM: failed to create kernel channel, -22 |
11 |
>> |
12 |
>> grep -i nouveau .config |
13 |
>> CONFIG_DRM_NOUVEAU=y |
14 |
>> # CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT is not set |
15 |
>> CONFIG_NOUVEAU_DEBUG=5 |
16 |
>> CONFIG_NOUVEAU_DEBUG_DEFAULT=3 |
17 |
>> # CONFIG_NOUVEAU_DEBUG_MMU is not set |
18 |
>> CONFIG_DRM_NOUVEAU_BACKLIGHT=y |
19 |
> |
20 |
> I've never used NVIDIA cards with Gentoo, but in firmware terms you need to |
21 |
> specify in your kernel what firmware you want installed in it. Have a look at |
22 |
> this guide: |
23 |
> |
24 |
> https://wiki.gentoo.org/wiki/Nouveau/en |
25 |
> |
26 |
> and this: |
27 |
> |
28 |
> https://wiki.gentoo.org/wiki/Linux_firmware |
29 |
> |
30 |
> You'll need to add the firmware the video card asks for here: |
31 |
> |
32 |
> Device Drivers ---> |
33 |
> Generic Driver Options ---> |
34 |
> Firmware loader ---> |
35 |
> -*- Firmware loading facility |
36 |
> () Build named firmware blobs into the kernel binary <== |
37 |
> |
38 |
> In this instance your card NVIDIA GP107 should need '/lib/firmware/nvidia/ |
39 |
> gp107', so the respective entry for it in the kernel config ought to be: |
40 |
> |
41 |
> CONFIG_EXTRA_FIRMWARE="nvidia/gp107" |
42 |
> |
43 |
> Someone more clued up on these cards can correct me or add to it. |
44 |
|
45 |
Thank you, but I've managed to install "nvidia" following: |
46 |
https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers |
47 |
|
48 |
What confused me is the output from two kernels: |
49 |
|
50 |
linux-5.4.80-gentoo-r1 |
51 |
was installed with: genkernel --menuconfig all |
52 |
and "nouveau" was working OK on that kernel: |
53 |
|
54 |
grep CONFIG_EXTRA_FIRMWARE ../linux-5.4.80-gentoo-r1/.config showing: |
55 |
CONFIG_EXTRA_FIRMWARE="" |
56 |
|
57 |
The one below was compiled manually: |
58 |
grep CONFIG_EXTRA_FIRMWARE ../linux-5.4.72-gentoo/.config |
59 |
CONFIG_EXTRA_FIRMWARE="" |
60 |
|
61 |
Both had same output, so why one kernel was working the other didn't? |