Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Mar 2022 06:23:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 258264] Following handbook on nvidia drivers makes system get stuck on boot.
Message-ID:  <bug-258264-7141-DfYs8KpCjM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-258264-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-258264-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258264

Stefan B. <sblachmann@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sblachmann@gmail.com

--- Comment #12 from Stefan B. <sblachmann@gmail.com> ---
Graham Perrin told me here
https://forums.freebsd.org/threads/why-its-so-complicated.84408/post-560016=
 to
add information.

In general, for all drivers >340 the correct way is to load nvidia-modeset =
in
/boot/loader.conf. (Source is the Nvidia README, confirmed by my experience=
.)
Loading it only later (via /etc/rc.conf) can cause several issues, like
xrandr/EDID not working correctly, problems with suspend/resume etc.

However there are issues with the UEFI boot code which reportedly cause han=
gs
due to insufficient free memory, which causes problems when nvidia.ko is be=
ing
pulled in by nvidia-modeset. I don't know about details, as I avoid using U=
EFI
whenever possible.

So it depends on whether and when these UEFI loader issues are solved in the
particular FreeBSD version, whether nvidia-modeset can be loaded via
/boot/loader.conf (optimum) or has to be loaded via /etc/rc.conf (suboptimal
work-around).

The handbook nvidia section is of no use, as it is completely out of date a=
nd
no help at all for FreeBSD newcomers. It even still mentions driver-304, wh=
ich
has been defunct since 2017 due Xorg ABI changes.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258264-7141-DfYs8KpCjM>