Package: firefox-esr Version: 128.8.0esr-1~deb12u1 Ever since I upgraded to Debian Bookworm and started using the Nouveau video drivers (see details below), I experienced random system hangs. My mouse would stop responding, video would stop updating, keyboard would stop working (at least visibly), I could not exit X with Ctrl-Alt-F1, and my only recourse was to use SysRq to sync/umount/boot.
If I rebooted prophylactically every other day, I could sometimes avoid the lockups, but there were often times I wasn't so lucky. I assumed this was because the Nouveau drivers are experimental and that someday I'd have to start debugging at the kernel level to figure out how to stop it. Then one day recently, the crashes randomly stopped! My system was amazingly stable for days at a time. The other day, the security release for firefox-esr 128.8.0 came out, I upgraded, and the hangs were back. Presumably firefox was doing something to tickle bugs in the nouveau drivers, but whatever it was, it didn't happen in version 128.7.0esr-1~deb12u1. It did in previous firefox versions. I looked at firefox-esr's git repo from https://salsa.debian.org/mozilla-team/firefox.git I noticed that by chance, version 128.7.0 did not include the "fixes" or the "debian-hacks" branches. They appear to not have been merged for some reason. This leads me to believe that there is something special in those commits that is causing my Nouveau issue. I could build some test packages, but before I do that, I was hoping the experts would know which commit or set of commits are the most suspicious, and which I should try removing first. Thanks! - Chris Machine: Thinkpad T510 Nouveau bootup dmesg msgs: [ 2.710791] nouveau 0000:01:00.0: vgaarb: deactivate vga console [ 2.712544] nouveau 0000:01:00.0: NVIDIA GT218 (0a8600a2) [ 2.748562] nouveau 0000:01:00.0: bios: version 70.18.45.00.09 [ 2.749546] nouveau 0000:01:00.0: fb: 512 MiB DDR3 [ 2.835468] nouveau 0000:01:00.0: DRM: VRAM: 512 MiB [ 2.835475] nouveau 0000:01:00.0: DRM: GART: 1048576 MiB [ 2.835482] nouveau 0000:01:00.0: DRM: TMDS table version 2.0 [ 2.835486] nouveau 0000:01:00.0: DRM: DCB version 4.0 [ 2.835490] nouveau 0000:01:00.0: DRM: DCB outp 00: 01800323 00010034 [ 2.835495] nouveau 0000:01:00.0: DRM: DCB outp 01: 02811300 00000000 [ 2.835500] nouveau 0000:01:00.0: DRM: DCB outp 02: 028223a6 0f220010 [ 2.835503] nouveau 0000:01:00.0: DRM: DCB outp 03: 02822362 00020010 [ 2.835507] nouveau 0000:01:00.0: DRM: DCB outp 04: 048333b6 0f220010 [ 2.835511] nouveau 0000:01:00.0: DRM: DCB outp 05: 04833372 00020010 [ 2.835515] nouveau 0000:01:00.0: DRM: DCB outp 06: 088443c6 0f220010 [ 2.835519] nouveau 0000:01:00.0: DRM: DCB outp 07: 08844382 00020010 [ 2.835523] nouveau 0000:01:00.0: DRM: DCB conn 00: 00000040 [ 2.835526] nouveau 0000:01:00.0: DRM: DCB conn 01: 00000100 [ 2.835529] nouveau 0000:01:00.0: DRM: DCB conn 02: 00101246 [ 2.835533] nouveau 0000:01:00.0: DRM: DCB conn 03: 00202346 [ 2.835536] nouveau 0000:01:00.0: DRM: DCB conn 04: 00410446 [ 2.839544] nouveau 0000:01:00.0: DRM: MM: using COPY for buffer copies [ 3.079267] nouveau 0000:01:00.0: DRM: allocated 1600x900 fb: 0x70000, bo (____ptrval____) [ 3.079478] fbcon: nouveaudrmfb (fb0) is primary device [ 4.871864] nouveau 0000:01:00.0: [drm] fb0: nouveaudrmfb frame buffer device [ 4.887091] nouveau 0000:01:00.0: DRM: Skipping nv_backlight registration [ 4.897756] [drm] Initialized nouveau 1.3.1 20120801 for 0000:01:00.0 on minor 0 [ 102.920655] nouveau 0000:01:00.0: firmware: direct-loading firmware nouveau/nva8_fuc084 When Nouveau / X hangs, it gives messages like this in kern.log: 2025-03-06T20:18:55.347148-05:00 xxxxxx kernel: [85186.220634] nouveau 0000:01:00.0: gr: TRAP_MP_EXEC - TP 0 MP 0: 00000008 [TIMEOUT] at 07de70 warp 4, opcode c083080d 00000781 2025-03-06T20:18:55.740906-05:00 xxxxxx kernel: [85186.220661] nouveau 0000:01:00.0: gr: TRAP_MP_EXEC - TP 0 MP 1: 00000008 [TIMEOUT] at 07de70 warp 4, opcode c083080d 00000781 2025-03-06T20:18:55.740926-05:00 xxxxxx kernel: [85186.220668] nouveau 0000:01:00.0: gr: 00200000 [] ch 3 [001fa14000 Xorg[989]] subc 3 class 8597 mthd 15e0 data 00000000 2025-03-06T20:18:55.740929-05:00 xxxxxx kernel: [85186.386609] nouveau 0000:01:00.0: gr: TRAP_MP_EXEC - TP 0 MP 0: 00000008 [TIMEOUT] at 07de70 warp 4, opcode c083080d 00000781 2025-03-06T20:18:55.785232-05:00 xxxxxx kernel: [85186.386636] nouveau 0000:01:00.0: gr: TRAP_MP_EXEC - TP 0 MP 1: 00000008 [TIMEOUT] at 07de70 warp 4, opcode c083080d 00000781 2025-03-06T20:18:55.893140-05:00 xxxxxx kernel: [85186.386642] nouveau 0000:01:00.0: gr: 00200000 [] ch 3 [001fa14000 Xorg[989]] subc 3 class 8597 mthd 15e0 data 00000000 2025-03-06T20:18:55.893148-05:00 xxxxxx kernel: [85186.552551] nouveau 0000:01:00.0: gr: TRAP_MP_EXEC - TP 0 MP 0: 00000008 [TIMEOUT] at 07de70 warp 4, opcode c083080d 00000781 2025-03-06T20:18:55.893149-05:00 xxxxxx kernel: [85186.552571] nouveau 0000:01:00.0: gr: TRAP_MP_EXEC - TP 0 MP 1: 00000008 [TIMEOUT] at 07de70 warp 4, opcode c083080d 00000781 2025-03-06T20:18:55.893151-05:00 xxxxxx kernel: [85186.552577] nouveau 0000:01:00.0: gr: 00200000 [] ch 3 [001fa14000 Xorg[989]] subc 3 class 8597 mthd 15e0 data 00000000 2025-03-06T20:18:55.998902-05:00 xxxxxx kernel: [85186.718505] nouveau 0000:01:00.0: gr: TRAP_MP_EXEC - TP 0 MP 0: 00000008 [TIMEOUT] at 07de70 warp 4, opcode c083080d 00000781 2025-03-06T20:18:55.998911-05:00 xxxxxx kernel: [85186.718526] nouveau 0000:01:00.0: gr: TRAP_MP_EXEC - TP 0 MP 1: 00000008 [TIMEOUT] at 07de70 warp 4, opcode c083080d 00000781 2025-03-06T20:18:55.998913-05:00 xxxxxx kernel: [85186.718532] nouveau 0000:01:00.0: gr: 00200000 [] ch 3 [001fa14000 Xorg[989]] subc 3 class 8597 mthd 15e0 data 00000000 2025-03-06T20:18:55.998914-05:00 xxxxxx kernel: [85186.884457] nouveau 0000:01:00.0: gr: TRAP_MP_EXEC - TP 0 MP 0: 00000008 [TIMEOUT] at 07de70 warp 4, opcode c083080d 00000781