个人工具

“UbuntuHelp:CompositeManager/AIGLXOnEdgy”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(正在重定向到 UbuntuHelp:CompositeManager/CompizFusion
 
(未显示同一用户的7个中间版本)
第1行: 第1行:
{{From|https://help.ubuntu.com/community/CompositeManager/AIGLXOnEdgy}}
+
#REDIRECT [[UbuntuHelp:CompositeManager/CompizFusion]]
{{Languages|UbuntuHelp:CompositeManager/AIGLXOnEdgy}}
+
<<Include(Tag/Unsupported)>>
 
+
 
+
 
== Introduction ==
 
== Introduction ==
 
 
This page explains how to enable Accelerated Indirect Rendering on your Ubuntu Edgy system.
 
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|CompositeManager/AIGLX]] page.
For more information, including a list of supported hardware, please see the [[UbuntuHelp:CompositeManager/AIGLX]] page.
+
 
+
 
== Enabling AIGLX ==
 
== Enabling AIGLX ==
 
 
'''1) Configure the X server'''
 
'''1) Configure the X server'''
 
 
Open up <code><nowiki>/etc/X11/xorg.conf</nowiki></code> in a text editor as root by going to <code><nowiki>Applications > Accessories > Terminal</nowiki></code>, typing the following command and pressing enter.
 
Open up <code><nowiki>/etc/X11/xorg.conf</nowiki></code> in a text editor as root by going to <code><nowiki>Applications > Accessories > Terminal</nowiki></code>, 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 <code><nowiki>Section "Module"</nowiki></code>, make sure that the following lines are included:
 
Under <code><nowiki>Section "Module"</nowiki></code>, make sure that the following lines are included:
 
 
<pre><nowiki>
 
<pre><nowiki>
 
Load "dri"
 
Load "dri"
第26行: 第16行:
 
Load "glx"
 
Load "glx"
 
</nowiki></pre>
 
</nowiki></pre>
 
 
Next, find the <code><nowiki>Section "Device"</nowiki></code> for your graphics card, and add the following:
 
Next, find the <code><nowiki>Section "Device"</nowiki></code> for your graphics card, and add the following:
 
 
<pre><nowiki>
 
<pre><nowiki>
 
Option "XAANoOffscreenPixmaps" "true"
 
Option "XAANoOffscreenPixmaps" "true"
 
</nowiki></pre>
 
</nowiki></pre>
 
 
And finally, add the following to the bottom of the file, unless it already exists elsewhere:
 
And finally, add the following to the bottom of the file, unless it already exists elsewhere:
 
 
<pre><nowiki>
 
<pre><nowiki>
 
Section "DRI"
 
Section "DRI"
第45行: 第31行:
  
 
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>
 
 
NVidia users will need the following to their Section "Screen":
 
NVidia users will need the following to their Section "Screen":
 
 
<pre><nowiki>
 
<pre><nowiki>
 
Option      "AddARGBGLXVisuals" "True"
 
Option      "AddARGBGLXVisuals" "True"
 
</nowiki></pre>
 
</nowiki></pre>
 
 
 
'''2) Restart the X server'''
 
'''2) Restart the X server'''
 
 
Ubuntu users:
 
Ubuntu users:
 
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo /etc/init.d/gdm restart
 
sudo /etc/init.d/gdm restart
 
</nowiki></pre>
 
</nowiki></pre>
 
 
Kubuntu users:
 
Kubuntu users:
 
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo /etc/init.d/kdm restart
 
sudo /etc/init.d/kdm restart
 
</nowiki></pre>
 
</nowiki></pre>
 
 
 
== Troubleshooting ==
 
== Troubleshooting ==
 
 
An excellent guide for properly editing your xorg.conf file can be found here:
 
An excellent guide for properly editing your xorg.conf file can be found here:
 
 
http://gentoo-wiki.com/AIGLX
 
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!  
 
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!  
 +
{{From|https://help.ubuntu.com/community/CompositeManager/AIGLXOnEdgy}}
 +
{{Languages|UbuntuHelp:CompositeManager/AIGLXOnEdgy}}
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2008年12月16日 (二) 18:10的最新版本

<<Include(Tag/Unsupported)>>

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.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"
        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!