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-kmod-580, x11/nvidia-driver-580, x11/linux-nvidia-libs-580,
graphics/nvidia-drm-*-kmod-580: Update to 580.178.04
Update Legacy version 580 series of drivers to 580.178.04.
In document below:
https://docs.nvidia.com/datacenter/tesla/pdf/NVIDIA_Data_Center_GPU_Driver_Release_Notes_580_v12.0.pdf
1.2. Fixed Issues
* When FM deletes a partition, it doesn’t release MC teams, as a result MC
Team
resources (i.e., MLIDs are leaked). We now delete all outstanding MC teams
associated with a partition while de-activating it.
* Multibank failures have been identified in HBM3E fleet and the current
driver is
better optimized to handle these failures by triggering channel repair upon
the 2nd
uncorrectable error in a pseudochannel.
(Only the first 15 lines of the commit message are shown above )
x11/nvidia-kmod-580, x11/nvidia-driver-580, x11/linux-nvidia-libs-580,
graphics/nvidia-drm-*-kmod-580: Update to 580.173.02
Update Legacy version 580 series of drivers to 580.173.02.
Release 580 Entries
Fixed a bug that caused delayed wakeups when multiple threads wait on the
same Vulkan semaphore, leading to stutter and reduced performance in some
applications
Fixed a bug that could cause black screens after modesets in X11
applications using the Present extension.
Fixed an issue where OpenGL buffers allocated with glBufferStorage and no
storage flags were allowed to migrate from GPU memory to host memory.
For Linux counterpart:
Release 580 Entries
Fixed a bug that could prevent DKMS kernel module builds from succeeding
after installing with nvidia-installer.
Fixed a bug that caused delayed wakeups when multiple threads wait on the
same Vulkan semaphore, leading to stutter and reduced performance in some
applications
Fixed a bug that could cause black screens after modesets in X11
applications using the Present extension.
Fixed an issue where OpenGL buffers allocated with glBufferStorage and no
storage flags were allowed to migrate from GPU memory to host memory.
PR: 296445
Differential Revision: https://reviews.freebsd.org/D58006
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