slackbuilds_ponce/system/nvidia-driver
Edward Koenig 03c564a8a4 system/nvidia-driver: Fix breakage with libvdpau
It was bound to happen.  I goofed, the admins believed me, and here we
are.  Attached is the patch to the recently approved and posted 302.17
nividia-driver.SlackBuild.  Turns out that while libvdpau provides the
open source lib, the driver still contains the proprietary vdpau
binary.  Please fix since using the currently posted slackbuild will
break vdpau support.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
2012-08-21 22:24:56 -05:00
..
doinst.sh
nvidia-driver.info Add REQUIRED field to .info files. 2012-08-19 21:57:51 -05:00
nvidia-driver.SlackBuild system/nvidia-driver: Fix breakage with libvdpau 2012-08-21 22:24:56 -05:00
nvidia-switch system/nvidia-driver: Updated for version 302.17. 2012-08-10 22:52:52 -05:00
README system/nvidia-driver: Updated for version 302.17. 2012-08-10 22:52:52 -05:00
slack-desc Entire Repo: Fix the "handy ruler" length in slack-desc files 2012-08-15 20:27:00 -05:00

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.

Installing the 32-bit compatibility libraries is available, so pass

COMPAT32="yes" ./nvidia-driver.SlackBuild

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.

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: nvidia-switch is not supported in a COMPAT32 environment.

Usage of nvidia-switch:
  nvidia-switch --install  <--> install the nvidia files and save the
				stock xorg files.
  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. 

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'll have to do the switch manually, or xorg won't work on next startup.
Here are the affected files:
  /usr/lib/libGL.so.1.2
  /usr/lib/xorg/modules/extensions/{libglx.so libglx.la}

or, for Slackware64,

  /usr/lib64/libGL.so.1.2
  /usr/lib64/xorg/modules/extensions/{libglx.so libglx.la}

Simply remove the dead nvidia symlinks and rename the saved '-xorg' appended files.

Requires:  nvidia-kernel,libvdpau