SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2011-11-07 08:06:02

rich
#! Junkie
From: barcelona
Registered: 2009-01-26
Posts: 414
Website

How I install Ati drivers on Crunchbang Statler and Debian Squeeze

I posted this on my blog, and a couple of people suggested posting it here as well.

Installing Manually on Crunchbang Statler (32/64bit)

This method uses the latest Catalyst driver downloaded from AMD/ATI's site for newer Ati/Radeon cards.
This was tested on a virgin install with no other previous attempts at installing Ati drivers. If you have an already edited system, with other drivers installed, remove them "completely" first.

Do everything below as root, in the /root directory

Install the prerequisite packages:

apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++6 dkms libqtgui4 wget execstack libelfg0 module-assistant

Make sure you are ready to go with Module Assistant:

m-a prepare

Download the latest Catalyst package:
This package contains both the 32-bit and 64-bit driver (if you are on a 64bit machine, install ia32-libs)

cd ~/; mkdir catalyst11.10; cd catalyst11.10/
wget http://www2.ati.com/drivers/linux/ati-driver-installer-11-10-x86.x86_64.run 
chmod +x ati-driver-installer-11-10-x86.x86_64.run

Launch the Ati installer and go through the motions:*

./ati*run

* I also tried making the .deb package, but it fails. So I just run the installer.

Now reboot, don't try glxgears or the catalyst control center, in fact don't-touch-anything, just reboot.

Last edited by rich (2011-11-07 09:48:34)

Offline

Help fund CrunchBang, donate to the project!

#2 2011-11-07 13:06:44

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 12,346

Re: How I install Ati drivers on Crunchbang Statler and Debian Squeeze

How are your gettys after you do this?  Last time I tried the ATi drivers on my AMD/ATi box I had to jump through a few hoops to get them back, and they looked blurry at every available resolution.


I'm a moderator here.  How are we doing?  Feedback is encouraged.

Offline

#3 2011-11-07 13:16:35

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,749

Re: How I install Ati drivers on Crunchbang Statler and Debian Squeeze

pvsage wrote:

How are your gettys after you do this?

Same as yours. It doesn't matter which method you use, fglrx doesn't do kernel mode setting, which gives you the good looking ttys. You can do some framebuffer adjusting, but in most (or all) cases, you're not gonna get the full resolution.

Offline

#4 2011-11-07 14:27:15

rich
#! Junkie
From: barcelona
Registered: 2009-01-26
Posts: 414
Website

Re: How I install Ati drivers on Crunchbang Statler and Debian Squeeze

Everything working pretty well on my system. If you guys like, when I get back i'll do a few benchmark tests and post the results.

The reason I installed these drivers for my card is that for some reason, after an upgrade, my freshly installed CB would scroll a load of ati errors then stay at the console. When I ctrl+alt+F7, GDM was there, but wasn't loading automatically.

Installed the new drivers, rebooted and everything was back to normal. Tested a few games etc, and on first appearances, everything was running well.

Offline

#5 2011-11-08 18:09:52

Venomous
Member
From: Republic of Texas
Registered: 2009-09-20
Posts: 18

Re: How I install Ati drivers on Crunchbang Statler and Debian Squeeze

Working great for me so far. Have always had resolution issues with my 4850 on #! This seems to have fixed it finally. Thanks a ton.


~/ is where the heart is.

Offline

#6 2011-11-19 17:17:01

rich
#! Junkie
From: barcelona
Registered: 2009-01-26
Posts: 414
Website

Re: How I install Ati drivers on Crunchbang Statler and Debian Squeeze

I have tested practically everything I can, Gettys, 3D games, Dvd video, xtightvncviewer runing a remote Windows XP desktop. Everything is cool on my machine with an ATI Radeon HD 5450.

Just been playing IO Urban Terror online with Desura, getting nearly 100 fps.

Offline

#7 2011-12-12 12:29:59

CrunchyFree
#! Junkie
From: New Amsterdam, U.S.
Registered: 2010-06-13
Posts: 426

Re: How I install Ati drivers on Crunchbang Statler and Debian Squeeze

Thank you so much for this! The only thing that was stopping me from crunching around anymore was driver installation issues! Now I'm back to dual monitors on the greatest OS ever!

/me bows down to your greatness

Now I'm gonna install i3 like a /g/


XFCE User ~ Linux Abuser ~ Rubbish Refuser
[img]http://achievements.schrankmonster.de/Achievement.aspx?text=First%20Tiling%20WM%20-%2050G[/img]

Offline

#8 2011-12-12 21:37:33

acid317
New Member
From: Saint Louis
Registered: 2011-12-12
Posts: 5

Re: How I install Ati drivers on Crunchbang Statler and Debian Squeeze

I apologize in advance, I am a bit of a newbie to #! and linux in general, but when I type the first step into the console, it outputs this:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package debhelper is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package cdbs
E: Unable to locate package dh-make
E: Package 'debhelper' has no installation candidate
E: Unable to locate package dkms
E: Unable to locate package execstack
E: Unable to locate package libelfg0
E: Unable to locate package module-assistant

And when I try to install debhelper individually, it outputs this:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package debhelper is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'debhelper' has no installation candidate

Thanks!

Offline

#9 2011-12-13 09:34:23

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: How I install Ati drivers on Crunchbang Statler and Debian Squeeze

Try again now. Maybe the repo was being updated while you tried to install.

If it does not work:

sudo apt-get update 
sudo apt-get install debhelper

If that does not work:
Post output of

cat /etc/apt/sources.list

Last edited by xaos52 (2011-12-13 09:36:24)

Offline

#10 2011-12-13 23:51:12

acid317
New Member
From: Saint Louis
Registered: 2011-12-12
Posts: 5

Re: How I install Ati drivers on Crunchbang Statler and Debian Squeeze

Must have been the repo, it is working fine now. Thanks for the help! Also, thanks to the OP, it works like a dream. One question: will these drivers update when I use apt-get update/upgrade?

Last edited by acid317 (2011-12-13 23:54:12)

Offline

#11 2011-12-14 00:04:01

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,749

Re: How I install Ati drivers on Crunchbang Statler and Debian Squeeze

acid317 wrote:

Must have been the repo, it is working fine now. Thanks for the help! Also, thanks to the OP, it works like a dream. One question: will these drivers update when I use apt-get update/upgrade?

No, you have to uninstall them, download a fresh driver from ATI and reinstall. If you install a new kernel or a new version of the Xserver, you have to first uninstall the driver, because you won't be able to start your GUI - the driver is built against a specific version of the kernel and X.

You uninstall the driver with

sudo sh /usr/share/ati/amd-uninstall.sh

or

sudo amdconfig --uninstall

Offline

#12 2011-12-18 22:50:55

Raavea
New Member
Registered: 2011-11-22
Posts: 3

Re: How I install Ati drivers on Crunchbang Statler and Debian Squeeze

No matter how many times or different versions of the driver I try to install, X always breaks. I'm on a livedisc at the moment because it broke AGAIN!
I've been trying ALL DAY. I think I'm missing something.
I can't remember how to post the error output from a livedisc but it complains that fglrx doesn't exist and that there is no screen?

I'm gonna try and uninstall from bash again, but seriously does anyone know what I'm doing wrong? I followed this guide EXACTLY this time. The first time I did the same steps but with the latest driver (as recommended for my Radeon HD2600 by ATIs website).
The other times I have tried different driver versions, just to see if it was the driver that was in error.

PS: Will write down the error or post it verbatim if I can get into my system and find it!

Can't find a log file to paste as I'm tired and full of rum, but here's what X was saying (have uninstalled amdconfig now)

fglrx(0): Invalid video BIOS signature!
fglrx(0): GetBIOSParameter failed
fglrx(0): PreInitAdapter for slave 0 failed
fglrx(0): PreInit failed
Screen(s) found, but none have a useable configuration.
Fatal server error: no screens found

Is it possibly because I have TWO Radeon HD2600s rather than one? hmm

Last edited by Raavea (2011-12-18 23:29:23)

Offline

#13 2011-12-19 09:48:24

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: How I install Ati drivers on Crunchbang Statler and Debian Squeeze

Post output of /var/log/Xorg.0.log:
- Boot from livecd
- In terminal window

sudo mkdir /mnt/crunch
sudo mount /dev/sdx? /mnt/crunch

where /dev/sdx? is the partition on your HD containing #! (replace x by device name and ? by partition number)

cat /mnt/crunch/var/log/Xorg.0.log

post output of the last command in this forum. Post between [ code ] brackets please, because it is loooong.

Last edited by xaos52 (2011-12-19 09:49:46)

Offline

#14 2011-12-19 10:19:49

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,749

Re: How I install Ati drivers on Crunchbang Statler and Debian Squeeze

I only saw this now. Two Radeon HDs means switchable graphics (one is Mobility Radeon HD, the other Radeon HD). AMD does have support for PowerExpress on Linux, but it's pretty meh. Take a peek into the BIOS, there should be an option to go from switchable to discreet graphics. Then install Catalyst, and you should be good to go.

Offline

#15 2012-01-02 21:23:59

axcraig
#! CrunchBanger
Registered: 2011-02-05
Posts: 100

Re: How I install Ati drivers on Crunchbang Statler and Debian Squeeze

@Rich Thanks so much for this how-to my system is now working perfectly.  I previously had issues with compositing and screen brightness.

Offline

#16 2012-02-18 07:57:19

zsharon
Member
Registered: 2012-02-16
Posts: 24

Re: How I install Ati drivers on Crunchbang Statler and Debian Squeeze

This is my first post from my new #! install.

After installing the driver, I found that I was not getting a fullscreen display when I switched to hdmi, although it was fine when using vga.

I don't know how extensive you want your how-to to be, but I found the information in the following helpful: http://www.aoclarkejr.com/ati-catalyst- … tions.html

The instructions there are for windows, but it was clear enough to help me.  Step-by-step for linux:

1. run 'gksudo amdcccle'
2. click 'Display Manager'
3. for the display using hdmi, click the little arrow next to the monitor icon to open a drop down menu
4. click 'Go to [display] page...'
5. click 'Adjustments' tab
6. move scaling slider to desired setting (0% for me)


AMD Phenom II x4 970 @3.5GHz, GSkill 8GB 1333MHz CAS7, Gigabyte Radeon HD 6850 OC 1GB GDDR5 256-bit, Gigabyte GA-990FXA UD3, CoolerMaster Hyper 212 EVO, Seasonic 620W Bronze, CoolerMaster HAF 912, Samsung 23" LED LCD, OCZ 120GB SSD, Hitachi 320GB HD

Offline

#17 2012-03-11 12:08:04

axcraig
#! CrunchBanger
Registered: 2011-02-05
Posts: 100

Re: How I install Ati drivers on Crunchbang Statler and Debian Squeeze

Hi,

I followed @Rich's instructions and now I appear to have working ATI drivers, amdccle runs and compositing works much better. The installer comes up with an error though and the log file looks like:

Uninstalling any previously installed drivers.

Creating symlink /var/lib/dkms/fglrx/8.95/source ->
                 /usr/src/fglrx-8.95

DKMS: add Completed.
[Error] Kernel Module : Failed to build fglrx-8.95 with DKMS
[Error] Kernel Module : Removing fglrx-8.95 from DKMS

------------------------------
Deleting module version: 8.95
completely from the DKMS tree.
------------------------------
Done.
[Reboot] Kernel Module : update-initramfs

Do you think this is lilely to cause any problems or should I just ignore it?

Thanks,
Ax

Offline

#18 2012-04-08 22:50:07

xapU7
#! CrunchBanger
From: prague
Registered: 2009-03-03
Posts: 111
Website

Re: How I install Ati drivers on Crunchbang Statler and Debian Squeeze

rich wrote:

Installing Manually on Crunchbang Statler (32/64bit)
(..)

thanks for the tut', rich!
helped :]

have a nice day!


[cz] maybe i'm paranoid, but it's better than be eaten by aliens.. ~
blog [design, net..]my portfolio [graphic design etc.]deviantArtflickr

Offline

#19 2012-04-12 15:12:12

boomclart
#! Member
Registered: 2011-11-17
Posts: 83

Re: How I install Ati drivers on Crunchbang Statler and Debian Squeeze

I just got the following error

Uninstalling any previously installed drivers.

Creating symlink /var/lib/dkms/fglrx/8.951/source ->
                 /usr/src/fglrx-8.951

DKMS: add Completed.
You can use the --kernelsourcedir option to tell DKMS where it's located, or you could install the linux-headers-2.6.39-bpo.2-amd64 package.
[Error] Kernel Module : Failed to build fglrx-8.951 with DKMS
[Error] Kernel Module : Removing fglrx-8.951 from DKMS

------------------------------
Deleting module version: 8.951
completely from the DKMS tree.
------------------------------
Done.
[Reboot] Kernel Module : update-initramfs

Still loading libdri2.so after a reboot

[    17.347]     X.Org XInput driver : 12.2
[    17.347]     X.Org Server Extension : 5.0
[    17.350] (--) PCI:*(0:1:0:0) 1002:68a0:1043:1c02 rev 0, Mem @ 0xc0000000/268435456, 0xd0020000/131072, I/O @ 0x0000d000/256, BIOS @ 0x????????/131072
[    17.350] (II) Open ACPI successful (/var/run/acpid.socket)
[    17.350] (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
[    17.350] (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
[    17.350] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[    17.350] (II) "record" will be loaded. This was enabled by default and also specified in the config file.
[    17.350] (II) "dri" will be loaded. This was enabled by default and also specified in the config file.
[    17.350] (II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
[    17.350] (II) LoadModule: "dri2"
[    17.393] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so

Any idea what I should do next?

Last edited by boomclart (2012-04-12 15:48:05)


FB | G+ | T

Offline

#20 2012-04-12 15:48:16

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: How I install Ati drivers on Crunchbang Statler and Debian Squeeze

install the linux-headers-2.6.39-bpo.2-amd64 package

sudo apt-get install linux-headers-$(uname -r)

Offline

#21 2012-04-12 16:10:49

boomclart
#! Member
Registered: 2011-11-17
Posts: 83

Re: How I install Ati drivers on Crunchbang Statler and Debian Squeeze

If I'm being stupid shoot me... but I get the following error, even after an apt-get update

david@crunchbang:~$ sudo apt-get install linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package linux-headers-2.6.39-bpo.2-amd64
E: Couldn't find any package by regex 'linux-headers-2.6.39-bpo.2-amd64'

Not sure if this is of any significance but... I just ran and update and clean script I have and the following items were updated (including main linux-headers-2.6.32-5-amd64) but surely this should be 2.6.39-bpo.2-amd64 ??

The following packages will be upgraded:
  curl firmware-linux-free libcurl3 libcurl3-gnutls libfreetype6 libpng12-0 libtiff-tools libtiff4
  linux-headers-2.6.32-5-amd64 linux-headers-2.6.32-5-common
10 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
Need to get 6,506 kB of archives.
After this operation, 98.3 kB of additional disk space will be used.
Get:1 http://security.debian.org/ squeeze/updates/main libcurl3 amd64 7.21.0-2.1+squeeze2 [285 kB]
Get:2 http://backports.debian.org/debian-backports/ squeeze-backports/main libfreetype6 amd64 2.4.9-1~bpo60+1 [452 kB]
Get:3 http://security.debian.org/ squeeze/updates/main curl amd64 7.21.0-2.1+squeeze2 [229 kB]
Get:4 http://security.debian.org/ squeeze/updates/main firmware-linux-free all 2.6.32-41squeeze2 [156 kB]
Get:5 http://security.debian.org/ squeeze/updates/main libcurl3-gnutls amd64 7.21.0-2.1+squeeze2 [266 kB]
Get:6 http://security.debian.org/ squeeze/updates/main libpng12-0 amd64 1.2.44-1+squeeze4 [180 kB]
Get:7 http://security.debian.org/ squeeze/updates/main libtiff4 amd64 3.9.4-5+squeeze4 [198 kB]
Get:8 http://security.debian.org/ squeeze/updates/main libtiff-tools amd64 3.9.4-5+squeeze4 [305 kB]
Get:9 http://security.debian.org/ squeeze/updates/main linux-headers-2.6.32-5-amd64 amd64 2.6.32-41squeeze2 [533 kB]
Get:10 http://security.debian.org/ squeeze/updates/main linux-headers-2.6.32-5-common amd64 2.6.32-41squeeze2 [3,900 kB]

Last edited by boomclart (2012-04-12 16:45:58)


FB | G+ | T

Offline

#22 2012-04-12 18:09:31

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 12,346

Re: How I install Ati drivers on Crunchbang Statler and Debian Squeeze

From whence did you get linux-image-2.6.39-bpo.2-amd64?  It ain't in the Debian backports repo. hmm


I'm a moderator here.  How are we doing?  Feedback is encouraged.

Offline

#23 2012-04-12 18:35:39

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: How I install Ati drivers on Crunchbang Statler and Debian Squeeze

@OP: if you cleaned your cache, you will first have to upgrade your kernel to the one that is now current in backports, and then install the headers for that version.
IIRC they retain only one kernel version per architecture in the backports repo.

Last edited by xaos52 (2012-04-12 18:36:46)

Offline

#24 2012-04-12 21:55:43

boomclart
#! Member
Registered: 2011-11-17
Posts: 83

Re: How I install Ati drivers on Crunchbang Statler and Debian Squeeze

So a sudo apt-get dist-upgrade should do the trick?


FB | G+ | T

Offline

Be excellent to each other!

#25 2012-04-12 23:51:06

boomclart
#! Member
Registered: 2011-11-17
Posts: 83

Re: How I install Ati drivers on Crunchbang Statler and Debian Squeeze

Well that didn't update the kernel, how do I update to the latest kernel in the bpo?


FB | G+ | T

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo