easy Howto AIGLX + Compiz on Ubuntu Edgy/Debian Etch/Sid and GNOME

Status
Not open for further replies.

praka123

left this forum longback
I configured AIGLX with intel 915GV onboard GFX using the following howto found on
*wizah.blogspot.com/2006/10/debian-how-to-aiglx-compiz.html
You've got this Debian machine, and yet you want to use the famous "3D desktop" everyone's talking about ?



On Debian Etch (or Sid), it is surprisingly easy to configure a "3D desktop".

Here is how to do it.


* Prerequisites


This guide assumes that you have direct rendering enabled. In other words, the output of

glxinfo | grep direct



should say (if glxinfo doesn't work, make sure you have the package mesa-utils installed) :

direct rendering: Yes



If not, make sure your card is properly configured and that the drivers for it are rightly set up. If you need help about that, refer to the tutorial on NVIDIA drivers or the one on ATI drivers.


* xorg.conf



A few changes have to be made to the file /etc/X11/xorg.conf.

In Section "Module", make sure you have

Load "dbe"


in first position.

In Section "Device", ensure you have

Option "XAANoOffscreenPixmaps" "true"


in last position. Plus, if you don't already have a Section "Extensions", add one somewhere (still in your xorg.conf) :

Section "Extensions"
Option "Composite" "Enable"
EndSection




Also, NVIDIA users should use at least the 1.0-9629 version of the driver for AIGLX to work. and make sure that they have those 2 lines in the Section "Screen" of their xorg.conf file :

Option "AddARGBGLXVisuals" "true"
DefaultDepth 24



As well as this line in Section "Device" :

Option "AllowGLXWithComposite" "true"




* AIGLX



Starting with xorg 7.1, AIGLX is integrated in the X server. Also, it should get loaded automatically. Ensure that it does :

cat /var/log/Xorg.0.log | grep -i aiglx


which should say (==) AIGLX enabled. If it doesn't get loaded, you can force it by adding :

Option "AIGLX" "true"


to Section "ServerLayout" of your /etc/X11/xorg.conf.


* Compiz


Compiz's installation is quite straight forward. First install the required packages :

sudo apt-get install compiz



Then, add Compiz to your desktop environment (Gnome, KDE, or Xfce4) startup script.


Gnome

Go in Desktop -> Preferences -> Sessions. Then choose the Startup Programs tab and add an entry for Compiz :

compiz --replace --fast-filter
...........................
* Tips


You can view my xorg.conf here.

Issuing this command :

grep -A 2 '<' /usr/share/gconf/schemas/compiz.schemas


will give you a complete list of the Compiz shortcuts.

If you get any weird issues with Compiz(ie windows' borders disapear), simply erase the gconf entry of compiz :

rm -r ~/.gconf/apps/compiz/



and restart GNOME.
known working:
ATI: Radeon 7000 through X850 (r100 through r400 generations)
Intel: i830 through i945
nVidia: all cards supported by the driver 1.0-9625 or higher

And for Ubuntu Edgy details below link will be useful.
*gandalfn.wordpress.com/howto/howto-compiz-aiglx-on-edgy/

I know about Beryl stuff exists.any easy Beryl configuratiom HW2 and beryl repos for debian and ubuntu for intel 915 boards.pls discuss here.
 
Last edited:
S

sariq

Guest
oops now i see why people prefer nano over gedit :)

will it work on my laptop with celeron 1.5GHz / Intel 915
 

mediator

Technomancer
sariq said:
oops now i see why people prefer nano over gedit :)

will it work on my laptop with celeron 1.5GHz / Intel 915
My Laptop has 1.6 GHz/Intel 915/512 MB RAM. It works awesome.

Here are my screen shots.
 
S

sariq

Guest
its working now aiglx+beryl. compiz have some problems - windows borders were missing.

how to screen shots of cube effect - print screen doesnt work while pressing other keys
 

mediator

Technomancer
^^U must have mixed/started beryl and compiz together. I faced problem too when I tried to install compiz after beryl. But soon realised the problem and uninstalled compiz.

Neways to take the screenshot use ksnapshot, give the timing delay in it like 4 seconds or 10 seconds wateva and then rotate the cube. It will take the snapshot after the given delay. Simple!! :cool:
 
OP
praka123

praka123

left this forum longback
easy Howto AIGLX + Beryl on Ubuntu Edgy and GNOME

Beryl+AIGLX

OK.experiments time!assuming u have DRI(direct rendering support!)
Code:
glxinfo | grep direct
if above got dri=yes.
I have tried the Beryl+AIGLX on my Ubuntu Edgy.here is my brief howto for intel 915G board on-board GFX card users:
First i added the beryl-svn repo to the end of my /etc/apt/sources.list

Code:
~$sudo gedit /etc/apt/sources.list
deb *download.tuxfamily.org/3v1deb edgy beryl-svn
then installed beryl metapackage.
Code:
~$sudo apt-get update
~$sudo apt-get install beryl emerald emerald-themes emerald-themes-extra
then issue ALT+F2 to get run dialog;inside the dialog box-run:
Code:
gksudo gedit /etc/X11/xorg.conf
find the section "module" and make sure u have "dbe" also.
Code:
Section "Module"
        Load    "i2c"
        Load    "bitmap"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "type1"
        Load    "dbe"
        Load    "vbe"
EndSection
in the section "Device",add
Code:
Option "XAANoOffscreenPixmaps" "true"
Code:
Section "Device"
        Identifier      "Intel Corporation 82915G/GV/910GL Express Chipset Famil
y Graphics Controller"
        Driver          "i810"
        BusID           "PCI:0:2:0"
        Option "XAANoOffscreenPixmaps" "true"
EndSection
And add following lines after skipping a line:
Code:
Section "Extensions"
        Option "Composite" "true"
EndSection
Save the file.now we can start Beryl by issuing:
Code:
~$beryl-manager &
For starting beryl automatically on every boot on Gnome,we need to add the following to the menu>System>Preferences>Sessions.select the Startup Programs TAB,now using add button add below command:
Code:
beryl-manager
Enjoy effects.
default commands are avail at below beryl wiki:
*wiki.beryl-project.org/index.php?title=Tips/Default_Commands
below howto is very helpful:
*wiki.beryl-project.org/index.php?title=Install/Ubuntu/Edgy/AiGLX
You can take a snapshot using print button in kbd.and for recording a session with beryl effects u can use istanbul recorder
or gtk-recordMyDesktop
 
Last edited:

mehulved

18 Till I Die............
On Mandriva I tried this *linuxfordummies.org/index.php?PHPS...vmrj3nh8e7&topic=639.from1163650436;topicseen
Beryl starts all rite on both Ubuntu and Mandriva but I only get a white screen. Any idea what's the problem? direct rendering is enabled.
 
Last edited:

mediator

Technomancer
@Prakash : A little correction!

~$sudo gedit /etc/apt/sources.list
deb *download.tuxfamily.org/3v1deb edgy beryl-svn
U have to make sure to add public key for the repository

wget *ubuntu.beryl-project.org/quinn.key.asc -O - | sudo apt-key add -
or
wget *ubuntu.beryl-project.org/quinn.key.asc --quiet -O - | sudo apt-key add -



Next its not a good practise to add beryl to the default gnome session! U should make a separate session for gnome+beryl (besides gnome) and name it as beryl!

for gnome, we have the script
#!/bin/sh
beryl-manager
sleep 4
exec gnome-session

For kde
#!/bin/sh
export KDEWM="/usr/bin/beryl-manager"
exec startkde

For xfce
#!/bin/sh
beryl-manager
sleep 4
exec xfce4-session

Next
One of the above scripts is to be used and saved as "startberyl.sh" in /usr/bin. Since we are dealing with gnome here, we save the gnome's script.

Next, we give the rights and command as => sudo chmod a+x /usr/bin/startberyl.sh

Next we add the separate session, and make a new file => /usr/share/xsessions/Beryl.desktop and add the following code to it!

[Desktop Entry]
Encoding=UTF-8
Name=Beryl
Exec=/usr/bin/startberyl.sh
Icon=
Type=Application

:)

@mehul : Do u have compiz installed already?
 

mediator

Technomancer
Something must be wrong, coz I got a white screen when I intalled compiz after beryl. U may undo everything and re-try from the start!
 

mehulved

18 Till I Die............
I am positively sure that compiz isn't installed on Mandriva. I rechecked it too. I will look back if reinstalling beryl helps.
 
OP
praka123

praka123

left this forum longback
@techfuture:try removing ur ~/.beryl/, ~/.beryl-managerrc (or edit this file to ur needs if u know it ofcourse ;) ).
Another problem is AIGLX is not available with Xorg versions before 7.1.
u can check if AIGLX available on ur X server by:
Code:
 ~$cat /var/log/Xorg.0.log | grep AIGLX
if enabled,will show (==) AIGLX enabled.
In my Debian testing apt pinned with sid+experimental and ubuntu edgy beryl+aiglx works great.and i have heard that for some GFX cards like nvidia etc XGL X-server works fine.


but as u know AILGX is not another X server,it is integrated into X.org 7.1+ releases.
@mediator:that is helpful noob's.i thought like installing gpg keys for servers are known by most as ppl tends to fiddle with their /etc/apt/sources.list to add or remove apt-repos.u can add gpg keys as
Code:
gpg --keyserver subkeys.pgp.net --recv KEY
gpg --export --armor KEY | sudo apt-key add -
__________
And i meant the HW2 for intel onboard GFX cards as i got only that!:(
 
Last edited:

mehulved

18 Till I Die............
@prakash AIGLX is enabled but it says DRI module not loaded. I guess I need to look more onto this. BTW, I have onbaord graphics and it's detected as savage.
 
OP
praka123

praka123

left this forum longback
Ahaa...u need DRI support for all of these effects!
does a modprobe savage and modprobe savagefb and restart X session helps!
"savage" dont know about that card,do a bit of googling...or u can recompile linux kernel newest with those dri modules latest available as u probably knows..
 
Status
Not open for further replies.
Top Bottom