gnome.session is terminated when 1) external monitor is connected and I close the lid of my laptop.
Jan 10 13:04:10 r9-008cln gdm-Xorg-:0[431]: (II) intel(0): resizing framebuffer to 2880x2700 Jan 10 13:04:10 r9-008cln gdm-Xorg-:0[431]: (II) intel(0): switch to mode 1920x1080@60.0 on VGA1 using pipe 0, position (466, 0), rotation normal, reflection none Jan 10 13:04:10 r9-008cln gdm-Xorg-:0[431]: (II) intel(0): switch to mode 2880x1620@60.0 on eDP1 using pipe 1, position (0, 1080), rotation normal, reflection none Jan 10 13:04:11 r9-008cln colord[466]: Automatic metadata add icc-348e9dfc65bb31893a4294822bf31ede to xrandr-Samsung Electric Company-SyncMaster-HLOSB00204 Jan 10 13:04:11 r9-008cln colord[466]: Device added: xrandr-Samsung Electric Company-SyncMaster-HLOSB00204 # external monitor connected .... Jan 10 14:10:13 r9-008cln org.gnome.Caribou.Daemon[834]: ** (caribou:937): WARNING **: daemon.vala:146: error in text caret movement handler: Method "Get" with signature "ss" on interface "org.freedesktop.DBus.Properties" could not be processed as object /org/a11y/atspi/accessible/211 does not exist Jan 10 14:10:16 r9-008cln systemd-logind[406]: Lid closed. Jan 10 14:10:16 r9-008cln gnome-session[815]: ** Jan 10 14:10:16 r9-008cln gnome-session[815]: mutter:ERROR:backends/x11/meta-monitor-manager-xrandr.c:817:meta_monitor_manager_xrandr_apply_configuration: assertion failed: (width > 0 && height > 0) Jan 10 14:10:16 r9-008cln polkitd[426]: Unregistered Authentication Agent for unix-session:1 (system bus name :1.57, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale ru_RU.utf8) (disconnected from bus) Jan 10 14:10:16 r9-008cln gnome-session[815]: WARNING: Application 'gnome-shell.desktop' killed by signal 6 Jan 10 14:10:16 r9-008cln gnome-session[815]: gnome-session[815]: WARNING: Application 'gnome-shell.desktop' killed by signal 6 Jan 10 14:10:17 r9-008cln gnome-session[815]: ** Jan 10 14:10:17 r9-008cln gnome-session[815]: mutter:ERROR:backends/x11/meta-monitor-manager-xrandr.c:817:meta_monitor_manager_xrandr_apply_configuration: assertion failed: (width > 0 && height > 0) Jan 10 14:10:17 r9-008cln gnome-session[815]: gnome-session[815]: WARNING: Application 'gnome-shell.desktop' killed by signal 6 Jan 10 14:10:17 r9-008cln gnome-session[815]: WARNING: Application 'gnome-shell.desktop' killed by signal 6 Jan 10 14:10:17 r9-008cln gnome-session[815]: WARNING: App 'gnome-shell.desktop' respawning too quickly Jan 10 14:10:17 r9-008cln gnome-session[815]: gnome-session[815]: WARNING: App 'gnome-shell.desktop' respawning too quickly Jan 10 14:10:17 r9-008cln gnome-session[815]: Unrecoverable failure in required component gnome-shell.desktop Jan 10 14:12:49 r9-008cln systemd-logind[406]: Lid opened. Jan 10 14:12:49 r9-008cln kernel: i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment # here I switched to VT1 Jan 10 14:13:17 r9-008cln gdm-Xorg-:0[431]: (II) AIGLX: Suspending AIGLX clients for VT switch Jan 10 14:13:17 r9-008cln gdm-Xorg-:0[431]: (II) NOUVEAU(G0): NVLeaveVT is called. Jan 10 14:13:17 r9-008cln kernel: [drm:cpt_set_fifo_underrun_reporting] *ERROR* uncleared pch fifo underrun on pch transcoder A Jan 10 14:13:17 r9-008cln kernel: [drm:cpt_serr_int_handler] *ERROR* PCH transcoder A FIFO underrun Jan 10 14:13:17 r9-008cln kernel: [drm:ivybridge_set_fifo_underrun_reporting] *ERROR* uncleared fifo underrun on pipe B Jan 10 14:13:17 r9-008cln kernel: [drm:ivb_err_int_handler] *ERROR* Pipe B FIFO underrun # systemctl restart gdm succeeded
What gnome version are you running? Please show "emerge -Opv mutter x11-drivers/xf86-video-nouveau" and provide "emerge --info" output. Also /etc/X11/xorg.conf file and full Xorg logs (http://worldofgnome.org/in-gnome-3-12-systemd-will-track-xorg-logs/) Also, what kernel are you running?
anton@r9-008cln /run/media/anton/disk/AVCHD/BDMV/STREAM $ emerge -pv mutter x11-drivers/xf86-video-nouveau x11-drivers/xf86-video-intel These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ~] x11-wm/mutter-3.14.3 USE="introspection kms wayland -debug {-test}" 0 KiB [ebuild R ~] x11-drivers/xf86-video-nouveau-1.0.11 USE="glamor" 0 KiB [ebuild R ~] x11-drivers/xf86-video-intel-2.99.917 USE="dri sna udev uxa xvmc -debug" 0 KiB Total: 3 packages (3 reinstalls), Size of downloads: 0 KiB In fact, it's an optimus laptop (using nouveau and switcheroo). The mutter is running on intel.
anton@r9-008cln /run/media/anton/disk/AVCHD/BDMV/STREAM $ emerge --info Portage 2.2.14 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/gnome/systemd, gcc-4.8.3, glibc-2.19-r1, 3.18.2-gentoo x86_64) ================================================================= System uname: Linux-3.18.2-gentoo-x86_64-Intel-R-_Core-TM-_i7-4700MQ_CPU_@_2.40GHz-with-gentoo-2.2 KiB Mem: 16331940 total, 150992 free KiB Swap: 20971516 total, 20971516 free Timestamp of tree: Sat, 10 Jan 2015 09:30:01 +0000 ld GNU ld (Gentoo 2.24 p1.4) 2.24 app-shells/bash: 4.3_p33 dev-java/java-config: 2.2.0 dev-lang/perl: 5.18.2-r2 dev-lang/python: 2.7.9-r1, 3.3.5-r1, 3.4.2 dev-util/cmake: 2.8.12.2-r1 dev-util/pkgconfig: 0.28-r2 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6-r1, 1.13.4, 1.14.1, 1.15 sys-devel/binutils: 2.24-r3 sys-devel/gcc: 4.8.3 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2-r1 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.16 (virtual/os-headers) sys-libs/glibc: 2.19-r1 Repositories: gentoo proaudio sabayon steam-overlay tlp sunrise bumblebee anders-larsson rion fw-overlay betagarden jorgicio rugubara ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.tiscali.nl/ http://gentoo.bloodhost.ru/ http://mirror.yandex.ru/gentoo-distfiles/ http://mirror.bytemark.co.uk/gentoo/" LANG="ru_RU.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j9" PKGDIR="/usr/portage/etersoft" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/pro-audio /var/lib/layman/sabayon /var/lib/layman/steam /var/lib/layman/tlp /var/lib/layman/sunrise /var/lib/layman/bumblebee /var/lib/layman/anders-larsson /var/lib/layman/rion /var/lib/layman/fw-overlay /var/lib/layman/betagarden /var/lib/layman/jorgicio /home/anton/devel/rugubara" USE="X a52 aac acl acpi alsa amd64 archive avahi avx avx2 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli colord cracklib crypt cups cxx dbus dri dri3 dts dvd dvdr eds egl emboss encode evo exif fam ffmpeg firefox flac fortran frei0r g711 g722 g7221 gbm gdbm gif gimp glamor gles2 gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gtk3 http iconv ieee1394 introspection ios ipv6 jack jpeg jpeg2k kms lcms ldap libnotify libsecret lv2 mad mmx mmxext mng modules mp3 mp4 mpeg mtp multilib nautilus ncurses networkmanager nls nptl nsplugin ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 rar raw rdp readline samba sdl session smp socialweb speex spell sse sse2 sse4_1 sse4_2 ssl ssse3 startup-notification svg systemd tcpd theora threads tiff truetype udev udisks unicode upower usb uxa v4l vaapi vdpau vorbis wayland wxwidgets x264 xa xcb xml xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="multiboot efi-64 pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver" LINGUAS="en ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="intel nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" USE_PYTHON="2.7 3.3" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC
Gnome/mutter works ok on lid close when no external monitor is connected to the analog VGA port. I can't test DP port - no cable :-(
anton@r9-008cln /run/media/anton/disk/AVCHD/BDMV/STREAM $ uname -a Linux r9-008cln 3.18.2-gentoo #1 SMP PREEMPT Sat Jan 10 12:58:36 MSK 2015 x86_64 Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz GenuineIntel GNU/Linux
Created attachment 393620 [details] Xorg.log
there is no /etc/X11/xorg.conf - running in autoconfigure mode
Similar to https://bugzilla.opensuse.org/show_bug.cgi?id=905656 but I haven't found any on upstream bug tracker (bugzilla.gnome.org)
Shall I open the bug upstream?
I would try before reporting to check on a simpler WM (like icewm) if 3D acceleration works before and AFTER suspend to discard it's a problem with 3D... if that is not the case, yeah, I would report that
I forgot to mention, that I inhibited suspend on lid close via logind.conf HandleLidSwitch=ignore So the bug you linked in OpenSUSE doesn't seem relevant. I have another partition with Xfce. Will Xfwm4 test do?
Yes, it should work. Then, in your setup the system is really not suspending when you close the LID?
(In reply to Pacho Ramos from comment #13) > Yes, it should work. > > Then, in your setup the system is really not suspending when you close the > LID? No, my system does not suspend when I close the lid.
OK, then report it to bugzilla.gnome.org clarifying that suspend is not involved at all (as it's the case usually ;))
reported the bug upstream. https://bugzilla.gnome.org/show_bug.cgi?id=743160
Are you still suffering this with Gnome 3.16?
Yes, the problem is still there. It seems that gnome doesn't die immediately when I close the lid. However the external display goes blank and goes to power save mode. When I open the lid and disconnect the VGA cable, the notebook panel shows garbage. Alt-F2 r caused a kill to gnome session. I had to re-login.
Maybe you could retry with 3.20
works fine with 3.20 (and 3.18 too)
Thanks a lot for feedback