Package: src:linux
Version: 6.12.118-1
Severity: important

Dear Maintainer,

After upgrading to linux-image-6.12.118+deb13-amd64 (6.12.118-1), the
nouveau driver crashes while initialising my NVIDIA GPU during early boot.
Sometimes this leaves the machine hanging at boot or at power-off. Booting
the previous kernel, 6.12.117-1, from the GRUB menu works normally, so this
looks like a regression between 6.12.117 and 6.12.118.

Hardware:
- ASUS X550CL laptop, BIOS X550CL.204 (10/17/2013)
- Intel HD Graphics 4000 [8086:0166] (i915) + NVIDIA GF117M GeForce GT 710M
[10de:1140] (nouveau), hybrid graphics
- Debian 13 (trixie), amd64

What happens on 6.12.118-1:
In all three boots I checked (two from the journal and one photo of a hung
boot), nouveau fails to initialise the GPU. The GPU registers return
garbage, the reported VRAM size is nonsense, and gf117_gr_init_zcull() hits
a divide error (tpc_total is 0: R09 is 0 at the idiv). The (udev-worker)
process then dies ("exited with irqs disabled" / "exited with preempt_count
1"). Most of the time the system still reaches the desktop using i915, but
sometimes boot hangs on the Oops screen. Shutdown also sometimes hangs at
the very end, after "systemd-shutdown: Powering off." (all filesystems are
already unmounted). I have not verified that the shutdown hang is caused by
the same problem.

Key kernel log lines (full logs attached):

  nouveau 0000:01:00.0: fb: -1159778304 MiB of unknown memory type
  nouveau 0000:01:00.0: bus: MMIO write of 80000000 FAULT at 6013d4 [
PRIVRING ]
  nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 17e8dc [
PRIVRING ]
  nouveau 0000:01:00.0: fifo: fault 01 [WRITE] at 0000000000000000 engine
05 [BAR3] client 08 [HUB/BAR_WRITE] reason 04 [NO_CHANNEL] on channel -1
[0000000000 unknown]
  nouveau 0000:01:00.0: drm: failed to create ce channel, -22
  nouveau 0000:01:00.0: bus: MMIO read of 00000000 FAULT at 41a12c [
PRIVRING ]
  Oops: divide error: 0000 [#1] PREEMPT SMP PTI
  CPU: 1 UID: 0 PID: 188 Comm: (udev-worker) Not tainted
6.12.118+deb13-amd64 #1  Debian 6.12.118-1
  Hardware name: ASUSTeK COMPUTER INC. X550CL/X550CL, BIOS X550CL.204
10/17/2013
  RIP: 0010:gf117_gr_init_zcull+0x3a/0x1e0 [nouveau]
  Call Trace: gf100_gr_init -> gf100_gr_init_ -> nvkm_engine_init ->
nvkm_ioctl_new -> nouveau_bo_move_init -> nouveau_drm_device_init ->
nouveau_drm_probe

On 6.12.117-1: no Oops, no PRIVRING faults, normal boot and normal
power-off, and the GPU runtime-suspends as before.

Possibly relevant: the 6.12.118 stable changelog contains three nouveau
changes:
- drm/nouveau/devinit/gf100-: try to avoid double-running vbios scripts
- drm/nouveau/nvkm: clear use.enabled when subdev init fails
- drm/nouveau/pci: use config-space MSI rearm on MCP79/MCP7A (NVAC)
I have not bisected. I suspect the first one, because the GPU looks like it
was never initialised by the VBIOS scripts, but this is only a guess.

The kernel log also contains these ACPI messages before the nouveau errors
(old BIOS bug, I think). Please compare with the attached 6.12.117 log:
  ACPI BIOS Error (bug): AE_AML_PACKAGE_LIMIT, Index (0x000000003) is
beyond end of object (length 0x0)
  ACPI: \_SB_.PCI0.PEG0.PEGP: failed to evaluate _DSM
a0a0959d-6000-484d-b34d-7e5fea129fd4 rev:258 func:0 (0x300b)

Attached:
- dmesg-6.12.118-bad.txt (kernel log of a 6.12.118 boot with the Oops)
- dmesg-6.12.117-good.txt (kernel log of a normal 6.12.117 boot)
- lspci-nnk.txt

I am happy to test patches or other kernels on this machine.

Regards

Reply via email to