summaryrefslogtreecommitdiff
path: root/system/nvidia-legacy390-driver/README
diff options
context:
space:
mode:
authorLenard Spencer <lenardrspencer@gmai.com>2020-04-10 00:30:11 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-10 00:30:11 +0700
commit00eaecf3ff2cdb1b5b3b55d72859318316e3b871 (patch)
tree71a483911a2c15c760042c97a5bdb8d70114125e /system/nvidia-legacy390-driver/README
parent13be2dd8a9eb24c0c37cf1c62e0f616633dee5e1 (diff)
downloadslackbuilds-00eaecf3ff2cdb1b5b3b55d72859318316e3b871.tar.gz
system/nvidia-legacy390-driver: added rc.nvidia-persistenced.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/nvidia-legacy390-driver/README')
-rw-r--r--system/nvidia-legacy390-driver/README71
1 files changed, 39 insertions, 32 deletions
diff --git a/system/nvidia-legacy390-driver/README b/system/nvidia-legacy390-driver/README
index e608bf4c96..0fefce671d 100644
--- a/system/nvidia-legacy390-driver/README
+++ b/system/nvidia-legacy390-driver/README
@@ -5,10 +5,16 @@ of the nvidia-legacy390-kernel package at SlackBuilds.org.
Installing the 32-bit compatibility libraries is available: if desired, do:
COMPAT32="yes" ./nvidia-legacy390-driver.SlackBuild
-GLVND GLX client libraries are now the default. If these cause any
-compatibility issues with older GLX sofware, either upgrade your software
-or try:
- GLVND="no" ./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
+
+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 installs 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
@@ -16,44 +22,45 @@ 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:
--------------8<---------------
-# Create missing nvidia device nodes after reboot
-/usr/bin/nvidia-modprobe -c 0 -u
-------------->8---------------
-
-Since this nvidia-legacy390-driver conflicts with some files of xorg, it's
-a bit complex to install/uninstall the driver. However, installation of the
-nvidia-legacy390-driver package itself backs up the conflicting files and puts
-the nvidia-specific files into place.
-
-Included is a script called nvidia-switch, which is used to switch from
-the xorg driver to the nvidia driver, but it will not edit xorg.conf
-for you; you have to do that manually. The nvidia-switch script is
-installed to /usr/sbin. NOTE: Although nvidia-switch is aware of a
-COMPAT32 environment, its use therein is not supported.
+(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.
Usage of nvidia-switch:
- nvidia-switch --install <--> install the nvidia files and save the
- stock xorg files.
+ 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.
-You do NOT have to run nvidia-switch after installing the package.
+NOTES:
+Since nvidia-legacy390-driver conflicts with some files of xorg, it's a
+bit complex to install/uninstall the driver. However, installation of 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
+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:
+not working. Here are the affected files (and their packages):
- /usr/lib[64]/libGL.so.1.2
- /usr/lib[64]/libGL.la
- /usr/lib[64]/libGLESv1_CM.so.1.0.0
- /usr/lib[64]/libGLESv2.so.2.0.0
- /usr/lib[64]/libEGL.so.1.0.0
- /usr/lib[64]/xorg/modules/libwfb.so
- /usr/lib[64]/xorg/modules/extensions/libglx.so
+ /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. See 'nvidia-switch --help'.
+xorg-server packages. (In current, only xorg-server is affected.)
+