HomeFreeBSD

x11/nvidia-driver: Fix too aggressive disabling of GSP firmware

Description

x11/nvidia-driver: Fix too aggressive disabling of GSP firmware

Currently, GSP on recent (Turing and later) nvidia GPU is disabled
as of suspend/resume issues (Differential Revision: D49828).

After D49828 lands, in Forums thread "Xorg won't start with officially
supported NVIDIA 5070 GPU?" [1], x11/nvidia-driver doesn't work but
building directly from upstream tarball (570.133 and 570.144) is
reported to work for the reporter.

After some testing on reporter's side with our request, reverting
back D49828 is reported to make x11/nvidia-driver working again.

This update changes the way disabling GSP firmware by default to allow overriding via tunable hw.nvidia.registry.EnableGpuFirmware.

[1] https://forums.freebsd.org/threads/xorg-wont-start-with-officially-supported-nvidia-5070-gpu.97659/

Reported by: foacs (displayed name on forums.freebsd.org)
Approved by: ashafer, kbowling (mentor)
Differential Revision: https://reviews.freebsd.org/D50053

Details

Provenance
junchoon_dec.sakura.ne.jpAuthored on May 5 2025, 1:31 PM
ashaferCommitted on May 5 2025, 1:34 PM
Differential Revision
D50053: x11/nvidia-driver: Fix too aggressive disabling of GSP firmware
Parents
R11:0f8c01c6f35f: devel/apache-commons-daemon: Update 1.4.0 => 1.4.1
Branches
Unknown
Tags
Unknown
OSZAR »