Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 03-12-2006, 05:45 PM   #1 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Smile easy Howto AIGLX + Compiz on Ubuntu Edgy/Debian Etch/Sid and GNOME


I configured AIGLX with intel 915GV onboard GFX using the following howto found on
http://wizah.blogspot.com/2006/10/de...lx-compiz.html
Quote:
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.
http://gandalfn.wordpress.com/howto/...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.
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org

Last edited by praka123; 03-12-2006 at 05:55 PM.
praka123 is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 03-12-2006, 05:57 PM   #2 (permalink)
String Phreak
 
mediator's Avatar
 
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
Default Re: easy Howto AIGLX + Compiz on Ubuntu Edgy/Debian Etch/Sid and GNOME

Beryl HW2 Discussed for Intel 915

For Nvidia etc Visit this..... Bingo!!!
__________________
Bad Bad server.....No candy for u!
mediator is offline  
Old 03-12-2006, 06:17 PM   #3 (permalink)
sariq
Guest
 
Posts: n/a
Default Re: easy Howto AIGLX + Compiz on Ubuntu Edgy/Debian Etch/Sid and GNOME

oops now i see why people prefer nano over gedit

will it work on my laptop with celeron 1.5GHz / Intel 915
 
Old 03-12-2006, 06:31 PM   #4 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Smile Re: easy Howto AIGLX + Compiz on Ubuntu Edgy/Debian Etch/Sid and GNOME

It will work.hope u have RAM 256@minimum
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 03-12-2006, 08:34 PM   #5 (permalink)
String Phreak
 
mediator's Avatar
 
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
Cool Re: easy Howto AIGLX + Compiz on Ubuntu Edgy/Debian Etch/Sid and GNOME

Quote:
Originally Posted by sariq
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.
__________________
Bad Bad server.....No candy for u!
mediator is offline  
Old 03-12-2006, 11:40 PM   #6 (permalink)
sariq
Guest
 
Posts: n/a
Default Re: easy Howto AIGLX + Compiz on Ubuntu Edgy/Debian Etch/Sid and GNOME

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
 
Old 04-12-2006, 12:09 AM   #7 (permalink)
String Phreak
 
mediator's Avatar
 
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
Default Re: easy Howto AIGLX + Compiz on Ubuntu Edgy/Debian Etch/Sid and GNOME

^^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!!
__________________
Bad Bad server.....No candy for u!
mediator is offline  
Old 04-12-2006, 03:44 AM   #8 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Smile 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 http://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:
http://wiki.beryl-project.org/index....fault_Commands
below howto is very helpful:
http://wiki.beryl-project.org/index....ntu/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
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org

Last edited by praka123; 06-01-2007 at 07:30 AM.
praka123 is offline  
Old 04-12-2006, 07:03 AM   #9 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: easy Howto AIGLX + Compiz on Ubuntu Edgy/Debian Etch/Sid and GNOME

On Mandriva I tried this http://linuxfordummies.org/index.php...0436;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.
__________________
http://www.bash.org/?258908

Last edited by mehulved; 04-12-2006 at 07:11 AM.
mehulved is offline  
Old 04-12-2006, 12:11 PM   #10 (permalink)
String Phreak
 
mediator's Avatar
 
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
Default Re: easy Howto AIGLX + Compiz on Ubuntu Edgy/Debian Etch/Sid and GNOME

@Prakash : A little correction!

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

wget http://ubuntu.beryl-project.org/quinn.key.asc -O - | sudo apt-key add -
or
wget http://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
Quote:
#!/bin/sh
beryl-manager
sleep 4
exec gnome-session
For kde
Quote:
#!/bin/sh
export KDEWM="/usr/bin/beryl-manager"
exec startkde
For xfce
Quote:
#!/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!

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


@mehul : Do u have compiz installed already?
__________________
Bad Bad server.....No candy for u!
mediator is offline  
Old 04-12-2006, 01:54 PM   #11 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: easy Howto AIGLX + Compiz on Ubuntu Edgy/Debian Etch/Sid and GNOME

I removed compiz from Ubuntu and I haven't even installed it on Mandriva so far.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 04-12-2006, 04:50 PM   #12 (permalink)
String Phreak
 
mediator's Avatar
 
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
Default Re: easy Howto AIGLX + Compiz on Ubuntu Edgy/Debian Etch/Sid and GNOME

^^Did u check out this => http://wiki.beryl-project.org/index....stall/Mandriva
__________________
Bad Bad server.....No candy for u!
mediator is offline  
Old 04-12-2006, 05:18 PM   #13 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: easy Howto AIGLX + Compiz on Ubuntu Edgy/Debian Etch/Sid and GNOME

It's the same.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 04-12-2006, 08:50 PM   #14 (permalink)
String Phreak
 
mediator's Avatar
 
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
Default Re: easy Howto AIGLX + Compiz on Ubuntu Edgy/Debian Etch/Sid and GNOME

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!
__________________
Bad Bad server.....No candy for u!
mediator is offline  
Old 04-12-2006, 09:35 PM   #15 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: easy Howto AIGLX + Compiz on Ubuntu Edgy/Debian Etch/Sid and GNOME

I am positively sure that compiz isn't installed on Mandriva. I rechecked it too. I will look back if reinstalling beryl helps.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 05-12-2006, 05:37 AM   #16 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Smile Re: easy Howto AIGLX + Compiz on Ubuntu Edgy/Debian Etch/Sid and GNOME

@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!
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org

Last edited by praka123; 05-12-2006 at 05:37 AM. Reason: Automerged Doublepost
praka123 is offline  
Old 05-12-2006, 10:52 AM   #17 (permalink)
String Phreak
 
mediator's Avatar
 
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
Default Re: easy Howto AIGLX + Compiz on Ubuntu Edgy/Debian Etch/Sid and GNOME

Hmmm, neways mine is also Intel onboard graphics.
__________________
Bad Bad server.....No candy for u!
mediator is offline  
Old 05-12-2006, 02:11 PM   #18 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: easy Howto AIGLX + Compiz on Ubuntu Edgy/Debian Etch/Sid and GNOME

@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.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 05-12-2006, 05:27 PM   #19 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Smile Re: easy Howto AIGLX + Compiz on Ubuntu Edgy/Debian Etch/Sid and GNOME

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..
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 05-12-2006, 06:09 PM   #20 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: easy Howto AIGLX + Compiz on Ubuntu Edgy/Debian Etch/Sid and GNOME

DRI was enabled earlier but after making these changes to Xorg, DRI is disabled.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 05-12-2006, 11:53 PM   #21 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Default Re: easy Howto AIGLX + Compiz on Ubuntu Edgy/Debian Etch/Sid and GNOME

what about modprobe modules,are they available,did u tried?
__________
Edit:I saw on gentoo wiki about aiglx with savage error
http://gentoo-wiki.com/Talk:HOWTO_AI...age_video_card
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org

Last edited by praka123; 05-12-2006 at 11:53 PM. Reason: Automerged Doublepost
praka123 is offline  
Old 06-12-2006, 11:00 PM   #22 (permalink)
sariq
Guest
 
Posts: n/a
Default Re: easy Howto AIGLX + Compiz on Ubuntu Edgy/Debian Etch/Sid and GNOME

i am finding this error while starting beryl:
Code:
sariq@lenovo:~$ beryl-manager
sariq@lenovo:~$ libGL warning: 3D driver claims to not support visual 0x5b
XGL Absent, checking for NVIDIA
Nvidia Absent, assuming AIGLX
libGL warning: 3D driver claims to not support visual 0x5b
beryl: No stencil buffer. Clipping of transformed windows is not going to be correct when screen is transformed.
Initiating splash
beryl: water: GL_ARB_fragment_program is missing
Reloading all options.
water effects are also not working, rest baryl is working fine
any clue?
 
Old 08-12-2006, 02:23 AM   #23 (permalink)
left this forum longback
 
praka123's Avatar
 
Join Date: Sep 2005
Location: -
Posts: 7,536
Smile Re: easy Howto AIGLX + Compiz on Ubuntu Edgy/Debian Etch/Sid and GNOME

for debian etch/sid distro's trevino's apt-repository providers beryl-svn pkgs.
http://3v1n0.tuxfamily.org/dists/deb...ble/beryl-svn/
__________________
left this forum long back.Admin Can Delete this Account and posts Permanantly.Thank You
Get GNU/Linux - http://getgnulinux.org
praka123 is offline  
Old 10-12-2006, 08:20 AM   #24 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: easy Howto AIGLX + Compiz on Ubuntu Edgy/Debian Etch/Sid and GNOME

I got a Nvidia 7600GS and tried to start beryl. But it just crashes the Xserver. Well anyways I am downloading Sabayon Live CD which i read has XGL/AIGLX enabled. Let's see how it goes.
Will experiment with ubuntu again later on.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 22-12-2006, 11:11 PM   #25 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: easy Howto AIGLX + Compiz on Ubuntu Edgy/Debian Etch/Sid and GNOME

Well I got a new SMPS yesterday and got AIGLX running today. Though it only works as root for now.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 31-12-2006, 12:53 AM   #26 (permalink)
Alpha Geek
 
baccilus's Avatar
 
Join Date: Feb 2006
Location: Chandigarh
Posts: 948
Default Re: easy Howto AIGLX + Compiz on Ubuntu Edgy/Debian Etch/Sid and GNOME

Beryl is really eating up my system. I want to use this but it makes this super slow. My system : intel 2.66 GHz processor, Intel 945 mobo, 1GB DDR2 RAM. Direct rendering is enabled. This is required so thet i can boast about linux to my friends. But it makes my system crash all the time. Processor runs at 100% all the time. I am using ubuntu 6.10 Linux mint 2.0 distro.
__________________
Appreciate me now and avoid the rush!!
i5 2500K || 8GB DDRIII 1600 MHz RAM || Zotac GTX560Ti || Samsung 2233sw || Corsair GS600
baccilus is offline  
Old 31-12-2006, 02:39 AM   #27 (permalink)
String Phreak
 
mediator's Avatar
 
Join Date: Mar 2005
Location: In ur Evil Mind!
Posts: 2,457
Default Re: easy Howto AIGLX + Compiz on Ubuntu Edgy/Debian Etch/Sid and GNOME

Try updating beryl!
__________________
Bad Bad server.....No candy for u!
mediator is offline  
Old 31-12-2006, 08:06 AM   #28 (permalink)
Alpha Geek
 
baccilus's Avatar
 
Join Date: Feb 2006
Location: Chandigarh
Posts: 948
Default Re: easy Howto AIGLX + Compiz on Ubuntu Edgy/Debian Etch/Sid and GNOME

It's already updated.
__________________
Appreciate me now and avoid the rush!!
i5 2500K || 8GB DDRIII 1600 MHz RAM || Zotac GTX560Ti || Samsung 2233sw || Corsair GS600
baccilus is offline  
Old 31-12-2006, 08:30 AM   #29 (permalink)
Commander in Chief
 
QwertyManiac's Avatar
 
Join Date: Jul 2005
Posts: 6,658
Default Re: easy Howto AIGLX + Compiz on Ubuntu Edgy/Debian Etch/Sid and GNOME

Get to terminal (home folder) and try a rm -R .beryl . and see if it eases something. It just deletes the beryl-settings you've made and sets it back to default once you restart beryl.
__________________
Harsh J
www.harshj.com
QwertyManiac is offline  
Old 31-12-2006, 08:47 AM   #30 (permalink)
Alpha Geek
 
baccilus's Avatar
 
Join Date: Feb 2006
Location: Chandigarh
Posts: 948
Default Re: easy Howto AIGLX + Compiz on Ubuntu Edgy/Debian Etch/Sid and GNOME

Thanks Maniac. This seems to have got better.
__________________
Appreciate me now and avoid the rush!!
i5 2500K || 8GB DDRIII 1600 MHz RAM || Zotac GTX560Ti || Samsung 2233sw || Corsair GS600
baccilus is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Sujeet
- by clmlbx
- by icebags

Advertisement




All times are GMT +5.5. The time now is 10:35 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2