Experience in setting 3D effects for ATI graphics cards in Ubuntu

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.