SlackBuilds Repository

14.2 > System > nvidia-legacy340-driver (340.104)

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

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
nvidia-settings. Please refer to the Nvidia documentation and man pages
for details and usage.

For CUDA/OpenCL to work after reboot, include the following line in your
# Create missing nvidia device nodes after reboot
/usr/bin/nvidia-modprobe -c 0 -u

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: 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.
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:


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

This requires: nvidia-legacy340-kernel

Maintained by: Edward W. Koenig
Keywords: nvidia,nvidia-graphics-driver,kernel,driver,nv,module,
ChangeLog: nvidia-legacy340-driver


Source Downloads (Arch-Independent):
nvidia-modprobe-340.104.tar.bz2 (68749455b4a2b5fb9e63876ea5c60787)
nvidia-persistenced-340.104.tar.bz2 (0b5d473008734588dda2d1b8b7d79d71)
nvidia-settings-340.104.tar.bz2 (0024eacf3e1b473b300123229a9012ff)
nvidia-xconfig-340.104.tar.bz2 (9f28850e70824a765918b13345f630f7)

Source Downloads (32bit): (42e9c98e156f6ac2658ee526d796a428)

Source Downloads (64bit): (4750891b7e175c0dc9a04608e493d141)

Download SlackBuild:
nvidia-legacy340-driver.tar.gz.asc (FAQ)

(the SlackBuild does not include the source)

Validated for Slackware 14.2

See our HOWTO for instructions on how to use the contents of this repository.

Access to the repository is available via:
ftp git cgit http rsync

© 2006-2018 Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds
Web Design by WebSight Designs |  Managed Hosting by OnyxLight Communications