Modesetting must be enabled to use nvidia-drm.ko for graphics. This can be done
by setting the modeset sysctl, the equivalent of the modeset kernel parameter
on Linux.
hw.nvidiadrm.modeset=1
This must be set before loading nvidia-drm.ko, most easily done by placing the
above in /boot/loader.conf.
graphics/drm-latest-kmod: Update to drm_v6.12.85_3 to fix build
After src commit 33595d4ae01c added pci_map_rom() and pci_unmap_rom() to
linuxkpi, graphics/drm-latest-kmod failed to build because drm-kmod
defined the same macros itself.
Upstream drm-kmod made its definitions conditional, and ports commit
7e420adaf6ef pulled that fix in for drm-515-kmod, drm-61-kmod,
drm-66-kmod, and drm-612-kmod. drm-latest-kmod was missed, so move it
to the same tag as drm-612-kmod.
Bump PORTREVISION of the nvidia-drm-latest-kmod ports, which build
against the drm-kmod sources, and update their distinfo for the new
tarball.
Reference: https://github.com/freebsd/drm-kmod/pull/503
Reviewed by: dumbbell
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D60084
x11/nvidia-driver-devel, x11/nvidia-kmod-devel, x11/linux-nvidia-libs-devel,
graphics/nvidia-drm*-kmod-devel: Update to 615.71.09
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/
(Only the first 15 lines of the commit message are shown above )
graphics/nvidia-drm-*-kmod*: Fix GPF in some configs
Fix General Protection Fault in __nv_drm_gem_nvkms_handle_vma_fault,
lkpi_vmf_insert_pnf_prot_locked, vm_page_busy_acquire in specific
configurations, notably KDE on Wayland.
PR: 296195
Reported by: keivan@motavalli.me
Reviewed by: ashafer
Tested by: keivan@motavalli.me
Differential Revision: https://reviews.freebsd.org/D57989
Co-authored by: ashafer@FreeBSD.org
graphics/nvidia-drm-*-kmod: Add drm 6.12
Add new ports
graphics/nvidia-drm-612-kmod,
graphics/nvidia-drm-612-kmod-580 and
graphics/nvidia-drm-612-kmod-devel
and add conflicts to
graphics/nvidia-drm-{515|61|66|latest}-kmod{-580|-devel}
following the addition of graphics/drm-612-kmod.
While here, bump
(Only the first 15 lines of the commit message are shown above )
x11/nvidia-driver, x11/nvidia-kmod, x11/linux-nvidia-libs,
graphics/nvidia-drm*-kmod, x11/nvidia-settings, x11/nvidia-xconfig: Update to
595.58.03
Update to latest Production Branch of drivers 595.58.03:
https://www.nvidia.com/en-us/drivers/details/265873/
Linux counterparts for x11/linux-nvidia-libs:
https://www.nvidia.com/en-us/drivers/details/265870/
Also bump -devel variant to match with master ports, as Production
Branch [PB] of drivers have now higher version than New Feature
Branch [NFB] of drivers.
As this update drops a bunch of old (pre-Turing generation of
architectures) GPUs as done in -devel variants updated 20260103,
add -580 variant of legacy branch of driver.
Currently, this is exactly the same version before this update.
(580.142)
PR: 294038
Differential Revision: https://reviews.freebsd.org/D56077
x11/nvidia-driver-devel, x11/nvidia-kmod-devel, x11/linux-nvidia-libs-devel,
graphics/nvidia-drm*-kmod-devel, graphics/externalplatform,
graphics/egl-wayland, graphics/egl-x11 : Update to 590.48.01
Update "-devel" variants to latest New Feature Branch [NFB]
of drivers 590.48.01:
https://www.nvidia.com/en-us/drivers/details/259269/
Linux counterparts for x11/linux-nvidia-libs:
https://www.nvidia.com/en-us/drivers/details/259267/
! Important note !
As already notified by HEADSUP at freebsd-ports ML [1],
this version drops support for a bunch of old GPUs
prior to Turing Generation of the architecture.
(Only the first 15 lines of the commit message are shown above )
x11/nvidia-driver[-devel], x11/nvidia-kmod[-devel],
x11/linux-nvidia-libs[-devel], graphics/nvidia-drm*-kmod[-devel],
x11/nvidia-settings, x11/nvidia-xconfig: Update to 580.105.08
Update to latest Production Branch of drivers 580.105.08:
https://www.nvidia.com/en-us/drivers/details/257494/
Linux counterparts for x11/linux-nvidia-libs:
https://www.nvidia.com/en-us/drivers/details/257493/
As latest production branch of drivers is still newer than
the latest version of New Feature Branch [NFB] of drivers 575.64.05,
update -devel variants to 580.105.08, too.
PR: 290813
Differential Revision: https://reviews.freebsd.org/D53596
graphics/nvidia-drm-latest-kmod, graphics/nvidia-drm-latest-kmod-devel: Add new
port
Add missing graphics/nvidia-drm-latest-kmod and
graphics/nvidia-drm-latest-kmod-devel which corresponding with
graphics/drm-latest-kmod.
PR: 290262
Differential Revision: https://reviews.freebsd.org/D53128