Search:  
Gentoo Wiki

AIGLX


Eye Candy

Methods

Window Managers

X Configuration

edit

Contents

Introduction

Accelerated Indirect GLX ("AIGLX") is an open source project founded by Red Hat and the Fedora Linux community to allow accelerated indirect Open-GL rendering capabilities to X.org and DRI drivers. This allows the xorg-server to get fully hardware accelerated rendering over the GLX protocol; this is required for OpenGL compositing window managers (such as Compiz or Beryl) to function with hardware acceleration.

The end result is that you can use GL effects on your desktop with very few changes (a slightly modified xorg.conf), the ability to turn it on and off at will, and you don't have to replace your X server in the process. AIGLX is included in xorg-server 7.1 and later.

Prerequisites

See Compatibility for a full compatibility list.

Cards Supported

Cards partially supported

Cards In Testing

Cards Not Supported

Installing AIGLX

As already noted, >=xorg-x11-7.1 (specifically xorg-server-1.2.0-r3) includes AIGLX and builds it by default. Don't look for a corresponding USE flag in recent Xorg versions, as there is none.

Previous xorg-servers

Note: According to the ebuilds only version 1.2.99.0 (which is hardmasked) needs the aiglx use flag. Other versions simply dont support this flag.

Upgrading to XOrg 7.1 From 6.9 or lower

Please see Howto Modular Xorg.

Upgrading for Stable Arch

Simply update your installation:

emerge --sync
emerge --update --newuse world

Setting up xorg.conf

Before we do this let's make sure direct rendering is running and AIGLX is enabled:

glxinfo | grep direct
grep -i aiglx /var/log/Xorg.0.log

You will need some additions in xorg.conf.

If aiglx is available but it is disabled then add the following to your "ServerLayout" section.

File: /etc/X11/xorg.conf
   Option "AIGLX" "true" 

In "Extensions" make sure compositing is enabled ( note: ATI Catalyst 7.12/8.44.3-1, you probably don't want to do this, or it'll scramblize your colors, but it seems to be implicitly-enabled anyways, so don't worry about it – grep your Xorg.0.log! ).

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

In "Module", make sure GLcore is disabled and you might want to disable vbe as it's been known to slowdown Compiz, and be sure dbe is enabled:

#    Load            "GLcore"
#    Load            "vbe"
    Load             "dbe"

In "Device" you need DRI and this other thing:

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

In Section "DRI"

   Mode 0666

nVidia users will need this in the "Screen" section:

  Option   "AddARGBGLXVisuals"   "true"

nvidia drivers automatically use AllowGLXWithComposite "true" if the xorg server version is 6.9 or greater, this is no longer needed

Troubleshooting

see Troubleshooting

Tips and Tricks

see Tips and Tricks

Installing a Compositing Window Manager

AIGLX does absolutely nothing without a proper GL window manager to use its features such as Compiz Fusion, or Metacity version 2.18 (for Gnome). Please see those pages for more information.

Some videos

See also

http://www.ubuntuforums.org/showthread.php?t=145068 (nice guide (ubuntu based)) or http://fedoraproject.org/wiki/RenderingProject/aiglx

Retrieved from "http://www.gentoo-wiki.info/AIGLX"

Last modified: Sat, 13 Sep 2008 05:38:00 +0000 Hits: 9,031