You are not logged in.
Hi!,
does anyone knows how to (or if it's possible) run compiz-git without xgl nor aiglx? (using the new nvidia drivers), I know this is possible with beryl, but compiz-git won't run ok if xgl isn't loaded, it will show only a black screen with some white rectangles where the windows are supposed to be.
I love compiz-git, please help me
thanks a lot!
silencer
Offline
bump.
Offline
You need the nVidia beta drivers with support for AIGLX, I think.
Offline
well, no you do need AIGLX.
Offline
does anyone have a pkgbuild for compiz to be compiled against the nvidia drivers for aiglx?
Offline
This is a modified version of startxgl script I made to run compiz against Nvidia beta driver libs instead Xgl mesa
#!/bin/bash
USE_COLOR=1
msg() {
if [ $USE_COLOR -eq 1 ]; then
echo -e "33[1;32m==>33[1;0m 33[1;1m$133[1;0m" >&2
else
echo "==> $1" >&2
fi
}usage() {
echo "Usage: startnv [display number] [window manager] [gfx]"
echo
echo " Command line arguments are optional."
echo " Default [display number] is 1."
echo " [window manager] can be: 'gnome', 'xfce' (no session), 'xfce-svn' (no session), or 'xfce-session'. Default is 'gnome'."
echo " [gfx] values are 'ati', 'nvidia' or 'other'. Default is 'other'."
}if [ "$1" = "-h" -o "$1" = "--help" ]; then
usage
exit 0
elif [ -z "$1" ]; then
xgldisplay=1
else
xgldisplay=$1
fixinit -- :0 &
sleep 3
msg "Starting Compiz (window and composite manager)"
DISPLAY=:$xgldisplay LD_LIBRARY_PATH=/usr/lib/ LD_PRELOAD=/usr/lib/libGL.so.1.0.9625 compiz --replace miniwin decoration transset state wobbly fade minimize cube rotate zoom scale move resize place switcher trailfocus water bs &sleep 3
if [ "$2" = "xfce" ]; then
msg "Starting xfce-mcs-manager"
DISPLAY=:$xgldisplay xfce-mcs-manager
msg "Starting gnome-window-decorator"
DISPLAY=:$xgldisplay gnome-window-decorator &
msg "Starting xftaskbar4, xfdesktop and xfce4-panel"
DISPLAY=:$xgldisplay xftaskbar4 &
DISPLAY=:$xgldisplay xfdesktop &
DISPLAY=:$xgldisplay exec xfce4-panel
elif [ "$2" = "xfce-svn" ]; then
msg "Starting xfce-mcs-manager"
DISPLAY=:$xgldisplay xfce-mcs-manager
msg "Starting gnome-window-decorator"
DISPLAY=:$xgldisplay gnome-window-decorator &
msg "Starting xfdesktop and xfce4-panel"
DISPLAY=:$xgldisplay xfdesktop &
DISPLAY=:$xgldisplay exec xfce4-panel
elif [ "$2" = "xfce-session" ]; then
msg "Starting gnome-window-decorator"
DISPLAY=:$xgldisplay gnome-window-decorator &
msg "Starting xfce4-session"
DISPLAY=:$xgldisplay exec xfce4-session
else
msg "Starting gnome-window-decorator"
DISPLAY=:$xgldisplay gnome-window-decorator &
msg "Starting gnome-session"
DISPLAY=:$xgldisplay exec gnome-session
fi
Save this bash script to a file like "startnv", chmod it to 755 and start your X session with "startnv 0"
For me, it doesnt work well, I get choppy windows and strange errors but at least its an easy way to get direct rendering working.
I dont know you guys but I cant run both Doom III and Quake 3 at the same time looking perfectly with compiz running on Xgl, but I can do it with Nvidia beta drivers now -although as I said, I have lot of windows bugs...
I wish someone could explain us more about using compiz-git --not beryl-- WITH OUT Xgl


Offline
You don't need XGL anymore. All you have to do is to add this to xorg.conf.
Option "AddARGBGLXVisuals" "1"and say goodbye to any ugly xgl startup scripts. your good old X (but only if it's the shiny new 7.1
) will do the trick.
you might also want to try those options:
Option "DamageEvents" "1"
Option "DisableGLXRootClipping" "1"the first could speed up your compositor of choice, and if you are using an old build of compiz (one that dosen't support the --use-cow option), you should add the second line.
Someday, I'll be a real boy!
Offline
"DamageEvents" are enabled by default on new NVIDIA drivers (it is only disabled if you are using MultiGPU or SLI).
Offline
You don't need XGL anymore. All you have to do is to add this to xorg.conf.
Option "AddARGBGLXVisuals" "1"and say goodbye to any ugly xgl startup scripts. your good old X (but only if it's the shiny new 7.1
) will do the trick.
you might also want to try those options:
Option "DamageEvents" "1" Option "DisableGLXRootClipping" "1"the first could speed up your compositor of choice, and if you are using an old build of compiz (one that dosen't support the --use-cow option), you should add the second line.
Thanks aviad. Could you tell how to launch compiz-git without startxgl script? because I get no window decoration launching compiz-git from an already running gnome-session.
Offline
Thanks aviad. Could you tell how to launch compiz-git without startxgl script? because I get no window decoration launching compiz-git from an already running gnome-session.
Have you ran gwd/yawd/cgwd/whatever-wd-you-have?
In case you did not, you should create a very simple file:
#!/bin/bash
compiz --replace --use-cow miniwin decoration transset state wobbly fade minimize cube rotate zoom scale move resize place switcher trailfocus water bs &
gtk-window-decorator --replacechmod it, and add it to gnome session.
Another option you have, is installing beryl (it can co-exist with compiz, AFAIK) and simply adding beryl-manager to run at startup.
Happy GLXing! ![]()
Someday, I'll be a real boy!
Offline
I made it work starting compiz in that way and configuring correctly xorg.conf, thanks aviad.
Another problem I have now, that I suppose its because the drivers are in beta stage, is that when I change to another terminal ( press ctrl + alt + F1 ) and then switch back to X ( ctrl + alt + F7 ) I get a blank screen with the cursor still running.
Offline
Yes same here.This is nvidia drivers bug ![]()
Offline