Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Letzte ÜberarbeitungBeide Seiten der Revision | |||
fglrx:ubuntu_hardy [2009/06/16 10:45] – angelegt gerald | fglrx:ubuntu_hardy [2009/06/16 10:52] – gerald | ||
---|---|---|---|
Zeile 5: | Zeile 5: | ||
Quelle((http:// | Quelle((http:// | ||
+ | |||
+ | |||
+ | For most users it won't be necessary to go into installation and configuration details of the driver. Ubuntu 8.04 (Hardy) provides a notification saying that there are restricted drivers available. You just have to go there (Restricted Drivers Manager) and enable the "ATI accelerated graphics driver" | ||
+ | |||
+ | After installation, | ||
+ | |||
+ | |||
+ | == Method 1: Install the driver the Ubuntu Way == | ||
+ | |||
+ | This will install the current driver in Ubuntu' | ||
+ | |||
+ | < | ||
+ | $ sudo apt-get update | ||
+ | |||
+ | $ sudo apt-get install linux-restricted-modules-generic restricted-manager | ||
+ | |||
+ | $ sudo apt-get install xorg-driver-fglrx | ||
+ | |||
+ | $ sudo depmod -a | ||
+ | </ | ||
+ | |||
+ | The second line may not be necessary as you may already have restricted modules installed. Run it just in case. If the third line fails, you probably don't have the restricted repository enabled. See Pre-Installation. | ||
+ | |||
+ | After this, you may need to edit Xorg.conf: | ||
+ | |||
+ | < | ||
+ | $ sudo gedit / | ||
+ | </ | ||
+ | |||
+ | In the device section, if it is not already there add: | ||
+ | |||
+ | < | ||
+ | / | ||
+ | Driver | ||
+ | </ | ||
+ | |||
+ | Then to make sure Xorg is set up correctly, you'll have to let aticonfig " | ||
+ | |||
+ | < | ||
+ | $ sudo aticonfig --initial -f | ||
+ | </ | ||
+ | |||
+ | After this you should be able to restart your computer and have the driver working. To test type | ||
+ | |||
+ | < | ||
+ | $ fglrxinfo | ||
+ | </ | ||
+ | |||
+ | into a terminal. If the vendor string is not ATI, but Mesa, check [[#Removing Mesa drivers]] | ||
+ | |||
+ | ==== Post-Installation Tweaks ==== | ||
+ | To enable hardware accelerated video on pre-R500 cards, edit '''/ | ||
+ | |||
+ | < | ||
+ | Section " | ||
+ | :[...] | ||
+ | : | ||
+ | : | ||
+ | : | ||
+ | :[...] | ||
+ | EndSection | ||
+ | </ | ||
+ | |||
+ | Note that when Visual Effects (Compiz) are active, flickering and artifacts may occur in OpenGL applications and hardware accelerated video windows (particularly with R300 chipset). | ||
+ | |||
+ | On newer cards the options below enables Visual Effects and video to be played without flicker. The Textured video option can be turned on, but this can cause flicker or diagonal artifacts when playing videos. | ||
+ | |||
+ | < | ||
+ | Section " | ||
+ | :[...] | ||
+ | : | ||
+ | : | ||
+ | : | ||
+ | :Option " | ||
+ | :[...] | ||
+ | EndSection | ||
+ | </ | ||
+ | |||
+ | == Method 2: Manual Install Method == | ||
+ | |||
+ | Make sure '' | ||
+ | |||
+ | ==='' | ||
+ | < | ||
+ | $ sudo apt-get update | ||
+ | $ sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r) | ||
+ | # If you are using the x86_64 architecture (64 bit, earlier known as amd64), install ia32-libs as well: | ||
+ | $ sudo apt-get install ia32-libs | ||
+ | </ | ||
+ | |||
+ | ==='' | ||
+ | |||
+ | Download page: Catalyst {{catalystversion</ | ||
+ | |||
+ | Open a terminal window and switch to the directory you downloaded the installer to. | ||
+ | For example:< | ||
+ | |||
+ | ==='' | ||
+ | < | ||
+ | $ sh {{catalystfilename</ | ||
+ | </ | ||
+ | (" | ||
+ | |||
+ | ==='' | ||
+ | ''' | ||
+ | |||
+ | The ATI driver must be added to the kernel module blacklist so that the new ATI driver will be used. If it is not blacklisted, | ||
+ | |||
+ | < | ||
+ | $ sudo gedit / | ||
+ | </ | ||
+ | |||
+ | Add " | ||
+ | < | ||
+ | < | ||
+ | </ | ||
+ | |||
+ | Please note that after the modification above, the " | ||
+ | |||
+ | You may also need to edit the file(s) (if they exist): | ||
+ | < | ||
+ | $ sudo gedit / | ||
+ | |||
+ | $ sudo gedit / | ||
+ | </ | ||
+ | |||
+ | Put a # in front of the line " | ||
+ | |||
+ | ==='' | ||
+ | |||
+ | ''' | ||
+ | |||
+ | < | ||
+ | $ sudo dpkg -i xorg-driver-fglrx_8.593-0ubuntu1_i386.deb fglrx-kernel-source_8.593-0ubuntu1_i386.deb fglrx-amdcccle_8.593-0ubuntu1_i386.deb | ||
+ | </ | ||
+ | '' | ||
+ | |||
+ | Starting Catalyst version 8.10, installing the following package ensures compatibility with restricted drivers' | ||
+ | |||
+ | < | ||
+ | $ sudo dpkg -i fglrx-modaliases_8.593-0ubuntu1_i386.deb | ||
+ | </ | ||
+ | |||
+ | 64 bit systems should have the same behaviour. | ||
+ | < | ||
+ | sudo dpkg -i fglrx-modaliases_8.593-0ubuntu1_amd64.deb | ||
+ | </ | ||
+ | |||
+ | ''' | ||
+ | |||
+ | < | ||
+ | $ sudo dpkg -i xorg-driver-fglrx_8.593-0ubuntu1_amd64.deb fglrx-kernel-source_8.593-0ubuntu1_amd64.deb fglrx-amdcccle_8.593-0ubuntu1_amd64.deb | ||
+ | </ | ||
+ | '' | ||
+ | |||
+ | === Additional 64-bit instructions === | ||
+ | |||
+ | If you have a 64 bit install, the above dpkg command may complain that " | ||
+ | |||
+ | < | ||
+ | $ sudo apt-get install -f | ||
+ | </ | ||
+ | |||
+ | Catalyst {{catalystversion</ | ||
+ | < | ||
+ | $ sudo dpkg -i --force-overwrite xorg-driver-fglrx_8.593*.deb fglrx-kernel-source_8.593-0*.deb fglrx-amdcccle_8.593-0*.deb | ||
+ | </ | ||
+ | |||
+ | When installing the packages, if < | ||
+ | |||
+ | ===Fix for an error:=== | ||
+ | If you are having this error: | ||
+ | < | ||
+ | dpkg-shlibdeps: | ||
+ | </ | ||
+ | |||
+ | Fix it by doing the following: | ||
+ | < | ||
+ | $ sudo sh {{catalystfilename</ | ||
+ | $ cd driver/ | ||
+ | $ sudo ln -s libfglrx_gamma.so.1.0 libfglrx_gamma.so.1 | ||
+ | $ cd ../ | ||
+ | $ sudo sh ati-installer.sh -- --buildpkg Ubuntu/ | ||
+ | </ | ||
+ | |||
+ | If you get this error from modprobe fglrx: | ||
+ | < | ||
+ | ERROR: firegl_stub_register failed | ||
+ | </ | ||
+ | |||
+ | Fix it by doing: | ||
+ | < | ||
+ | $ sudo rmmod radeon | ||
+ | $ sudo rmmod drm | ||
+ | $ sudo modprobe fglrx | ||
+ | </ | ||
+ | |||
+ | === Finishing the Install: Configuration === | ||
+ | |||
+ | If you've used fglrx previously, you will not need to do this. | ||
+ | Run | ||
+ | < | ||
+ | |||
+ | Now you'll likely have to edit your xorg.conf (even if just to confirm the above command added the apropriate fglrx line): | ||
+ | < | ||
+ | and add the following line to the Device section (if it does not already exist). | ||
+ | < | ||
+ | [...] | ||
+ | Driver " | ||
+ | [...] | ||
+ | EndSection</ | ||
+ | Make the appropriate changes to " | ||
+ | Save and exit, then | ||
+ | in a terminal. If it does not error you should be fine. | ||
+ | |||
+ | Some people find that changes to xorg.conf don't get used by the driver. To force the ati driver to adopt changes made to xorg.conf, type the following command: | ||
+ | < | ||
+ | sudo aticonfig --input=/ | ||
+ | </ | ||
+ | Finally, reboot the computer and type | ||
+ | < | ||
+ | fglrxinfo | ||
+ | </ | ||
+ | into the terminal. If the vendor string contains ATI, you have installed the driver successfully. Release 8.8 looks like: | ||
+ | < | ||
+ | display: :0.0 screen: 0 | ||
+ | OpenGL vendor string: ATI Technologies Inc. | ||
+ | OpenGL renderer string: Radeon X1950 Series | ||
+ | OpenGL version string: 2.1.7873 Release | ||
+ | </ | ||
+ | |||
+ | |||
+ | Please note: Depending on the particular ATI card that you own, you may or may not automatically have all of the relevant driver features enabled. | ||
+ | |||
+ | === Removing Mesa drivers === | ||
+ | If fglrxinfo reports that Indirect rendering by Mesa is in place, even though you have installed ATI driver, check: | ||
+ | |||
+ | *Remove the package xserver-xgl. | ||
+ | :< | ||
+ | :''' | ||
+ | :< | ||
+ | :If it returns an ATI renderer, it means that xgl is being displayed indirectly on the display 1. (Taken from [http:// | ||
+ | |||
+ | :''' | ||
+ | < | ||
+ | Section " | ||
+ | Option " | ||
+ | EndSection | ||
+ | </ | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | |||
+ | *Check for AGP and DRI errors in / | ||
+ | :< | ||
+ | :(EE) fglrx(0): cannot init AGP | ||
+ | :(EE) fglrx(0): atiddxDriScreenInit failed, GPS not been initialized. | ||
+ | :(WW) fglrx(0): * DRI initialization failed! | ||
+ | |||
+ | :If you have Intel 8285P and E7205 chipsets and AGP not detected then you have to remove the i82875p_edac module and restart a some others: | ||
+ | < | ||
+ | rmmod fglrx | ||
+ | rmmod intel-agp | ||
+ | rmmod agpgart | ||
+ | modprobe agpgart | ||
+ | modprobe intel-agp | ||
+ | modprobe fglrx</ | ||
+ | |||
+ | :Blacklist the modules e7xxx_edac so it doesn' | ||
+ | :< | ||
+ | |||
+ | :This has been known to fix issues with -Mesa -AGP -DRI -Google earth and -suspend to RAM (s2ram). | ||
+ | |||
+ | :''' | ||
+ | |||
+ | |||
+ | ---- | ||
+ | |||
+ | |||
+ | *Check you are running the correct kernel. | ||
+ | :''' | ||
+ | :Run in a terminal: | ||
+ | < | ||
+ | $ uname -r | ||
+ | </ | ||
+ | :If the output starts with 2.6.22 or below you are not using the current kernel and the Ati drivers will not load properly. | ||
+ | |||
+ | If this doesn' | ||
+ | |||
+ | == Specific Issues == | ||
+ | |||
+ | ===Segmentation Fault with glxinfo/ | ||
+ | |||
+ | If you experience such errors (and have '' | ||
+ | |||
+ | === Hang at logout === | ||
+ | |||
+ | If you experience hangs when logging out (of X) it is probably due to the / | ||
+ | |||
+ | < | ||
+ | sudo ln -s / | ||
+ | |||
+ | If that doesn' | ||
+ | |||
+ | < | ||
+ | |||
+ | === Suspend/ | ||
+ | |||
+ | Suspend hibernation ''' | ||
+ | |||
+ | For ATI X1400, to get the laptop to wake up from suspend, I had to change the following in / | ||
+ | |||
+ | < | ||
+ | SAVE_VBE_STATE=false | ||
+ | |||
+ | POST_VIDEO=false | ||
+ | |||
+ | ENABLE_LAPTOP_MODE=false | ||
+ | </ | ||
+ | |||
+ | |||
+ | For Radeon 3200, to wake up from suspend, I had to add the following lines to / | ||
+ | (This settings is not good option, if you are using compiz-fusion or any other transparency-based thingie. Not working for HD 3850) | ||
+ | |||
+ | < | ||
+ | Section " | ||
+ | Option | ||
+ | EndSection | ||
+ | |||
+ | Section " | ||
+ | | ||
+ | EndSection | ||
+ | </ | ||
+ | |||
+ | Resume from suspend failed when using dual monitor configuration in xorg.conf. | ||
+ | E.g. when using | ||
+ | < | ||
+ | aticonfig --initial=dual-head --screen-layout=right | ||
+ | </ | ||
+ | Switching back to a single monitor configuration and restarting the xserver (though not beautiful) solves this. | ||
+ | |||
+ | === Error! This module/ | ||
+ | |||
+ | Simply uninstall the previous version before installing the new one with | ||
+ | < | ||
+ | sudo dkms remove -m fglrx -v 8.522 --all | ||
+ | </ | ||
+ | |||
+ | [[Category: | ||
+ | |||