Gentoo Archives: gentoo-user

From: Michael <confabulate@××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] nouveau: gr: failed to load firmware "gr/sw_nonctx"
Date: Sun, 13 Dec 2020 23:45:05
Message-Id: 22649471.ouqheUzb2q@lenovo.localdomain
In Reply to: [gentoo-user] nouveau: gr: failed to load firmware "gr/sw_nonctx" by thelma@sys-concept.com
1 On Sunday, 13 December 2020 18:52:51 GMT thelma@×××××××××××.com wrote:
2 > I have "nouveau" build into kernel but it doesn't work:
3 >
4 > Fom dmesg:
5 >
6 > nouveau 0000:08:00.0: NVIDIA GP107 (137000a1)
7 > nouveau 0000:08:00.0: gr: failed to load firmware "gr/sw_nonctx"
8 > nouveau 0000:08:00.0: gr: failed to load gr/sw_nonctx
9 > nouveau 0000:08:00.0: DRM: failed to create kernel channel, -22
10 >
11 > grep -i nouveau .config
12 > CONFIG_DRM_NOUVEAU=y
13 > # CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT is not set
14 > CONFIG_NOUVEAU_DEBUG=5
15 > CONFIG_NOUVEAU_DEBUG_DEFAULT=3
16 > # CONFIG_NOUVEAU_DEBUG_MMU is not set
17 > CONFIG_DRM_NOUVEAU_BACKLIGHT=y
18
19 I've never used NVIDIA cards with Gentoo, but in firmware terms you need to
20 specify in your kernel what firmware you want installed in it. Have a look at
21 this guide:
22
23 https://wiki.gentoo.org/wiki/Nouveau/en
24
25 and this:
26
27 https://wiki.gentoo.org/wiki/Linux_firmware
28
29 You'll need to add the firmware the video card asks for here:
30
31 Device Drivers --->
32 Generic Driver Options --->
33 Firmware loader --->
34 -*- Firmware loading facility
35 () Build named firmware blobs into the kernel binary <==
36
37 In this instance your card NVIDIA GP107 should need '/lib/firmware/nvidia/
38 gp107', so the respective entry for it in the kernel config ought to be:
39
40 CONFIG_EXTRA_FIRMWARE="nvidia/gp107"
41
42 Someone more clued up on these cards can correct me or add to it.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] nouveau: gr: failed to load firmware "gr/sw_nonctx" thelma@×××××××××××.com