This is the old SliTaz forum - Please use the main forum.slitaz.org

[SOLVED] Xcompmgr in autostart.sh makes keyboard/mouse unusable
  • ms3811ms3811 July 2010
    I'm using an intel card (945GM chipset). If I enable the shadow effects after login by right-clicking the desktop, Desktop Effects, Activate Shadow, everything works fine and the shadow effects are activated.

    But if I add the line "xcompmgr -cC -t-3 -l-5 -r5" to autostart.sh, the screen freezes after login. The desktop renders, but the mouse cursor is unavailable and the keyboard is not responsive either. This is not a hard freeze, CTRL+ALT+BACKSPACE does kill the window manager and text only works fine. I can also startx as root and it works fine (root does not have xcompmgr activated).

    This is not critical and I can live without the eye candy. But if anyone already knows of a workaround or solution, it would be helpful. The theme I'm using has the same color for lxpanel as for the status bar in many applications, so the shadow is useful in creating a distinction.
  • mojomojo July 2010
    Try sleep 5 && xcompmgr -cC -t-3 -l-5 -r5 to slow down execution.
  • ms3811ms3811 July 2010
    Sleep just delays the inevitable by specified time.

    I looked at Xorg.0.log with and without and this is what I see:

    without the line in autostart.sh:

    ..../excerpt from Xorg.0.log....

    (II) LoadModule: "evdev"

    (WW) Warning, couldn't open module evdev
    (II) UnloadModule: "evdev"
    (EE) Failed to load module "evdev" (module does not exist, 0)
    (EE) No input driver matching `evdev'
    (EE) config/hal: NewInputDeviceRequest failed
    (II) config/hal: Adding input device Video Bus
    (II) LoadModule: "evdev"

    (WW) Warning, couldn't open module evdev
    (II) UnloadModule: "evdev"
    (EE) Failed to load module "evdev" (module does not exist, 0)
    (EE) No input driver matching `evdev'
    (EE) config/hal: NewInputDeviceRequest failed
    (II) config/hal: Adding input device AlpsPS/2 ALPS GlidePoint
    (II) LoadModule: "evdev"

    (WW) Warning, couldn't open module evdev
    (II) UnloadModule: "evdev"
    (EE) Failed to load module "evdev" (module does not exist, 0)
    (EE) No input driver matching `evdev'
    (EE) config/hal: NewInputDeviceRequest failed
    (II) config/hal: Adding input device PS/2 Mouse
    (II) LoadModule: "evdev"

    (WW) Warning, couldn't open module evdev
    (II) UnloadModule: "evdev"
    (EE) Failed to load module "evdev" (module does not exist, 0)
    (EE) No input driver matching `evdev'
    (EE) config/hal: NewInputDeviceRequest failed
    (II) config/hal: Adding input device AT Translated Set 2 keyboard
    (II) LoadModule: "evdev"

    (WW) Warning, couldn't open module evdev
    (II) UnloadModule: "evdev"
    (EE) Failed to load module "evdev" (module does not exist, 0)
    (EE) No input driver matching `evdev'
    (EE) config/hal: NewInputDeviceRequest failed

    ..../end excerpt....

    However, with the line in autoexec.sh, this is what it has:

    ..../begin excerpt....

    (II) LoadModule: "evdev"

    (WW) Warning, couldn't open module evdev
    (II) UnloadModule: "evdev"
    (EE) Failed to load module "evdev" (module does not exist, 0)
    (EE) No input driver matching `evdev'
    (EE) config/hal: NewInputDeviceRequest failed
    (II) config/hal: Adding input device Video Bus
    (II) LoadModule: "evdev"

    (WW) Warning, couldn't open module evdev
    (II) UnloadModule: "evdev"
    (EE) Failed to load module "evdev" (module does not exist, 0)
    (EE) No input driver matching `evdev'
    (EE) config/hal: NewInputDeviceRequest failed
    (II) config/hal: Adding input device AlpsPS/2 ALPS GlidePoint
    (II) LoadModule: "evdev"

    (WW) Warning, couldn't open module evdev
    (II) UnloadModule: "evdev"
    (EE) Failed to load module "evdev" (module does not exist, 0)
    (EE) No input driver matching `evdev'
    (EE) config/hal: NewInputDeviceRequest failed
    (II) config/hal: Adding input device PS/2 Mouse
    (II) LoadModule: "evdev"

    (WW) Warning, couldn't open module evdev
    (II) UnloadModule: "evdev"
    (EE) Failed to load module "evdev" (module does not exist, 0)
    (EE) No input driver matching `evdev'
    (EE) config/hal: NewInputDeviceRequest failed
    (II) config/hal: Adding input device AT Translated Set 2 keyboard
    (II) LoadModule: "evdev"

    (WW) Warning, couldn't open module evdev
    (II) UnloadModule: "evdev"
    (EE) Failed to load module "evdev" (module does not exist, 0)
    (EE) No input driver matching `evdev'
    (EE) config/hal: NewInputDeviceRequest failed
    (II) UnloadModule: "mouse"
    (II) UnloadModule: "kbd"
    (II) intel(0): xf86UnbindGARTMemory: unbind key 0
    (EE) intel(0): I830 Dma Cleanup Failed
    (EE) intel(0): failed to destroy server context
    (II) intel(0): [drm] removed 1 reserved context for kernel
    (II) intel(0): [drm] unmapping 8192 bytes of SAREA 0xf8171000 at 0xb7a75000
    (II) intel(0): [drm] Closed DRM master.

    ....end excerpt....

    If you notice, the modules for "mouse" and "kbd" are unloaded when xcompmgr is activated in autoexec.sh. Any ideas why that would happen? I tried to tail /var/log/messages when running the xcompmgr command manually, and it doesn't do anything. I mean, the effects load correctly and nothing posts to /var/log/messages.
  • ms3811ms3811 July 2010
    I think I must be one of the people with the least attention to detail!!!

    Not sure what causes the "UnloadModule: mouse" and "UnloadModule: kbd" in Xorg.0.log or why that's related to this issue, but the problem turned out to be a missing "&" in the autoexec.sh to make xcompmgr to run as a background process.

    Sorry for wasting everyone's time.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Apply for Membership

SliTaz Social