SlackBuilds Repository

15.0 > System > nvidia-legacy390-driver (390.157)

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-legacy390-kernel package at

Installing the 32-bit compatibility libraries in 64-bit multilib is
available. If desired, do:
COMPAT32="yes" ./nvidia-legacy390-driver.SlackBuild

This script now gives the option of installing 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 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: (this is REQUIRED for nvidia-persistenced to work

# Create missing nvidia device nodes after reboot
/usr/bin/nvidia-modprobe -c 0 -u

It is now no longer required to remove the old driver before running
this script.

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

This package now includes a script, so it is no longer
necessary to run nvidia-switch --remove before uninstalling or
upgrading. However, nvidia-switch is still included for use when
xorg-server is upgraded. Usage of nvidia-switch:

nvidia-switch --install <--> save the stock xorg files and
install the nvidia symlinks.
nvidia-switch --remove <--> remove the nvidia symlinks
and restore the stock xorg files.
The affected files are:
/usr/lib[64]/xorg/modules/extensions/ (xorg-server)
/usr/lib[64]/xorg/modules/ (nvidia-specific symlink)

If you forget to run nvidia-switch --remove before upgrading
xorg-server, all you need to do is run nvidia-switch --install and all
should be well.

CAUTION! Please DO NOT USE this script for Slackware(64) versions 14.2
or older as it WILL corrupt the mesa and xorg installations.
Please use the script from those repos instead.

The Nvidia 390.xx series will be supported through December 2022.

This requires: nvidia-legacy390-kernel

Maintained by: Lenard Spencer
ChangeLog: nvidia-legacy390-driver


Source Downloads (Arch-Independent):
nvidia-installer-390.157.tar.bz2 (b5d9a2036637cb2292d513caf38c6471)
nvidia-modprobe-390.157.tar.bz2 (bebac9781d1b307abdb6c183054fdd82)
nvidia-persistenced-390.157.tar.bz2 (ec1ef1ce2d619d14b60f1ebbf22db674)
nvidia-settings-390.157.tar.bz2 (70c481fc124052d0c20907c4dd0e57ec)
nvidia-xconfig-390.157.tar.bz2 (3ff8e45fa66fd00ef824c3e8d297c3e6)

Source Downloads (32bit): (0975ee17f9c690555dfb2a342a0138b8)

Source Downloads (64bit): (d564c4a0f57eb7715a5f11ed8da17b6c)

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

(the SlackBuild does not include the source)

Validated for Slackware 15.0

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-2023 Project. All rights reserved.
Slackware® is a registered trademark of Patrick Volkerding
Linux® is a registered trademark of Linus Torvalds