LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Forgot to use nvidia-switch --remove before removing Slackbuilds.org nvidia-driver package (https://www.linuxquestions.org/questions/slackware-14/forgot-to-use-nvidia-switch-remove-before-removing-slackbuilds-org-nvidia-driver-package-4175595351/)

Strela9K 12-13-2016 11:14 AM

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


RadicalDreamer 12-13-2016 11:30 AM

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.

bassmadrigal 12-13-2016 11:46 AM

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.

Bindestreck 12-13-2016 03:52 PM

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.

Strela9K 12-13-2016 04:04 PM

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.

Gerard Lally 12-13-2016 04:07 PM

Quote:

Originally Posted by Bindestreck (Post 5641818)
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.

Strela9K 12-13-2016 04:29 PM

Quote:

Originally Posted by gezley (Post 5641822)
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 :D


All times are GMT -5. The time now is 11:57 AM.