system/nvidia-legacy304-driver: Fix README.

This commit is contained in:
B. Watson 2016-11-14 15:18:16 -05:00 committed by Willy Sudiarto Raharjo
parent 38c8c2b4ba
commit 0327d356fb
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -1,16 +1,16 @@
This is the proprietary binary video driver from NVidia for the X.Org 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 X-server. This package does not include the kernel-module - it is a part
part of the nvidia-kernel package at SlackBuilds.org. of the nvidia-kernel package at SlackBuilds.org.
Since this nvidia-driver conflicts with some files of xorg, it's a bit Since this nvidia-driver conflicts with some files of xorg, it's a bit
complex to install/uninstall the driver. However, installation of the complex to install/uninstall the driver. However, installation of the
nvidia-driver package itself backs up the conflicting files and puts the nvidia-driver package itself backs up the conflicting files and puts
nvidia-specific files into place. the nvidia-specific files into place.
Included is a script called nvidia-switch, which is used to switch from the Included is a script called nvidia-switch, which is used to switch from
xorg driver to the nvidia driver, but it will not edit xorg.conf for you; the xorg driver to the nvidia driver, but it will not edit xorg.conf for
you have to do that manually. The nvidia-switch script is installed to you; you have to do that manually. The nvidia-switch script is installed
/usr/sbin. to /usr/sbin.
Usage of nvidia-switch: Usage of nvidia-switch:
nvidia-switch --install <--> install the nvidia files and save the nvidia-switch --install <--> install the nvidia files and save the
@ -22,10 +22,12 @@ You do NOT have to run nvidia-switch after installing the package.
Note: x86_64 COMPAT32 enviroment is not supported. Note: x86_64 COMPAT32 enviroment is not supported.
Before uninstalling or upgrading this package, it is important that you execute Before uninstalling or upgrading this package, it is important that
'nvidia-switch --remove', which will switch back to the stock xorg files you execute 'nvidia-switch --remove', which will switch back to the
and remove all links created by nvidia-switch during installation. If you forget stock xorg files and remove all links created by nvidia-switch during
to do this, you'll have to do the switch manually, or xorg won't work on next startup. installation. If you forget to do this, you'll have to do the switch
manually, or xorg won't work on next startup.
Here are the affected files: Here are the affected files:
/usr/lib/libGL.so.1.2 /usr/lib/libGL.so.1.2
/usr/lib/xorg/modules/extensions/{libglx.so libglx.la} /usr/lib/xorg/modules/extensions/{libglx.so libglx.la}
@ -35,6 +37,7 @@ or, for Slackware64,
/usr/lib64/libGL.so.1.2 /usr/lib64/libGL.so.1.2
/usr/lib64/xorg/modules/extensions/{libglx.so libglx.la} /usr/lib64/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.
Requires: nvidia-kernel,libvdpau Requires: nvidia-kernel,libvdpau