Update to latest New Feature Branch of drivers 615.71.09:
https://www.nvidia.com/en-us/drivers/details/278452/
Linux counterparts for x11/linux-nvidia-libs:
https://www.nvidia.com/en-us/drivers/details/278450/
Additional note:
Possibly vtys before invoking whichever of X11 or Wayland shifts
screen downward with about half character-based line, causing
command prompt at the bottom become hard to read.
Once X11 (tested only for xorg) or Wayland starts, it would be
fixed (on exitting X11 / Wayland or switching to vty from X11/
Wayland) until next restart of the computer.
This doesn't happen for everyone (among maintainance team of
NVIDIA GPU driver ports, only I myself am bitten).
So upgrading as-is.
The workaround is to switch to old-school configuration
without loading nvidia-drm.ko.
Forcibly flipping hw.nvidiadrm.modeset to 0 in /boot/loader.conf
and restart would also help.
But these workarounds may mean Wayland to become unusable.
And refreshing vty with Ctrl-L (unless mapped to non-default
functionalities) lets command line prompt at the top, thus,
this is not fatal anyway.
PR: 298428