Red Hat Bugzilla – Bug 205982
xterm hangs on xinerama
Last modified: 2007-11-30 17:11:42 EST
Description of problem:
OK, this one is pretty strange.
I am running a dualhead xinerama setup (two graphics cards). Config is attached.
Immediately after logging into gnome it takes several attempts to start a
working xterm. The first attempt usually results in a black window (I use
yellowish-on-black) which does not react to any input and has to be xkill-ed.
The second start attempt gets a bit further and displays some characters of my
prompt and hangs then. The third attempt usually produces a workable xterm. All
further opened xterms work as intended.
The funny thing is that xterm behaves completely normally if I go back to a
single screen X setup (just disabling the second screen)
Version-Release number of selected component (if applicable):
Always (on xinerama)
Steps to Reproduce:
1. configure xinerama setup
2. log in
3. start xterm
Takes several attempts to create a working xterm
Immediate working xterm (as in single screen mode)
Created attachment 135974 [details]
xorg.conf for xinerama
Created attachment 135975 [details]
List of all installed xorg packages (I hope)
Created attachment 135976 [details]
strace output for the first (failed), second (failed) and third (succeeded) xterm start attempt while running xinerama
I didn't manage to reproduce it and the strace logs don't have much difference.
More info would be appreciated.
Did it start with some specific version of xterm? Was it ok in FC5? Have you
more than one CPU?
I just tried to install the xterm packages from FC5 and FC4. Both show the same
So... I am inclined to believe that this is not xterm issue but has something to
do with the rest of X. I can not tell when this behaviour started, since it
started right after adding a second screen.
Is there some kind of "strace for X" that can deliver more information about
what exactly is going on?
Ok, you can compile xterm with tracing enabled:
rpmbuild -bb -D 'enable_trace 1' xterm.spec
xterm compiled with this option will produce Trace-*.out files in current directory.
Created attachment 148002 [details]
Hi, I'm having the same problem. When I run anything what use ncurses
(mc,centericq..) it sometime freeze.
Graphic Driver "fglrx"
xterm-215-4.el5, xterm-223-3.fc7 (both i386, x86_64)
Xdefaults: xterm*scrollBar: False, *background: Black, *foreground: White
I can reproduce this problem on FC7 Test 2. Release is xterm-224-2.fc7.x86_64.
Setup is triple-headed using the latest NVidia driver (1.0-9755), with two
PCI-Express GeForce 7300GS cards. With xinerama switched off, xterm works fine.
I finally reproduced the problem and it looks like duplicate of bug #134930,
reported upstream at https://bugs.freedesktop.org/show_bug.cgi?id=3040.
If you don't need UTF-8 mode, you can avoid the bug with resource:
*** This bug has been marked as a duplicate of 134930 ***
*** Bug 240428 has been marked as a duplicate of this bug. ***