个人工具

UbuntuHelp:CompositeManager/AIGLXOnEdgy

来自Ubuntu中文

Oneleaf讨论 | 贡献2007年5月13日 (日) 13:58的版本 (New page: {{From|https://help.ubuntu.com/community/CompositeManager/AIGLXOnEdgy}} {{Languages|php5}} == Introduction == This page explains how to enable Accelerated Indirect Rendering on your Ubu...)

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航, 搜索


Introduction

This page explains how to enable Accelerated Indirect Rendering on your Ubuntu Edgy system.

For more information, including a list of supported hardware, please see the UbuntuHelp:CompositeManager/AIGLX page.

Enabling AIGLX

1) Configure the X server

Open up /etc/X11/xorg.conf in a text editor as root by going to Applications > Accessories > Terminal, typing the following command and pressing enter.

gksu gedit /etc/X11/xorg.conf

Under Section "Module", make sure that the following lines are included:

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

Next, find the Section "Device" for your graphics card, and add the following:

Option	"XAANoOffscreenPixmaps" "true"

And finally, add the following to the bottom of the file, unless it already exists elsewhere:

Section "DRI"
	Mode 0666
EndSection
	
Section "Extensions"
	Option "Composite" "Enable"
EndSection

Section "ServerLayout"
        Option         "AIGLX" "true"
EndSection

NVidia users will need the following to their Section "Screen":

Option       "AddARGBGLXVisuals" "True"


2) Restart the X server

Ubuntu users:

sudo /etc/init.d/gdm restart

Kubuntu users:

sudo /etc/init.d/kdm restart


Troubleshooting

An excellent guide for properly editing your xorg.conf file can be found here:

http://gentoo-wiki.com/AIGLX

It is important to follow all the steps, especially if you are having problems using Compiz/Beryl and the windows decorator (i.e. the title bar with the minimise, maximise, close buttons) is missing!