I have the following versions installed:
Code: Select all
[ebuild R ] x11-wm/compiz-quinnstorm-0.0.13.48.1 USE="-debug -gnome svg" 0 kB [3]
[ebuild R ] x11-wm/cgwd-0.55 USE="-debug" 0 kB [3]
[ebuild R ] x11-misc/cgwd-themes-0.16 0 kB [3]
[ebuild R ] x11-misc/cgwd-themes-extra-0.5 0 kB [3]
[ebuild R ] media-libs/mesa-6.5.1_rc2 USE="-debug -doc -hardened -motif nptl" VIDEO_CARDS="-i810 -mach64 -mga -none -r128 -radeon -s3virge -savage -sis -tdfx -trident -via" 0 kB [3]
[ebuild R ] media-libs/glitz-0.5.6 0 kB
[ebuild R ] x11-misc/csm-0.9 0 kB [3]
[ebuild R ] x11-misc/compiz-quinnstorm-plugins-0.20.1 0 kB [3]
Now if I do the following commands in konsole:
Code: Select all
Xgl :1 -ac -accel glx:pbuffer -accel xv -fp ` grep -i fontpath /etc/X11/xorg.conf | egrep -v "[:space:]*#" | sed "s/.\+\"\(.\+\)\"/\1,/g" | xargs echo | sed "s/\ //g" | sed "s/,\$//"` &
DISPLAY=:1 dbus-launch compiz --replace dbus csm &
DISPLAY=:1 dbus-launch cgwd --replace &
Everything works in windowed mode, no problems at all.
So now that everything seems to work I try to setup KDM to start XGL.
I make the file /usr/bin/compiz-decorator with the following: (its executable)
Code: Select all
dbus-launch compiz --replace dbus csm &
sleep 2
dbus-launch cgwd --replace &
I add
to
/etc/env.d/99kde-env and run
env-update. ( I tried /usr/bin/compiz-decorator also)
I edit /usr/kde/3.5/share/config/kdm/kdmrc and change the ServerCmd to:
Code: Select all
ServerCmd=/usr/bin/Xgl -br -ac -accel glx:pbuffer -accel xv:pbuffer -fp `grep -i fontpath /etc/X11/xorg.conf | egrep -v "[:space:]*#" | sed "s/.\+\"\(.\+\)\"/\1,/g" | xargs echo | sed "s/\ //g" | sed "s/,\$//"`
ServerTimeout=30
I also have
Code: Select all
# test for an existing bus daemon, just to be safe
if test -z "$DBUS_SESSION_BUS_ADDRESS" ; then
# if not found, launch a new one
eval `dbus-launch --sh-syntax --exit-with-session`
fi
in
/usr/kde/3.5/env/start_dbus_session_bus.sh to start a user level dbus daemon. (yes its executable)
When I log out and back into I have no window manager.
Any ideas?
I have seen people suggesting the LD_PRELOAD= needs to be set to the Mesa opengl libraries, but if that is true, why would it work from the console in window mode without it? (I tried anyways and it was same result.)