特殊:Badtitle/NS100:CompositeManager/AIGLXOnDapper:修订间差异
小无编辑摘要 |
小无编辑摘要 |
||
第116行: | 第116行: | ||
Note that without a composing manager, you won't see any snazzy effects. For the next step, continue on to [[UbuntuHelp:CompositeManager/InstallingCompiz|CompositeManager/InstallingCompiz]]. | Note that without a composing manager, you won't see any snazzy effects. For the next step, continue on to [[UbuntuHelp:CompositeManager/InstallingCompiz|CompositeManager/InstallingCompiz]]. | ||
---- | ---- | ||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2009年5月12日 (二) 16:16的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/CompositeManager/AIGLXOnDapper }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/af | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|Afrikaans| [[::CompositeManager/AIGLXOnDapper/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/ar | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|العربية| [[::CompositeManager/AIGLXOnDapper/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/az | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|azərbaycanca| [[::CompositeManager/AIGLXOnDapper/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/bcc | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|جهلسری بلوچی| [[::CompositeManager/AIGLXOnDapper/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/bg | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|български| [[::CompositeManager/AIGLXOnDapper/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/br | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|brezhoneg| [[::CompositeManager/AIGLXOnDapper/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/ca | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|català| [[::CompositeManager/AIGLXOnDapper/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/cs | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|čeština| [[::CompositeManager/AIGLXOnDapper/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/de | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|Deutsch| [[::CompositeManager/AIGLXOnDapper/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/el | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|Ελληνικά| [[::CompositeManager/AIGLXOnDapper/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/es | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|español| [[::CompositeManager/AIGLXOnDapper/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/fa | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|فارسی| [[::CompositeManager/AIGLXOnDapper/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/fi | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|suomi| [[::CompositeManager/AIGLXOnDapper/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/fr | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|français| [[::CompositeManager/AIGLXOnDapper/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/gu | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|ગુજરાતી| [[::CompositeManager/AIGLXOnDapper/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/he | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|עברית| [[::CompositeManager/AIGLXOnDapper/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/hu | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|magyar| [[::CompositeManager/AIGLXOnDapper/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/id | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|Bahasa Indonesia| [[::CompositeManager/AIGLXOnDapper/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/it | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|italiano| [[::CompositeManager/AIGLXOnDapper/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/ja | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|日本語| [[::CompositeManager/AIGLXOnDapper/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/ko | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|한국어| [[::CompositeManager/AIGLXOnDapper/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/ksh | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|Ripoarisch| [[::CompositeManager/AIGLXOnDapper/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/mr | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|मराठी| [[::CompositeManager/AIGLXOnDapper/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/ms | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|Bahasa Melayu| [[::CompositeManager/AIGLXOnDapper/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/nl | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|Nederlands| [[::CompositeManager/AIGLXOnDapper/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/no | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|norsk| [[::CompositeManager/AIGLXOnDapper/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/oc | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|occitan| [[::CompositeManager/AIGLXOnDapper/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/pl | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|polski| [[::CompositeManager/AIGLXOnDapper/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/pt | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|português| [[::CompositeManager/AIGLXOnDapper/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/ro | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|română| [[::CompositeManager/AIGLXOnDapper/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/ru | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|русский| [[::CompositeManager/AIGLXOnDapper/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/si | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|සිංහල| [[::CompositeManager/AIGLXOnDapper/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/sq | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|shqip| [[::CompositeManager/AIGLXOnDapper/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/sr | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|српски / srpski| [[::CompositeManager/AIGLXOnDapper/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/sv | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|svenska| [[::CompositeManager/AIGLXOnDapper/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/th | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|ไทย| [[::CompositeManager/AIGLXOnDapper/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/tr | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|Türkçe| [[::CompositeManager/AIGLXOnDapper/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/vi | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|Tiếng Việt| [[::CompositeManager/AIGLXOnDapper/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/yue | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|粵語| [[::CompositeManager/AIGLXOnDapper/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/zh | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|中文| [[::CompositeManager/AIGLXOnDapper/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/zh-hans | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|中文(简体)| [[::CompositeManager/AIGLXOnDapper/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper | UbuntuHelp:CompositeManager/AIGLXOnDapper | {{#if: | :}}CompositeManager/AIGLXOnDapper}}/zh-hant | • {{#if: UbuntuHelp:CompositeManager/AIGLXOnDapper|中文(繁體)| [[::CompositeManager/AIGLXOnDapper/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:CompositeManager/AIGLXOnDapper|:CompositeManager/AIGLXOnDapper|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :CompositeManager/AIGLXOnDapper/zh | | {{#ifexist: CompositeManager/AIGLXOnDapper/zh | | {{#ifeq: {{#titleparts:CompositeManager/AIGLXOnDapper|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:CompositeManager/AIGLXOnDapper|1|-1|}} | zh | | }}
Introduction
This page explains how to install the AIGLX X Server, a modified version of Xorg that supports indirect 3d rendering, on your Ubuntu Dapper system. For more information, including a list of supported hardware, please see the CompositeManager/AIGLX page.
Installation Instructions
Please note that this guide assumes that you have some understanding of how to use the linux command line. If you do not, please read through the excellent tutorials on http://linuxcommand.org/ before continuing with this guide.
WARNING: This guide explains how to install HIGHLY EXPERIMENTAL, UNSUPPORTED software. The Ubuntu community is NOT responsible for anything that may go wrong. If you do not feel confident knowing this, please wait for a future release of Ubuntu that has official support for all this built-in to the release.
Getting Ready
The first thing we should do is make a backup of every file we are going to touch in this walkthrough, just in case something goes wrong. If X does not restart for whatever reason after this walkthrough your should restore your backups. The files you need to make backups of are:
/etc/X11/xorg.conf
/etc/gdm/gdm.conf-custom
(if present)
/etc/kde3/kdm/kdmrc
(if present)
/etc/apt/sources.list
1) Add additional repositories
Add the following to the bottom of /etc/apt/sources.list
:
deb http://www.beerorkid.com/compiz dapper main aiglx deb http://ubuntu.compiz.net/ dapper main aiglx
NOTE: You have to be root to edit this file, for example:
gksudo gedit /etc/apt/sources.list
You should add the GPG keys for these repositories so you don't get nasty errors:
wget http://www.beerorkid.com/compiz/quinn.key.asc -O - | sudo apt-key add - wget http://ubuntu.compiz.net/quinn.key.asc -O - | sudo apt-key add -
Re-load the apt database. If you haven't figured this out already, you need to run this command any time you modify sources.list.
sudo apt-get update
2) Install new Software First off, make sure you have all the latest software:
sudo apt-get dist-upgrade
Now we need to install some new packages:
sudo apt-get install linux-dri-modules-common linux-dri-modules-`uname -r` xserver-xorg-air-core
...register the new kernel modules:
sudo /sbin/ldm-manager sudo depmod -a
(!) Note that depmod -a should not be needed, but some users have reported it has fixed issues, and it cant hurt to run. ...and finally, link all the xorg modules into the directory where AIGLX expects them to be: (!) Please check to make sure these directories do not already exist
sudo ln -s /usr/lib/xorg/modules/drivers /usr/lib/xorg-air/modules/drivers sudo ln -s /usr/lib/xorg/modules/input /usr/lib/xorg-air/modules/input
3) Configure the X server
Open up /etc/X11/xorg.conf
in a text editor.
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"
Next, find the Section "ServerLayout"
for your graphics card, and add the following:
Option "AIGLX" "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
4a) Configure GDM (Ubuntu users)
As root, edit the file /etc/gdm/gdm.conf-custom
and add the following to the end, one line of overlap is provided for reference:
[servers] 0=aiglx [server-aiglx] name=aiglx server command=/usr/bin/Xorg-air :0 flexible=true
This will cause GDM to use AIGLX instead of the standard Xorg.
4b) Configure KDM (Kubuntu Users)
As root, edit the file /etc/kde3/kdm/kdmrc
and edit the following line:
ServerCmd=/usr/bin/X -br
Make it read:
ServerCmd=/usr/bin/Xorg-air :0
This will cause KDM to use AIGLX instead of the standard Xorg. 5) Restart your X server To restart GDM to load the new X server, note that this will terminate all running applications:
sudo /etc/init.d/gdm restart
Or: To restart KDM to load the new X server, note that this will terminate all running applications:
sudo /etc/init.d/kdm restart
Log back in, and you should be using the new X server. If something went wrong, or you ever want to undo this, simply restore your backup gdm.conf-custom
or kdmrc
file you created earlier to its original name.
6) Next Steps
Note that without a composing manager, you won't see any snazzy effects. For the next step, continue on to CompositeManager/InstallingCompiz.