[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 14:37:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=291232

--- Comment #6 from O. Hartmann <ohartmann@walstatt.org> ---
(In reply to Tomoaki AOKI from comment #4)

Sorry, I was to hasty and unprecise and, to be honest, I do not understand the
situation anymore!

I went back as far as commit 120f8a4c2ae8a011827d83b098ecf70c791f794b (git
reset hard  120f8a4c2ae8a011827d83b098ecf70c791f794b). Then I recompiled both
world and kernel (I use NOCLEAN, so it might be the wrong approach). Also
recompiled is the x11/nvidia-xxxx stuff as set in src.conf accordingly.

No change! not loading nvidia-modeset leaves the system fully operational as
far as I could judge this. As stated prior to this message.

So, reflecting on what I could miss, I'm rebuilding the whole OS with the
lastest CURRENT commit and also rebuild both x11/nvidia-driver and
x11/nvidia-kmod.

Prior to a whole rebuild of CURRENT after cleanworld with a rebuilt nvidia
driver AND carefully set

debug.link_elf_leak_locals=0
debug.link_elf_obj_leak_locals=0

in /boot/loader.conf.local, rebooting and manually trying to load the
nvidia-modeset module I get this error on the console:

[...]
bridge0: link state changed to UP
nvidia0: <NVIDIA GeForce RTX 5060 Ti> on vgapci0
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: child nvidia0 requested pci_enable_io
link_elf_obj: symbol nv_kthread_q_schedule_q_item undefined
nvidia0: detached
linker_load_file: /boot/modules/nvidia-modeset.ko - unsupported file type

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