Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 295953 - >=xorg-server-1.7.3, kde-meta-4.3.4: crash when xinerama is enabled and moving mouse pointer to second screen
Summary: >=xorg-server-1.7.3, kde-meta-4.3.4: crash when xinerama is enabled and movin...
Status: RESOLVED DUPLICATE of bug 291620
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL: http://bugs.freedesktop.org/show_bug....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-06 13:04 UTC by Urs Hunkeler
Modified: 2010-01-18 16:52 UTC (History)
2 users (show)

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


Attachments
xorg.conf configuration file used (xorg.conf,7.64 KB, text/plain)
2009-12-06 13:15 UTC, Urs Hunkeler
Details
xserver log file with server crash error message at the end (Xorg.0.log.old,17.43 KB, text/plain)
2009-12-06 13:17 UTC, Urs Hunkeler
Details
xorg.conf which worked before 21 Dec for rob (xorg.conf,9.31 KB, text/plain)
2009-12-23 16:30 UTC, rob miller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Urs Hunkeler 2009-12-06 13:04:29 UTC
I have an nvidia 9800 GTX with two screens attached. After an update about three weeks ago the graphical interface crashes when I move the mouse to the second screen in KDE. When I disable xinerama in xorg.conf, the system does not crash anymore but the second screen is not usable by KDE anymore.



Reproducible: Always

Steps to Reproduce:
1. nvidia 9800 glx card with nvidia drivers and two screens
2. enable xinerama
3. start KDE

Actual Results:  
The xserver crashes and Xorg.0.log reports:

[mi] EQ overflowing. The server is probably stuck in an infinite loop.

Backtrace:
0: /usr/bin/X (xorg_backtrace+0x38) [0x80a9700]
[mi] EQ overflowing. The server is probably stuck in an infinite loop.

Backtrace:
0: /usr/bin/X (xorg_backtrace+0x38) [0x80a9700]
[mi] EQ overflowing. The server is probably stuck in an infinite loop.

Backtrace:
0: /usr/bin/X (xorg_backtrace+0x38) [0x80a9700]




Expected Results:  
No error message and system not crashing

The following packages and their versions might be relevant:
xorg-server-1.7.3
kde-meta-4.3.4
nvidia-drivers-190.42-r3
gentoo-sources-2.6.32



The problem might be related to the following two bugs (although I think they are not the same, especially since reordering the screens in the xorg.conf file did not help):
http://bugs.gentoo.org/show_bug.cgi?id=269344
http://bugs.gentoo.org/show_bug.cgi?id=291620



Portage 2.1.7.10 (default/linux/x86/10.0, gcc-4.4.2, glibc-2.11-r1, 2.6.32-gentoo i686)
=================================================================
System uname: Linux-2.6.32-gentoo-i686-Intel-R-_Core-TM-2_Quad_CPU_Q9400_@_2.66GHz-with-gentoo-2.0.1
Timestamp of tree: Sun, 06 Dec 2009 10:45:02 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 1.3.7-r1, 2.1.10
dev-lang/python:     2.4.4-r13, 2.5.4-r2, 2.6.4, 3.1.1-r1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.3
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.64
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/"
LDFLAGS="-Wl,-O1"
LINGUAS="de fr en"
MAKEOPTS="-j5"
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://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow X acl alsa berkdb bzip2 cdr cli cracklib crypt cups cxx dri dvd dvdr dvdread foomaticdb fortran gdbm glx gpm gtk iconv ipv6 java kde mmx mmxext modules mudflap ncurses nls nptl nptlonly nvidia offensive openmp pam pcre perl ppds pppd python qt3support qt4 readline reflection scanner session spl sse ssl sysfs tcpd unicode usb x86 xine xinerama xorg xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de fr en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Urs Hunkeler 2009-12-06 13:15:25 UTC
Created attachment 212221 [details]
xorg.conf configuration file used

The screens should be sorted according to the fix of bug http://bugs.gentoo.org/show_bug.cgi?id=291620
Comment 2 Urs Hunkeler 2009-12-06 13:17:25 UTC
Created attachment 212223 [details]
xserver log file with server crash error message at the end

When the server crashes (actually dead-locks), the cursor jumps between the two screens. "/etc/init.d/xdm stop" fails at stopping the xserver if this happens.
Comment 3 rob miller 2009-12-23 16:23:16 UTC
I also have this behavior on a 2x 8600gts card / 4 monitor system.  In my case it would only hang occasionally but with the same mouse pointer jumping between screens 3 and 4.  It seemed to happen less when KDE moved from 4.3.2 to 4.3.3; before that change I moved to xfce for a while and did not see the problem.  

On 21 December I did an emerge --sync and emerge -uNDv world, resulting in the following packages being installed/updated:

gnome-extra:gnome-power-manager-2.28.2:20091221-120350.log
gnome-extra:polkit-gnome-0.95:20091221-115843.log
gnome-extra:polkit-gnome-0.95:20091221-115711.log
gnome-extra:polkit-gnome-0.95:20091221-113028.log
gnome-extra:polkit-gnome-0.95:20091221-112920.log
x11-base:xorg-server-1.7.3.901-r1:20091221-112535.log
gnome-extra:polkit-gnome-0.95:20091221-091756.log
sys-apps:hal-0.5.14:20091221-091703.log
sys-auth:consolekit-0.4.1:20091221-091518.log
www-plugins:adobe-flash-10.0.42.34:20091221-085952.log
app-editors:emacs-23.1-r2:20091221-085939.log
x11-libs:gtk+-2.18.5:20091221-085441.log
sys-kernel:tuxonice-sources-2.6.32:20091221-081754.log
x11-apps:xdriinfo-1.0.3:20091221-081610.log
x11-apps:xinit-1.2.0-r3:20091221-075052.log
x11-libs:libdrm-2.4.15:20091221-073603.log
sys-kernel:vanilla-sources-2.6.33_rc1:20091221-073327.log
net-misc:ntp-4.2.4_p7-r1:20091221-073110.log
sys-apps:pciutils-3.1.4:20091221-072918.log

last update prior to that was 9 december, at which time nvidia-drivers-190.42-r3 was installed and everything working except for the occasional problem described here.  After the 21 December update, the problem is continuous, to the point that X crashes from xdm or kdm with xinerama and multiple screens enabled by moving the pointer from one screen to another or activating the window manager menu in kdm.  I have downgraded pciutils, libdrm, xinit, xdriinfo, gtk+, consolekit, hal, and xorg-server from the above list, as well as tried various versions of nvidia-drivers, but am unable to get back to a working xinerama setup.  I had not noticed the 'EQ overflowing' error in Xorg.0.log previously, but do have it now.  I am unable to compile xorg-server-1.6.5 for reasons I've not yet worked out, so all this is on xorg-1.7.  yes, I did revdep-rebuild and python-updater.


Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.32rtm x86_64)
=================================================================
System uname: Linux-2.6.32rtm-x86_64-Dual-Core_AMD_Opteron-tm-_Processor_2216_HE-with-gentoo-1.12.13
Timestamp of tree: Wed, 23 Dec 2009 13:00:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 1.3.7-r1, 2.1.9-r1
dev-lang/python:     2.4.6, 2.5.4-r3, 2.6.4
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=opteron"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=opteron"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en_GB en"
MAKEOPTS="-j5"
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"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X X509 Xaw3d a52 aac accessibility acl acpi aften alsa amd amd64 amrnb apache2 applet audiofile bash-completion beagle berkdb bluetooth branding bzip2 cairo cdda cddb cdio cdparanoia cdr cdrom cgi cli consolekit cracklib crypt css cups cupsddk cxx dbi dbus dia doc dri dts dvd dvdnav dvdr dvdread eds emacs emboss encode evo exif fam fat fbcon fbdev fbsplash ffmpeg firefox flac fontconfig foomaticdb fortran gd gdbm gif gimp glut gmedia gnokii gnome gnuplot gphoto2 gpm gps gs gsf gstreamer gtk gtkhtml hal hddtemp iconv id3tag ieee1394 imagemagick inkjar ipod iptc irmc jack java javascript jpeg kde kdepim kdrive kipi lame lapack lcms ldap libass libnotify libsamplerate libv4l2 libvisual linuxkeys live lm_sensors mad matroska mbox mikmod mjpeg mmx mmxext mng module modules mono mozdevelop mozilla mp3 mp4 mpeg mpeg2 mplayer msn mudflap multilib mysql ncurses network nls nntp nptl nptlonly nsplugin ntfs obex offensive ogg opengl openmp pam pcre pda pdf perl perlsuid php plasma plotutils plugins png pnm policykit posix postgres postscript ppds pppd prediction python qt3support qt4 quicktime raw readline realmedia reflection rtc rtsp samba scanner sdl sdl-image seamonkey session sift slang sms sndfile snmp sockets sound spell spl sql sqlite sse sse2 ssl startup-notification stream svg swat sysfs taglib tcl tcpd theora thunar tiff tk toolkit-scroll-bars truetype twolame unicode upnp usb v4l v4l2 vcd vcdinfo vcdx vhosts vlm vorbis webkit wifi wmf wxwindows x264 xcomposite xfce xgetdefault xine xinerama xinetd xml xmp xorg xpm xscreensaver xulrunner xv xvid yahoo zip zlib" ALSA_CARDS="hda-intel usb-audio" 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 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" ELIBC="glibc" INPUT_DEVICES="evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nv nvidia fbdev vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Comment 4 rob miller 2009-12-23 16:30:56 UTC
Created attachment 213953 [details]
xorg.conf which worked before 21 Dec for rob
Comment 5 Tim Yamin 2009-12-29 19:01:11 UTC
This is a duplicate of bug #291620.
Comment 6 rob miller 2009-12-29 19:21:40 UTC
I have successfully reverted to xorg-server 1.6.5 using the steps at 

http://forums.gentoo.org/viewtopic-t-799568-highlight-xorg.html

and currently have xinerama back on 4 screens even though  

>=x11-base/xorg-server-1.7.3.901-r1

is the only relevant line remaining in package.mask.  I was successfully using 1.7.x before this release, but the previous 1.7 versions are apparently no longer in portage.  

I agree that the 'mouse pointer oscillates between two screens with X crash' is the same as bug #291620, I think mine may be a different/new one - more like 'xorg server no longer works with 2 video cards as of 1.7.3.901-r1'.  Guess I will go search the server mailing lists.
Comment 7 Tim Yamin 2009-12-31 01:09:21 UTC
Rob - I'm using xorg-server-1.7.3.902 and it's working fine for me. You probably need to do two things:

1) Apply the patch here: http://bugs.freedesktop.org/show_bug.cgi?id=24986
2) Also, apply the patch here: http://www.nvnews.net/vbulletin/showthread.php?t=142656 or downgrade to 2.6.31
Comment 8 rob miller 2010-01-04 15:44:03 UTC
Score!  Thank you *very* much, indeed with both patches applied I am working on all four monitors with xorg-server 1.7.3.902 and nvidia-drivers 190.53.  I applaud you.
Comment 9 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-01-14 18:41:21 UTC
Doess this problem still exist with x11-base/xorg-server-1.7.4?
Comment 10 rob miller 2010-01-15 13:26:35 UTC
no, based on 5 minutes of testing it would appear that 1.7.4 does not have the bug and is stable.  I did have to apply the 
http://www.nvnews.net/vbulletin/showthread.php?t=142656
patch referenced above first.  
Comment 11 Tim Yamin 2010-01-18 00:00:17 UTC
I could still get it to deadlock with 1.7.4 by dragging windows around for about a minute. With the FD bug 24986 patch applied it's fine...
Comment 12 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-01-18 16:52:51 UTC
Lets mark this as a dupe. Thanks for pointing that out, Tim.

*** This bug has been marked as a duplicate of bug 291620 ***