Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 482668 - x11-base/xorg-server-1.14.2 with gnome-base/gnome-shell-3.8.4-r1 - X server freezes
Summary: x11-base/xorg-server-1.14.2 with gnome-base/gnome-shell-3.8.4-r1 - X server f...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-27 13:15 UTC by Fabian Köster
Modified: 2013-09-26 14:20 UTC (History)
1 user (show)

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


Attachments
xorg.conf (xorg.conf,1.37 KB, text/plain)
2013-08-27 21:51 UTC, Fabian Köster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Köster 2013-08-27 13:15:55 UTC
I am currently testing gnome-shell-3.8 and often the UI completely freezes, mouse pointer cannot be moved and I cannot switch to other terminals. Therefore I need to perform a cold reboot to regain access to the machine.

This bug seems to occur often (but not always) when switching console (via crtl+alt+f1 etc) and then switching back to gnome-shell.

Any hints on how to debug this?

Using the xorg stable list from bug #475480

Some versions, please let me know if you need more information.

x11-base/xorg-server-1.14.2 was built with the following:
USE="ipv6 kdrive nptl suid udev xorg -dmx -doc -minimal (-selinux) -static-libs -tslib -xnest -xvfb"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,lazy"

gnome-base/gnome-shell-3.8.4-r1 was built with the following:
USE="bluetooth i18n networkmanager" PYTHON_TARGETS="python2_7 -python2_6"

sys-apps/systemd-204 was built with the following:
USE="acl cryptsetup firmware-loader gudev introspection keymap kmod pam policykit tcpd -audit -doc -gcrypt -http -lzma -openrc -python -qrcode (-selinux) -static-libs -test -vanilla -xattr" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7"

Reproducible: Always




Portage 2.1.12.2 (default/linux/amd64/13.0/desktop/gnome, gcc-4.7.3, glibc-2.15-r3, 3.10.7-gentoo x86_64)
=================================================================
System uname: Linux-3.10.7-gentoo-x86_64-Intel-R-_Core-TM-_i7-2720QM_CPU_@_2.20GHz-with-gentoo-2.2
KiB Mem:     8055568 total,   6067184 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Tue, 27 Aug 2013 08:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.5-r2, 3.2.5-r2
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3, 4.7.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo sunrise java steam-overlay systemd-love x-portage hibiscus-gentoo-overlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE freedist as-is"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7-avx -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /usr/share/maven-bin-3.1/conf /var/lib/hsqldb"
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=corei7-avx -O2 -pipe"
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"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --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/sunrise /var/lib/layman/java /var/lib/layman/steam /var/lib/layman/systemd-love /usr/local/portage /home/fabian/workspace/Privat/gentoo/hibiscus-ebuild/hibiscus-gentoo-overlay.git"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avx bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli colord consolekit cracklib crypt cups cxx dbus dri dts dvb dvd dvdr eds emboss encode evo exif fam firefox flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk hdaps iconv idn introspection ipv6 jabber jpeg lastfm lcms libnotify libsecret mad mmx mng modemmanager modules mp3 mp4 mpeg mudflap multilib nautilus ncurses networkmanager nfsv4 nls nptl ogg opengl openmp opus pam pango pcre pcsc-lite pdf png policykit ppds pulseaudio qt3support qt4 readline rss sdl session socialweb spell sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 startup-notification svg systemd tcpd theora tiff truetype udev udisks unicode upower usb v4l v4l2 vaapi vorbis webm wxwidgets x264 xcb xml xv xvid 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="active braindump flow karbon krita stage tables words sheets" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DVB_CARDS="usb-dib0700" 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 ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby19" SANE_BACKENDS="genesys plustek" 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.2"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Pacho Ramos gentoo-dev 2013-08-27 17:22:45 UTC
This is useless without any log: please review journalctl output, dmesg, /var/log/Xorg.0.log. Also provide your /etc/X11/xorg.conf and tell us what driver uses your card. Also try updating "mesa" to newer versions and the same with "intel" driver (if you are using that one, as I see you have an intel i7)
Comment 2 Pacho Ramos gentoo-dev 2013-08-27 17:25:57 UTC
Also try on a new created user account, also tell us what kernel are you using (for framebuffer and modesetting) and trying some major versions (3.9, 3.10...)
Comment 3 Fabian Köster 2013-08-27 21:51:31 UTC
Created attachment 357210 [details]
xorg.conf
Comment 4 Fabian Köster 2013-08-27 22:00:12 UTC
(In reply to Pacho Ramos from comment #1)
> This is useless without any log: please review journalctl output, dmesg,
> /var/log/Xorg.0.log. Also provide your /etc/X11/xorg.conf and tell us what
> driver uses your card. Also try updating "mesa" to newer versions and the
> same with "intel" driver (if you are using that one, as I see you have an
> intel i7)

Using hybrid graphics with intel and nouveau driver and kernel sys-kernel/gentoo-sources-3.10.7.

x11-drivers/xf86-video-intel-2.21.11 was built with the following:
USE="dri sna udev -glamor -uxa -xvmc"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,lazy"

x11-drivers/xf86-video-nouveau-1.0.8 was built with the following:
USE=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,lazy"

media-libs/mesa-9.1.4 was built with the following:
USE="classic egl gallium gles2 llvm nptl shared-glapi -bindist -debug -gbm -gles1 -openvg -osmesa -pax_kernel -pic (-r600-llvm-compiler) (-selinux) -vdpau -wayland -xa -xorg -xvmc" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" VIDEO_CARDS="intel nouveau -i915 -i965 -r100 -r200 -r300 -r600 -radeon -radeonsi -vmware"

I will update the drivers, mesa and see if it changes things.
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2013-08-27 22:01:32 UTC
If the freeze happens, do Magic SysRq, ping, ssh still work?

If it is really the X server that freezes (and not clutter or a kernel panic occurs), Xorg.0.log and dmesg may give more information.
Comment 6 Fabian Köster 2013-08-27 22:05:25 UTC
(In reply to Chí-Thanh Christopher Nguyễn from comment #5)
> If the freeze happens, do Magic SysRq, ping, ssh still work?
> 
> If it is really the X server that freezes (and not clutter or a kernel panic
> occurs), Xorg.0.log and dmesg may give more information.

I did not have a second machine when this happend today but I will try network access the next time this occurs.
Comment 7 Fabian Köster 2013-08-27 22:19:06 UTC
(In reply to Pacho Ramos from comment #1)
> This is useless without any log: please review journalctl output, dmesg,
> /var/log/Xorg.0.log. 

I cannot see anything suspicious in journalctl output, dmesg or Xorg.0.log but as already mentioned I will inspect this issue in detail over the network when it happens again.
Comment 8 Pacho Ramos gentoo-dev 2013-08-28 08:27:10 UTC
(In reply to Fabian Köster from comment #7)
> (In reply to Pacho Ramos from comment #1)
> > This is useless without any log: please review journalctl output, dmesg,
> > /var/log/Xorg.0.log. 
> 
> I cannot see anything suspicious in journalctl output, dmesg or Xorg.0.log
> but as already mentioned I will inspect this issue in detail over the
> network when it happens again.

Also test Xorg.0.log.old and co.

Does this occurs when using nouveau or intel driver? (I guess you are using bumblebee for switching between them)
Comment 9 Fabian Köster 2013-08-28 08:45:02 UTC
> Also test Xorg.0.log.old and co.

Also nothing relevant.

> Does this occurs when using nouveau or intel driver? (I guess you are using
> bumblebee for switching between them)

I am not using bumblebee but prime to switch between them for certain applications, vga_switcheroo to power nvidia on/off.

I now turned off the nvidia chip in bios, maybe this will help.
Comment 10 Fabian Köster 2013-08-28 08:46:23 UTC
(In reply to Fabian Köster from comment #4)
> I will update the drivers, mesa and see if it changes things.

I did this but the bug appeared again with the following configuration:

media-libs/mesa-9.2.0_rc2 was built with the following:
USE="classic egl gallium gles2 llvm nptl -bindist -debug -gbm -gles1 -opencl -openvg -osmesa -pax_kernel -pic -r600-llvm-compiler (-selinux) -vdpau -wayland -xa -xorg -xvmc" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" VIDEO_CARDS="intel nouveau -freedreno -i915 -i965 -ilo -r100 -r200 -r300 -r600 -radeon -radeonsi -vmware"

x11-drivers/xf86-video-intel-2.21.15 was built with the following:
USE="dri sna udev -glamor -uxa -xvmc"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,lazy"

x11-drivers/xf86-video-nouveau-1.0.9 was built with the following:
USE=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,lazy"
Comment 11 Fabian Köster 2013-08-28 21:48:44 UTC
(In reply to Fabian Köster from comment #9)
> I now turned off the nvidia chip in bios, maybe this will help.

This seems to help, no crash or freeze at all with nvidia graphics disabled in bios, so this seems to be caused by some nouveau-code, maybe same issue as #482682 ?
Comment 12 Fabian Köster 2013-09-26 14:20:49 UTC
This bug seems to be gone probably after upgrading Kernel to current 3.12 release candidates. This new major Kernel version includes many changes for Optimus hardware.