From: Alexey Dobriyan <adobriyan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org>
Cc: nouveau
<nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org>,
Ben Skeggs <bskeggs-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Subject: Re: gp104: regression on Linux 5.6
Date: Thu, 30 Apr 2020 10:32:43 +0300 [thread overview]
Message-ID: <20200430073243.GA8620@avx2> (raw)
In-Reply-To: <CAKb7UvhLF7Qdx7W_0Ft4G8NujW6XbELcCP09DSkubj_duBXVkg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On Thu, Apr 30, 2020 at 12:15:28AM -0400, Ilia Mirkin wrote:
> Hi Alexey,
>
> On Fri, Apr 24, 2020 at 10:52 PM Alexey Dobriyan <adobriyan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> >
> > gp104 refuses to switch to "graphic" mode and show anything past
> > this line:
> >
> > fb0: switching to nouveaufb from EFI VGA
> >
> > Machine is fine, as it I can press Ctrl+Alt+Delete and reboot it
> > normally.
> >
> > 5.5 is OK. 5.6 is broken.
>
> I've heard some issues relating to missing firmware lately. It should
> work fine without firmware, but perhaps that got broken. Can you log
> into the machine and check dmesg to see what's there? My guess is that
> nouveau takes over from efifb, and then fails to load at some point in
> the middle.
I've fixed the issue by including all firmware until "failed to load"
messages disappeared. X works and fbconsole on VT1-VT6 works too.
CONFIG_EXTRA_FIRMWARE="nvidia/gp104/gr/sw_nonctx.bin nvidia/gp104/gr/sw_ctx.bin nvidia/gp104/gr/sw_bundle_init.bin nvidia/gp104/gr/sw_method_init.bin nvidia/gp104/gr/fecs_bl.bin nvidia/gp104/gr/fecs_inst.bin nvidia/gp104/gr/fecs_data.bin nvidia/gp104/gr/fecs_sig.bin nvidia/gp104/gr/gpccs_bl.bin nvidia/gp104/gr/gpccs_inst.bin nvidia/gp104/gr/gpccs_data.bin nvidia/gp104/gr/gpccs_sig.bin nvidia/gp104/sec2/image.bin nvidia/gp104/sec2/desc.bin nvidia/gp104/sec2/sig.bin nvidia/gp104/acr/ucode_load.bin nvidia/gp104/acr/ucode_unload.bin nvidia/gp104/acr/bl.bin nvidia/gp104/acr/unload_bl.bin nvidia/gp104/nvdec/scrubber.bin"
> > Bisecting is kinda painful with miscompilation and init/main.c breakage.
> >
> > BTW do I need all those megabytes of firmware?
> >
> > [ 0.923273] fb0: switching to nouveaufb from EFI VGA
> > [ 0.923440] nouveau 0000:02:00.0: NVIDIA GP104 (134000a1)
> > [ 1.026681] nouveau 0000:02:00.0: bios: version 86.04.1e.00.01
> > [ 1.026930] nouveau 0000:02:00.0: gr: failed to load firmware "gr/sw_nonctx"
> > [ 1.026934] nouveau 0000:02:00.0: gr: failed to load gr/sw_nonctx
>
> This is necessary to provide any sort of acceleration. Otherwise this
> is just a dumb scanout engine. You only need the firmware for your
> chipset, not all of it.
OK, thanks!
next prev parent reply other threads:[~2020-04-30 7:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-01 18:56 gp104: regression on Linux 5.6 Alexey Dobriyan
2020-04-30 4:15 ` Ilia Mirkin
[not found] ` <CAKb7UvhLF7Qdx7W_0Ft4G8NujW6XbELcCP09DSkubj_duBXVkg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-04-30 7:32 ` Alexey Dobriyan [this message]
2020-04-30 12:27 ` Ilia Mirkin
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=20200430073243.GA8620@avx2 \
--to=adobriyan-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=bskeggs-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=imirkin-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org \
--cc=nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.