freebsd-ports/x11/nvidia-driver/files/pkg-message.in
Alexey Dokuchaev fe0cd3f637 - Mention that `nvidia'' (or `nvidia-modeset'' as of recently) can be put
on ``kld_list'' variable in /etc/rc.conf as well (for later loading)
- Make s/nvidia/nvidia-modeset/ replacement suggestion more accurate because
  ``.ko'' suffix is omitted in syntax for both of those files
- Improve UPDATING wording for corresponding 20160829 entry accordingly
2016-09-01 16:44:45 +00:00

45 lines
1.7 KiB
Text

To use these drivers, make sure that you have loaded the NVidia kernel
module, by doing
# kldload nvidia (or nvidia-modeset, see below)
or adding
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.
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
on it, or have your kernel compiled with "device agp". Otherwise, the
NVidia kernel module will not load. Also, please set correct value for
``Option "NvAGP"'' in ``Device'' section of your X11 configuration file.
When building with Linux compatibility support, make sure that linux.ko
module is available as well (or have it compiled in kernel). It can be
loaded via /boot/loader.conf, or later in the boot process if you add
linux_enable="YES"
to your /etc/rc.conf.
If X.org cannot start and reports
(EE) NVIDIA(0): Failed to obtain a shared memory identifier.
in /var/log/Xorg.0.log while actually you have ``options SYSVSHM''
enabled in kernel, the sysctl ``kern.ipc.shmall'' should be increased.
Starting with version 358.09, some important functionality of the driver
has been broken out into a separate kernel module, nvidia-modeset.ko.
Users that experience hangs when starting X11 server, or observe
(II) NVIDIA(0): Validated MetaModes:
(II) NVIDIA(0): "NULL"
in /var/log/Xorg.0.log should replace ``nvidia'' with ``nvidia-modeset''
in their /boot/loader.conf or /etc/rc.conf configuration files, depending
on how they prefer to load NVidia driver kernel module.
See %%DOCSDIR%%/README for more information.