notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
nvidia-drm-515-kmod NVIDIA DRM Kernel Module
550.54.14_1 graphics on this many watch lists=1 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 550.54.14_1Version of this port present on the latest quarterly branch.
Maintainer: ashafer@badland.io search for ports maintained by this maintainer
Port Added: 2023-08-20 17:57:08
Last Update: 2024-06-04 10:11:02
Commit Hash: 724b2004
People watching this port, also watch:: drm-kmod, nvidia-drm-510-kmod, virtualbox-ose-kmod, openzfs-kmod
Also Listed In: kld
License: NVIDIA
WWW:
https://www.nvidia.com/object/unix.html
Description:
FreeBSD port of Linux's nvidia-drm.ko Kernel module. This version is compatible with drm.ko 5.15.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (6 items)
Collapse this list.
  1. /boot/modules/nvidia-drm.ko
  2. share/X11/xorg.conf.d/20-nvidia-drm-outputclass.conf
  3. @kld /boot/modules
  4. /usr/local/share/licenses/nvidia-drm-515-kmod-550.54.14_1/catalog.mk
  5. /usr/local/share/licenses/nvidia-drm-515-kmod-550.54.14_1/LICENSE
  6. /usr/local/share/licenses/nvidia-drm-515-kmod-550.54.14_1/NVIDIA
Collapse this list.
Dependency lines:
  • nvidia-drm-515-kmod>0:graphics/nvidia-drm-515-kmod
Conflicts:
CONFLICTS_INSTALL:
  • nvidia-drm-510-kmod
  • nvidia-drm-61-kmod
Conflicts Matches:
There are no Conflicts Matches for this port. This is usually an error.
To install the port:
cd /usr/ports/graphics/nvidia-drm-515-kmod/ && make install clean
To add the package, run one of these commands:
  • pkg install graphics/nvidia-drm-515-kmod
  • pkg install nvidia-drm-515-kmod
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: nvidia-drm-515-kmod
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: amd64
distinfo:
TIMESTAMP = 1717495786 SHA256 (NVIDIA-FreeBSD-x86_64-550.54.14.tar.xz) = 934549ee2e6cf6bc098a0794ad5c84cfa8d55c79396d1d387c37eb91c49de340 SIZE (NVIDIA-FreeBSD-x86_64-550.54.14.tar.xz) = 143184876

Expand this list (2 items)

Collapse this list.

SHA256 (freebsd-drm-kmod-drm_v5.15.160_0_GH0.tar.gz) = 350dc97a562d2642b9c420e43b66cb189297702630655a763fd1fd577f79133c SIZE (freebsd-drm-kmod-drm_v5.15.160_0_GH0.tar.gz) = 26098344

Collapse this list.


Packages (timestamps in pop-ups are UTC):
nvidia-drm-515-kmod
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest--------
FreeBSD:13:quarterly--------
FreeBSD:14:latest-550.54.14_1------
FreeBSD:14:quarterly-550.54.14_1------
FreeBSD:15:latest-550.54.14_1n/a-n/a---
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. drm.ko : graphics/drm-515-kmod
Runtime dependencies:
  1. drm.ko : graphics/drm-515-kmod
  2. nvidia.ko : x11/nvidia-driver
This port is required by:
for Run
  1. graphics/nvidia-drm-kmod

Configuration Options:
No options to configure
Options name:
graphics_nvidia-drm-515-kmod
USES:
kmod uidfix tar:xz
pkg-message:
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 nvdidia-drm.ko, most easily done by placing the above in /boot/loader.conf.

Master Sites:
  1. There is no master site for this port.

Number of commits found: 15

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
550.54.14_1
04 Jun 2024 10:11:02
commit hash: 724b2004f0d1a9849b2afa7c4f45499401e83f26commit hash: 724b2004f0d1a9849b2afa7c4f45499401e83f26commit hash: 724b2004f0d1a9849b2afa7c4f45499401e83f26commit hash: 724b2004f0d1a9849b2afa7c4f45499401e83f26 files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
graphics/drm-515-kmod: Update to 5.15.160

This brings us up to date with Linux 5.15.160

Sponsored by:	Beckhoff Automation GmbH & Co. KG
550.54.14_1
16 May 2024 22:11:40
commit hash: b48d56f686b861f6df627246cd4ffb1187497f0dcommit hash: b48d56f686b861f6df627246cd4ffb1187497f0dcommit hash: b48d56f686b861f6df627246cd4ffb1187497f0dcommit hash: b48d56f686b861f6df627246cd4ffb1187497f0d files touched by this commit
Jung-uk Kim (jkim) search for other commits by this committer
graphics/nvidia-drm-515-kmod: Fix build on current after ae38a1a1bfdf

Approved by:	portmgr (blanket unbreak)
550.54.14_1
18 Mar 2024 15:24:47
commit hash: 0d98f3a7607fc1fb304cecffbebf94ad889af940commit hash: 0d98f3a7607fc1fb304cecffbebf94ad889af940commit hash: 0d98f3a7607fc1fb304cecffbebf94ad889af940commit hash: 0d98f3a7607fc1fb304cecffbebf94ad889af940 files touched by this commit
Gleb Popov (arrowd) search for other commits by this committer
Author: Austin Shafer
graphics/nvidia-drm-kmod: fix build depends and linuxkpi registration

This fixes an issue where linuxkpi/DRM compatibility was not being
correctly detected, causing sway to not work. The conftest.sh script
checks the installed kernel modules for symbol presence, but on
package builders drm.ko was not being installed due to being in
RUN_DEPENDS instead of BUILD_DEPENDS.

This also fixes a panic in sway when an external monitor is plugged
into a prime laptop. This uses linux_pci_attach_device when possible
to actually register everything needed for the pci dev, instead of
just filling in the bare miniumum.

Differential Revision: https://reviews.freebsd.org/D44308
550.54.14_1
14 Mar 2024 17:42:40
commit hash: 3c7a5bf57d674ad3724b7b695f5a1887230f4f26commit hash: 3c7a5bf57d674ad3724b7b695f5a1887230f4f26commit hash: 3c7a5bf57d674ad3724b7b695f5a1887230f4f26commit hash: 3c7a5bf57d674ad3724b7b695f5a1887230f4f26 files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
graphics/drm-kmod: Update to latest source so it builds on current

Update 5.15 and 6.1 to latest source so it builds on latest current
version.

Sponsored by:	Beckhoff Automation GmbH & Co. KG
535.146.02
27 Feb 2024 15:48:19
commit hash: 71e92b26bd43763a7b82208625e628f043858fa7commit hash: 71e92b26bd43763a7b82208625e628f043858fa7commit hash: 71e92b26bd43763a7b82208625e628f043858fa7commit hash: 71e92b26bd43763a7b82208625e628f043858fa7 files touched by this commit
Gleb Popov (arrowd) search for other commits by this committer
Author: Austin Shafer
graphics/nvidia-drm-kmod: Update to 550.54.14

Differential Revision: https://reviews.freebsd.org/D44073
535.146.02_2
01 Jan 2024 22:51:52
commit hash: 7071f5604df659921251fc2d8d76adeca6ac5439commit hash: 7071f5604df659921251fc2d8d76adeca6ac5439commit hash: 7071f5604df659921251fc2d8d76adeca6ac5439commit hash: 7071f5604df659921251fc2d8d76adeca6ac5439 files touched by this commit
Kevin Bowling (kbowling) search for other commits by this committer
Author: Austin Shafer
graphics/nvidia-drm-{510,515}-kmod: Update to 535.146.02

PR:		275569
535.104.05_2
29 Dec 2023 19:28:07
commit hash: fe705ac087444001315552af0c72cf39854eb1d5commit hash: fe705ac087444001315552af0c72cf39854eb1d5commit hash: fe705ac087444001315552af0c72cf39854eb1d5commit hash: fe705ac087444001315552af0c72cf39854eb1d5 files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
Author: Austin Shafer
graphics/nvidia-drm-515-kmod: Fix build on CURRENT with iosys-map.h

Commit f8ab2f5bae1d added the linux/iosys-map.h header to base in order
to support 5.18+ versions of drm-kmod. This messes with nvidia-drm's
conftest logic as on recent enough CURRENT versions it will see iosys-map
and assume it can use it, but the drm-kmod version in use is 5.15,
which wants to use the older dma_buf_map.

This adds a patch on the port side to override nvidia-drm's detector
and force the use of dma_buf_map on the 5.15 port.

Differential Revision:	https://reviews.freebsd.org/D43234
535.104.05_2
25 Dec 2023 03:27:16
commit hash: b8c2854f2fe7835526d255c359ccd461263c278bcommit hash: b8c2854f2fe7835526d255c359ccd461263c278bcommit hash: b8c2854f2fe7835526d255c359ccd461263c278bcommit hash: b8c2854f2fe7835526d255c359ccd461263c278b files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
graphics/nvidia-drm-{510,515}-kmod: bump distinfo after
graphics/drm-{510,515}-kmod update

Discussed with: maintainer
535.104.05_2
13 Nov 2023 08:25:36
commit hash: 8c505a02afd1720e0088135bf48f80f4c15fa171commit hash: 8c505a02afd1720e0088135bf48f80f4c15fa171commit hash: 8c505a02afd1720e0088135bf48f80f4c15fa171commit hash: 8c505a02afd1720e0088135bf48f80f4c15fa171 files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
graphics/drm-515-kmod: Update to v5.15.118_3

Fix backlight reset on i915 when external events happens (plugging charger,
suspend/resume etc ...).

Sponsored by:	Beckhoff Automation GmbH & Co. KG
535.104.05_2
07 Nov 2023 08:35:19
commit hash: 0a0e141da5b584e00c498947e596b957bd40db94commit hash: 0a0e141da5b584e00c498947e596b957bd40db94commit hash: 0a0e141da5b584e00c498947e596b957bd40db94commit hash: 0a0e141da5b584e00c498947e596b957bd40db94 files touched by this commit
Gleb Popov (arrowd) search for other commits by this committer
Author: Austin Shafer
graphics/nvidia-drm-515-kmod: Remove dependency on linuxkpi_gplv2.ko

This fixes a failure on module load for nvidia-drm.ko as a result of
linuxkpi_gplv2.ko being removed from drm-kmod in 5.15. For now we just
remove the dependency in the nvidia-drm 515 port to unbreak things, I'll
create a longer-term upstream fix.

PR: 274910

Reviewed by: arrowd

Differential Revision: https://reviews.freebsd.org/D42484
535.104.05_1
26 Oct 2023 06:09:40
commit hash: e97a9e1fca316c785ecd436a51d1a1bd026ed23acommit hash: e97a9e1fca316c785ecd436a51d1a1bd026ed23acommit hash: e97a9e1fca316c785ecd436a51d1a1bd026ed23acommit hash: e97a9e1fca316c785ecd436a51d1a1bd026ed23a files touched by this commit
Emmanuel Vadot (manu) search for other commits by this committer
graphics/drm-515-kmod: Update to drm_v5.15.118_2

Fixes some memory accounting in dma-buf.

Sponsored by:	Beckhoff Automation GmbH & Co. KG
535.104.05
17 Oct 2023 17:49:17
commit hash: ade14c9a20f140295e58e398df0a04ee5dafff04commit hash: ade14c9a20f140295e58e398df0a04ee5dafff04commit hash: ade14c9a20f140295e58e398df0a04ee5dafff04commit hash: ade14c9a20f140295e58e398df0a04ee5dafff04 files touched by this commit
Gleb Popov (arrowd) search for other commits by this committer
Author: Austin Shafer
graphics/nvidia-drm-515-kmod: Chase drm-kmod 5.15.118 update.

Reviewed By: arrowd

Differential Revision: https://reviews.freebsd.org/D42267
535.104.05
08 Sep 2023 18:12:08
commit hash: a3727749f7d3bae98a0ab72d672c890cbf73c7a5commit hash: a3727749f7d3bae98a0ab72d672c890cbf73c7a5commit hash: a3727749f7d3bae98a0ab72d672c890cbf73c7a5commit hash: a3727749f7d3bae98a0ab72d672c890cbf73c7a5 files touched by this commit
Kevin Bowling (kbowling) search for other commits by this committer
x11/nvidia-driver, x11/linux-nvidia-libs, nvidia-drm-*-kmod: update to
535.104.05

PR:		273357
Approved by:	danfe
535.98_1
01 Sep 2023 16:16:56
commit hash: dd3d40263140265bb9ac5c855230fcde9f628c3ecommit hash: dd3d40263140265bb9ac5c855230fcde9f628c3ecommit hash: dd3d40263140265bb9ac5c855230fcde9f628c3ecommit hash: dd3d40263140265bb9ac5c855230fcde9f628c3e files touched by this commit
Gleb Popov (arrowd) search for other commits by this committer
Author: Austin Shafer
nvidia-drm-kmod: Update with fix for PRIME

This updates the nvidia-drm ports to contain the fix for
https://github.com/amshafer/nvidia-driver/issues/20

Also updates the port Makefiles to use CONFLICTS_INSTALL to resolve
PR 273261, and adds PORTREVISION to the github tag referenced.

Differential Revision: https://reviews.freebsd.org/D41591

PR:		273261
Tested by:	arrowd
535.98
20 Aug 2023 17:54:07
commit hash: 4754e9fd33c4fae0359a272d72d9aa7fe75c7a82commit hash: 4754e9fd33c4fae0359a272d72d9aa7fe75c7a82commit hash: 4754e9fd33c4fae0359a272d72d9aa7fe75c7a82commit hash: 4754e9fd33c4fae0359a272d72d9aa7fe75c7a82 files touched by this commit
Gleb Popov (arrowd) search for other commits by this committer
Author: Austin Shafer
graphics/nvidia-drm-[510,515]-kmod: Add the port.

This port provides the nvidia-drm.ko kernel module, as ported here:
https://github.com/amshafer/nvidia-driver

This module implements the DRM API, which is commonly used for PRIME and
Wayland setups.

Differential Revision: https://reviews.freebsd.org/D41497

Reviewed by:	arrowd

Number of commits found: 15