Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic:  [solved] nvidia-driver 340.46-2 breaks KDE (and more)  (Read 9944 times)

Offline musca

  • User
  • Posts: 725
  • sid, fly high!
Hello,

after latest dist-upgrade my KDE was unusable, because the window-manager kwin did not start. Windows had no decorations and i could not even switch input focus. So i rebootet in multi-user.target (append "3" in grub menu).

I found this in my .xsession-errors
win: error while loading shared libraries: libEGL.so.1: cannot open shared object file: No such file or directory
ksmserver(5833) KSMServer::wmProcessChange: Window manager "kwin" failed to launch


The new nvidia-driver 340.46-2 only recommends libegl1-nvidia
apt-get changelog nvidia-driver
 * nvidia-driver: Recommend libegl1-nvidia and suggest libgles[12]-nvidia.


Solution: after an install everything was okay again
Code: [Select]
apt-get install libegl1-nvidia libgles2-nvidia
[ Edit: for new installs the nvidia-driver misses the nouveau blacklist and fails to update the glx alternative!
See my next posting in this thread. ]
 
Thanks towo` for your nice recommendations in the siduction-irc support channel.

Cheers, and have fun with siduction!
musca

« Last Edit: 2014/10/24, 21:48:25 by musca »
„Es irrt der Mensch, solang er strebt.“  (Goethe, Faust)

mork

  • Guest
Re: [solved] nvidia-driver 340.46-2 breaks KDE
« Reply #1 on: 2014/10/20, 20:12:16 »
Hi,
this appears not to be a KDE/KWin only issue as my installation with Cinnamon/Mutter has been hit as well...

thanks for the solution!
...fantastic support!

Offline dibl

  • siduction community member
  • Global Moderator
  • User
  • *****
  • Posts: 2.345
    • Land of the Buckeye
Re: [solved] nvidia-driver 340.46-2 breaks KDE
« Reply #2 on: 2014/10/20, 20:51:02 »
Thanks musca -- great tip!
System76 Oryx Pro, Intel Core i7-11800H, SSD 970 EVO Plus;  Asus ROG STRIX X299-E, Core i7-7740X, Nvidia GTX-1060, dual monitors, SSD 860 EVO

Offline musca

  • User
  • Posts: 725
  • sid, fly high!
Re: [solved] nvidia-driver 340.46-2 breaks KDE (and more)
« Reply #3 on: 2014/10/20, 22:17:03 »
Hello,

even more annoyance!
For new installs the nvidia-driver misses the nouveau blacklist and fails to update the glx alternative!

so for a successful install you need two more steps:
Code: [Select]
apt-get install nvidia-driver libegl1-nvidia libgles[12]-nvidia nvidia-settings
echo -e "\n#manually inserted because nvidia-driver lost the nouveau blacklist\nblacklist nouveau\n" >>  /etc/modprobe.d/nvidia.conf
update-alternatives --config glx
There are 2 choices for the alternative glx (providing /usr/lib/glx).

  Selection    Path                    Priority   Status
------------------------------------------------------------
  0            /usr/lib/nvidia          100       auto mode
* 1            /usr/lib/mesa-diverted   5         manual mode
  2            /usr/lib/nvidia          100       manual mode

Press enter to keep the current choice (*), or type selection number: 0
update-alternatives: using /usr/lib/nvidia to provide /usr/lib/glx (glx) in auto mode
root@sidbox:~#


greetings
musca
« Last Edit: 2014/10/20, 22:24:56 by musca »
„Es irrt der Mensch, solang er strebt.“  (Goethe, Faust)

Offline clubex

  • User
  • Posts: 265
Re: [solved] nvidia-driver 340.46-2 breaks KDE (and more)
« Reply #4 on: 2014/10/20, 23:38:30 »
Thanks musca for your quick and thorough explanation.

Offline Penyelam

  • User
  • Posts: 220
Re: [solved] nvidia-driver 340.46-2 breaks KDE (and more)
« Reply #5 on: 2014/10/21, 17:10:26 »
I have the same or a at least a similar problem after system update.
The graphical login screen appeared, but after entering login data just a command window openend in the left upper corner.
I run all the commands mentioned above.
Now when I login as user nothing happens.
When logging in as root, the command window appears as before.

One of the install commands told me I've to configure the NVIDIA driver in xorg.conf but this file does't exist.

Please help
Manfred

gcp

  • Guest
Re: [not-solved] nvidia-driver 340.46-2 breaks KDE (and more)
« Reply #6 on: 2014/10/21, 18:30:52 »
Nothing of the above worked for me.
Im getting:

kwin: error while loading shared libraries: libEGL.so.1: cannot open shared object file: No such file or directory
So i got angry and made a link:
ln -s /usr/lib/x86_64-linux-gnu/nvidia/current/libEGL.so.1 /usr/lib/libEGL.so.1
kwin starts now and all seems working.
I will delete the link at better times...
My driver is Nvidia 343.22-0.siduction.1 on x65 multiarch.

Offline musca

  • User
  • Posts: 725
  • sid, fly high!
Re: [solved] nvidia-driver 340.46-2 breaks KDE (and more)
« Reply #7 on: 2014/10/21, 22:26:39 »
Hello Peneylam,

the config is in our manual  http://manual.siduction.org/gpu#nvidia or just copy this to your root-shell:
mkdir /etc/X11/xorg.conf.d ; echo -e 'Section "Device"\n\tIdentifier "MyGPU"\n\tDriver "nvidia"\nEndSection\n' > /etc/X11/xorg.conf.d/20-nvidia.conf

It is normal that no /etc/X11/xorg.conf exists. You are allowed to create one (only if needed) and Xorg will respect it. Same goes for conf-snippets in the subdir /etc/X11/xorg.conf.d/ .

greetings
musca
« Last Edit: 2014/10/21, 22:34:55 by musca »
„Es irrt der Mensch, solang er strebt.“  (Goethe, Faust)

Offline vayu

  • User
  • Posts: 232
Re: [solved] nvidia-driver 340.46-2 breaks KDE (and more)
« Reply #8 on: 2014/10/22, 01:01:12 »
so for a successful install you need two more steps:
Code: [Select]
apt-get install nvidia-driver libegl1-nvidia libgles[12]-nvidia nvidia-settings
echo -e "\n#manually inserted because nvidia-driver lost the nouveau blacklist\nblacklist nouveau\n" >>  /etc/modprobe.d/nvidia.conf
update-alternatives --config glx
greetings
musca

Thanks, I had no nvidia after du, this got me back in. 

Offline melmarker

  • User
  • Posts: 2.799
    • g-com.eu
Re: [solved] nvidia-driver 340.46-2 breaks KDE (and more)
« Reply #9 on: 2014/10/22, 02:58:06 »
i have similar issues with kwin and the legacy 304xx - but no time to figure this out, so i using openbox and compton right now :D
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)

Offline Penyelam

  • User
  • Posts: 220
Re: [solved] nvidia-driver 340.46-2 breaks KDE (and more)
« Reply #10 on: 2014/10/22, 11:12:20 »
Hi Musca,
I really appreciate your quick response.
But unfortunately after creating the
/etc/X11/xorg.conf.d/20-nvidia.conf

nothing changed.
I still get the graphical login screen,
but after entering my credentials nothing happens.

Kind regards
Manfred

gcp

  • Guest
Re: [solved] nvidia-driver 340.46-2 breaks KDE (and more)
« Reply #11 on: 2014/10/22, 19:05:23 »
the update to glx-alternative-nvidia (0.5.1) should fix the problem.
see:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=766169
the problem is solved now for me.


Offline melmarker

  • User
  • Posts: 2.799
    • g-com.eu
Re: [solved] nvidia-driver 340.46-2 breaks KDE (and more)
« Reply #12 on: 2014/10/22, 22:45:29 »
for me too - seems to be solved
Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. (Benjamin Franklin, November 11, 1755)
Never attribute to malice that which can be adequately explained by stupidity. (Hanlons razor)

Offline musca

  • User
  • Posts: 725
  • sid, fly high!
Re: [solved] nvidia-driver 340.46-2 breaks KDE (and more)
« Reply #13 on: 2014/10/23, 01:14:43 »
Hello all,

there is a complete new nvidia 340.46-3 which solved all three issues (libEGL.so.1, blacklist and glx-alternative).
I think we can cosider this thread closed.

greetings
musca
„Es irrt der Mensch, solang er strebt.“  (Goethe, Faust)

Offline Penyelam

  • User
  • Posts: 220
Re: [solved] nvidia-driver 340.46-2 breaks KDE (and more)
« Reply #14 on: 2014/10/23, 11:55:16 »
Hi guys,
I really appreciate your effort and time you spend to support normal user like me.
But I'm truly sorry,  I've still trouble, please see attachments.
Yesterday I did a mistake in the file name of the "20-nvidia-conf".
Now I don't get a graphic screen.

I followed all instructions but nothing helped.
The only what I haven't done was installing the "nvidia-173xx-driver" beause I don't know the number,
of my "GeForce GT520". How can I find that?
Do you think I have a change to fix that issue or shall I reinstall my system from scratch? 

Regards
Manfred