Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 351188 - X fails to start correctly (black screen, mouse pointer visible)
Summary: X fails to start correctly (black screen, mouse pointer visible)
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-09 08:53 UTC by André Terpstra
Modified: 2011-01-22 08:38 UTC (History)
1 user (show)

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


Attachments
Xorg.0.log as requested (Xorg.0.log,32.34 KB, text/plain)
2011-01-09 17:07 UTC, André Terpstra
Details
The whole dmesg.log, a little more than requested perhaps... (dmesg.log,84.64 KB, text/plain)
2011-01-09 17:43 UTC, André Terpstra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description André Terpstra 2011-01-09 08:53:42 UTC
For some time now I cannot use X any more. Not sure whether nouveau driver or X is to blame. Bug report is generated from a remote session using ssh.

Reproducible: Always

Actual Results:  
tail of /var/log/Xorg.0.log:

[  7737.203] (II) NOUVEAU(0): Modeline "1680x1050"x0.0  119.00  1680 1728 1760 1840  1050 1053 1059 1080 +hsyn                                           c -vsync (64.7 kHz)
[  7737.203] (II) NOUVEAU(0): Modeline "1280x1024"x0.0  108.00  1280 1328 1440 1688  1024 1025 1028 1066 +hsyn                                           c +vsync (64.0 kHz)
[  7737.203] (II) NOUVEAU(0): Modeline "1280x960"x0.0  108.00  1280 1376 1488 1800  960 961 964 1000 +hsync +v                                           sync (60.0 kHz)
[  7779.585] [mi] EQ overflowing. The server is probably stuck in an infinite loop.
[  7779.585]
Backtrace:
[  7779.650] 0: /usr/bin/X (xorg_backtrace+0x28) [0x4a2308]
[  7779.650] 1: /usr/bin/X (mieqEnqueue+0x1f3) [0x4a1833]
[  7779.650] 2: /usr/bin/X (xf86PostMotionEventP+0xbe) [0x47ed4e]
[  7779.650] 3: /usr/lib64/xorg/modules/input/evdev_drv.so (0x7f8e64d09000+0x470f) [0x7f8e64d0d70f]
[  7779.650] 4: /usr/bin/X (0x400000+0x6cb77) [0x46cb77]
[  7779.650] 5: /usr/bin/X (0x400000+0x119c89) [0x519c89]
[  7779.650] 6: /lib/libpthread.so.0 (0x7f8e6975d000+0xf4c0) [0x7f8e6976c4c0]
[  7779.650] 7: /lib/libc.so.6 (ioctl+0x7) [0x7f8e689e9c97]
[  7779.650] 8: /usr/lib/libdrm.so.2 (drmIoctl+0x28) [0x7f8e66f92d58]
[  7779.650] 9: /usr/lib/libdrm.so.2 (drmCommandWrite+0x1b) [0x7f8e66f9505b]
[  7779.650] 10: /usr/lib/libdrm_nouveau.so.1 (0x7f8e6694f000+0x32cd) [0x7f8e669522cd]
[  7779.650] 11: /usr/lib/libdrm_nouveau.so.1 (nouveau_bo_map_range+0xfe) [0x7f8e669528ee]
[  7779.650] 12: /usr/lib64/xorg/modules/drivers/nouveau_drv.so (0x7f8e66b55000+0x64ce) [0x7f8e66b5b4ce]
[  7779.650] 13: /usr/lib64/xorg/modules/libexa.so (0x7f8e66512000+0x9eef) [0x7f8e6651beef]
[  7779.650] 14: /usr/bin/X (0x400000+0xdaadd) [0x4daadd]
[  7779.650] 15: /usr/bin/X (0x400000+0xb62c8) [0x4b62c8]
[  7779.650] 16: /usr/bin/X (0x400000+0xb72e5) [0x4b72e5]
[  7779.650] 17: /usr/bin/X (0x400000+0x307b1) [0x4307b1]
[  7779.650] 18: /usr/bin/X (0x400000+0x2498d) [0x42498d]
[  7779.650] 19: /lib/libc.so.6 (__libc_start_main+0xfd) [0x7f8e6893ecdd]
[  7779.650] 20: /usr/bin/X (0x400000+0x24539) [0x424539]


Expected Results:  
As stated, X seems to start but only displays a black screen. The mouse pointer is visible and can be moved around.


Portage 2.1.9.30 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.2, glibc-2.12.2-r0, 2.6.36-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.36-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 09 Jan 2011 07:45:02 +0000
ccache version 3.1.3 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1, 3.1.3
dev-util/ccache:     3.1.3
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.6.8
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -mtune=core2 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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="-O2 -march=core2 -mtune=core2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=" --quiet"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://192.168.1.222/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="nl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://192.168.1.222/gentoo-portage"
USE="X a52 aac acl acpi akonadi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cleartype cli consolekit cracklib crypt cups cxx dbus desktopglobe device-mapper dga directfb doc dri dts dvd dvdr emboss encode exif extras fam fat fbcon ffmpeg firefox flac floppy fontconfig fortran gallium gdbm gdu gif glitz gnutls gphoto2 gpm gstreamer iconv ieee1394 ipv6 jadetex java jpeg jpeg2k kde lcms ldap libnotify lm_sensors logrotate mad mikmod mmx mng modules mp3 mp3tunes mp4 mpeg msn mudflap multilib mysql ncurses network-cron nls nptl nptlonly nsplugin ntfs nvidia offensive ogg opengl openmp pam pango pcre pdf perl phonon plasma png policykit ppds pppd python qt3support qt4 rdesktop rdp readline reiser4 reiserfs sasl sdl semantic-desktop session sms spell sql sse sse2 ssl ssse3 startup-notification svg sysfs syslog tcpd tiff tk toolbar truetype udev unicode usb utils vorbis webkit winpopup x264 xcb xcomposite xinerama xml xorg xulrunner xv xvid zip zlib" ALSA_CARDS="intel-hda" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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" CAMERAS="canon" 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 ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="nl" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="HP" USERLAND="GNU" VIDEO_CARDS="nvidia 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"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) gentoo-dev 2011-01-09 16:27:02 UTC
Please attach the complete Xorg.0.log file to this bug.
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-01-09 16:37:33 UTC
And please also give your dmesg after starting X.
Comment 3 André Terpstra 2011-01-09 17:07:17 UTC
Created attachment 259388 [details]
Xorg.0.log as requested
Comment 4 André Terpstra 2011-01-09 17:43:55 UTC
Created attachment 259394 [details]
The whole dmesg.log, a little more than requested perhaps...
Comment 5 André Terpstra 2011-01-09 18:57:07 UTC
The dmesg log indicates it's a nouveau problem. To exclude some "binary inconsistency" in my system, i first emerge sync'd which brought in new versions of xorg-server and mesa. I then recompiled my kernel, the necessary drivers (nvidia-drivers, nouveau and evdev) and finally xorg-drivers and libdrm (as per the wiki).

It didn't help.

Also, I need to add that sometimes I can watch the first phase of KDE startup (showing the hard disk image) and then the screen goes black. This last time however, the startup just does not proceed any further but I can still see it and move the mouse around. Ctrl+Alt+F2 however doesn't work this time as it did on a previous occasion. Ctrl+Alt+Bksp also never works (I remember having to enable it somewhere). Pressing the on/off button is the only way to bring it down gracefully, I don't know how to recover using an ssh-session (which I can still start).
Comment 6 André Terpstra 2011-01-22 08:38:26 UTC
Hm. I just kept trying while still updating my system. Today suddenly it worked again. No idea why. Here's my emerge --info:

ZeusGentoo2 ~ # emerge --info
Portage 2.1.9.35 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.2, glibc-2.12.2-r0, 2.6.36-gentoo-r6 x86_64)                                                                                                   
=================================================================                                                                                                                                              
System uname: Linux-2.6.36-gentoo-r6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-2.0.1                                                                                                       
Timestamp of tree: Sat, 22 Jan 2011 07:45:01 +0000                                                                                                                                                             
ccache version 3.1.4 [enabled]                                                                                                                                                                                 
app-shells/bash:     4.1_p9                                                                                                                                                                                    
dev-java/java-config: 2.1.11-r3                                                                                                                                                                                
dev-lang/python:     2.7.1, 3.1.3                                                                                                                                                                              
dev-util/ccache:     3.1.4
dev-util/cmake:      2.8.3-r1
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -mtune=core2 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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="-O2 -march=core2 -mtune=core2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=" --quiet"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://192.168.1.222/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="nl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://192.168.1.222/gentoo-portage"
USE="X a52 aac acl acpi akonadi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cleartype cli consolekit cracklib crypt cups cxx dbus desktopglobe device-mapper dga directfb doc dri dts dvd dvdr emboss encode exif extras fam fat fbcon ffmpeg firefox flac floppy fontconfig fortran gallium gdbm gdu gif glitz gnutls gphoto2 gpm gstreamer iconv ieee1394 ipv6 jadetex java jpeg jpeg2k kde lcms ldap libnotify lm_sensors logrotate mad mikmod mmx mng modules mp3 mp3tunes mp4 mpeg msn mudflap multilib mysql ncurses network-cron nls nptl nptlonly nsplugin ntfs nvidia offensive ogg opengl openmp pam pango pcre pdf perl phonon plasma png policykit ppds pppd python qt3support qt4 rdesktop rdp readline reiser4 reiserfs sasl sdl semantic-desktop session sms spell sql sse sse2 ssl ssse3 startup-notification svg sysfs syslog tcpd tiff tk toolbar truetype udev unicode usb utils vorbis webkit winpopup x264 xcb xcomposite xinerama xml xorg xulrunner xv xvid zip zlib" ALSA_CARDS="intel-hda" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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" CAMERAS="canon" 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 ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="nl" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="HP" USERLAND="GNU" VIDEO_CARDS="nvidia 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" 
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY