红联Linux门户
Linux帮助

Install from Ubuntu repositories (easier)

发布时间:2008-02-29 00:02:23来源:红联作者:Dnirta
Instructions for Kubuntu 7.10 (Gutsy)
First make sure linux-restricted-modules-generic and restricted-manager-kde are both installed

sudo apt-get install linux-restricted-modules-generic restricted-manager-kde
Open the restricted drivers manager from KMenu → System Settings → Advanced → Restricted Drivers and select "ATI accelerated graphics driver". This will hopefully enable fglrx in a painless way. If not, follow the instructions for Feisty.

Instructions for Ubuntu 7.04 (Feisty) and Ubuntu 7.10 (Gutsy)
Install linux-restricted-modules and restricted-manager provided in the restricted repositories:

sudo apt-get update sudo apt-get install linux-restricted-modules-generic restricted-manager
Open the restricted drivers manager in "System -> Administration -> Restricted Drivers Manager" and select "ATI accelerated graphics driver". This will hopefully enable fglrx in a painless way. If not, follow the instructions for Edgy.

Instructions for Kubuntu 7.04 (Feisty)
Install linux-restricted-modules from the restricted repositories:

sudo apt-get update sudo apt-get install linux-restricted-modules-generic
Install the driver provided by ati included in the repositories:

sudo apt-get update sudo apt-get install xorg-driver-fglrx
You might also want to install a control panel for your graphic card. Please note that I do not recommend it, as it seems to be buggy, and generally doesnt work.

sudo apt-get install fglrx-control
Make sure fglrx is not disabled in the DISABLED_MODULES part: kdesu kate /etc/default/linux-restricted-modules-common.

Generate a new set of module dependencies so the fglrx driver starts properly.

sudo depmod -a
You now have to configure xorg to use your graphic card. The aticonfig tool, provided with the driver, will do that for you (aticonfig does not seem to work for Gutsy Gibbons):

sudo aticonfig --initial sudo aticonfig --overlay-type=Xv
ATI are well known not to be able to provide correct drivers for their hardware so you will have to deactivate the composite extension in /etc/X11/xorg.conf , otherwise you will get a jerky video display: kdesu kate /etc/X11/xorg.conf, and add the following lines at the end of the file:

Section "Extensions" Option "Composite" "disable"EndSection
// After making all those modifications, your X server might not want to start again. Don't worry, you can still modify xorg.conf using nano sudo nano /etc/X11/xorg.conf. To save changes press Ctrl-O and to quit press Ctrl-X. To start X again type startx //

Save and restart the X server by logging out and selecting Restart X Server from the menu or press Alt+E

Confirm it worked, by issuing the "fglrxinfo" command:

Note: fglrxinfo/glxinfo may not work properly for you via SSH and via the console when logged in as root.

Output should be similar to this:

$ fglrxinfodisplay: :0.0 screen: 0OpenGL vendor string: ATI Technologies Inc.OpenGL renderer string: RADEON 9700 GenericOpenGL version string: 2.0.5755 (8.24.8)
文章评论

共有 0 条评论