Bug#233933: X server 4.3 stalls for a few seconds when switching from console back to X
On Fri, Feb 20, 2004 at 09:04:12PM +0100, Josip Rodin wrote:
> Package: xserver-xfree86
> Version: 4.3.0-0pre1v5
Here: 4.3.0-2
> The new (4.3) X server seems to have a nasty habit of stalling transitions
> from the console (640x400) to X (1024x768). Everything on the X display sits
> there for five or six seconds, at which point it resumes normally.
[snip]
> The problem disappears upon reverting to xserver-xfree86 4.2.1-16. That is,
> the pause after switching back from console reverts to being minute (adj.),
> probably as long as the time needed to actually re-render the screen.
Behaviour confirmed.
> There also seemed to be a similar longer pause when the X server would be
> started for the first time, but I can't say whether this is just a
> subjective observation. I also seem to recall seeing it on some of the other
> machines where I've installed X 4.3 from experimental, but I'm not sure.
Confirmed, too.
I tried to track down the problem. I found out that XFree86 spends
lots of time in ps2Reset() at /hw/xfree86/input/mouse/pnp.c.
My pointer-device was configured to take data from gpm:
Section "InputDevice" Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/gpmdata"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "true"
Option "ZAxisMapping" "4 5"
EndSection
After changing the device to "/dev/psaux" _and_ stopping gpm, the problem
went away.
My /etc/gpm.conf looks like that (with package version 1.19.6-12.1):
device=/dev/psaux
repeat_type=raw
type=ps2
Something in the communication between gpm and X goes wrong.
CC set do Maintainer of gpm.
Regards,
Raphael
Reply to: