mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
system/nvidia-legacy390-driver: Updated for version 390.138.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
581a9e2e9b
commit
dea5864a4e
4 changed files with 40 additions and 83 deletions
|
@ -2,7 +2,8 @@ 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
|
X-server. This package does not include the kernel module - it is a part
|
||||||
of the nvidia-legacy390-kernel package at SlackBuilds.org.
|
of the nvidia-legacy390-kernel package at SlackBuilds.org.
|
||||||
|
|
||||||
Installing the 32-bit compatibility libraries is available: if desired, do:
|
Installing the 32-bit compatibility libraries is available: if desired,
|
||||||
|
do:
|
||||||
COMPAT32="yes" ./nvidia-legacy390-driver.SlackBuild
|
COMPAT32="yes" ./nvidia-legacy390-driver.SlackBuild
|
||||||
|
|
||||||
If you plan to test this buildscript on current (15.0 EXPERIMENTAL), to
|
If you plan to test this buildscript on current (15.0 EXPERIMENTAL), to
|
||||||
|
@ -20,17 +21,18 @@ Several useful utilities are included: nvidia-xsettings, nvidia-smi, and
|
||||||
nvidia-settings. Please refer to the Nvidia documentation and man pages
|
nvidia-settings. Please refer to the Nvidia documentation and man pages
|
||||||
for details and usage.
|
for details and usage.
|
||||||
|
|
||||||
For CUDA/OpenCL to work after reboot, and for utilites such as nvidia-smi,
|
For CUDA/OpenCL to work after reboot, and for utilites such as
|
||||||
you might need to include the following line in your /etc/rc.d/rc.local:
|
nvidia-smi, you might need to include the following line in your
|
||||||
(this is REQUIRED for nvidia-persistenced to work properly)
|
/etc/rc.d/rc.local: (this is REQUIRED for nvidia-persistenced to work
|
||||||
|
properly)
|
||||||
|
|
||||||
# Create missing nvidia device nodes after reboot
|
# Create missing nvidia device nodes after reboot
|
||||||
/usr/bin/nvidia-modprobe -c 0 -u
|
/usr/bin/nvidia-modprobe -c 0 -u
|
||||||
|
|
||||||
Included is a script called nvidia-switch, which is used to switch between
|
Included is a script called nvidia-switch, which is used to switch
|
||||||
the xorg and nvidia drivers, but it will not edit xorg.conf for you;
|
between the xorg and nvidia drivers, 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
|
||||||
/usr/sbin.
|
installed to /usr/sbin.
|
||||||
|
|
||||||
Usage of nvidia-switch:
|
Usage of nvidia-switch:
|
||||||
nvidia-switch --install <--> save the stock xorg files and
|
nvidia-switch --install <--> save the stock xorg files and
|
||||||
|
@ -40,9 +42,9 @@ Usage of nvidia-switch:
|
||||||
|
|
||||||
NOTES:
|
NOTES:
|
||||||
Since nvidia-legacy390-driver conflicts with some files of xorg, it's a
|
Since nvidia-legacy390-driver conflicts with some files of xorg, it's a
|
||||||
bit complex to install/uninstall the driver. However, installation of the
|
bit complex to install/uninstall the driver. However, installation of
|
||||||
nvidia-legacy390-driver package backs up the conflicting files and puts
|
the nvidia-legacy390-driver package backs up the conflicting files and
|
||||||
the nvidia-specific files into place by automatically running
|
puts the nvidia-specific files into place by automatically running
|
||||||
nvidia-switch --install in doinst.sh.
|
nvidia-switch --install in doinst.sh.
|
||||||
|
|
||||||
Before uninstalling or upgrading this package, it is IMPORTANT that
|
Before uninstalling or upgrading this package, it is IMPORTANT that
|
||||||
|
|
|
@ -1,45 +0,0 @@
|
||||||
1.0 20-MAR-2011 New Maintainer: Edward W. Koenig <kingbeowulf@gmail.com>
|
|
||||||
1.1 10-APR-2011 updated to new version, testing 13.37rc4.6692
|
|
||||||
1.2 27-MAY-2011 new version, allow multilib option, minor edits
|
|
||||||
1.2.1 20-JUN-2011 minor edits, thanks to Robby and Roberto
|
|
||||||
1.5 01-JUL-2011 new version, single driver download, add switch to select pure x86_64 or x86_64 with 32-bit compatibility.
|
|
||||||
1.6 27-AUG-2011 version bump, minor edits
|
|
||||||
1.7 21-OCT-2011 version bump
|
|
||||||
1.8 24-MAR-2012 version bump, fix to nvidia-switch thanks to Phill W.
|
|
||||||
1.9 02-AUG-2012 version bmp, fixes, updates, nvidia-switch for install/uninstall only
|
|
||||||
2.0 21-AUG-2012 new version (important security fix), missing vdpau-nvidia, dropped *.h
|
|
||||||
2.1 25-AUG-2012 new version -Long Lived Branch, fixed symlinks (per Das email)
|
|
||||||
2.2 22-NOV-2012 new version -Long Lived Branch. Updates: libs, apps
|
|
||||||
2.3 15-FEB-2013 new version -Long Lived Branch.
|
|
||||||
2.4 19-MAY-2013 new version -Long Lived Branch.
|
|
||||||
2.6 20-OCT-2013 new version -Long Lived Branch, add new lib, fix nvidia-switch --remove
|
|
||||||
3.0 13-NOV-2013 new version (LLB), update libs
|
|
||||||
3.1 12-APR-2014 new version (LLB), update libs
|
|
||||||
3.2a 12-JUL-2014 new version (LLB), update libs and bug fixes, fix /dev/nvidia-uvm
|
|
||||||
3.3 20-NOV-2014 new version (LLB), update libs, fix nvidia-switch
|
|
||||||
3.4 11-JAN-2015 new version (LLB), monitor detection bug fix, add libEGL/GLES
|
|
||||||
4.0 07-FEB-2015 new long lived branch, version update, bug fixes
|
|
||||||
4.1 27-APR-2015 version update LLB, fix $VERSION usage
|
|
||||||
4.2 28-JUL-2015 version update LLB, bug fixes, clean-ups.
|
|
||||||
4.3 05-SEP-2015 version update LLB
|
|
||||||
4.4 13-DEC-2015 version update, X.Org 1.18 support
|
|
||||||
4.5 12-MAR-2016 version update LLB, symlink fixes, drop nvidia-installer, get ready for 14.2
|
|
||||||
4.5a 26-MAR-2016 fixed broken symlinks
|
|
||||||
4.6 24-APR-2016 version update LLB, fix symlinks, added to version if multilib
|
|
||||||
4.7 31-APR-2016 version update LLB, added nvidia-installer, updated libs/symlinks
|
|
||||||
5.0 20-FEB-2017 version update LLB, security fixes, updated libs/symlinks, nvidia-switch
|
|
||||||
5.1 01-APR-2017 fix nvidia-switch lib names to prevent bad ldconfig symlinks on reboot
|
|
||||||
5.2 02-JUN-2017 version update LLB, refactor/debug scripts, use nvidia-installer
|
|
||||||
5.3 13-OCT-2017 version update LLB, bug fixes, update copyright
|
|
||||||
5.4 18-FEB-2018 version update LLB, updates, bug fix (thanks Leo)
|
|
||||||
5.5 25-MAR-2018 version update LLB
|
|
||||||
5.6 23-APR-2018 version update LLB, update symlinks, fix changelog formatting
|
|
||||||
5.7 28-MAY-2018 version update LLB
|
|
||||||
5.8 30-JUL-2018 version update LLB
|
|
||||||
5.9 06-SEP-2018 version update LLB
|
|
||||||
6.0 09-NOV-2019 renamed to nvidia-legacy390; last version to support 32-bit CPU.
|
|
||||||
6.1 26-FEB-2019 version update LLB; compatibility with recent kernels
|
|
||||||
6.2 15-AUG-2019 version update LLB
|
|
||||||
6.3 22-Feb-2020 version update LLB, minor edits
|
|
||||||
6.4 03-APR-2020 script cleanups, add rc.nvidia-persistenced; now works on -current
|
|
||||||
New maintainer Lenard Spencer <lenardrspencer@gmail.com>
|
|
|
@ -26,8 +26,8 @@
|
||||||
# see changelog.txt
|
# see changelog.txt
|
||||||
|
|
||||||
PRGNAM=nvidia-legacy390-driver
|
PRGNAM=nvidia-legacy390-driver
|
||||||
VERSION=${VERSION:-390.132}
|
VERSION=${VERSION:-390.138}
|
||||||
BUILD=${BUILD:-2}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
CURRENT=${CURRENT:-no}
|
CURRENT=${CURRENT:-no}
|
||||||
|
|
|
@ -1,30 +1,30 @@
|
||||||
PRGNAM="nvidia-legacy390-driver"
|
PRGNAM="nvidia-legacy390-driver"
|
||||||
VERSION="390.132"
|
VERSION="390.138"
|
||||||
HOMEPAGE="http://www.nvidia.com"
|
HOMEPAGE="http://www.nvidia.com"
|
||||||
DOWNLOAD="https://download.nvidia.com/XFree86/Linux-x86/390.132/NVIDIA-Linux-x86-390.132.run \
|
DOWNLOAD="https://download.nvidia.com/XFree86/Linux-x86/390.138/NVIDIA-Linux-x86-390.138.run \
|
||||||
https://download.nvidia.com/XFree86/nvidia-installer/nvidia-installer-390.132.tar.bz2 \
|
https://download.nvidia.com/XFree86/nvidia-installer/nvidia-installer-390.138.tar.bz2 \
|
||||||
https://download.nvidia.com/XFree86/nvidia-modprobe/nvidia-modprobe-390.132.tar.bz2 \
|
https://download.nvidia.com/XFree86/nvidia-modprobe/nvidia-modprobe-390.138.tar.bz2 \
|
||||||
https://download.nvidia.com/XFree86/nvidia-persistenced/nvidia-persistenced-390.132.tar.bz2 \
|
https://download.nvidia.com/XFree86/nvidia-persistenced/nvidia-persistenced-390.138.tar.bz2 \
|
||||||
https://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-390.132.tar.bz2 \
|
https://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-390.138.tar.bz2 \
|
||||||
https://download.nvidia.com/XFree86/nvidia-xconfig/nvidia-xconfig-390.132.tar.bz2"
|
https://download.nvidia.com/XFree86/nvidia-xconfig/nvidia-xconfig-390.138.tar.bz2"
|
||||||
MD5SUM="2677480ee20cd4918b1de9289b2d0af8 \
|
MD5SUM="1247db325e3127324e28fb5f7c59ad50 \
|
||||||
1f9b5ef3fb9329cf8f1b3b1880f11aa0 \
|
8eb272cfc6559f59e8931eab0ce3a535 \
|
||||||
37a8bf0de34b9769e9c97ee1cc70f5dd \
|
e7256650639b708d378ac9ff77747383 \
|
||||||
9d506bcdf40fe794673dfc7c48064759 \
|
a5a5f2c3d22021042f24a998c82b653c \
|
||||||
45e7cc0e1717fb23c675f11607a2d756 \
|
8a6c34fbdff639aa7c2a9697cb96f1af \
|
||||||
4d6bb6e058282d7da8673953c9755e38"
|
146a1ac48785f2a9f8f03fc937c28f16"
|
||||||
DOWNLOAD_x86_64="https://download.nvidia.com/XFree86/Linux-x86_64/390.132/NVIDIA-Linux-x86_64-390.132.run \
|
DOWNLOAD_x86_64="https://download.nvidia.com/XFree86/Linux-x86_64/390.138/NVIDIA-Linux-x86_64-390.138.run \
|
||||||
https://download.nvidia.com/XFree86/nvidia-installer/nvidia-installer-390.132.tar.bz2 \
|
https://download.nvidia.com/XFree86/nvidia-installer/nvidia-installer-390.138.tar.bz2 \
|
||||||
https://download.nvidia.com/XFree86/nvidia-modprobe/nvidia-modprobe-390.132.tar.bz2 \
|
https://download.nvidia.com/XFree86/nvidia-modprobe/nvidia-modprobe-390.138.tar.bz2 \
|
||||||
https://download.nvidia.com/XFree86/nvidia-persistenced/nvidia-persistenced-390.132.tar.bz2 \
|
https://download.nvidia.com/XFree86/nvidia-persistenced/nvidia-persistenced-390.138.tar.bz2 \
|
||||||
https://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-390.132.tar.bz2 \
|
https://download.nvidia.com/XFree86/nvidia-settings/nvidia-settings-390.138.tar.bz2 \
|
||||||
https://download.nvidia.com/XFree86/nvidia-xconfig/nvidia-xconfig-390.132.tar.bz2"
|
https://download.nvidia.com/XFree86/nvidia-xconfig/nvidia-xconfig-390.138.tar.bz2"
|
||||||
MD5SUM_x86_64="c6a37fc418ede54ad63fdf5c96f54958 \
|
MD5SUM_x86_64="e12b55efa430062a0f7f73db071bc0c3 \
|
||||||
1f9b5ef3fb9329cf8f1b3b1880f11aa0 \
|
8eb272cfc6559f59e8931eab0ce3a535 \
|
||||||
37a8bf0de34b9769e9c97ee1cc70f5dd \
|
e7256650639b708d378ac9ff77747383 \
|
||||||
9d506bcdf40fe794673dfc7c48064759 \
|
a5a5f2c3d22021042f24a998c82b653c \
|
||||||
45e7cc0e1717fb23c675f11607a2d756 \
|
8a6c34fbdff639aa7c2a9697cb96f1af \
|
||||||
4d6bb6e058282d7da8673953c9755e38"
|
146a1ac48785f2a9f8f03fc937c28f16"
|
||||||
REQUIRES="nvidia-legacy390-kernel"
|
REQUIRES="nvidia-legacy390-kernel"
|
||||||
MAINTAINER="Lenard Spencer"
|
MAINTAINER="Lenard Spencer"
|
||||||
EMAIL="lenardrspencer@gmail.com"
|
EMAIL="lenardrspencer@gmail.com"
|
||||||
|
|
Loading…
Reference in a new issue