You are not logged in.

#1 2016-12-27 17:53:10

Hackedia
Member
Registered: 2016-05-12
Posts: 69

Nvidia drivers conflicting with GDM

Hi !

I recently installed the nvidia-libgl and lib32-nvidia-libgl,
I have a NV117 GM107M [GeForce GTX 950M],

But at the start, gdm fail and a with screen appear showing this message : "Oh no! Something has gone wrong. A problem has occurred and the system can't recover. Please log out and try again."

As they ask to do in https://wiki.archlinux.org/index.php/NVIDIA_Optimus#GDM i configure GDM,
I create the .desktop file, i edit /gdm/custom.conf to use xorg (uncommenting #WaylandEnable=false) to use X as default backend,
I check again and again avoiding mistakes,

But nothink fix the error,it doesnt work with SDDM too (and i dont realy like this dm),
Im wondering if you guys are able to use nvidia drivers with GDM ?
And if anyone could help me by the way ? ^^

Here is the log of journalctl -u gdm :

déc. 21 18:18:05 Hackedia systemd[1]: Starting GNOME Display Manager...
déc. 21 18:18:05 Hackedia systemd[1]: Started GNOME Display Manager.
déc. 21 18:18:16 Hackedia gdm[558]: Child process -630 was already dead.
déc. 21 18:18:16 Hackedia gdm[558]: Child process 611 was already dead.
déc. 21 18:18:16 Hackedia gdm[558]: Unable to kill session worker process
déc. 21 18:26:20 Hackedia gdm[558]: Tried to look up non-existent conversation gdm-launch-environment
déc. 21 18:26:20 Hackedia gdm[558]: Freeing conversation 'gdm-launch-environment' with active job
déc. 21 18:26:20 Hackedia systemd[1]: Stopping GNOME Display Manager...
déc. 21 18:26:20 Hackedia gdm[558]: Failed to contact accountsservice: Erreur lors de l'appel de StartServiceByName pour org.freedesktop.Accounts : GDBus.Error:org.freedesktop.systemd1.ShuttingDown: Refusing activation, D-Bus is shutting down.
déc. 21 18:26:20 Hackedia gdm-launch-environment][1170]: AccountsService: Failed to create accounts proxy: Erreur lors de l'appel de StartServiceByName pour org.freedesktop.Accounts : GDBus.Error:org.freedesktop.systemd1.ShuttingDown: Refusing activation, D-Bus is shutting down.
déc. 21 18:26:21 Hackedia gdm[558]: Failed to contact accountsservice: Erreur lors de l'appel de StartServiceByName pour org.freedesktop.Accounts : GDBus.Error:org.freedesktop.systemd1.ShuttingDown: Refusing activation, D-Bus is shutting down.
déc. 21 18:26:21 Hackedia gdm[558]: GLib: g_hash_table_find: assertion 'version == hash_table->version' failed

Maybe i should downgrade my version of gdm ? I heard the latest version had many troubles with nvidia drivers,

Thanks and happy chrismas everyone,

Offline

#2 2016-12-27 20:59:50

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,182

Re: Nvidia drivers conflicting with GDM

GDM was up for ~8 Minutes in that log. Also, though i've no gdm experience, I doubt that "Please log out and try again" is presented you from gdm - you get this message when attempting to log into gnome.
So what you do is to install sth. that's not as picky (start with icewm or fluxbox), log into such session instead and there obtain the output of "glxinfo" and contents of your Xorg log (found in /var/log or ~/.local/share/xorg, check the timestamps to see which is a recent one)

Also notice that gnome now defaults to wayland what will not work with the nvidia driver - it should not try, but you can actively select "gnome on xorg" to rule out this as a problem.

Offline

Board footer

Powered by FluxBB