Test environment: Ubuntu environment 7.10 I. First install the atigraphics card driver 1. download and install the required component code: sudoapt-getupdatesudoapt-getinstalllinux-restricted-modules-$ (uname-r) sudoapt-getinstallxorg-driver-fglrxfglrx-controlsudodepmod-
Test environment: Ubuntu 7.10
1. First install the atigraphics Card Driver
1. Download and install required components
Code:
Sudo apt-get update
Sudo apt-get install linux-restricted-modules-$ (uname-r)
Sudo apt-get install xorg-driver-fglrx-control
Sudo depmod-
2. modify the configuration file
Code:
Sudo gedit/etc/X11/xorg. conf
Use the replacement function
Code:
"Ati"
(For details about "radeon" and "vesa", refer to the Device Section) and modify the code:
"Fglrx"
Add two lines in the Device segment:
Code:
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
Add ends at the end
Code:
Section "Extensions"
Option "Composite" "0 ″
EndSection
Section "ServerFlags"
Option "AIGLX" "off"
EndSection
Check after restart
Code:
Fglrxinfo
Ii. Install XGL
1. Download and install related components
Code:
Sudo apt-get install xserver-xgl
2. Configure XGL
Code:
Gksudo gedit/usr/local/bin/startxgl. sh
Enter the following content:
Code:
#! /Bin/sh
Xgl: 1-fullscreen-ac-accel xv: pbuffer-accel glx: pbuffer &
DISPLAY =: 1
Cookie = "$ (xauth-I nextract-: 0 | cut-d''-f 9 )"
Xauth-I add: 1. "$ cookie"
Exec resume-launch-exit-with-session gnome-session
Code:
Sudo chmod a x/usr/local/bin/startxgl. sh
Code:
Gksudo gedit/usr/share/xsessions/xgl. desktop
Enter the following content:
Code:
[Desktop Entry]
Encoding = UTF-8
Name = Xgl
Comment = Start an Xgl Session
Exec =/usr/local/bin/startxgl. sh
Icon =
Type = Application
3. Install compiz fusio
1. Obtain the key
Code:
Sudo wget http://download.tuxfamily.org/3v1deb/DD800CD9.gpg-O-| sudo apt-key add-
2. Add Source:
Code:
Deb http://download.tuxfamily.org/3v1deb feisty eyecandy
Deb-src http://download.tuxfamily.org/3v1deb (feisty eyecandy)
3. Update:
Code:
Sudo apt-get update
Sudo apt-get dist-upgrade
4. Install Compiz and Compiz fusion
Code:
Sudo apt-get install compiz-gnome
Sudo apt-get install compizconfig-settings-manager
Sudo apt-get install compiz-fusion -*
Iv. Use
Remember to restart and select session to XGL
ALT F2
Code:
Compiz-replace