Jump to: navigation, search


5,445 bytes added, 07:09, 31 December 2012
no edit summary
= Installation Read Me First The open-source ati/radeon driver should already be installed and used as the default. This guide focuses on installing the proprietary ATI driver (fglrx/Catalyst). ==Before Starting==If you have previously attempted installing Catalyst, remove any leftover files by following the [[#Removing_Catalyst.2Ffglrx| Removing the Driver]] section.
'''Which cards are no longer supported by ATI Catalyst?'''
The ATI Radeon 9500-9800, Xpress200-1250, 690G, 740G, X300-X2500 (including Mobility RadeonHD 2300, since it is really a DirectX 9 part). See the complete list [ here.]
| <br />NOTE: If you enter your card information on AMD/ATI's driver page, it will offer you the Catalyst 9-3 driver to download. However, the Catalyst 9-3 driver doesn't support X servers past 1.5, and it will not work with Debian versions later than Lenny/5.0.x! !!!SO BE CAREFUL!!! If you tried to install Catalyst on a system with one of these cards, see the 'Removing the Driver' section to restore the default/pre-installed drivers.<br /><br />
= Read Me Second :SLEEP mode in Debian/testing kernel 3.2.0 = breaks sleeping mode(notebook hangs up after awaking and
reboot without logging anything ). I suppose it is because atievetsd not working correctly. So i first install
last fglrx-atieventsd packet and over it ( Or first and then manualy copy rest conf files from fglrx-atieventsd
without overwriting.) Then start atieventsd : "service fglrx-atieventsd restart" and put this command in
autorun files.
Next step - check /var/syslog if there would be "atieventsd[3141]: Unable to bind control socket to
/var/run/atieventsd.socket: Permission denied " - then it need be run by root.
After this sleeping mode become work correctly but only sometimes. Research is to be continued.
Good news is that many 3d games are well playing with sound on wine-1.5.6.
= Installation =
The open-source ati/radeon driver should already be installed and used as the default.
See [[Debian Open Source|Debian Open Source Drivers]].
This guide focuses on installing the proprietary ATI driver (fglrx/Catalyst).
==Before Starting==
If you have previously attempted installing Catalyst, remove any leftover files by following the [[#Removing_Catalyst.2Ffglrx| Removing the Driver]] section.
== Installing from Debian Repository ==
NOTE: This method does not work as of 12th of October 2011no longer works on Wheezy/testing or Sid after upgrade to Xserver 1. Trying to install 12. Unfortunately fglrx using /Catalyst trigger segfaults in Xorg newer than 1.11.x, and the method below yields:E: Package 'fglrx-driver' has no installation candidateE: Package 'fglrx-control' has no installation candidateE: Package 'fglrx-glx' has no installation candidateE: Package 'fglrx-atieventsd' has no installation candidateE: Package 'fglrx-modules-dkms' has no installation candidate In the event that the fglrx packages make it back to the wheezy repository, the method will work. For the time being, it does notwas removed from Wheezy and Sid.
Fglrx is non-free software, so it is located in the non-free repository. If you do not have non-free enabled, you can do so like this:
$ sudo apt-get install fglrx-glx-ia32
The Debian community provides information on its wiki pages [ here] and [ here].
== Installing Manually ==
This [[can not]] work at all. please refer the Discussion for details....
This method uses the latest Catalyst driver downloaded from AMD/ATI's site.
===Prerequisite Packages===
Install the prerequisite packages (names are based on Debian sid, older Debians may be different):
$ sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0 module-assistantdh-modaliases
''If you are using the x86_64 architecture (64 bit), be sure to install "ia32-libs" before proceeding!''
$ sudo apt-get install ia32-libs
This package contains both the 32-bit and 64-bit driver.
$ cd ~/; mkdir catalyst{{Catalystversion}}; cd catalyst{{Catalystversion}}/
$ wget <nowiki></nowiki>{{Catalystdashversion}} $ chmod +x atiamd-driver-installer-{{Catalystdashversion}} Interestingly enough, as I test this (October 6, 2012), it seems that AMD have started releasing the driver as a *.zip file. The current version can be found here : $
===Create .deb packages.===
You can run <code>./atiamd-driver-installer-{{Catalystdashversion}} --listpkg</code> to get a list of all the generatable potential packages
For Debian systems, <package> will be one of the following:
Debian/sid Debian/unstable Debian/etch Debian/stable Debian/lenny Debian/testing Debian/experimental
$ sudo ./atifakeroot sh amd-driver-installer-{{Catalystdashversion}} --buildpkg <package> ===''Install .debs.''=== $ sudo dpkg -i fglrx*.deb == Wheezy Installation (current as of June 22, 2012) == Wheezy upgraded from xserver 1.11 to 1.12 on May 20, 2012. AMD has not updated their driver to work with this version of xserver. So, you have two options: 1) Downgrade from xserver 1.12 (Tested, and works on 6/22/12 on Debian Wheezy kernel 3.2.0-1-amd64) Link to instructions (this should be copied over to this wiki for posterity): Notes:In the linked directions they use fglrx version 12.4. At the time of making this edit beta version 12.6 also works just fine. If you want to run the bleeding edge, it can be found here: With the 12.6 beta version you will get a watermark in the lower right hand corner. After you have everything working properly run this script: It will get rid of that water mark. 
Edit: for me 2) Patch libpciaccess (I have no first hand knowledge of this step didn't work out at all, and I hope someone smarter will sort it out, working but here is a post that helped a lot: "just run others swear by it with "sudo ./ati*run". Hope this helps. EndEdit)
2011/10/17,when trying <code>./ati-driver-installer-{{Catalystdashversion}} --listpkg</code>, all I This will get is that debian is unverified, so you can not generate a deb packages for debianthe latest and greatest xserver and fglrx working together.
===''Install Read this: http://ati.cchtml.debscom/show_bug.''==cgi?id=522 $ sudo dpkg -i fglrx*Apply this patch: http://pastebin.debcom/swpDj4FD
= Post Install =
=== Generic Config ===
This will work for most people:
$ sudo aticonfig amdconfig --initial -f If you are using dual head, that is to say, two _different_ desktops on two monitors, do this: $ sudo amdconfig --initial=dual-head -f Most people with two or more monitors will want instead one large desktop; to do this you mayhave to specify your monitors individually in the xorg.conf file and tell the driver to use alarger desktop size (big enough to contain both monitors) then use xrandr to configure themonitor arrangement.
I === Minimal Config ===A very basic /etc/X11/xorg.conf file might be beating what you need if you have a new card that's not fully supported by amdconfig. Here follows the entirety of a dead horse, but thank you minimal xorg.conf file for postnig this!the Radeon 6870:  Section "Device" Identifier "ATI radeon 6870" Driver "fglrx" EndSection
=== X2/Dual GPU Cards ===
If you have an X2 card (e.g. 4870X2 or 5970), use... !!Do not use for two separate cards in crossfire!!
$ sudo aticonfig amdconfig --initial -f --adapter<nowiki>=</nowiki>all
=== Dual/Multi Monitors ===
If you have A post at suggested to do the followingto use a dual monitor display (also known as "Big Desktop"), use: $ sudo aticonfig amdconfig --initial -f $ sudo aticonfig amdconfig --set-pcs-str<nowiki>=</nowiki>"DDX,EnableRandR12,FALSE"This was confirmed However the information is dated 2009 and now believed to be obsolete. For multiple monitors, instead try specifying all monitors in http://phoronixyour file.php?tUse the following as a starting point:  Section "ServerLayout" Identifier "amdconfig Layout" Screen 0 "amdconfig-Screen[0]-0" 0 0 EndSection Section "Module" EndSection Section "Monitor" Identifier "0-DFP6" Option "DPMS" "true" Option "PreferredMode" "1920x1080" EndSection Section "Monitor" Identifier "0-CRT1" Option "DPMS" "true" Option "PreferredMode" "1280x1024" EndSection Section "Device" Identifier "amdconfig-Device[0]-0" Driver "fglrx" BusID "PCI:1:0:0" Option "Monitor-DFP6" "0-DFP6" Option "Monitor-CRT1" "0-CRT1" EndSection Section "Screen" Identifier "amdconfig-Screen[0]-0" Device "amdconfig-Device[0]-0" Monitor "0-DFP6" DefaultDepth 24 SubSection "Display" Viewport 0 0 Depth 24 # Big Desktop: 1920+1280=3200, max(1080,1024)=185531080 Virtual 3200 1080 EndSubSection EndSection After starting X successfully, use <nowiki>xrandr</nowiki> to check the maximum screen sizeis large enough for your combined desktop:  $ xrandr Screen 0: minimum 320 x 200, current 3200 x 1080, maximum 3200 x 1080 And positioning of connected monitors:  DFP1 disconnected (normal left inverted right x axis y axis) DFP2 disconnected (normal left inverted right x axis y axis) DFP3 disconnected (normal left inverted right x axis y axis) DFP4 disconnected (normal left inverted right x axis y axis) DFP5 disconnected (normal left inverted right x axis y axis) DFP6 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 531mm x 299mm [modes elided] CRT1 connected 1280x1024+1920+56 (normal left inverted right x axis y axis) 338mm x 270mm Use xrandr (or in KDE, krandrtray) to reposition your monitors within your screen.
==Force use of the new xorg.conf (if necessary)==
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, use the following command:
$ sudo aticonfig amdconfig <nowiki>--input=/etc/X11/xorg.conf --tls=1</nowiki>
==Test your installation==
$ fgl_glxgears
If you experience issues or a hang, you may need to disable fast TLS.
$ sudo aticonfig amdconfig --tls=0
= Hardware Video Decode Acceleration (EXPERIMENTAL) =
$ sudo make oldconfig
and build it using
$ make-kpgk kpkg --initrd --append-to-version="-myversion" kernel_image kernel_headers modules_image
You may not need to rebuild the whole kernel, installing its headers may be enough,
but i wanted a fresh kernel with a few custom options.
After this return to the directory where you extracted the driver to and type:
$ sudo ./ 8.892 --install --force
To load the driver type:
$ sudo modprobe fglrx
And there you go!=Debian Squeeze x86_64 and AMD A Series (June 2012)=
=Catalyst 11First install Kernel 3.10 and Debian Wheezy2 from squeeze-backports.Add backports to your sources.listAdd this line deb Sid debian-backports squeeze-backports main contrib non-free to your sources.list (Octoberor add a new file to /etc/apt/sources.list.d/November 2011)=Version 11 $ sudo apt-get update $ sudo apt-get -t squeeze-backports install linux-image-3.10 does not work on Debian Wheezy and the latest Xserver 12.0-0.11bpo.0, because an ABI incompatibility (this version provides xorg2-amd64  $ sudo reboot  $ sudo apt-get remove -input-abipurge xserver-13 and xorg-video-abiradeon $ sudo apt-get -t squeeze-11). We have to wait backports install fglrx-driver fglrx-control fglrx-glx fglrx-atieventsd fglrx-modules-dkms If you are using 64-bit Debian, install the 32-bit fglrx libraries for AMD to get a new ABIuse with 32-compatible version (probably Catalyst 11.11)bit programs.
$ sudo apt-get -t squeeze-backports install fglrx-glx-ia32
Anonymous user

Navigation menu