summaryrefslogtreecommitdiffstats
path: root/system/nvidia-legacy390-driver/README
diff options
context:
space:
mode:
Diffstat (limited to 'system/nvidia-legacy390-driver/README')
-rw-r--r--system/nvidia-legacy390-driver/README88
1 files changed, 38 insertions, 50 deletions
diff --git a/system/nvidia-legacy390-driver/README b/system/nvidia-legacy390-driver/README
index 8e1ebec91f..e9d688e422 100644
--- a/system/nvidia-legacy390-driver/README
+++ b/system/nvidia-legacy390-driver/README
@@ -1,44 +1,27 @@
This is the proprietary binary video driver from NVidia for the X.Org
-X-server. This package does not include the kernel module - it is a part
-of the nvidia-legacy390-kernel package at SlackBuilds.org.
+X-server. This package does not include the kernel module - it is a
+part of the nvidia-legacy390-kernel package at SlackBuilds.org.
-Installing the 32-bit compatibility libraries is available: if desired,
-do:
+Installing the 32-bit compatibility libraries is available:
+if desired, do:
COMPAT32="yes" ./nvidia-legacy390-driver.SlackBuild
-If you plan to test this buildscript on current (15.0 EXPERIMENTAL), to
-avoid stomping on xorg-serverand libglvnd, do:
- CURRENT="yes" ./nvidia-driver.SlackBuild
+This script now gives the option of installing the nvidia-persitenced
+daemon. PLEASE read README.nvidia-persitenced before building with
+perstistenced.
-If you build and install this driver on current WITHOUT using the
-CURRENT="yes" flag, it will corrupt both xorg-server AND libglvnd, so
-after removing the driver both packages will have to be reinstalled.
-
-This script now gives the option of installing the nvidia-persistenced
-daemon. For details see README.nvidia-persistenced.
-
-Several useful utilities are included: nvidia-xsettings, nvidia-smi, and
-nvidia-settings. Please refer to the Nvidia documentation and man pages
-for details and usage.
+Several useful utilities are included: nvidia-xsettings, nvidia-smi,
+and nvidia-settings. Please refer to the Nvidia documentation and man
+pages for details and usage.
For CUDA/OpenCL to work after reboot, and for utilites such as
nvidia-smi, you might need to include the following line in your
-/etc/rc.d/rc.local: (this is REQUIRED for nvidia-persistenced to work
-properly)
-
- # Create missing nvidia device nodes after reboot
- /usr/bin/nvidia-modprobe -c 0 -u
-
-Included is a script called nvidia-switch, which is used to switch
-between the xorg and nvidia drivers, but it will not edit xorg.conf for
-you; you have to do that manually. The nvidia-switch script is
-installed to /usr/sbin.
+/etc/rc.d/rc.local:
-Usage of nvidia-switch:
- nvidia-switch --install <--> save the stock xorg files and
- install the nvidia files and symlinks.
- nvidia-switch --remove <--> remove the nvidia files and symlinks and
- restore the stock xorg files.
+# Create missing nvidia device nodes after reboot
+if [ -x /usr/bin/nvidia-modprobe ]; then
+ /usr/bin/nvidia-modprobe -c 0 -u
+fi
NOTES:
Since nvidia-legacy390-driver conflicts with some files of xorg, it's a
@@ -47,22 +30,27 @@ the nvidia-legacy390-driver package backs up the conflicting files and
puts the nvidia-specific files into place by automatically running
nvidia-switch --install in doinst.sh.
-Before uninstalling or upgrading this package, it is IMPORTANT that
-you execute 'nvidia-switch --remove', which will switch back to the
-stock xorg files and remove all links created by nvidia-switch during
-installation. If you forget to do this, you might have to do the switch
-manually, since 'nvidia-switch --install' may fail, resulting in xorg
-not working. Here are the affected files (and their packages):
-
- /usr/lib[64]/libGL.so.1.2 (mesa)
- /usr/lib[64]/libGL.la (mesa)
- /usr/lib[64]/libGLESv1_CM.so.1.0.0 (mesa)
- /usr/lib[64]/libGLESv2.so.2.0.0 (mesa)
- /usr/lib[64]/libEGL.so.1.0.0 (mesa)
- /usr/lib[64]/xorg/modules/libwfb.so (xorg-server)
- /usr/lib[64]/xorg/modules/extensions/libglx.so (xorg-server)
-
-Simply remove the dead nvidia symlinks and and reinstall the mesa and
-xorg-server packages. (In current, if libglx.so is a dead symlink,
-it MUST be removed before reinstalling xorg-server.)
+This package now includes a douninst.sh script, so it is no longer
+necessary to run nvidia-switch --remove before uninstalling or
+upgrading. However, nvidia-switch is still included for use when
+xorg-server is upgraded. Usage of nvidia-switch:
+ nvidia-switch --install <--> save the stock xorg files and
+ install the nvidia symlinks.
+ nvidia-switch --remove <--> remove the nvidia symlinks
+ and restore the stock xorg files.
+The affected files are:
+/usr/lib[64]/xorg/modules/extensions/libglx.so (xorg-server)
+/usr/lib[64]/xorg/modules/libnvidia-wfb.so.1 (nvidia-specific symlink)
+
+If you forget to run nvidia-switch --remove before upgrading
+xorg-server, all you need to do is run nvidia-switch --install and all
+should be well.
+
+CAUTION! Please DO NOT USE this script for Slackware(64) versions 14.2
+or older as it WILL corrupt the mesa and xorg installations.
+Please use the script from those repos instead.
+
+BIG FAT NOTE: The Nvidia 390.xx series is EOL as of December 2022.
+Because of the ABI change from xorg-server 1.20 to 1.21, the Nvidia 390
+driver will no longer work on Slackware versions later than 15.0.