Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 528128 - gnome-base/gdm-3.12.2-r1 with x11-drivers/xf86-video-nouveau-1.0.11 - gdm: Failed to give slave programs access to the display. Trying to proceed.
Summary: gnome-base/gdm-3.12.2-r1 with x11-drivers/xf86-video-nouveau-1.0.11 - gdm: Fa...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-03 15:14 UTC by Juergen Rose
Modified: 2015-07-09 09:40 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
the output of 'journalctl --no-pager -b /usr/bin/Xorg' (journalctl_Xorg.log,39.66 KB, text/x-log)
2014-12-31 11:05 UTC, Juergen Rose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2014-11-03 15:14:22 UTC
I have here an thinkpad-t410 with NVIDIA GT218M [NVS 3100M], linux 3.17.2-gentoo, xf86-video-nouveau-1.0.11 and gdm-3.12.2-r1. Today gdm stops to work.
If I run 'systemctl start gdm', I see only a black screen, I can switch to the console with CTL-ALT-F1. If try to stop gdm with 'systemctl stop gdm', it fails and the keyboard becomes unusable (CTL-C, Enter, ALT-F1 ALT-F2 ... does not work). Via ssh I see that gdm is still running:

rose@gepard:/home/rose(5)$ ps auwx | grep gdm
root     15159  0.0  0.1 357848  6596 ?        Ssl  15:51   0:00 /usr/sbin/gdm
root     15172  0.0  0.1 219868  6876 ?        Sl   15:51   0:00 gdm-session-worker [pam/gdm-launch-environment]

I thought, that I have seen a "Can't start slave process" messsage, but find them now. 'dmesg | tail' says:

rose@gepard:/home/rose(13)$ dmesg | tail 
[  154.374906] wlan0: associate with 30:46:9a:85:bc:de (try 1/3)
[  154.378039] wlan0: RX AssocResp from 30:46:9a:85:bc:de (capab=0x411 status=0 aid=4)
[  154.389800] wlan0: associated
[  154.390189] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[  518.562523] CPU3: Core temperature above threshold, cpu clock throttled (total events = 1)
[  518.562524] CPU2: Core temperature above threshold, cpu clock throttled (total events = 1)
[  518.563556] CPU2: Core temperature/speed normal
[  518.570068] CPU3: Core temperature/speed normal
[  600.906758] mce: [Hardware Error]: Machine check events logged
[18368.160031] systemd-journald[1658]: File /var/log/journal/46a9a745b6974b0ea360b001ad863973/user-1203.journal corrupted or uncleanly shut down, renaming and replacing.


'journalctl -xn' says:
...

Nov 03 15:52:36 gepard systemd[15199]: Startup finished in 100ms.
-- Subject: System start-up is now complete
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- 
-- All system services necessary queued for starting at boot have been
-- successfully started. Note that this does not mean that the machine is
-- now idle as services might still be busy with completing start-up.
-- 
-- Kernel start-up required KERNEL_USEC microseconds.
-- 
-- Initial RAM disk start-up required INITRD_USEC microseconds.
-- 
-- Userspace start-up required 100447 microseconds.
Nov 03 15:52:37 gepard gnome-keyring-daemon[15204]: couldn't connect to dbus session bus: Unable to autolaunch a dbus-daemon wi
Nov 03 15:52:37 gepard gnome-keyring-daemon[15204]: couldn't connect to dbus session bus: Unable to autolaunch a dbus-daemon wi
Nov 03 15:52:51 gepard su[17364]: Successful su for root by rose
Nov 03 15:52:51 gepard su[17364]: + /dev/pts/0 rose:root
Nov 03 15:52:51 gepard su[17364]: pam_unix(su:session): session opened for user root by rose(uid=1203)
Nov 03 15:57:46 gepard gnome-keyring-daemon[391]: couldn't connect to dbus session bus: Unable to autolaunch a dbus-daemon with
Nov 03 15:57:46 gepard gnome-keyring-daemon[391]: couldn't connect to dbus session bus: Unable to autolaunch a dbus-daemon with
Comment 1 Juergen Rose 2014-11-03 15:20:01 UTC
'journalctl --no-pager -b /usr/bin/Xorg' says:
...
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (II) NOUVEAU(0): [XvMC] Extension initialized.
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (==) NOUVEAU(0): DPMS enabled
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (II) NOUVEAU(0): RandR 1.2 enabled, ignore the following RandR disabled message.
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (--) RandR disabled
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (II) AIGLX: enabled GLX_ARB_create_context
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (II) AIGLX: enabled GLX_ARB_create_context_profile
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (II) AIGLX: enabled GLX_INTEL_swap_event
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (II) AIGLX: enabled GLX_ARB_fbconfig_float
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (II) AIGLX: Loaded and initialized nouveau
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (II) GLX: Initialized DRI2 GL provider for screen 0
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (II) NOUVEAU(0): NVEnterVT is called.
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (II) NOUVEAU(0): Setting screen physical size to 381 x 238
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: resize called 1440 900
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (II) config/udev: Adding input device Power Button (/dev/input/event2)
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (**) Power Button: Applying InputClass "evdev keyboard catchall"
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (II) LoadModule: "evdev"
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
...
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (**) evdev: TPPS/2 IBM TrackPoint: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/serio2/input/input7/event6"
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (II) XINPUT: Adding extended input device "TPPS/2 IBM TrackPoint" (type: MOUSE, id 12)
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (II) evdev: TPPS/2 IBM TrackPoint: initialized for relative axes.
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (**) TPPS/2 IBM TrackPoint: (accel) keeping acceleration scheme 1
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (**) TPPS/2 IBM TrackPoint: (accel) acceleration profile 0
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (**) TPPS/2 IBM TrackPoint: (accel) acceleration factor: 2.000
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (**) TPPS/2 IBM TrackPoint: (accel) acceleration threshold: 4
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (II) config/udev: Adding input device TPPS/2 IBM TrackPoint (/dev/input/mouse1)
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (II) No input driver specified, ignoring this device.
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (II) This device may have been added with another device file.
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (II) config/udev: Adding input device PC Speaker (/dev/input/event9)
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (II) No input driver specified, ignoring this device.
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (II) This device may have been added with another device file.
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (II) config/udev: Adding input device ThinkPad Extra Buttons (/dev/input/event10)
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (**) ThinkPad Extra Buttons: Applying InputClass "evdev keyboard catchall"
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (II) Using input driver 'evdev' for 'ThinkPad Extra Buttons'
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (**) ThinkPad Extra Buttons: always reports core events
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (**) evdev: ThinkPad Extra Buttons: Device: "/dev/input/event10"
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (--) evdev: ThinkPad Extra Buttons: Vendor 0x17aa Product 0x5054
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (--) evdev: ThinkPad Extra Buttons: Found keys
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (II) evdev: ThinkPad Extra Buttons: Configuring as keyboard
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (**) Option "config_info" "udev:/sys/devices/platform/thinkpad_acpi/input/input11/event10"
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (II) XINPUT: Adding extended input device "ThinkPad Extra Buttons" (type: KEYBOARD, id 13)
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (**) Option "xkb_rules" "evdev"
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (**) Option "xkb_model" "pc104"
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (**) Option "xkb_layout" "us"
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (II) config/udev: Adding input device ThinkPad HDAPS joystick emulation (/dev/input/event7)
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (II) No input driver specified, ignoring this device.
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (II) This device may have been added with another device file.
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (II) config/udev: Adding input device ThinkPad HDAPS accelerometer data (/dev/input/event8)
Nov 03 15:51:23 gepard gdm-Xorg-:0[15164]: (**) ThinkPad HDAPS accelerometer data: Ignoring device from InputClass "ThinkPad HDAPS accelerometer blacklist"
Comment 2 Juergen Rose 2014-11-03 15:49:00 UTC
Reboot does not help. 'systemctl gdm' hangs again.  'systemctl status gdm' says now:
root@gepard:/root(4)# systemctl status gdm
● gdm.service - GNOME Display Manager
   Loaded: loaded (/usr/lib64/systemd/system/gdm.service; disabled)
   Active: active (running) since Mon 2014-11-03 16:46:11 CET; 1min 2s ago
 Main PID: 3903 (gdm)
   CGroup: /system.slice/gdm.service
           ├─3903 /usr/sbin/gdm
           ├─3908 /usr/bin/Xorg :0 -background none -noreset -verbose 3 -logfile /dev/null -auth /run/gdm/auth-for-gdm-gDzW3f/database -seat seat0 -nolisten tcp vt7
           └─3929 gdm-session-worker [pam/gdm-launch-environment]

Nov 03 16:46:15 gepard gdm-Xorg-:0[3908]: (**) Option "xkb_model" "pc104"
Nov 03 16:46:15 gepard gdm-Xorg-:0[3908]: (**) Option "xkb_layout" "us"
Nov 03 16:46:15 gepard gdm-Xorg-:0[3908]: (II) config/udev: Adding input device ThinkPad HDAPS joystick emulation (/dev/input/event7)
Nov 03 16:46:15 gepard gdm-Xorg-:0[3908]: (II) No input driver specified, ignoring this device.
Nov 03 16:46:15 gepard gdm-Xorg-:0[3908]: (II) This device may have been added with another device file.
Nov 03 16:46:15 gepard gdm-Xorg-:0[3908]: (II) config/udev: Adding input device ThinkPad HDAPS accelerometer data (/dev/input/event8)
Nov 03 16:46:15 gepard gdm-Xorg-:0[3908]: (**) ThinkPad HDAPS accelerometer data: Ignoring device from InputClass "ThinkPad HDAPS accelerometer blacklist"
Nov 03 16:46:15 gepard gdm[3903]: Failed to give slave programs access to the display. Trying to proceed.
Nov 03 16:46:42 gepard gdm-Xorg-:0[3908]: (II) AIGLX: Suspending AIGLX clients for VT switch
Nov 03 16:46:42 gepard gdm-Xorg-:0[3908]: (II) NOUVEAU(0): NVLeaveVT is called.
Comment 3 Juergen Rose 2014-11-03 16:12:31 UTC
'systemctl start kdm' and 'systemctl lxdm' works, even with gnome as desktop. 
With kdm I can also switch to an other user. This does not work with lxdm.
The console, where I started kdm or lxdm, is locked. I can stop kdm and lxdm from an other console.  'systemctl status lxdm' says:

root@gepard:/root(7)# systemctl status lxdm
● lxdm.service - LXDE Display Manager
   Loaded: loaded (/usr/lib64/systemd/system/lxdm.service; disabled)
   Active: inactive (dead)

Nov 03 16:49:30 gepard org.a11y.Bus[4619]: Activating service name='org.a11y.atspi.Registry'
Nov 03 16:49:30 gepard org.a11y.Bus[4619]: Successfully activated service 'org.a11y.atspi.Registry'
Nov 03 16:49:30 gepard org.a11y.atspi.Registry[4625]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Nov 03 16:49:30 gepard org.a11y.atspi.Registry[4625]: ** (at-spi2-registryd:4628): WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.E...ice files
Nov 03 16:49:30 gepard org.a11y.atspi.Registry[4625]: ** (at-spi2-registryd:4628): WARNING **: Unable to register client with session manager
Nov 03 16:49:39 gepard lxdm-binary[4607]: PAM unable to dlopen(/lib64/security/pam_selinux.so): /lib64/security/pam_selinux.so: cannot open shared object f... directory
Nov 03 16:49:39 gepard lxdm-binary[4607]: PAM adding faulty module: /lib64/security/pam_selinux.so
Nov 03 16:49:40 gepard lxdm-binary[4607]: pam_unix(lxdm:session): session opened for user rose by (uid=0)
Nov 03 16:56:46 gepard systemd[1]: Stopping LXDE Display Manager...
Nov 03 16:56:46 gepard systemd[1]: Stopped LXDE Display Manager.
Hint: Some lines were ellipsized, use -l to show in full.


Reemerging x11-drivers and gdm does not improve anything.
Comment 4 Pacho Ramos gentoo-dev 2014-11-13 11:17:28 UTC
What does occur with older kernel-3.16?
Comment 5 Juergen Rose 2014-11-13 15:43:36 UTC
(In reply to Pacho Ramos from comment #4)
> What does occur with older kernel-3.16?

I just booted with 3,16-gentoo. 'journalctl -xb' shows the same:

... gepard gdm[2622]: Failed to give slave programs access to the display. Trying to proceed
...
... gepard gdm-Xorg-:0[2627]: (II) AIGLX: Suspending AIGLX clients for VT switch
--- gepard gdm-Xorg-:0[2627]: (II) NOUVEAU(0) NVLeaveVT is called.
Comment 6 Juergen Rose 2014-11-15 12:31:39 UTC
The same issue happens with rt-sources-3.14.23_p20. I have the problem also on a t61 with NVIDIA G84GLM [Quadro FX 570M].
Comment 7 Juergen Rose 2014-12-10 20:02:04 UTC
The error remains on the thinkap t410, also now with 3.18.0-gentoo.
Comment 8 Juergen Rose 2014-12-31 11:04:06 UTC
The same error happens with gdm-3.14.1. Gdm fails to start.

'journalctl -xb' shows:

root@lynx:/root(11)# journalctl -xb | tail
Dec 31 11:59:10 lynx gdm-Xorg-:0[1614]: (**) Option "xkb_layout" "us"
Dec 31 11:59:10 lynx gdm-Xorg-:0[1614]: (II) config/udev: Adding input device ThinkPad HDAPS joystick emulation (/dev/input/event7)
Dec 31 11:59:10 lynx gdm-Xorg-:0[1614]: (II) No input driver specified, ignoring this device.
Dec 31 11:59:10 lynx gdm-Xorg-:0[1614]: (II) This device may have been added with another device file.
Dec 31 11:59:10 lynx gdm-Xorg-:0[1614]: (II) config/udev: Adding input device ThinkPad HDAPS accelerometer data (/dev/input/event8)
Dec 31 11:59:10 lynx gdm-Xorg-:0[1614]: (**) ThinkPad HDAPS accelerometer data: Ignoring device from InputClass "ThinkPad HDAPS accelerometer blacklist"
Dec 31 11:59:10 lynx gdm[1609]: Failed to give slave programs access to the display. Trying to proceed.
...
Comment 9 Juergen Rose 2014-12-31 11:05:38 UTC
Created attachment 392754 [details]
the output of 'journalctl --no-pager -b /usr/bin/Xorg'
Comment 10 Pacho Ramos gentoo-dev 2014-12-31 21:12:15 UTC
I would try to report this to gnome upstream for now, maybe they will know how to get better information to find the real culprit -> bugzilla.gnome.org
Comment 11 Pacho Ramos gentoo-dev 2015-07-09 09:40:28 UTC
Also try with Gnome 3.16 and a newer kernel like 4.0.5