diff options
author | B. Watson <yalhcru@gmail.com> | 2016-11-14 15:21:54 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-11-15 21:41:38 +0700 |
commit | 502afb550615e68995f4b7819f4bdff37ffc0151 (patch) | |
tree | f41da360addf173af0f10853b3c0e3ea8b370935 /system/nvidia-driver | |
parent | 08110fbe4492b39ba87bee03d896edb6cab9a27b (diff) | |
download | slackbuilds-502afb550615e68995f4b7819f4bdff37ffc0151.tar.gz |
system/nvidia-driver: Fix README.
Diffstat (limited to 'system/nvidia-driver')
-rw-r--r-- | system/nvidia-driver/README | 42 |
1 files changed, 23 insertions, 19 deletions
diff --git a/system/nvidia-driver/README b/system/nvidia-driver/README index 05700b67fe..e44212da19 100644 --- a/system/nvidia-driver/README +++ b/system/nvidia-driver/README @@ -1,15 +1,15 @@ 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-kernel package at SlackBuilds.org. +X-server. This package does not include the kernel-module - it is a part +of the nvidia-kernel package at SlackBuilds.org. Installing the 32-bit compatibility libraries is available: if desired, do: COMPAT32="yes" ./nvidia-driver.SlackBuild -Several useful utilities are included: nvidia-xsettings, nvidia-smi, and +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, you might need to include the +For CUDA/OpenCL to work after reboot, you might need to include the following line in your /etc/rc.d/rc.local: -------------8<--------------- # Create missing nvidia device nodes after reboot @@ -18,28 +18,32 @@ following line in your /etc/rc.d/rc.local: Since this nvidia-driver conflicts with some files of xorg, it's a bit complex to install/uninstall the driver. However, installation of the -nvidia-driver package itself backs up the conflicting files and puts the -nvidia-specific files into place. +nvidia-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. +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. Usage of nvidia-switch: nvidia-switch --install <--> install the nvidia files and save the - stock xorg files. + stock xorg files. nvidia-switch --remove <--> remove the nvidia files and symlinks and - restore the stock xorg files. + restore the stock xorg files. You do NOT have to run nvidia-switch after installing the package. -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: +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: + /usr/lib[64]/libGL.so.1.2 /usr/lib[64]/xorg/modules/extensions/{libglx.so libglx.la} -Simply remove the dead nvidia symlinks and rename the saved '-xorg' appended files. + +Simply remove the dead nvidia symlinks and rename the saved '-xorg' +appended files. |