PDA

View Full Version : How to startkde with gentoo xgl+compcomm+ati(xpress 200M)?


redwood
June 18th, 2007, 04:04 PM
I've installed compcomm* from xeffects overlay for ~amd64 gentoo system with out errors.

I want to try starting xnest xgl session with kde and compcomm.

If I try to start xgl+kde+cc with the following script:

#cat /usr/local/bin/start_xglkdecc.sh
#!/bin/bash
/usr/bin/Xgl :$1 -br -ac -accel xv:pbuffer -accel glx:pbuffer &; sleep 4
DISPLAY=:$1 dbuslaunch="`which dbus-launch 2>/dev/null`"
if [ -n "$dbuslaunch" ] && [ -x "$dbuslaunch" ] && [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
eval `$dbuslaunch --sh-syntax --exit-with-session`
export DBUS_SESSION_BUS_ADDRESS; export DBUS_SESSION_BUS_PID
fi
DISPLAY=:$1 startkde & LD_LIBRARY_PATH=/usr/lib/opengl/xorg-x11/lib DISPLAY=:$1 compiz --replace --sm-disable --indirect-rendering ccp &; sleep 5
DISPLAY=:$1 emerald &


Things just kind of hang when starting kde (A blue screen with kde swish)
If I then run Kristian's startcc script: http://gitweb.opencompositing.org/?p=us ... er;hb=HEAD (http://gitweb.opencompositing.org/?p=users/kristian/compiz-scripts;a=blob_plain;f=manager/compiz-manager;hb=HEAD)

DISPLAY=:1 /usr/local/bin/startcc

then compiz works with emerald decorators, wobbly windows, rotating cube, transparency, zoom, etc.

The problem is that communication with KDE is screwed up.
If I open a konsole and type some command "ls" I can't see what I've typed.
But if I left-click on the konsole then the output of "ls" shows up in the window.
Also, the kicker panel doesn't work and if I minimize a window I can't restore it from the kicker panel.

I've also tried setting KDEWM="some script to start wm" in /etc/env.d/99kde-env
or in my start_xglkdecc script.
but then KDE hangs with a complaint about another running window manager?


I'm running gentoo ~amd64 on an HP SE L2000 laptop with radeon xpress 200M video
linux-2.6.20-gentoo-r7
xgl-0.0.1_pre20070105
ati-drivers-8.37.6-r1
xorg-x11-7.2
mesa-6.5.3
compcomm-9999-r2
compcomm-plugins-main-9999
compcomm-plugins-extra-9999
compcomm-plugins-unsupported-9999
emerald-9999