LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-13-2016, 11:14 AM   #1
Strela9K
LQ Newbie
 
Registered: Sep 2016
Posts: 10

Rep: Reputation: Disabled
Forgot to use nvidia-switch --remove before removing Slackbuilds.org nvidia-driver package


Hey everyone!

Forgot to do what I mentioned in the Subject.

Did an upgrade from the 4.4.29 to the 4.4.38 kernel. Prepared everything but forgot to use nvidia-switch --remove before removing nvidia-driver package.

Now I'm left with symlinks that don't lead to anywhere and after trying to "repair" my driver installation can't really get into KDE without creating a xorg.conf with nvidia-xconfig anymore.

Has anyone done this yet and maybe has some experience with fixing it. I tried to remove symlinks manually as stated on the slackbuilds.org page but since I don't know what symlinks etc. was actually created, I'm afraid I messed things even more by tryng to fix it.

This is what I get when trying to reinstall the drivers now:
Code:
                                                                                   
Executing install script for nvidia-driver-367.44_multi-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.so.1.2.0': No such file or directory
Package nvidia-driver-367.44_multi-x86_64-1_SBo.tgz installed.

Package nvidia-driver-367.44_multi-x86_64-1_SBo upgraded with new package ./nvidia-driver-367.44_multi-x86_64-1_SBo.tgz.
 
Old 12-13-2016, 11:30 AM   #2
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,816

Rep: Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981Reputation: 981
I uninstalled xorg, mesa, and nvidia. Removed the graphics library files like libGL (not qt ones) and may not have to remove them all just remove the ones it fusses about. Searched for and removed the files that had 367.44 in them.

Use commands like these to find the nvidia files which need to be removed
bash-4.4# ldconfig -p | grep '367'
bash-4.4# ldconfig -p | grep 'nvidia'
http://us.download.nvidia.com/XFree8...omponents.html

After you do that reinstall xorg mesa etc or whatever it is you want. This was rather drastic and I'm not a linux guru so use at your own risk You'll run into problems if you didn't get enough of it deleted.
 
1 members found this post helpful.
Old 12-13-2016, 11:46 AM   #3
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Based on reading many posts about nvidia drivers (but not using them myself), you can probably just reinstall mesa first and then reinstall the nvidia drivers to get things working again.
 
1 members found this post helpful.
Old 12-13-2016, 03:52 PM   #4
Bindestreck
Member
 
Registered: Jul 2011
Location: Sweden
Distribution: Slackware
Posts: 820

Rep: Reputation: 440Reputation: 440Reputation: 440Reputation: 440Reputation: 440
Seriously. the Slackbuild of nvidia-package is more of a pain in the ass relative using the native installer from nvidia. I always ended up in using the nvidia-installer rather than using the Slackbuild package, is too complicated.

Last edited by Bindestreck; 12-13-2016 at 03:53 PM.
 
1 members found this post helpful.
Old 12-13-2016, 04:04 PM   #5
Strela9K
LQ Newbie
 
Registered: Sep 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
Thanks for your answers!

Reinstalling and overwriting xorg and mesa config files and after that installing nvidia-kernel and nvidia-driver package from slackbuilds.org did the trick.

Everything is in working order.
 
Old 12-13-2016, 04:07 PM   #6
Gerard Lally
Senior Member
 
Registered: Sep 2009
Location: Leinster, IE
Distribution: Slackware, NetBSD
Posts: 2,177

Rep: Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761Reputation: 1761
Quote:
Originally Posted by Bindestreck View Post
Seriously. the Slackbuild of nvidia-package is more of a pain in the ass relative using the native installer from nvidia. I always ended up in using the nvidia-installer rather than using the Slackbuild package, is too complicated.
Quite agree. The instructions for the slackbuild are not clear. The nvidia installer is straightforward.
 
Old 12-13-2016, 04:29 PM   #7
Strela9K
LQ Newbie
 
Registered: Sep 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by gezley View Post
Quite agree. The instructions for the slackbuild are not clear. The nvidia installer is straightforward.
I've been using the nvidia binary drivers before on 14.1, before I managed to FUBAR the upgrade to 14.2 and decided to just go with slackbuilds on the clean install. Maybe I'll go back to nvidia again.

Still learning Linux everyday (Really don't have a feeling I'm good at it, but every time I screw something up I learn in the process ). Lots of things to learn, great experience
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Proprietary NVidia driver: binary installer vs. SlackBuilds.org package creation kikinovak Slackware 13 04-26-2015 05:17 PM
[SOLVED] cannot compile nvidia-driver from slackbuilds.org on Slackware64-14.0 tramni1980 Slackware 5 07-10-2013 09:33 PM
[SOLVED] NVidia Card: Driver from slackbuilds.org or NVidia installer? andrew.46 Slackware 14 03-04-2012 02:28 AM
How do I switch to Nvidia driver? JosephS Debian 4 03-20-2011 09:18 PM
How to switch from Nvidia driver to free driver? miros84 Linux - Hardware 3 12-28-2009 07:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration