LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-20-2006, 06:41 PM   #1
Corndog
LQ Newbie
 
Registered: Jul 2006
Distribution: Kubuntu Edgy Eft
Posts: 2

Rep: Reputation: 0
Getting fglrx


Well, I decided to switch from Suse to Ubuntu the other day. I haven't had as many problems with it, but there's one thing that's driving me crazy.

I am running Kubuntu Edgy Eft with an AMD X2 64 4200+ processor and an ATI Radeon 9250.

I decided to get Xgl/Compiz up and running. I did, but quickly found out it was very slow. I found that I was using the standard ati driver and a run of some utility program showed that 3D acceleration was not enabled. So, I went to install the proprietary fglrx driver that would allow me to enable it. I tried downloading it from the Ubuntu repos. I had some problem with it (all these commands and problems blend together after a while) and I downloaded the official ATI one. Here are my steps:

Code:
$ fakeroot sh ./ati-driver-installer-8.28.8.run --buildpkg Ubuntu/edgy
Creating directory fglrx-install
Verifying archive integrity... All good.
Uncompressing ATI Proprietary Linux Driver-8.28.8.....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
==================================================
 ATI Technologies Linux Driver Installer/Packager
==================================================
Generating package: Ubuntu/edgy
/tmp/fglrx.j32179 ~/Setup/ati/fglrx-install
Package /home/cory/Setup/ati/xorg-driver-fglrx_8.28.8-1_amd64.deb has been successfully generated
Package /home/cory/Setup/ati/xorg-driver-fglrx-dev_8.28.8-1_amd64.deb has been successfully generated
Package /home/cory/Setup/ati/fglrx-kernel-source_8.28.8-1_amd64.deb has been successfully generated
Package /home/cory/Setup/ati/fglrx-control_8.28.8-1_amd64.deb has been successfully generated
Package /home/cory/Setup/ati/fglrx-sources_8.28.8-1_amd64.deb has been successfully generated
~/Setup/ati/fglrx-install
Removing temporary directory: fglrx-install

$sudo dpkg -i *.deb
(Reading database ... 106277 files and directories currently installed.)
Unpacking fglrx-control (from fglrx-control_8.28.8-1_amd64.deb) ...
dpkg: error processing fglrx-control_8.28.8-1_amd64.deb (--install):
 trying to overwrite `/usr/share/icons/ati.xpm', which is also in package fglrx64-6-8-0
Preparing to replace fglrx-kernel-source 8.28.8-1 (using fglrx-kernel-source_8.28.8-1_amd64.deb) ...
Unpacking replacement fglrx-kernel-source ...
Unpacking fglrx-sources (from fglrx-sources_8.28.8-1_amd64.deb) ...
dpkg: error processing fglrx-sources_8.28.8-1_amd64.deb (--install):
 trying to overwrite `/usr/src/ATI/fglrx_panel_sources.tgz', which is also in package fglrx64-6-8-0
Unpacking xorg-driver-fglrx (from xorg-driver-fglrx_8.28.8-1_amd64.deb) ...
dpkg: error processing xorg-driver-fglrx_8.28.8-1_amd64.deb (--install):
 trying to overwrite `/usr/sbin/atieventsd', which is also in package fglrx64-6-8-0
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Unpacking xorg-driver-fglrx-dev (from xorg-driver-fglrx-dev_8.28.8-1_amd64.deb) ...
dpkg: error processing xorg-driver-fglrx-dev_8.28.8-1_amd64.deb (--install):
 trying to overwrite `/usr/include/GL/glxATI.h', which is also in package fglrx64-6-8-0
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Setting up fglrx-kernel-source (8.28.8-1) ...
Errors were encountered while processing:
 fglrx-control_8.28.8-1_amd64.deb
 fglrx-sources_8.28.8-1_amd64.deb
 xorg-driver-fglrx_8.28.8-1_amd64.deb
 xorg-driver-fglrx-dev_8.28.8-1_amd64.deb
I've went through my system and deleted every reference to fglrx--nothing worked. I also tried getting rid of some of the directories listed there. Still, nothing.

So, I decided to do the apt-get again, since that didn't work.

Code:
$ sudo apt-get install xorg-driver-fglrx
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  xorg-driver-fglrx
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0B/16.0MB of archives.
After unpacking 45.6MB of additional disk space will be used.
(Reading database ... 106277 files and directories currently installed.)
Unpacking xorg-driver-fglrx (from .../xorg-driver-fglrx_7.1.0-8.28.8+2.6.17.6-1_amd64.deb) ...
dpkg: error processing /var/cache/apt/archives/xorg-driver-fglrx_7.1.0-8.28.8+2.6.17.6-1_amd64.deb (--unpack):
 trying to overwrite `/usr/sbin/atieventsd', which is also in package fglrx64-6-8-0
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/xorg-driver-fglrx_7.1.0-8.28.8+2.6.17.6-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I tried deleting the /usr/sbin/atieventsd that it mentions, but it gives me the same thing...and the directory isn't even there!

I've spent all day searching Google for answers. Nothing. Do you guys have any clue as to what's going on?

Oh. Not sure if this is the right forum for this...since it was driver related, I figured it'd be the right one. Move it if it's not right...

Last edited by Corndog; 11-20-2006 at 06:44 PM.
 
Old 11-22-2006, 03:04 AM   #2
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Installing ATI drivers is a tricky one often. First you want to make sure your card is truly supported by the driver you're downloading (ATI's site will tell this; don't assume anything). Second, I found the drivers from Ubuntu reposities worked better for me than if I downloaded them directly from ATI's site. Might be different for you, though.

A few things to remember: if you're using apt to handle your packages, use it to remove them too (or purge); if you remove files manually, apt might go crazy. It may even go crazy if there is a simple one-letter error in some of the scripts for a package. You definitely don't want it to go nuts, since getting apt all right again is a pain. So, if you want to use apt to install the drivers, don't mess up with the ATI's "official" ones -- or if you plan to do vice versa, don't you even try to use apt-get. And whenever installing or updating ATI's drivers you probably want to remove them first, that's what I've learned -- if some driver version is installed, it will create a problem if it just somehow can

So, now that it seems you have successfully messed up the fglrx driver install, here's what you should try:

1) remove the installed deb packages of fglrx -- if you manually removed the files, which you shouldn't be doing since you're using a package manager to handle that, try first to force a reinstall of the fglrx pacakge, and then remove it. If this doesn't work, go google, you need to do some manual work to get it done; it depends a bit on the package.

2) after you have cleaned the system, install your kernel sources -- the version must be exactly the same as your runnin kernel's. Use apt-get for this if you have a stock kernel (i.e. you haven't compiled it yourself).

3) Choose which driver to install - from Ubuntu or from ATI (you checked out ATI's driver version supports your card, didn't you?). Then do either of them, but do not try both at the same time If apt-get refuses to install the driver or there comes an error, find out why it did so and fix the error rather than devastating everything and trying "some other way" - that's not going to get you anywhere. If you plan to use drivers from ATI's site, then read their installation instrutions c-a-r-e-f-u-l-l-y. Read them. I know it's dull, but you will want to read them if you wish to succeed.

After the driver installation you also need to edit your X's configuration file in order to get the drivers loaded. Installing drivers like this is not a matter of double-clicking something as it seems to be in Windows, you're actually installing a new kernel module and it needs to be done correctly - there is good documentation about how this is done, so read it (INSTALL, README files or other instructions that should come with the driver package).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fglrx RavenFrost Linux - Software 3 04-25-2006 06:22 AM
fglrx 8.14.13 + 2.6.12.2 xushi Slackware 28 07-16-2005 02:59 AM
fglrx hedin Linux - Hardware 0 09-24-2004 11:40 AM
Fglrx console=>X changing problem and fglrx resume zbychdm Linux - Hardware 2 09-21-2004 12:58 PM
ATI 9500, fglrx-glc22-4.1.0, fglrx-glc22-4.2.0, fglrx-glc22-4.3.0 ctrl_alt_delx Linux - Hardware 1 09-30-2003 05:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration