mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-27 10:03:20 +00:00
Do not mention loading modules via loader.conf
It is generally discouraged to load graphics kernel modules via loader.conf(5). According to kevans@, loading Nvidia modules like this is fragile for UEFI on FreeBSD <= 12.1. It might work, but those modules are large and the loader's staging area is insufficient to contain kernel, Nvidia modules, and much of anything else at the same time. Also, while here, encourage people to use sysrc to modify the contents of rc.conf(5). Reviewed by: danfe Approved by: maintainer (danfe) Differential Revision: https://reviews.freebsd.org/D25506
This commit is contained in:
parent
4ab718ecd5
commit
742116b6d5
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=540866
@ -3,7 +3,7 @@
|
||||
|
||||
DISTVERSION= 304.137
|
||||
# Explicitly set PORTREVISION as it can be overridden by the master port
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../nvidia-driver
|
||||
PKGNAMESUFFIX= -304
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
DISTVERSION= 340.108
|
||||
# Explicitly set PORTREVISION as it can be overridden by the master port
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../nvidia-driver
|
||||
PKGNAMESUFFIX= -340
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
DISTVERSION= 390.132
|
||||
# Explicitly set PORTREVISION as it can be overridden by the master port
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../nvidia-driver
|
||||
PKGNAMESUFFIX= -390
|
||||
|
@ -13,7 +13,7 @@
|
||||
PORTNAME= nvidia-driver
|
||||
DISTVERSION?= 440.82
|
||||
# Always try to set PORTREVISION as it can be overridden by the slave ports
|
||||
PORTREVISION?= 1
|
||||
PORTREVISION?= 2
|
||||
CATEGORIES= x11
|
||||
MASTER_SITES= NVIDIA/XFree86/FreeBSD-${ARCH_SUFX}/${DISTVERSION}
|
||||
DISTNAME= NVIDIA-FreeBSD-${ARCH_SUFX}-${DISTVERSION}
|
||||
|
@ -2,16 +2,15 @@
|
||||
{ type: install
|
||||
message: <<EOM
|
||||
To use these drivers, make sure that you have loaded the NVidia kernel
|
||||
module, by doing
|
||||
module, by running
|
||||
|
||||
# kldload nvidia (or nvidia-modeset, see below)
|
||||
# kldload nvidia (or nvidia-modeset, see below)
|
||||
|
||||
or adding
|
||||
on the command line, or by putting ``nvidia'' (or ``nvidia-modeset'',
|
||||
see below again) on ``kld_list'' variable in /etc/rc.conf, either manually
|
||||
or by running
|
||||
|
||||
nvidia_load="YES" (or nvidia-modeset_load="YES", see below)
|
||||
|
||||
to /boot/loader.conf, or putting ``nvidia'' (or ``nvidia-modeset'', see
|
||||
below again) on ``kld_list'' variable in /etc/rc.conf.
|
||||
# sysrc kld_list+=nvidia (or nvidia-modeset, see below)
|
||||
|
||||
If you build this port with FreeBSD AGP GART driver, make sure you have
|
||||
agp.ko kernel module installed and loaded, since nvidia.ko will depend
|
||||
|
Loading…
Reference in New Issue
Block a user