Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
AIGLX/Compiz-fusion bequem deaktivieren/aktivieren
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Simonheld
Apprentice
Apprentice


Joined: 20 Nov 2005
Posts: 151
Location: Deepest Black Bavaria

PostPosted: Sun Dec 02, 2007 2:35 pm    Post subject: AIGLX/Compiz-fusion bequem deaktivieren/aktivieren Reply with quote

hallo ich hab seit kurzem compiz-fusion mit AIGLX am Laufen was mir auch gut gefällt ... allerdings musste ich feststellen, dass es unmöglich geworden ist ein einfaches spiel wie broodwar zu spielen, da anscheinend die Grafikkarte vollends ausgelasstet ist (zumindest schätze ich, dass das der grund ist), gibt es eine bequeme möglichkeit compiz vor Spielstart zu deaktivieren wie z.B. unter ubuntu mittels "Desktop-Effects" ohne umständlich auf config-files zu operieren ?
Back to top
View user's profile Send private message
Finswimmer
Bodhisattva
Bodhisattva


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Sun Dec 02, 2007 2:43 pm    Post subject: Reply with quote

Fusion-icon installieren.
Ist aber im Moment nur im "xeffects" Overlay enthalten.

Oder du setzt den Aufruf windowdecorator --replace kwin vor dein Spiel.
(Weiß nicht, ob der so heißt, kannst du aber rausfinden über ps aux |grep emerald)
Dann einfach anstelle von emerald kwin oder sonstige Decorator setzen.

Tobi
_________________
Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke
Back to top
View user's profile Send private message
Simonheld
Apprentice
Apprentice


Joined: 20 Nov 2005
Posts: 151
Location: Deepest Black Bavaria

PostPosted: Sun Dec 02, 2007 3:00 pm    Post subject: Reply with quote

hm... ich versteh nicht ganz wieso das die Graka entlasten sollte .... kde läuft ja trotzdem im Hintergrund noch mit AIGLX oder?
Back to top
View user's profile Send private message
Finswimmer
Bodhisattva
Bodhisattva


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Sun Dec 02, 2007 3:09 pm    Post subject: Reply with quote

Simonheld wrote:
hm... ich versteh nicht ganz wieso das die Graka entlasten sollte .... kde läuft ja trotzdem im Hintergrund noch mit AIGLX oder?


Soweit ich weiß, eben nicht. Die Erweiterung ist zwar aktiviert, aber sie wird durch Kwin nicht mehr genutzt.
Kann mich aber auch irren, da ich es mit den nvidia-drivers direkt mache.

Tobi
_________________
Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke
Back to top
View user's profile Send private message
Simonheld
Apprentice
Apprentice


Joined: 20 Nov 2005
Posts: 151
Location: Deepest Black Bavaria

PostPosted: Sun Dec 02, 2007 3:10 pm    Post subject: Reply with quote

ich versuchs einfach mal ... danke
Back to top
View user's profile Send private message
Simonheld
Apprentice
Apprentice


Joined: 20 Nov 2005
Posts: 151
Location: Deepest Black Bavaria

PostPosted: Sun Dec 02, 2007 3:41 pm    Post subject: Reply with quote

also "kwin --replace" machts ...
jetzt wärs nur noch schön wenn man nach beenden des spiels wieder zurück könnte ohne "strg+alt+backspace" ... eben grad hat sich irgendwas aufgehängt beim versuch mit "emerald --replace"
Back to top
View user's profile Send private message
blice
Guru
Guru


Joined: 12 Feb 2005
Posts: 598
Location: D- 26188

PostPosted: Sun Dec 02, 2007 4:14 pm    Post subject: Reply with quote

Ich habe zwar auch Compiz-Fusion installiert, aber starten tue ich es nur alle JubelJahre wenn "angeben" will..

Effektiv stören die Effekte beim Arbeiten, und wie schon o.g. gehen Spiele nur sehr mühsam (zb NeverWinterKnights).

Ich nutze Xfce4 und habe dank des "xcomposite" mit echten transparenten Fenstern.

ps: bei "compiz-start" brauchst du kein --replace

also kwin/metacity/xfwm4 für Spiele einschalten , dann das Spiel geniessen, und anschliessend "compiz-start"
_________________
Gentoo seit 2004.3
Skype: bodokhan
SecondLife: Bodokhan Fall
Email: blice@gmx.de
Back to top
View user's profile Send private message
Simonheld
Apprentice
Apprentice


Joined: 20 Nov 2005
Posts: 151
Location: Deepest Black Bavaria

PostPosted: Sun Dec 02, 2007 4:23 pm    Post subject: Reply with quote

also "compiz-start" gibts bei mir nicht , "compiz start" geht nicht und "compiz --replace" führt zum absturz :D
Back to top
View user's profile Send private message
Finswimmer
Bodhisattva
Bodhisattva


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Sun Dec 02, 2007 4:36 pm    Post subject: Reply with quote

@Simon: Was ist, wenn du fusion-icon installierst?
_________________
Bitte auf Rechtschreibung, korrekte Formatierung und Höflichkeit achten!
Danke
Back to top
View user's profile Send private message
blice
Guru
Guru


Joined: 12 Feb 2005
Posts: 598
Location: D- 26188

PostPosted: Sun Dec 02, 2007 6:03 pm    Post subject: Reply with quote

Dieses Script wurde bei mir mit installiert.

Code:

bodo@localhost ~ $ cat /usr/bin/compiz-start
# compiz-start script
#
# hacky autodetection of neccessary options for XGL/AIGLX/NVIDIA
#
# Hanno Boeck, http://www.hboeck.de/
#
# Licensed under the same conditions as compiz itself (MIT or GPL)

if [ ! -x /usr/bin/glxinfo ]; then
        echo "glxinfo not found, please install mesa-progs."
        exit -1
fi

GLX_WITH_DIRECT=`glxinfo|grep -c GLX_EXT_texture_from_pixmap`
GLX_WITH_INDIRECT=`LIBGL_ALWAYS_INDIRECT=1 glxinfo|grep -c GLX_EXT_texture_from_pixmap`
GLX_RENDER=`glxinfo|grep -c "OpenGL renderer string: Mesa GLX Indirect"`


COMPIZ_OPTIONS="--replace"

if [ $GLX_WITH_DIRECT -eq 3 ]; then
        if [ $GLX_RENDER -eq 0 ]; then
                echo NVIDA detected
                export __GL_YIELD="NOTHING"
        else
                echo XGL detected
        fi
elif [ $GLX_WITH_INDIRECT -eq 3 ]; then
        echo AIGLX detected
        export LIBGL_ALWAYS_INDIRECT=1
fi

if [ ! -z $KDE_FULL_SESSION ] && [ -x /usr/bin/kde-window-decorator ]; then
        echo Using KDE decorator
        kde-window-decorator --replace &
else
        echo Using GTK decorator
        gtk-window-decorator --replace &
fi

compiz $COMPIZ_OPTIONS gconf move resize minimize place decoration wobbly fade cube rotate scale switcher zoom dbus



Code:

bodo@localhost ~ $ equery f compiz | grep /usr/bin/
/usr/bin/compiz
/usr/bin/compiz-start
/usr/bin/gtk-window-decorator

_________________
Gentoo seit 2004.3
Skype: bodokhan
SecondLife: Bodokhan Fall
Email: blice@gmx.de
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum