Package Search
 
Members: 353 | Topics: 767 | Posts: 3211
We welcome our newest member: ClintBarton
Info
» You aren't logged in, login or registerOnline: No members and 5 guests | Time: 21:31
HOWTO: install compiz-fusion - [Nvidia AIGLX]
paldo Support Forum    paldo    General Support
Reply Reply   Subscribe Topic Subscribe Topic
3 posts found.
 HOWTO: install compiz-fusion - [Nvidia AIGLX]
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
Installation

First we install compiz-fusion with:

Code[In neuem Fenster öffnen]
$su
password: enter your root password (default: paldo)
upkg-install compiz-fusion


Then we backup our xorg.conf with:

Code[In neuem Fenster öffnen]
cp /etc/X11/xorg.conf /etc/X11/xorg.conf.withoutcompiz-fusion


Next step is to edit the xorg.conf-file.

Code[In neuem Fenster öffnen]
gedit /etc/X11/xorg.conf


In Screen-Section:

Code[In neuem Fenster öffnen]
DefaultDepth 24


Under Section "Module", make sure that the following lines are included, and add them if they are not:

Code[In neuem Fenster öffnen]
Load "dri"
Load "dbe"
Load "glx"


If there is no Option "XAANoOffscreenPixmaps". Add it to the Device-Section:

Code[In neuem Fenster öffnen]
Section "Device" ## no change
Identifier ##no change
Driver ##no change,whatever this reads is fine
Option "XAANoOffscreenPixmaps" ## add this line!!!!
Screen 0 ##no chnge
EndSection


Tip:

For an Nvidia card:

(I needed to add Option "AddARGBGLXVisuals" "True" to the Device section as well, otherwise I got "no GLXFBConfig for depth 32" errors. This is on a GeForce4 MX 440, also needed on GeForce FX 5600).

And finally, add the following to the bottom of the file, unless it already exists elsewhere:

Code[In neuem Fenster öffnen]
Section "Extensions"
Option "Composite" "Enable"
EndSection


Code[In neuem Fenster öffnen]
Section "DRI"
Mode 0666
EndSection


Then restart your X-Server with CTRL+ALT+BACKSPACE

If there is any error restore your Xorg.conf with:

Code[In neuem Fenster öffnen]
cp /etc/X11/xorg.conf.withoutcompiz-fusion /etc/X11/xorg.conf


If there wasn't an error you can start compiz-fusion with:

Code[In neuem Fenster öffnen]
compiz-manager


Configuration

We will need to create two new files: A startup script and an X session file.

To create the session shell script, open up your favourite text editor (eg gedit) as Root and create a new script named startcompiz-fusion.sh:

Code[In neuem Fenster öffnen]
$su
password: enter your root password
# gedit /usr/bin/startcompiz-fusion.sh


Now enter followed lines and save the file:

Code[In neuem Fenster öffnen]
#!/bin/sh
compiz-manager
sleep 4
exec gnome-session


Alternatively, the last line can read

Code[In neuem Fenster öffnen]
exec dbus-launch --exit-with-session gnome-session


Now you need to make the script executable:

Code[In neuem Fenster öffnen]
chmod a+x /usr/bin/startcompiz-fusion.sh


To create the session, create the file /usr/share/xsessions/compiz-fusion.desktop, and give it the following contents in a text editor (again, as root):

Code[In neuem Fenster öffnen]
[Desktop Entry]
Encoding=UTF-8
Name=Beryl
Exec=/usr/bin/startcompiz-fusion.sh
Icon=
Type=Application


Now when GDM starts, you should have a session called Beryl available for selection; if you log into this session, compiz-fusion will run (via the startcompiz-fusion.sh script) and load GNOME for you. Logging into your normal session will give you a standard, un-accelerated desktop for troubleshooting or running programs which don't play nicely with AIGLX.
Profile   Private Message   E-Mail
Created: 2007-01-26 19:09 | Modified: 2008-09-17 00:29 by Amnon82
Highlight selected Text   Edit   Delete   Quote Reply
 Re: HOWTO: install Beryl on Paldo - [Nvidia AIGLX]
Junior Mitglied
 
 
 
Posts: 22
Registered: 2007-05-08
In my pc, beryl goes slow, but i found a little trick to change this :P
in Beryl Manager...

Main Tab ---> General Options

Now uncheck the following:

Sync to Vblank
Detect Refresh Rate

and change your:

Refresh Rate = 200

source :http://tvease.net/wiki/index.php?title=Tweak_beryl_for_speed
Profile   Private Message
Created: 2007-06-03 07:09
Highlight selected Text   Edit   Delete   Quote Reply
 Re: HOWTO: install compiz-fusion - [Nvidia AIGLX]
Moderator
 
 
Linux-Dude
 
Posts: 1187
Registered: 2006-11-23
I updated the thread from beryl to compiz-fusion.
Profile   Private Message   E-Mail
Created: 2008-09-17 00:30
Highlight selected Text   Edit   Delete   Quote Reply
Subscribe Topic Subscribe Topic
powered by bitron board 1.23a