![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Tutorials & Tips The place to find Ubuntu related Tips & Tricks. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Iced Blended Vanilla Crème Ubuntu
![]() Join Date: Jun 2006
Location: A galaxy far, far away...
Beans: 2,800
|
HOWTO: compiz + aiglx + i915
This guide is designed for i915 graphics, but should work with any intel card that uses the i810 driver.
First, open your sources.list file Code:
gksudo gedit /etc/apt/sources.list Code:
## Compiz deb http://xgl.compiz.info/ dapper main aiglx deb http://www.beerorkid.com/compiz dapper main aiglx deb http://ubuntu.compiz.net/ dapper main aiglx deb http://media.blutkind.org/xgl/ dapper main aiglx deb-src http://xgl.compiz.info/ dapper main aiglx deb-src http://www.beerorkid.com/compiz dapper main aiglx deb-src http://ubuntu.compiz.net/ dapper main aiglx deb-src http://media.blutkind.org/xgl/ dapper main aiglx Code:
sudo apt-get update sudo apt-get dist-upgrade Code:
sudo apt-get install xserver-xorg-air-core linux-dri-modules-common linux-dri-modules-`uname -r` For vanilla Code:
sudo apt-get install compiz-vanilla compiz-vanilla-gnome For quinn's you have the choice of several window decorators, the thing that draws the borders and titlebars of your windows. here are the apt-get lines for two of them. for cgwd: (most advanced, supports lots of theming, has a few bugs. doesn't work on vanilla) Code:
sudo apt-get install cgwd cgwd-themes compiz-core compiz-plugins csm Code:
sudo apt-get install compiz-gnome compiz-core compiz-plugins csm Code:
sudo apt-get install cgwd cgwd-themes compiz-gnome compiz-core compiz-plugins csm Code:
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.old gksudo gedit /etc/X11/xorg.conf make sure the following sections/options are like this. the most important changes are highlighted in red. Needs to be in the Screen section: Code:
DefaultDepth 24 Code:
Section "Module"
# Load "GLcore"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dbe"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10″
Load "type1″
Load "vbe"
EndSection
EXACTLY like this: Code:
Section "Device"
Identifier "Intel Corporation Intel Default Card"
Driver "i810″
Option "XAANoOffscreenPixmaps"
BusID "PCI:0:2:0″
EndSection
Code:
Section "Extensions"
Option "Composite" "Enable"
EndSection
Code:
Section "DRI"
Mode 0666
EndSection
Code:
gksudo gedit /etc/gdm/gdm.conf-custom Code:
[servers]
0=aiglx
[server-aiglx]
name=aiglx server
command=/usr/bin/Xorg-air :0
flexible=true
Now let's make sure everything works. reboot the computer, then goto wherever you extracted compizswitch are run compizswitchicon. Compiz will start. Notice the little red box on your panel? Click that and you'll get a menu letting you restart compiz, switch back to metacity, and change compiz's preferences or themes. Now that that's working, let's add compiz to your startup so it'll launch automatically. Go to System -> Preferences -> Sessions, and under the Startup Programs tab, click add, browse to whereever you put compizswitch, and use compizswitchicon. END POST INSTALL TIPS: Optimize Totem's video playback. Code:
gksudo gedit ~/.gnome2/totem_config Code:
#video.driver:auto Code:
video.driver:xshm
__________________
"Whoever said sunshine brings happiness has never danced in the rain." - K. Jackson
Exaile Media Player | Arch Linux Click here to have your brain eaten Last edited by reacocard; September 14th, 2006 at 10:21 AM.. |
|
|
|
|
|
#2 |
|
First Cup of Ubuntu
![]() Join Date: Sep 2006
Beans: 2
|
Re: HOWTO: compiz + aiglx + i915, the NEW guide
reacocard Thanks for the How To, I had couple questions,
Please Clarify the apt-get line in your post: sudo apt-get install linux-dri-modules-common linux-dri-modules-`uname -r` I did them seperatly, the first "linux-dri-modules-common" had no problems, and I tried variations on the linux-dri-modules-`uname -r` please clarify that line... Also the Module section of my xorg.conf did not load "GLcore" but instead "i2c", should that be commented out in place of "GLcore" or left alone. Regards, |
|
|
|
|
|
#3 |
|
5 Cups of Ubuntu
![]() Join Date: Sep 2006
Beans: 17
|
Re: HOWTO: compiz + aiglx + i915
Something in the config files concked out my X when I rebooted and I had to revert them back to get back into gnome. I'm gonna try it again later when I get home but I wanted to thank you for all the work you put into this.
|
|
|
|
|
|
#4 | ||
|
Iced Blended Vanilla Crème Ubuntu
![]() Join Date: Jun 2006
Location: A galaxy far, far away...
Beans: 2,800
|
Re: HOWTO: compiz + aiglx + i915, the NEW guide
Quote:
Quote:
__________________
"Whoever said sunshine brings happiness has never danced in the rain." - K. Jackson
Exaile Media Player | Arch Linux Click here to have your brain eaten |
||
|
|
|
|
|
#5 | |
|
5 Cups of Ubuntu
![]() Join Date: Feb 2006
Location: London, UK
Beans: 24
Ubuntu 7.04 Feisty Fawn
|
Re: HOWTO: compiz + aiglx + i915, the NEW guide
I just went through this HOWTO on a fresh dapper install and the X server did not restart after my reboot. I got the following error:
Quote:
Any ideas what went wrong? Many Thanks, Kalbir |
|
|
|
|
|
|
#6 |
|
5 Cups of Ubuntu
![]() Join Date: Sep 2006
Beans: 17
|
Re: HOWTO: compiz + aiglx + i915, the NEW guide
that sounds similar to what i was getting as well
|
|
|
|
|
|
#7 |
|
5 Cups of Ubuntu
![]() Join Date: Feb 2006
Location: London, UK
Beans: 24
Ubuntu 7.04 Feisty Fawn
|
Re: HOWTO: compiz + aiglx + i915, the NEW guide
I sorted this out by using the tutorial here:
http://wiki.compiz.net/index.php/Aig...915_video_card and mashing it in with bits and pieces from this one! Basically, I did the "union" of the two tutes. Everything is working now! Kalbir |
|
|
|
|
|
#8 |
|
First Cup of Ubuntu
![]() Join Date: Sep 2006
Beans: 2
|
Re: HOWTO: compiz + aiglx + i915, the NEW guide
Everthing went smoothly except whn you asked to comment out
this following line in Modules, # Load "GLcore" My System did not have this in the first place, Instead it has: Load "i2c" Should THAT be commented out instead? Or am I missing some package I should have previously installed on my system that would have inserted the Load "GLcore"? Thanks for the How To, |
|
|
|
|
|
#9 |
|
5 Cups of Ubuntu
![]() Join Date: Sep 2006
Beans: 17
|
Re: HOWTO: compiz + aiglx + i915, the NEW guide
Ok after reading the error messages carfully it looks like it doesnt like the following line in /etc/X11/xorg.conf wich was already in my screen section:
Code:
Device "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller" Strange thing is that line was already there before I made any edits and now it hangs on it. If I restore the original files I can boot into gnome just fine. Here's the full error message: Code:
Data incomplete in file /etc/X11/xorg.conf Undifined Device "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller" referenced by Screen "Default Screen". (EE) Problem parsing the config file (EE) Error parsing the config file Last edited by argash; September 12th, 2006 at 03:12 AM.. |
|
|
|
|
|
#10 |
|
5 Cups of Ubuntu
![]() Join Date: Sep 2006
Beans: 17
|
Re: HOWTO: compiz + aiglx + i915, the NEW guide
Ok I seem to have fixed that issue now when i start compiz i get this:
Code:
argash@argash-laptop:~$ compiz-start.py /usr/bin/compiz-start.py:271: GtkWarning: Can't set a parent on widget which has a parent menu.append(item) compiz: GLX_EXT_texture_from_pixmap is missing compiz: Failed to manage screen: 0 compiz: No manageable screens found on display :0.0 The program 'cgwd' received an X Window System error. This probably reflects a bug in the program. The error was 'BadMatch (invalid parameter attributes)'. (Details: serial 657 error_code 8 request_code 153 minor_code 8) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) compiz: GLX_EXT_texture_from_pixmap is missing compiz: Failed to manage screen: 0 compiz: No manageable screens found on display :0.0 |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|