All of lore.kernel.org
 help / color / mirror / Atom feed
* gp104: regression on Linux 5.6
@ 2020-04-01 18:56 Alexey Dobriyan
  2020-04-30  4:15 ` Ilia Mirkin
  0 siblings, 1 reply; 4+ messages in thread
From: Alexey Dobriyan @ 2020-04-01 18:56 UTC (permalink / raw)
  To: nouveau-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW; +Cc: bskeggs-H+wXaHxf7aLQT0dZR+AlfA

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.
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
[    1.027196] nouveau 0000:02:00.0: fb: 8192 MiB GDDR5
[    1.040683] nouveau 0000:02:00.0: DRM: VRAM: 8192 MiB
[    1.040686] nouveau 0000:02:00.0: DRM: GART: 536870912 MiB
[    1.040689] nouveau 0000:02:00.0: DRM: BIT table 'A' not found
[    1.040692] nouveau 0000:02:00.0: DRM: BIT table 'L' not found
[    1.040695] nouveau 0000:02:00.0: DRM: TMDS table version 2.0
[    1.040698] nouveau 0000:02:00.0: DRM: DCB version 4.1
[    1.040701] nouveau 0000:02:00.0: DRM: DCB outp 00: 01000f42 00020030
[    1.040704] nouveau 0000:02:00.0: DRM: DCB outp 01: 04811f96 04600020
[    1.040707] nouveau 0000:02:00.0: DRM: DCB outp 02: 04011f92 00020020
[    1.040710] nouveau 0000:02:00.0: DRM: DCB outp 03: 04822f86 04600010
[    1.040713] nouveau 0000:02:00.0: DRM: DCB outp 04: 04022f82 00020010
[    1.040716] nouveau 0000:02:00.0: DRM: DCB outp 06: 02033f62 00020010
[    1.040718] nouveau 0000:02:00.0: DRM: DCB outp 07: 02844f76 04600020
[    1.040721] nouveau 0000:02:00.0: DRM: DCB outp 08: 02044f72 00020020
[    1.040724] nouveau 0000:02:00.0: DRM: DCB conn 00: 00001031
[    1.040727] nouveau 0000:02:00.0: DRM: DCB conn 01: 02000146
[    1.040729] nouveau 0000:02:00.0: DRM: DCB conn 02: 01000246
[    1.040732] nouveau 0000:02:00.0: DRM: DCB conn 03: 00010361
[    1.040734] nouveau 0000:02:00.0: DRM: DCB conn 04: 00020446
[    1.041003] nouveau 0000:02:00.0: DRM: failed to create kernel channel, -22
[    1.041145] nouveau 0000:02:00.0: DRM: MM: using COPY for buffer copies
[    1.322372] nouveau 0000:02:00.0: DRM: allocated 1920x1200 fb: 0x200000, bo 000000002ca87195
[    1.322442] fbcon: nouveaudrmfb (fb0) is primary device
[    1.646937] nouveau 0000:02:00.0: fb0: nouveaudrmfb frame buffer device
[    1.647186] [drm] Initialized nouveau 1.3.1 20120801 for 0000:02:00.0 on minor 0

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gp104: regression on Linux 5.6
  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>
  0 siblings, 1 reply; 4+ messages in thread
From: Ilia Mirkin @ 2020-04-30  4:15 UTC (permalink / raw)
  To: Alexey Dobriyan; +Cc: nouveau, Ben Skeggs

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.

> 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.

Cheers,

  -ilia

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gp104: regression on Linux 5.6
       [not found]   ` <CAKb7UvhLF7Qdx7W_0Ft4G8NujW6XbELcCP09DSkubj_duBXVkg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2020-04-30  7:32     ` Alexey Dobriyan
  2020-04-30 12:27       ` Ilia Mirkin
  0 siblings, 1 reply; 4+ messages in thread
From: Alexey Dobriyan @ 2020-04-30  7:32 UTC (permalink / raw)
  To: Ilia Mirkin; +Cc: nouveau, Ben Skeggs

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!

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gp104: regression on Linux 5.6
  2020-04-30  7:32     ` Alexey Dobriyan
@ 2020-04-30 12:27       ` Ilia Mirkin
  0 siblings, 0 replies; 4+ messages in thread
From: Ilia Mirkin @ 2020-04-30 12:27 UTC (permalink / raw)
  To: Alexey Dobriyan; +Cc: nouveau, Ben Skeggs

On Thu, Apr 30, 2020 at 3:32 AM Alexey Dobriyan <adobriyan-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> 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"

Ben -- another report of firmware-less load being broken on v5.6.

Alexey -- If you compile nouveau as a module, then these can live on
your filesystem or initrd, depending on your boot process.

Cheers,

  -ilia

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-04-30 12:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2020-04-30 12:27       ` Ilia Mirkin

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.