[Bug 290471] NIRI causing a Fatal trap: page fault on FreeBSD 14.3 with NVIDIA drivers
Date: Fri, 24 Oct 2025 11:34:10 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290471
Tomoaki AOKI <junchoon@dec.sakura.ne.jp> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |junchoon@dec.sakura.ne.jp
--- Comment #1 from Tomoaki AOKI <junchoon@dec.sakura.ne.jp> ---
As you're using RTX5070 Ti, possibly enabling GSP by adding
hw.nvidia.registry.EnableGpuFirmware=1
in your /boot/loader.conf could help, if you've not yet done.
A restart is mandatory here.
If you're loading any of nvidia.ko, nvidia-modeset.ko or nvidia-drm.ko
via /boot/loader.conf, you need to stop it and use kld_list variable
in /etc/rc.conf.
This is because memory area that loader loads kernel and modules are
limited (and incomplete checking as of other restlictions), thus,
any of the modules (usually nvidia.ko) could be loaded only partially
when loaded via /boot/loader.conf.
This causes undefined behaviors. If all needed parts other than Niri
are completely loaded but Niri wants some more, Niri alone could expose
crashes.
See pkg-message for detailed instruction to fix this case as below.
pkg info -D nvidia-kmod
If you're using graphics/nvidia-drm-*-kmod, see its pkg-message, too.
And what's shown if you run the command below?
pkg version -v | grep nvidia
--
You are receiving this mail because:
You are the assignee for the bug.