LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-11-2019, 04:35 PM   #1
roberto967
Member
 
Registered: Apr 2011
Location: Cagliari, Italy
Distribution: Slackware64 latest stable
Posts: 77

Rep: Reputation: 15
[SOLVED] Switched to radeon but ksmserver still looking for libnvidia-tls.so


I uninstalled my old nvidia because it was useless with the latest kernel (I also phisically removed the hardware) and I switched to the radeon vga shipped with the motherboard.

I'm able to run X and kdm, I can get the kde's login form, but once I enter my password it fails to load my desktop and the kde login is presented again, regardless of the user I try to login with. The same happens if I try with a newly created user, and also removing my .kde folder.

My .xsession-errors shows ksmserver complaining because of the missing libnvidia-tls.so.340.104 and I can't figure out why it's still looking for the nvidia library....

Thanks in advance for any hint

Last edited by roberto967; 02-12-2019 at 12:12 PM.
 
Old 02-11-2019, 05:01 PM   #2
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 1,643

Rep: Reputation: 5032Reputation: 5032Reputation: 5032Reputation: 5032Reputation: 5032Reputation: 5032Reputation: 5032Reputation: 5032Reputation: 5032Reputation: 5032Reputation: 5032
Try reinstalling the mesa package.
 
Old 02-11-2019, 06:59 PM   #3
NathanBarley
Member
 
Registered: Oct 2014
Location: Western Pennsylvania
Distribution: Slackware, Crux, Gentoo, FreeBSD
Posts: 90

Rep: Reputation: Disabled
I had a problem like this with xfce4-session when I switched to an AMD GPU, I'm sorry to say I can't quite remember how I fixed it, but it might have been something to do with rebuilding ldcache.

I can't think of any other reason something would want that a redundant library if it wasn't built against it.

Last edited by NathanBarley; 02-11-2019 at 07:10 PM.
 
Old 02-12-2019, 08:00 AM   #4
roberto967
Member
 
Registered: Apr 2011
Location: Cagliari, Italy
Distribution: Slackware64 latest stable
Posts: 77

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by volkerdi View Post
Try reinstalling the mesa package.
thanks, Pat. Unfortunately reinstalling mesa didn't help.
 
Old 02-12-2019, 08:16 AM   #5
roberto967
Member
 
Registered: Apr 2011
Location: Cagliari, Italy
Distribution: Slackware64 latest stable
Posts: 77

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by NathanBarley View Post
I had a problem like this with xfce4-session when I switched to an AMD GPU, I'm sorry to say I can't quite remember how I fixed it, but it might have been something to do with rebuilding ldcache.

I can't think of any other reason something would want that a redundant library if it wasn't built against it.
do no worry, this exact same thing already happened to me once, and I don't even remember how I fixed it.

Anyway rebuilding ld cache didn't help
 
Old 02-12-2019, 08:53 AM   #6
NathanBarley
Member
 
Registered: Oct 2014
Location: Western Pennsylvania
Distribution: Slackware, Crux, Gentoo, FreeBSD
Posts: 90

Rep: Reputation: Disabled
On thing that may help is the information in the README with the Nvidia blob Slackbuild - it has some good information on the changes the Nvidia makes vs. Xorg/Mesa:

Quote:
Before uninstalling or upgrading this package, it is important that
you execute 'nvidia-switch --remove', which will switch back to the
stock xorg files and remove all links created by nvidia-switch during
installation. If you forget to do this, you might have to do the switch
manually, since 'nvidia-switch --install' may fail, resulting in xorg
not working. Here are the affected files:

/usr/lib[64]/libGL.so.1.2
/usr/lib[64]/libGL.la
/usr/lib[64]/libGLESv1_CM.so.1.0.0
/usr/lib[64]/libGLESv2.so.2.0.0
/usr/lib[64]/libEGL.so.1.0.0
/usr/lib[64]/xorg/modules/libwfb.so
/usr/lib[64]/xorg/modules/extensions/libglx.so


Simply remove the dead nvidia symlinks and and reinstall the mesa and
xorg-server packages. See 'nvidia-switch --help'.
I have a feeling there are others, though.

This is one of the reasons I switched to AMD in the first place. Hope you get it all sorted.
 
1 members found this post helpful.
Old 02-12-2019, 09:20 AM   #7
Petri Kaukasoina
Member
 
Registered: Mar 2007
Posts: 389

Rep: Reputation: 246Reputation: 246Reputation: 246
In addition to mesa, reinstall the xorg-server package.
 
1 members found this post helpful.
Old 02-12-2019, 09:47 AM   #8
igadoter
Senior Member
 
Registered: Sep 2006
Location: wroclaw, poland
Distribution: many, primary Slackware
Posts: 1,205
Blog Entries: 1

Rep: Reputation: Disabled
Just install your nvidia card and run nvidia-switch as above suggested. There is with nvidia proprietary driver option to uninstall driver. Personally I would do : 1) add nvidia engine 2) re-install driver 3) uninstall driver 4) remove nvidia engine. Instead of trying to fix manually.
 
1 members found this post helpful.
Old 02-12-2019, 12:07 PM   #9
NathanBarley
Member
 
Registered: Oct 2014
Location: Western Pennsylvania
Distribution: Slackware, Crux, Gentoo, FreeBSD
Posts: 90

Rep: Reputation: Disabled
Quote:
Originally Posted by igadoter View Post
Just install your nvidia card and run nvidia-switch as above suggested. There is with nvidia proprietary driver option to uninstall driver. Personally I would do : 1) add nvidia engine 2) re-install driver 3) uninstall driver 4) remove nvidia engine. Instead of trying to fix manually.
Even this can cause some challenges. I used the Nvidia .run installer a couple of years back when I had a GPU that was not supported by the then available Slackbuild.

Although the --uninstall switch works there were lots of little problems with various libGL libraries that were frustrating to troubleshoot. The GLVND component is particularly infuriating to understand. You might think you're returning your system to the previous state, but in my case this definitely did not happen.

In the end I used the big hammer option and just reinstalled 14.2. It was quicker than trying to figure out what was going on.
 
Old 02-12-2019, 12:11 PM   #10
roberto967
Member
 
Registered: Apr 2011
Location: Cagliari, Italy
Distribution: Slackware64 latest stable
Posts: 77

Original Poster
Rep: Reputation: 15
There was indeed a lot of garbage in /usr/lib64/libG* despite the fact that I reinstalled mesa and xorg

I restored a couple of symbolic links that were left by nvidia:

Code:
libGEL.so.1.0.0 -> libEGL.so.340.104
libGL.so.1 -> libGL.so.340.104
It was sufficient to link them again as follows

Code:
rm libEGL.so.340.104 libGL.so.340.104
rm libGEL.so.1.0.0
ln -s libEGL.so.1.0.0 libGEL.so.1.0.0
rm libGL.so.1
ln -s libGL.so.1.2.0 libGL.so.1
Thanks everyone for helping me to solve this issue.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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] Segfault in libnvidia-tls.so.304.137 igadoter Slackware 2 03-24-2018 10:02 AM
[SOLVED] Install libnvidia-legacy-340xx-cuda1 freeroute Debian 1 07-20-2016 01:14 PM
hard coded ldd kwin libnvidia-glsi jheengut Linux - Software 0 08-31-2015 08:45 PM
Where can I find libnvidia-tls.so.1? matuk_444 SUSE / openSUSE 2 02-17-2007 09:36 AM
KDE can't alter screensaver anymore (libnvidia-tls problem) GTrax Linux - Desktop 2 12-07-2006 11:55 PM

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

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

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration