SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Well I got quite a bit of cc warning and some odd "will not install" what I presume would be error messages after installing nvidia-kernel and then the nvidia-driver slackbuilds from the
"site":
Code:
Slackware package /tmp/nvidia-driver-430.14-x86_64-1_SBo.tgz created.
bash-5.0# installpkg /tmp/nvidia-driver-430.14-x86_64-1_SBo.tgz
Verifying package nvidia-driver-430.14-x86_64-1_SBo.tgz.
Installing package nvidia-driver-430.14-x86_64-1_SBo.tgz:
PACKAGE DESCRIPTION:
# nvidia-driver (Proprietary Binary Nvidia Video Driver)
#
# 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 included in the nvidia-kernel package.
#
# See /usr/doc/nvidia-driver-430.14/README.Slackware
# for more information.
#
Executing install script for nvidia-driver-430.14-x86_64-1_SBo.tgz.
Installing to nvidia-driver files!
Make sure the nvidia driver is ENABLED in /etc/X11/xorg.conf
and in /etc/X11/xorg.conf.d.
Otherwise, this may lead to improperly working drivers.
mv: cannot stat 'libGL.so.1.2.0': No such file or directory
mv: cannot stat 'libGL.la': No such file or directory
mv: cannot stat 'libEGL.so.1.0.0': No such file or directory
mv: cannot stat 'libGLESv1_CM.so.1.1.0': No such file or directory
mv: cannot stat 'libGLESv2.so.2.0.0': No such file or directory
Using existing Xorg libwfb...
Package nvidia-driver-430.14-x86_64-1_SBo.tgz installed.
bash-5.0#
None the less it installed correctly...
I am assuming this has something to do with compat32 not being enabled initially.
Code:
mv: cannot stat 'libGL.so.1.2.0': No such file or directory
mv: cannot stat 'libGL.la': No such file or directory
mv: cannot stat 'libEGL.so.1.0.0': No such file or directory
mv: cannot stat 'libGLESv1_CM.so.1.1.0': No such file or directory
mv: cannot stat 'libGLESv2.so.2.0.0': No such file or directory
My question now is what does that entail and what does that infer in the future concerning my slackware machine? Will this effect multilib (which I have not yet installed due to confusion on my behalf concerning current multilib vs 14.2 installation).
Quick discussion will clear things up for me and perhaps others.
Last edited by slackw1zard; 06-30-2019 at 08:43 PM.
Looks like you are installing without "COMPAT32=yes" which is fine on a pure 64-bit system (no multilib). You MUST convert to multilib FIRST and THEN run "COMPAT32=yes ./nvidia-driver.SlackBuild" otherwise nvidia-switch will not be able to find the mesa and X.org files to backup.
Where most people go wrong, and get the error you observed, is when they do not read the instructions or the 100+ times on LQ where I explained this:
not running nvidia-switch --remove on upgrade. The original Mesa files need to be backed up and then restored.
Slackware-current is not supported yet (libglvnd).
sbopkg may not work.
Since Nvidia replaces a number of mesa and xorg-server files and symlinks these are backed up to "/var/log/nvidia/" and then restored before removepkg. If not, then the buildscript and/or nvidia-switch will kick "mv" errors. ONLY nvidia-kernel can be upgradepkg like any other Slackware package.
To review, on a clean Slackware[64] that never had ANY nvidia drivers (optional activity in []):
Code:
[convert to multilib]
[COMPAT32=yes] ./nvidia-driver.SlackBuild
./nvidia-kernel.SlackBuild
installpkg /tmp/nvidia-driver...tgz /tmp/nvidia-kernel...tgz
installpkg extra/xf86-video-nouveau-blacklist-noarch-1.txz #blacklist nouveau if not done already
reboot
Upgrading from previous install (older or the same):
These scripts aren't perfect, but I have been tweaking and running them for years. There are no "cannot stat" messages if everything is done correctly.
This will all change when current is released due to libglvnd that allows multiple drivers to coexist. Thus, nvidia-switch may vanish.
Looks like you are installing without "COMPAT32=yes" which is fine on a pure 64-bit system (no multilib). You MUST convert to multilib FIRST and THEN run "COMPAT32=yes ./nvidia-driver.SlackBuild" otherwise nvidia-switch will not be able to find the mesa and X.org files to backup.
Where most people go wrong, and get the error you observed, is when they do not read the instructions or the 100+ times on LQ where I explained this:
not running nvidia-switch --remove on upgrade. The original Mesa files need to be backed up and then restored.
Slackware-current is not supported yet (libglvnd).
sbopkg may not work.
Since Nvidia replaces a number of mesa and xorg-server files and symlinks these are backed up to "/var/log/nvidia/" and then restored before removepkg. If not, then the buildscript and/or nvidia-switch will kick "mv" errors. ONLY nvidia-kernel can be upgradepkg like any other Slackware package.
To review, on a clean Slackware[64] that never had ANY nvidia drivers (optional activity in []):
Code:
[convert to multilib]
[COMPAT32=yes] ./nvidia-driver.SlackBuild
./nvidia-kernel.SlackBuild
installpkg /tmp/nvidia-driver...tgz /tmp/nvidia-kernel...tgz
installpkg extra/xf86-video-nouveau-blacklist-noarch-1.txz #blacklist nouveau if not done already
reboot
Upgrading from previous install (older or the same):
These scripts aren't perfect, but I have been tweaking and running them for years. There are no "cannot stat" messages if everything is done correctly.
This will all change when current is released due to libglvnd that allows multiple drivers to coexist. Thus, nvidia-switch may vanish.
* In the location where you found this README, download the subdirectory with
the name that corresponds to the Slackware version you are running. For
Slackware64 14.2 for instance, you would run the following command:
# lftp -c 'open http://slackware.com/~alien/multilib/ ; mirror -c -e 14.2'
and then change into the new "14.2" directory which has been created on
your computer:
# cd 14.2
* First, you will upgrade your 64bit Slackware gcc and glibc packages to their
multilib versions by running the command:
# upgradepkg --reinstall --install-new *.t?z
in the directory you just changed to (the "14.2" directory in our case).
This will upgrade gcc and glibc packages, and also install a new package
called "compat32-tools".
* You are now going to install 32-bit compatibility packages to support all
the 32-bit programs you may want to run (roughly 60 MB of packages, not all
that much really!). These packages are located in the subdirectory called
"slackware64-compat32" which you also downloaded with the "lftp" command
shown above. Run this command:
# upgradepkg --install-new slackware64-compat32/*-compat32/*.t?z
* This procedure will also work if you already had a multilib setup and have
upgraded your Slackware to a newer release (new compat32 packages will be
installed and existing ones will be upgraded).
* Done! You need to reboot because of the glibc upgrade.
But I know those are the rules for 14.2 correct? What do I do differently concerning the current distribution? Please answer this question for it is essential.
But I know those are the rules for 14.2 correct? What do I do differently concerning the current distribution? Please answer this question for it is essential.
He stated in the above post that -current isn't supported right now due to a libglvnd issue.
Quote:
Slackware-current is not supported yet (libglvnd).
Follow the instructions by kingbeowulf exactly, especially the bit about setting up multilib first. By the way, multilib is set up the same as in 14.2, except you mirror the -current directory:
Code:
lftp -c 'open https://slackware.nl/people/alien/multilib/ ; mirror -c -e current'
cd current
upgradepkg --reinstall --install-new *.t?z
upgradepkg --install-new slackware64-compat32/*-compat32/*.t?z
Quote:
Originally Posted by slackw1zard
My question now is what does that entail and what does that infer in the future concerning my slackware machine?
You're on -current. Those messages mean the stock files were not backed up. This means you will not be able to go back to stock X and the nvidia-switch script will fail.
Your graphics will still work and so will your games. You will just have a tough time updating the driver without nvidia-switch. You can try looking at the source and figure out what it does so you can do it by hand but I would suggest just sticking with this driver for now. Newer versions typically add support for newer games and monitors so unless you're buying games left and right every day, you'll be fine.
Follow the instructions by kingbeowulf exactly, especially the bit about setting up multilib first. By the way, multilib is set up the same as in 14.2, except you mirror the -current directory:
Code:
lftp -c 'open https://slackware.nl/people/alien/multilib/ ; mirror -c -e current'
cd current
upgradepkg --reinstall --install-new *.t?z
upgradepkg --install-new slackware64-compat32/*-compat32/*.t?z
You're on -current. Those messages mean the stock files were not backed up. This means you will not be able to go back to stock X and the nvidia-switch script will fail.
Your graphics will still work and so will your games. You will just have a tough time updating the driver without nvidia-switch. You can try looking at the source and figure out what it does so you can do it by hand but I would suggest just sticking with this driver for now. Newer versions typically add support for newer games and monitors so unless you're buying games left and right every day, you'll be fine.
I love slackware errors, every day I learn a new error name. I made sure to update the system with the usual:
Right now, Current is too fast a moving target for me to play around with the Nvidia blob SBo buildscripts. I'm not quite to retirement yet where I'll have more free time for my hobbies! I only have current running on a Lenovo T510 laptop for testing right now. Once we hit RC1 ("real soon now", i'm itching to drop it on ont the NVME 250GB drive!) I'll refactor the script. It's almost all there already; I just have to tell the nvidia-installer to use the system libglvnd and the precompiled one.
That said, the 14.2 scripts "might" work on current. I just haven't tested for any libglvnd and nvidia-switch anomalies.
Take this "with a grain of salt" since I'm an Old Skool kinda guy, but when I see someone jumping right into current along with essentially all the automation Slackware allows I wonder what brought that person to Slackware in the first place. For my twapence, I think it is better to start out as conservative as is possible. Install the Full (guaranteed stable) Release and with "Full Recommended Install" and don't automate anything you don't have to. Learn how to have everything in front of you and in your control. In short learn to administer. I'm not the best guy on here as an Admin but zero happens that I did not initiate so I almost always know where to look for the error, which is almost always mine but just one step away so it's pretty easy to fix.
The cool thing is you can always setup a different drive or partition to also run Current, but there, too, I suggest at least starting out with the least automation so you know and control everything not only that happens, but what can happen.
Like I said, "grain of salt" but it does work and with the least amount of maintenance. From my POV it's how Slackware is designed to function best.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.