• Diff for "Intel with AiGLX"
  • Immutable Page
  • Info
  • Attachments
Differences between revisions 1 and 10 (spanning 9 versions)
Revision 1 as of 2007-08-22 07:24:36
Size: 509
Editor: 202
Comment:
Revision 10 as of 2008-03-30 18:33:45
Size: 3009
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
=== Settting up your Intel Graphics Media Accelerator Hardware and your X Server to run AiGLX === == Setting up your X Server to run AiGLX with your Intel Graphics Media Accelerator hardware ==
##==== Checking your Graphics card type ====
##==== Checking your X Server ====
##==== Configuring your X Server to run AiGLX and Composite ====
<!> '''''Important!: If you are running Ubuntu Feisty Fawn (7.04) or above, you can skip this as it is done for you by default. '''''
Line 3: Line 7:
==== Checking your Graphics card type ==== We need to edit the X.org Configuration file to allow for AiGLX and Composite so that Compiz can run. To do this, you need to open the file ''/etc/X11/xorg.conf'' with a text editor with''' root''' permissions. Note that editing this file requires precision as any inaccuracies may cause the X server to encounter errors when reading the file and fail to start. A good way to do this is to open the file with the command line based ''nano'':
Line 5: Line 9:
==== Checking your X Server ==== {{{
sudo nano /etc/X11/xorg.conf
}}}
Line 7: Line 13:
==== Configuring your X Server to run AiGLX and Composite ==== ||<tablestyle="float: right;"> [[attachment:nano.png|{{attachment:nano-thumb.png}}]] ||
||<style="text-align: center;">~-The nano editor editing xorg.conf-~ ||
Some tips when using the nano editor:
Line 9: Line 17:
==== Starting Compiz Fusion ====  * Use the 'Up' key and the 'Down' key to navigate up and down and the 'Left' and 'Right' key to move the cursor to another character.
 * Use Ctrl-X to exit
 * Use Ctrl-O to save
 * Use Ctrl-C to display where the cursor is on the document.
Now, we need to change a few sections. First, we need to load all required modules. Navigate to {{{Section "Module"}}} and make sure that the following is added or present:
Line 11: Line 23:
(Using LIBGL_ALWAYS_INDIRECT =1 INTEL_BATCH=1 compiz --replace --indirect-rendering --sm-disable ccp&) {{{
Section "Module"
  Load "dri"
  Load "glx"
  Load "dbe"}}}
Line 13: Line 29:
==== Workaround for common problems ==== Add these to {{{Section "Device"}}}
Line 15: Line 31:
==== Information on the most annoying problems that cannot be fixed ==== {{{
  Option "XAANoOffscreenPixmaps" "true"
  Option "DRI" "true"}}}

Add these to {{{Section "ServerLayout"}}}

{{{
  Option "AIGLX" "true"}}}

Make sure {{{Section "DRI"}}} looks like this

{{{
  Group "video"
  Mode 0660}}}

Finally, add this to {{{Section "Extensions"}}}

{{{
  Option "Composite" "Enable"}}}

=== Starting Compiz Fusion ===
Once you have completed the above step and restarted your X server (Either by logging out or rebooting), you can start compiz like this:

{{{
LIBGL_ALWAYS_INDIRECT=1 INTEL_BATCH=1 compiz --replace --indirect-rendering --sm-disable ccp &
 }}}
It's a handful to type, so you might want to make an executable script which contains that command, or use one of the provided startup managers such as '''Compiz-Manager''' or '''[[CompizFusionIcon|Compiz Fusion Icon]]''' to handle adding all this for you.

You can also create an [[Autostart]] , so that Compiz Fusion will be launched when you log in.

=== Workaround for common problems ===
''Blue Video'' fix: This is due the the fact that the XVideo extension is not composite aware and draws blue instead of video on areas where the composite manager is doing work. To avoid this, you need to switch your favorite video player's output from ''XV'' to ''X11/XImage/XShm''. Refer to your player's documentation on how to do that.

Setting up your X Server to run AiGLX with your Intel Graphics Media Accelerator hardware

<!> Important!: If you are running Ubuntu Feisty Fawn (7.04) or above, you can skip this as it is done for you by default.

We need to edit the X.org Configuration file to allow for AiGLX and Composite so that Compiz can run. To do this, you need to open the file /etc/X11/xorg.conf with a text editor with root permissions. Note that editing this file requires precision as any inaccuracies may cause the X server to encounter errors when reading the file and fail to start. A good way to do this is to open the file with the command line based nano:

sudo nano /etc/X11/xorg.conf

attachment:nano.png

The nano editor editing xorg.conf

Some tips when using the nano editor:

  • Use the 'Up' key and the 'Down' key to navigate up and down and the 'Left' and 'Right' key to move the cursor to another character.
  • Use Ctrl-X to exit
  • Use Ctrl-O to save
  • Use Ctrl-C to display where the cursor is on the document.

Now, we need to change a few sections. First, we need to load all required modules. Navigate to Section "Module" and make sure that the following is added or present:

Section "Module"
  Load         "dri"
  Load         "glx"
  Load         "dbe"

Add these to Section "Device"

  Option      "XAANoOffscreenPixmaps" "true"
  Option      "DRI"     "true"

Add these to Section "ServerLayout"

  Option      "AIGLX" "true"

Make sure Section "DRI" looks like this

  Group      "video"
  Mode       0660

Finally, add this to Section "Extensions"

  Option "Composite" "Enable"

Starting Compiz Fusion

Once you have completed the above step and restarted your X server (Either by logging out or rebooting), you can start compiz like this:

LIBGL_ALWAYS_INDIRECT=1 INTEL_BATCH=1 compiz --replace --indirect-rendering --sm-disable ccp &

It's a handful to type, so you might want to make an executable script which contains that command, or use one of the provided startup managers such as Compiz-Manager or Compiz Fusion Icon to handle adding all this for you.

You can also create an Autostart , so that Compiz Fusion will be launched when you log in.

Workaround for common problems

Blue Video fix: This is due the the fact that the XVideo extension is not composite aware and draws blue instead of video on areas where the composite manager is doing work. To avoid this, you need to switch your favorite video player's output from XV to X11/XImage/XShm. Refer to your player's documentation on how to do that.

Intel with AiGLX (last edited 2008-03-30 18:33:45 by localhost)