You are not logged in.

#1 2010-10-30 10:16:45

stolowski
Member
From: Poland, Bydgoszcz
Registered: 2009-09-23
Posts: 18
Website

[SOLVED] Slow X/gdm startup with preload

I've recently discovered (see this thread: https://bbs.archlinux.org/viewtopic.php?id=65178) that preload is causing a noticable delay when gdm/X starts (around 10 secs); I start preload in the background and my deamons list is:
DAEMONS=(syslog-ng dbus !hal @preload @laptop-mode !network !netfs @crond @avahi-daemon @alsa ufw @wicd !networkmanager @cups)

On the other hand, preload seems to speed up GNOME startup a lot.

Do you know any workaround for this problem to benefit from faster GNOME startup and avoid slow gdm startup with preload?

Last edited by stolowski (2010-10-30 20:39:40)

Offline

#2 2010-10-30 12:16:12

Tux the penguin
Member
From: Tomorrow
Registered: 2010-05-25
Posts: 196

Re: [SOLVED] Slow X/gdm startup with preload

I have the exact same problem except I use lxdm and xfce. I don't think the display manager or desktop environment makes any difference as to how fast x starts. You could try enabling hal like it said in the other thread, but it didn't help me. Try disabling preload and see if that makes a difference. It sped up the start of x a little bit for me, but not much. It just notably decreased how fast xfce started.

Last edited by Tux the penguin (2010-10-30 12:21:53)


I don't suffer from insanity. I enjoy every minute of it.
MSI CR600 / 3GB Memory / 320GB HDD / Intel Pentium Dual-Core CPU T4200 @ 2.00 GHz | Archlinux x86_64

Offline

#3 2010-10-30 12:54:08

Tux the penguin
Member
From: Tomorrow
Registered: 2010-05-25
Posts: 196

Re: [SOLVED] Slow X/gdm startup with preload

Are using a laptop? If you are, look at /var/log/Xorg.0.log and see if there are any synaptics touchpad errors.  From another thread

George.Harmony wrote:

I had a similar error. It would find a touchpad at /dev/input/event6 and then again at /dev/input/mouse0.

From what I could figure out. Xorg was applying the synaptic driver to the first instance that was given to it from udev and then when the second instance is givin to it by udev under the mouse0 dev it wasn't there anymore.

My solution was to add this to my  /etc/X11/xorg.conf.d/10-evdev.conf

Section "InputClass"
   Identifier      "disabling synaptic second mouse found"
   MatchProduct    "SynPS/2 Synaptics TouchPad"
   MatchDevicePath "/dev/input/mouse0"
   Option          "Ignore" "on"
EndSection

now my Xorg.0.log looks like this

...
[ 15289.397] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event6)
[ 15289.397] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[ 15289.397] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[ 15289.398] (II) LoadModule: "synaptics"
[ 15289.398] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[ 15289.398] (II) Module synaptics: vendor="X.Org Foundation"
[ 15289.398]     compiled for 1.8.0.902, module version = 1.2.2
[ 15289.399]     Module class: X.Org XInput Driver
[ 15289.399]     ABI class: X.Org XInput driver, version 9.0
[ 15289.399] (II) Synaptics touchpad driver version 1.2.2
[ 15289.399] (**) Option "Device" "/dev/input/event6"
[ 15289.411] (II) SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5472
[ 15289.411] (II) SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4448
[ 15289.411] (II) SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[ 15289.411] (II) SynPS/2 Synaptics TouchPad: finger width range 0 - 0
[ 15289.411] (II) SynPS/2 Synaptics TouchPad: buttons: left right
[ 15289.411] (**) Option "SHMConfig" "on"
[ 15289.411] (**) Option "EmulateTwoFingerMinZ" "0"
[ 15289.411] (**) Option "VertEdgeScroll" "on"
[ 15289.411] (**) Option "VertTwoFingerScroll" "on"
[ 15289.411] (**) Option "HorizTwoFingerScroll" "on"
[ 15289.412] (**) Option "LTCornerButton" "3"
[ 15289.412] (**) Option "LBCornerButton" "2"
[ 15289.412] (**) Option "TapButton1" "1"
[ 15289.412] (**) Option "TapButton2" "2"
[ 15289.412] (**) Option "TapButton3" "3"
[ 15289.420] (--) SynPS/2 Synaptics TouchPad: touchpad found
[ 15289.420] (**) SynPS/2 Synaptics TouchPad: always reports core events
[ 15289.424] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD)
[ 15289.424] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[ 15289.424] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 0
[ 15289.424] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[ 15289.424] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[ 15289.432] (--) SynPS/2 Synaptics TouchPad: touchpad found
[ 15289.432] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[ 15289.432] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass "disabling synaptic second mouse found"
...

Hope this helps.

This helped me. X still starts slower than I would like, but faster than it used to.


I don't suffer from insanity. I enjoy every minute of it.
MSI CR600 / 3GB Memory / 320GB HDD / Intel Pentium Dual-Core CPU T4200 @ 2.00 GHz | Archlinux x86_64

Offline

#4 2010-10-30 20:32:29

stolowski
Member
From: Poland, Bydgoszcz
Registered: 2009-09-23
Posts: 18
Website

Re: [SOLVED] Slow X/gdm startup with preload

Yes, I'm using laptop and you were right about synaptics driver errors! I applied the above workaround and it helped. I've also enabled preload back and there is no delay anymore, so I think the real problem was with synaptics.
Thank you for pointing this out!

Offline

Board footer

Powered by FluxBB