From: thelma@sys-concept.com
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] nouveau: gr: failed to load firmware "gr/sw_nonctx"
Date: Sun, 13 Dec 2020 17:27:03 -0700 [thread overview]
Message-ID: <c75edb46-0f13-9f5c-6fa0-1db77687934a@sys-concept.com> (raw)
In-Reply-To: <22649471.ouqheUzb2q@lenovo.localdomain>
On 12/13/2020 04:44 PM, Michael wrote:
> On Sunday, 13 December 2020 18:52:51 GMT thelma@sys-concept.com wrote:
>> I have "nouveau" build into kernel but it doesn't work:
>>
>> Fom dmesg:
>>
>> nouveau 0000:08:00.0: NVIDIA GP107 (137000a1)
>> nouveau 0000:08:00.0: gr: failed to load firmware "gr/sw_nonctx"
>> nouveau 0000:08:00.0: gr: failed to load gr/sw_nonctx
>> nouveau 0000:08:00.0: DRM: failed to create kernel channel, -22
>>
>> grep -i nouveau .config
>> CONFIG_DRM_NOUVEAU=y
>> # CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT is not set
>> CONFIG_NOUVEAU_DEBUG=5
>> CONFIG_NOUVEAU_DEBUG_DEFAULT=3
>> # CONFIG_NOUVEAU_DEBUG_MMU is not set
>> CONFIG_DRM_NOUVEAU_BACKLIGHT=y
>
> I've never used NVIDIA cards with Gentoo, but in firmware terms you need to
> specify in your kernel what firmware you want installed in it. Have a look at
> this guide:
>
> https://wiki.gentoo.org/wiki/Nouveau/en
>
> and this:
>
> https://wiki.gentoo.org/wiki/Linux_firmware
>
> You'll need to add the firmware the video card asks for here:
>
> Device Drivers --->
> Generic Driver Options --->
> Firmware loader --->
> -*- Firmware loading facility
> () Build named firmware blobs into the kernel binary <==
>
> In this instance your card NVIDIA GP107 should need '/lib/firmware/nvidia/
> gp107', so the respective entry for it in the kernel config ought to be:
>
> CONFIG_EXTRA_FIRMWARE="nvidia/gp107"
>
> Someone more clued up on these cards can correct me or add to it.
Thank you, but I've managed to install "nvidia" following:
https://wiki.gentoo.org/wiki/NVIDIA/nvidia-drivers
What confused me is the output from two kernels:
linux-5.4.80-gentoo-r1
was installed with: genkernel --menuconfig all
and "nouveau" was working OK on that kernel:
grep CONFIG_EXTRA_FIRMWARE ../linux-5.4.80-gentoo-r1/.config showing:
CONFIG_EXTRA_FIRMWARE=""
The one below was compiled manually:
grep CONFIG_EXTRA_FIRMWARE ../linux-5.4.72-gentoo/.config
CONFIG_EXTRA_FIRMWARE=""
Both had same output, so why one kernel was working the other didn't?
next prev parent reply other threads:[~2020-12-14 0:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-13 18:52 [gentoo-user] nouveau: gr: failed to load firmware "gr/sw_nonctx" thelma
2020-12-13 23:33 ` Neil Bothwick
2020-12-14 0:32 ` thelma
2020-12-14 8:36 ` Neil Bothwick
2020-12-14 10:07 ` Michael
2020-12-14 19:30 ` Neil Bothwick
2020-12-14 23:23 ` Michael
2020-12-13 23:44 ` Michael
2020-12-14 0:27 ` thelma [this message]
2020-12-14 9:03 ` Michael
2020-12-14 23:50 ` thelma
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c75edb46-0f13-9f5c-6fa0-1db77687934a@sys-concept.com \
--to=thelma@sys-concept.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox