Hello,

I can confirm that the patch posted to this bug (message #20,
"[PATCH v1 1/1] drm/nouveau/devinit/gf100-: fix display engine check in
preinit") fixes the boot hang on my machine.

Hardware
--------
- Acer Aspire E5-571G (BIOS V1.04), legacy BIOS boot, no Secure Boot
- Intel Haswell-ULT integrated graphics [8086:0a16], i915
- NVIDIA GM108M [GeForce 840M] [10de:1341], 3D controller (Optimus,
no display outputs), nouveau

Without the patch
-----------------
linux-image-6.12.118+deb13-amd64 (6.12.118-1) hangs during boot. The
console shows a call trace in nouveau (nouveau_drm_device_init ->
nouveau_channel_new -> nvc0_fence_context_new) and then:

nouveau 0000:03:00.0: fifo: fault 01 [WRITE] at 00000000001a1000 engine 05
[BAR2]
client 08 [HUB/HOST_CPU_NB] reason 04 [UNBOUND_INST_BLOCK] on channel -1

The system freezes right after "vga_switcheroo: enabled". 6.12.117-1
boots fine.

With the patch
--------------
I applied the patch to the Debian 6.12.118-1 source package, rebuilt
only the nouveau module against linux-headers-6.12.118+deb13-amd64, and
installed it in /lib/modules/6.12.118+deb13-amd64/updates/. The system
now boots normally on 6.12.118 and nouveau binds to the GPU:

nouveau 0000:03:00.0: NVIDIA GM108 (118010a2)
nouveau 0000:03:00.0: bios: version 82.08.15.00.15
nouveau 0000:03:00.0: fb: 2048 MiB DDR3
nouveau 0000:03:00.0: drm: VRAM: 2048 MiB
[drm] Initialized nouveau 1.4.0 for 0000:03:00.0 on minor 0

There is no oops, no fifo fault, and no BIND_ERROR/DMAR error anymore.
A few "bus: MMIO read of 00000000 FAULT at 6013d4 / 619444 [ PRIVRING ]"
messages remain. They already appear on 6.12.117 and are unrelated to
this regression.

It would be great if this fix could be included in the next trixie
kernel update.

Tested-by: Josselin Jacquard <[email protected]>

Thanks,
Josselin Jacquard

Reply via email to