AIGLX

From openSUSE

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


Contents

openSUSE 11.0

AIGLX is enabled by default, so nothing needs to be done to enable it. Just install the necessary drivers in case of fglrx/nvidia.

openSUSE 10.3

Install the Necessary Graphics Card Drivers

  • If you have an NVIDIA card, see NVIDIA
  • If you have an ATI card, see ATI
  • For modern Intel cards, just make sure that you have 3D Acceleration enabled in YaST -> Hardware -> Monitor.

Ensure that Xgl is disabled

You cannot properly run AIGLX and Xgl at the same time, so to ensure that you do not have it enabled, please:

gnome-xgl-switch --disable-xgl

Enabling Render Acceleration and Composite

  • For NVIDIA cards, execute the following commands (as root):
nvidia-xconfig --composite

nvidia-xconfig --render-accel

nvidia-xconfig --add-argb-glx-visuals -d 24
  • For ATI cards,

Enabling AIGLX

Edit /etc/X11/xorg.conf and add, to the ServerLayout section, the following line:

Option   "aiglx"    "true"  

Also add the following line to the Module section:

Load     "glx"
Load     "dri"
Load     "dbe"

Also add the following line to the Device section:

Option   "XAANoOfscreenPixmaps"    "true"  

Also add the following line to the Extensions section:

Option   "Composite"  "Enable"

Now save the file.

Restart X

Now restart X (the display server), by simply logging out, then logging back in.

See Also