[Bug 291232] x11/nvidia-kmod: On recent CURRENT black screen, problem rebooting (process (probably xdm) not dying)

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 26 Nov 2025 11:26:17 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291232

--- Comment #4 from Tomoaki AOKI <junchoon@dec.sakura.ne.jp> ---
(In reply to O. Hartmann from comment #2)
So on commit base 64ee9c166ce5e807e575d205ac2e15cc5cf6581b, x11/nvidia-kmod in
conjunction with x11/nvidia-driver 580.105.08 worked fine on it, right?

Then upgrading src to commit base 9562994a7aacee2baae6ddee1a7b558b48ae39ef
broke it, and still broken at commit base
718acd74657fdf21cfd03c721bb7484d3789aaa0, right?

If so, no need to bisect, as commit base
9562994a7aacee2baae6ddee1a7b558b48ae39ef is just the next one after commit base
64ee9c166ce5e807e575d205ac2e15cc5cf6581b.
It makes clear that commit base 9562994a7aacee2baae6ddee1a7b558b48ae39ef broke
things.

Fortunately, stable/15 has related codes before it branched (what's missing is
just the one flipped the default). I can test whether flipping tunable
debug.link_elf_obj_leak_locals from 1 to 0 in my /boot/loader.conf and restart
to see what happenes. (For me, debug.link_elf_leak_locals is somehow already 0
and working fine for my Quadro P1000 (notebook).) But it would be after a
couple of days after massive poudriere rebuilds finishes.

If it affect for me, the issue would be because nvidia.ko cannot fetch tunable
you defined in /boot/loader.conf for your GPU (assuming RTX 5xxx series) as of
the flip (for me, affected one would be nvidia-drm.ko, though).

And if not, possibly something others are affected and nvidia.ko is killed
indirectly by it.

-- 
You are receiving this mail because:
You are the assignee for the bug.