2020-04-03 15:45:52

by Zeno Davatz

[permalink] [raw]
Subject: acr: failed to load firmware with Kernel 5.6. Kernel 5.5 works just fine.

Hi

After installing Kernel 5.6 I am getting this error:

[ please send a personal CC, thank you! ]

Cannot run in framebuffer mode. Please specify busIDs for all
framebuffer devices

[ 0.757317] nouveau 0000:05:00.0: NVIDIA GP107 (137000a1)
[ 0.869775] nouveau 0000:05:00.0: bios: version 86.07.42.00.4a
[ 0.870157] nouveau 0000:05:00.0: acr: failed to load firmware
[ 0.870256] nouveau 0000:05:00.0: acr: failed to load firmware
[ 0.870356] nouveau 0000:05:00.0: acr ctor failed, -2
[ 0.870455] nouveau: probe of 0000:05:00.0 failed with error -2

This used to work just fine, with Version 5.5, Gentoo/Funtoo Linux.

Very strange.

With Kernel 5.5 everything was fine:

this is what I get with Kernel 5.5

~/.backup> dmesg | grep nouveau
[ 0.994622] nouveau 0000:05:00.0: NVIDIA GP107 (137000a1)
[ 1.107079] nouveau 0000:05:00.0: bios: version 86.07.42.00.4a
[ 1.107391] nouveau 0000:05:00.0: gr: failed to load firmware "gr/sw_nonctx"
[ 1.107494] nouveau 0000:05:00.0: gr: failed to load gr/sw_nonctx
[ 1.107857] nouveau 0000:05:00.0: fb: 4096 MiB GDDR5
[ 1.124158] nouveau 0000:05:00.0: DRM: VRAM: 4096 MiB
[ 1.124268] nouveau 0000:05:00.0: DRM: GART: 536870912 MiB
[ 1.124381] nouveau 0000:05:00.0: DRM: BIT table 'A' not found
[ 1.124493] nouveau 0000:05:00.0: DRM: BIT table 'L' not found
[ 1.124604] nouveau 0000:05:00.0: DRM: TMDS table version 2.0
[ 1.124719] nouveau 0000:05:00.0: DRM: DCB version 4.1
[ 1.124829] nouveau 0000:05:00.0: DRM: DCB outp 00: 01000f42 04620030
[ 1.124941] nouveau 0000:05:00.0: DRM: DCB outp 01: 02011f62 00020010
[ 1.125054] nouveau 0000:05:00.0: DRM: DCB outp 02: 02822f76 04600020
[ 1.125166] nouveau 0000:05:00.0: DRM: DCB outp 03: 02022f72 00020020
[ 1.125278] nouveau 0000:05:00.0: DRM: DCB outp 04: 04033f82 00020030
[ 1.125390] nouveau 0000:05:00.0: DRM: DCB conn 00: 00001031
[ 1.125501] nouveau 0000:05:00.0: DRM: DCB conn 01: 00010161
[ 1.125612] nouveau 0000:05:00.0: DRM: DCB conn 02: 00020246
[ 1.125723] nouveau 0000:05:00.0: DRM: DCB conn 03: 01000331
[ 1.126100] nouveau 0000:05:00.0: DRM: failed to create kernel channel, -22
[ 1.126364] nouveau 0000:05:00.0: DRM: MM: using COPY for buffer copies
[ 1.481589] nouveau 0000:05:00.0: DRM: allocated 1680x1050 fb:
0x200000, bo (____ptrval____)
[ 1.481807] fbcon: nouveaudrmfb (fb0) is primary device
[ 1.672191] nouveau 0000:05:00.0: fb0: nouveaudrmfb frame buffer device
[ 1.672362] [drm] Initialized nouveau 1.3.1 20120801 for 0000:05:00.0 on minor 1

Kernel Config is attached.

Looking forward to any help or reply.

I went back to version 5.5 of the Kernel (recompiled after git
checkout v5.5) and all is fine again.

Best
Zeno


Attachments:
config (118.49 kB)

2020-04-03 17:00:02

by Ilia Mirkin

[permalink] [raw]
Subject: Re: acr: failed to load firmware with Kernel 5.6. Kernel 5.5 works just fine.

Ben -- probably the ACR changes in 5.6 don't fall back nicely anymore
when there's no firmware? The load shouldn't be failed, just GR
disabled...

Zeno -- if you grab linux-firmware, it should be all better. Not sure
if you're missing it on purpose or by accident.

Cheers,

-ilia

On Fri, Apr 3, 2020 at 11:07 AM Zeno Davatz <[email protected]> wrote:
>
> Hi
>
> After installing Kernel 5.6 I am getting this error:
>
> [ please send a personal CC, thank you! ]
>
> Cannot run in framebuffer mode. Please specify busIDs for all
> framebuffer devices
>
> [ 0.757317] nouveau 0000:05:00.0: NVIDIA GP107 (137000a1)
> [ 0.869775] nouveau 0000:05:00.0: bios: version 86.07.42.00.4a
> [ 0.870157] nouveau 0000:05:00.0: acr: failed to load firmware
> [ 0.870256] nouveau 0000:05:00.0: acr: failed to load firmware
> [ 0.870356] nouveau 0000:05:00.0: acr ctor failed, -2
> [ 0.870455] nouveau: probe of 0000:05:00.0 failed with error -2
>
> This used to work just fine, with Version 5.5, Gentoo/Funtoo Linux.
>
> Very strange.
>
> With Kernel 5.5 everything was fine:
>
> this is what I get with Kernel 5.5
>
> ~/.backup> dmesg | grep nouveau
> [ 0.994622] nouveau 0000:05:00.0: NVIDIA GP107 (137000a1)
> [ 1.107079] nouveau 0000:05:00.0: bios: version 86.07.42.00.4a
> [ 1.107391] nouveau 0000:05:00.0: gr: failed to load firmware "gr/sw_nonctx"
> [ 1.107494] nouveau 0000:05:00.0: gr: failed to load gr/sw_nonctx
> [ 1.107857] nouveau 0000:05:00.0: fb: 4096 MiB GDDR5
> [ 1.124158] nouveau 0000:05:00.0: DRM: VRAM: 4096 MiB
> [ 1.124268] nouveau 0000:05:00.0: DRM: GART: 536870912 MiB
> [ 1.124381] nouveau 0000:05:00.0: DRM: BIT table 'A' not found
> [ 1.124493] nouveau 0000:05:00.0: DRM: BIT table 'L' not found
> [ 1.124604] nouveau 0000:05:00.0: DRM: TMDS table version 2.0
> [ 1.124719] nouveau 0000:05:00.0: DRM: DCB version 4.1
> [ 1.124829] nouveau 0000:05:00.0: DRM: DCB outp 00: 01000f42 04620030
> [ 1.124941] nouveau 0000:05:00.0: DRM: DCB outp 01: 02011f62 00020010
> [ 1.125054] nouveau 0000:05:00.0: DRM: DCB outp 02: 02822f76 04600020
> [ 1.125166] nouveau 0000:05:00.0: DRM: DCB outp 03: 02022f72 00020020
> [ 1.125278] nouveau 0000:05:00.0: DRM: DCB outp 04: 04033f82 00020030
> [ 1.125390] nouveau 0000:05:00.0: DRM: DCB conn 00: 00001031
> [ 1.125501] nouveau 0000:05:00.0: DRM: DCB conn 01: 00010161
> [ 1.125612] nouveau 0000:05:00.0: DRM: DCB conn 02: 00020246
> [ 1.125723] nouveau 0000:05:00.0: DRM: DCB conn 03: 01000331
> [ 1.126100] nouveau 0000:05:00.0: DRM: failed to create kernel channel, -22
> [ 1.126364] nouveau 0000:05:00.0: DRM: MM: using COPY for buffer copies
> [ 1.481589] nouveau 0000:05:00.0: DRM: allocated 1680x1050 fb:
> 0x200000, bo (____ptrval____)
> [ 1.481807] fbcon: nouveaudrmfb (fb0) is primary device
> [ 1.672191] nouveau 0000:05:00.0: fb0: nouveaudrmfb frame buffer device
> [ 1.672362] [drm] Initialized nouveau 1.3.1 20120801 for 0000:05:00.0 on minor 1
>
> Kernel Config is attached.
>
> Looking forward to any help or reply.
>
> I went back to version 5.5 of the Kernel (recompiled after git
> checkout v5.5) and all is fine again.
>
> Best
> Zeno

2020-04-03 17:21:52

by Zeno Davatz

[permalink] [raw]
Subject: Re: acr: failed to load firmware with Kernel 5.6. Kernel 5.5 works just fine.

On Fri, Apr 3, 2020 at 6:59 PM Ilia Mirkin <[email protected]> wrote:
>
> Ben -- probably the ACR changes in 5.6 don't fall back nicely anymore
> when there's no firmware? The load shouldn't be failed, just GR
> disabled...
>
> Zeno -- if you grab linux-firmware, it should be all better. Not sure
> if you're missing it on purpose or by accident.

Thank you, Ilia

I will try that on my Gentoo/Funtoo machine now. So far linux-firmware
was not needed with Kernel 5.5, so it was not installed on my machine.

[ please CC me ]

Best
Zeno

2020-04-03 17:46:59

by Ilia Mirkin

[permalink] [raw]
Subject: Re: acr: failed to load firmware with Kernel 5.6. Kernel 5.5 works just fine.

On Fri, Apr 3, 2020 at 1:21 PM Zeno Davatz <[email protected]> wrote:
>
> On Fri, Apr 3, 2020 at 6:59 PM Ilia Mirkin <[email protected]> wrote:
> >
> > Ben -- probably the ACR changes in 5.6 don't fall back nicely anymore
> > when there's no firmware? The load shouldn't be failed, just GR
> > disabled...
> >
> > Zeno -- if you grab linux-firmware, it should be all better. Not sure
> > if you're missing it on purpose or by accident.
>
> Thank you, Ilia
>
> I will try that on my Gentoo/Funtoo machine now. So far linux-firmware
> was not needed with Kernel 5.5, so it was not installed on my machine.

It was needed on 5.5 as well. It's just that it fell back gracefully
without firmware, and you didn't get any acceleration features.

Cheers,

-ilia

2020-04-03 17:53:31

by Zeno Davatz

[permalink] [raw]
Subject: Re: acr: failed to load firmware with Kernel 5.6. Kernel 5.5 works just fine.

On Fri, Apr 3, 2020 at 7:23 PM Ilia Mirkin <[email protected]> wrote:
>
> On Fri, Apr 3, 2020 at 1:21 PM Zeno Davatz <[email protected]> wrote:
> >
> > On Fri, Apr 3, 2020 at 6:59 PM Ilia Mirkin <[email protected]> wrote:
> > >
> > > Ben -- probably the ACR changes in 5.6 don't fall back nicely anymore
> > > when there's no firmware? The load shouldn't be failed, just GR
> > > disabled...
> > >
> > > Zeno -- if you grab linux-firmware, it should be all better. Not sure
> > > if you're missing it on purpose or by accident.
> >
> > Thank you, Ilia
> >
> > I will try that on my Gentoo/Funtoo machine now. So far linux-firmware
> > was not needed with Kernel 5.5, so it was not installed on my machine.
>
> It was needed on 5.5 as well. It's just that it fell back gracefully
> without firmware, and you didn't get any acceleration features.

Thank you, Ilia

Installing linux-firmware-20200122 on Gentoo/Funtoo Linux with Kernel
5.6 did not really help.

I still get the same message.

~> dmesg | grep nouveau
[ 0.762819] nouveau 0000:05:00.0: NVIDIA GP107 (137000a1)
[ 0.875252] nouveau 0000:05:00.0: bios: version 86.07.42.00.4a
[ 0.875552] nouveau 0000:05:00.0: acr: failed to load firmware
[ 0.875651] nouveau 0000:05:00.0: acr: failed to load firmware
[ 0.875751] nouveau 0000:05:00.0: acr ctor failed, -2
[ 0.875850] nouveau: probe of 0000:05:00.0 failed with error -2
~> uname -a
Linux zenogentoo 5.6.0 #74 SMP Fri Apr 3 19:44:55 CEST 2020 x86_64
Intel(R) Core(TM) i7 CPU 960 @ 3.20GHz GenuineIntel GNU/Linux

is there any other Kernel setting I need for 5.6?

Best
Zeno

2020-04-03 18:00:44

by Zeno Davatz

[permalink] [raw]
Subject: Re: acr: failed to load firmware with Kernel 5.6. Kernel 5.5 works just fine.

On Fri, Apr 3, 2020 at 7:23 PM Ilia Mirkin <[email protected]> wrote:
>
> On Fri, Apr 3, 2020 at 1:21 PM Zeno Davatz <[email protected]> wrote:
> >
> > On Fri, Apr 3, 2020 at 6:59 PM Ilia Mirkin <[email protected]> wrote:
> > >
> > > Ben -- probably the ACR changes in 5.6 don't fall back nicely anymore
> > > when there's no firmware? The load shouldn't be failed, just GR
> > > disabled...
> > >
> > > Zeno -- if you grab linux-firmware, it should be all better. Not sure
> > > if you're missing it on purpose or by accident.
> >
> > Thank you, Ilia
> >
> > I will try that on my Gentoo/Funtoo machine now. So far linux-firmware
> > was not needed with Kernel 5.5, so it was not installed on my machine.
>
> It was needed on 5.5 as well. It's just that it fell back gracefully
> without firmware, and you didn't get any acceleration features.

Do I need any of these enabled for linux-firmware to load properly in
Kernel 5.6?

-*- Firmware loading facility
│ │ () Build named firmware
blobs into the kernel binary
│ │ [ ] Enable the firmware
sysfs fallback mechanism
│ │ [ ] Enable compressed
firmware support

Best
Zeno

2020-04-03 18:41:46

by Ilia Mirkin

[permalink] [raw]
Subject: Re: acr: failed to load firmware with Kernel 5.6. Kernel 5.5 works just fine.

On Fri, Apr 3, 2020 at 1:59 PM Zeno Davatz <[email protected]> wrote:
>
> On Fri, Apr 3, 2020 at 7:23 PM Ilia Mirkin <[email protected]> wrote:
> >
> > On Fri, Apr 3, 2020 at 1:21 PM Zeno Davatz <[email protected]> wrote:
> > >
> > > On Fri, Apr 3, 2020 at 6:59 PM Ilia Mirkin <[email protected]> wrote:
> > > >
> > > > Ben -- probably the ACR changes in 5.6 don't fall back nicely anymore
> > > > when there's no firmware? The load shouldn't be failed, just GR
> > > > disabled...
> > > >
> > > > Zeno -- if you grab linux-firmware, it should be all better. Not sure
> > > > if you're missing it on purpose or by accident.
> > >
> > > Thank you, Ilia
> > >
> > > I will try that on my Gentoo/Funtoo machine now. So far linux-firmware
> > > was not needed with Kernel 5.5, so it was not installed on my machine.
> >
> > It was needed on 5.5 as well. It's just that it fell back gracefully
> > without firmware, and you didn't get any acceleration features.
>
> Do I need any of these enabled for linux-firmware to load properly in
> Kernel 5.6?
>
> -*- Firmware loading facility
> │ │ () Build named firmware
> blobs into the kernel binary
> │ │ [ ] Enable the firmware
> sysfs fallback mechanism
> │ │ [ ] Enable compressed
> firmware support

Depends on distro specifics. Also the firmware has to be available at
the time that nouveau loads. The corollary to this is:

If it's built into the kernel, then the firmware must also be included
in the kernel (since this happens before any FS stuff)
If it's loaded as a module from initrd, then initrd must contain the firmware

If you need help including firmware in the right place, a distro
support channel is probably your best shot.

Cheers,

-ilia

2020-04-03 19:27:19

by Zeno Davatz

[permalink] [raw]
Subject: Re: acr: failed to load firmware with Kernel 5.6. Kernel 5.5 works just fine.

On Fri, Apr 3, 2020 at 8:31 PM Ilia Mirkin <[email protected]> wrote:

> Depends on distro specifics. Also the firmware has to be available at
> the time that nouveau loads. The corollary to this is:
>
> If it's built into the kernel, then the firmware must also be included
> in the kernel (since this happens before any FS stuff)
> If it's loaded as a module from initrd, then initrd must contain the firmware
>
> If you need help including firmware in the right place, a distro
> support channel is probably your best shot.

Ok, thank you. So far no luck on the end.

https://wiki.gentoo.org/wiki/Linux_firmware

Please let me know if the fallback version comes back to life.

best
Zeno

2020-04-04 10:14:07

by Zeno Davatz

[permalink] [raw]
Subject: Re: acr: failed to load firmware with Kernel 5.6. Kernel 5.5 works just fine.

Dear Ilia

FYI:

On Fri, Apr 3, 2020 at 8:31 PM Ilia Mirkin <[email protected]> wrote:

> Depends on distro specifics. Also the firmware has to be available at
> the time that nouveau loads. The corollary to this is:
>
> If it's built into the kernel, then the firmware must also be included
> in the kernel (since this happens before any FS stuff)
> If it's loaded as a module from initrd, then initrd must contain the firmware
>
> If you need help including firmware in the right place, a distro
> support channel is probably your best shot.

https://forums.developer.nvidia.com/t/nvidia-driver-does-not-work-for-kernel-5-6-nvidia-gp107/118413/6

/usr/src/linux> dmesg | grep nvidia
[ 3.203080] nvidia: loading out-of-tree module taints kernel.
[ 3.203088] nvidia: module license 'NVIDIA' taints kernel.
[ 3.218324] nvidia-nvlink: Nvlink Core is being initialized, major
device number 248
[ 3.218640] nvidia 0000:05:00.0: vgaarb: changed VGA decodes:
olddecodes=io+mem,decodes=none:owns=io+mem
[ 3.431032] nvidia-modeset: Loading NVIDIA Kernel Mode Setting
Driver for UNIX platforms 440.64 Fri Feb 21 00:43:19 UTC 2020
[ 3.451954] [drm] [nvidia-drm] [GPU ID 0x00000500] Loading driver
[ 3.451956] [drm] Initialized nvidia-drm 0.0.0 20160202 for
0000:05:00.0 on minor 1

Best
Zeno

On Fri, Apr 3, 2020 at 8:31 PM Ilia Mirkin <[email protected]> wrote:
>
> On Fri, Apr 3, 2020 at 1:59 PM Zeno Davatz <[email protected]> wrote:
> >
> > On Fri, Apr 3, 2020 at 7:23 PM Ilia Mirkin <[email protected]> wrote:
> > >
> > > On Fri, Apr 3, 2020 at 1:21 PM Zeno Davatz <[email protected]> wrote:
> > > >
> > > > On Fri, Apr 3, 2020 at 6:59 PM Ilia Mirkin <[email protected]> wrote:
> > > > >
> > > > > Ben -- probably the ACR changes in 5.6 don't fall back nicely anymore
> > > > > when there's no firmware? The load shouldn't be failed, just GR
> > > > > disabled...
> > > > >
> > > > > Zeno -- if you grab linux-firmware, it should be all better. Not sure
> > > > > if you're missing it on purpose or by accident.
> > > >
> > > > Thank you, Ilia
> > > >
> > > > I will try that on my Gentoo/Funtoo machine now. So far linux-firmware
> > > > was not needed with Kernel 5.5, so it was not installed on my machine.
> > >
> > > It was needed on 5.5 as well. It's just that it fell back gracefully
> > > without firmware, and you didn't get any acceleration features.
> >
> > Do I need any of these enabled for linux-firmware to load properly in
> > Kernel 5.6?
> >
> > -*- Firmware loading facility
> > │ │ () Build named firmware
> > blobs into the kernel binary
> > │ │ [ ] Enable the firmware
> > sysfs fallback mechanism
> > │ │ [ ] Enable compressed
> > firmware support
>
> Depends on distro specifics. Also the firmware has to be available at
> the time that nouveau loads. The corollary to this is:
>
> If it's built into the kernel, then the firmware must also be included
> in the kernel (since this happens before any FS stuff)
> If it's loaded as a module from initrd, then initrd must contain the firmware
>
> If you need help including firmware in the right place, a distro
> support channel is probably your best shot.
>
> Cheers,
>
> -ilia