“UbuntuHelp:CompositeManager/AIGLXOnEdgy”的版本间的差异
来自Ubuntu中文
小 |
小 |
||
第6行: | 第6行: | ||
== Enabling AIGLX == | == Enabling AIGLX == | ||
'''1) Configure the X server''' | '''1) Configure the X server''' | ||
− | Open up < | + | Open up <pre><nowiki>/etc/X11/xorg.conf</nowiki></pre> in a text editor as root by going to <pre><nowiki>Applications > Accessories > Terminal</nowiki></pre>, typing the following command and pressing enter. |
<pre><nowiki> | <pre><nowiki> | ||
gksu gedit /etc/X11/xorg.conf | gksu gedit /etc/X11/xorg.conf | ||
</nowiki></pre> | </nowiki></pre> | ||
− | Under < | + | Under <pre><nowiki>Section "Module"</nowiki></pre>, make sure that the following lines are included: |
<pre><nowiki> | <pre><nowiki> | ||
Load "dri" | Load "dri" | ||
第16行: | 第16行: | ||
Load "glx" | Load "glx" | ||
</nowiki></pre> | </nowiki></pre> | ||
− | Next, find the < | + | Next, find the <pre><nowiki>Section "Device"</nowiki></pre> for your graphics card, and add the following: |
<pre><nowiki> | <pre><nowiki> | ||
Option "XAANoOffscreenPixmaps" "true" | Option "XAANoOffscreenPixmaps" "true" | ||
第25行: | 第25行: | ||
Mode 0666 | Mode 0666 | ||
EndSection | EndSection | ||
+ | |||
Section "Extensions" | Section "Extensions" | ||
Option "Composite" "Enable" | Option "Composite" "Enable" | ||
EndSection | EndSection | ||
+ | |||
Section "ServerLayout" | Section "ServerLayout" | ||
− | Identifier "Default Layout" #otherwise will give an error and fail to load GDM | + | Identifier "Default Layout" #otherwise will give an error and fail to load GDM |
− | Option "AIGLX" "true" | + | Option "AIGLX" "true" |
EndSection | EndSection | ||
</nowiki></pre> | </nowiki></pre> |
2007年12月6日 (四) 10:08的版本
点击翻译: |
English |
请不要直接编辑翻译本页,本页将定期与来源同步。 |
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 CompositeManager/AIGLX page.
Enabling AIGLX
1) Configure the X server
Open up/etc/X11/xorg.confin a text editor as root by going to
Applications > Accessories > Terminal, typing the following command and pressing enter.
gksu gedit /etc/X11/xorg.confUnder
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" Identifier "Default Layout" #otherwise will give an error and fail to load GDM 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!