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-612-kmod: Update to latest version
Update to 6.12.110
This also fixes Vulkan on FreeBSD 15.1 for intel gpu.
Sponsored by: Beckhoff Automation GmbH & Co. KG
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/drm-*-kmod, graphics/nvidia-drm-*-kmod: Update DRM drivers
The reason is to make them compatible with an upcoming change in
linuxkpi in FreeBSD src:
https://github.com/freebsd/drm-kmod/pull/502
Sponsored by: The FreeBSD Foundation
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*: Bump PORTREVISION after
e50c876e295af951485b605b8cb9bf567b6c23e1
I should have done it as part of the update.
Reported by: Tomoaki Aoki <junchoon_dec.sakura.ne.jp>
graphics/drm-*-kmod, graphics/nvidia-drm-*-kmod: Update DRM drivers
Several changes were made to all LTS drm-kmod branches:
1. All branches were updated with Makefile cleanups and fixes.
2. The addition of the `DMA_BUF_IOCTL_EXPORT_SYNC_FILE` and
`DMA_BUF_IOCTL_IMPORT_SYNC_FILE` ioctls was backported to the 6.1 and
6.6 branches.
3. A couple fixes to amdgpu and i915 drivers were committed to the 6.12
branch.
The corresponding `graphics/nvidia-drm-*-kmod` ports were updated to
reference the latest `graphics/drm-*-kmod` ports.
Sponsored by: The FreeBSD Foundation
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 )