LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 12-26-2004, 07:44 PM   #1
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Installing fglrx on a Debian System


I have tried to install fglrx ATI drivers on my new Debian system, but with limited success. I managed to successfully convert the RPM into DEB format with the scripts, by using

Code:
alien --scripts fglrx-4.3.0-3.14.1.i386.rpm
Then I installed the drivers using

Code:
dpkg --install --force-overwrite fglrx_4.3.0-4.14_i386.deb
But I get this error.

Code:
Selecting previously deselected package fglrx.
(Reading database ... 156578 files and directories currently installed.)
Unpacking fglrx (from fglrx_4.3.0-4.14_i386.deb) ...
/var/lib/dpkg/tmp.ci/preinst: line 3: [: install: integer expression expected
Setting up fglrx (4.3.0-4.14) ...
chown: cannot access `/usr/share/doc/fglrx/ATI_LICENSE.TXT': No such file or directory
chown: cannot access `/usr/share/doc/fglrx/LICENSE.GPL': No such file or directory
chown: cannot access `/usr/share/doc/fglrx/LICENSE.QPL': No such file or directory
/var/lib/dpkg/info/fglrx.postinst: line 80: [: configure: integer expression expected
*** Trying to install a precompiled kernel module.
*** WARNING ***
Tailored kernel module for fglrx not present in your system.
You must go to /lib/modules/fglrx/build_mod subdir
and execute './make.sh' to build a fully customed kernel module.
Afterwards go to /lib/modules/fglrx and run './make_install.sh'
in order to install the module into your kernel's module repository.
(see readme.txt for more details.)

As of now you can still run your XServer in 2D, but hardware acclerated
OpenGL will not work and 2D graphics will lack performance.

failed.
*** Found kernel module build environment, generating kernel module now.
ATI module generator V 2.0
==========================
initializing...
Error:
XFree86 drm includes at /lib/modules/2.4.27-1-386/build/include/../drivers/char/drm do not fit this driver.
This driver is designed to only work with X4.1.0 or higher.
You can match this by getting Linux kernel 2.4.8 or higher.
*** WARNING ***
Tailored kernel module for fglrx not present in your system.
You must go to /lib/modules/fglrx/build_mod subdir
and execute './make.sh' to build a fully customed kernel module.
Afterwards go to /lib/modules/fglrx and run './make_install.sh'
in order to install the module into your kernel's module repository.
(see readme.txt for more details.)

As of now you can still run your XServer in 2D, but hardware acclerated
OpenGL will not work and 2D graphics will lack performance.

failed.
*** Warning ***
The QT based control panel application did not load in any version.
 ===
ATI display drivers successfully installed
please run 'fglrxconfig' now
 ===
There are plenty of errors there. How do I fglrx with 3d acceleration in Debian. Or is it not possible?
 
Old 12-27-2004, 06:24 PM   #2
R00ts
Member
 
Registered: Mar 2004
Location: Austin TX, USA
Distribution: Ubuntu 11.10, Fedora 16
Posts: 547

Rep: Reputation: 30
Yeah, installing ATI drivers is a bitch. It took me about 2 weeks I think till I finally got it working.


At first I tried using alien as you did, but then I found this guide:

http://xoomer.virgilio.it/flavio.sta...installer.html


This is hands down the best ATI driver installation guide for Debian systems that I've ever seen. Do a search for posts by myself in the Debian forum and you should find a couple topics about this subject. I'm getting ready to install the latest version of the drivers (haven't updated since June) along with a new kernel from source, so I shall be using this guide heavily.
 
Old 12-27-2004, 08:22 PM   #3
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Thanks for the link, R00ts. Will try it out...
 
Old 12-27-2004, 09:34 PM   #4
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Unfortunately I'm still not able to build the fglrx module.

Here is the output of ./make.sh
Code:
ATI module generator V 2.0
==========================
initializing...
Error:
XFree86 drm includes at /usr/src/kernel-headers-2.4.27-1-386/drivers/char/drm do        not fit this driver.
This driver is designed to only work with X4.1.0 or higher.
You can match this by getting Linux kernel 2.4.8 or higher.
How on earth am I able to get it to work.

I am running kernel 2.4.27 and XFree86 4.3.0
 
Old 12-27-2004, 11:57 PM   #5
R00ts
Member
 
Registered: Mar 2004
Location: Austin TX, USA
Distribution: Ubuntu 11.10, Fedora 16
Posts: 547

Rep: Reputation: 30
Quote:
Originally posted by Harishankar
Unfortunately I'm still not able to build the fglrx module.

Here is the output of ./make.sh
Code:
ATI module generator V 2.0
==========================
initializing...
Error:
XFree86 drm includes at /usr/src/kernel-headers-2.4.27-1-386/drivers/char/drm do        not fit this driver.
This driver is designed to only work with X4.1.0 or higher.
You can match this by getting Linux kernel 2.4.8 or higher.
How on earth am I able to get it to work.

I am running kernel 2.4.27 and XFree86 4.3.0



I believe you need to upgrade your kernel to a newer version (2.4.8 or later). I think I'm running 2.6.4 right now but I'm not sure because I'm not on my home machine.
 
Old 12-28-2004, 12:15 AM   #6
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
But isn't 2.4.27 higher than 2.4.8?

27 > 8 right? And I upgraded the kernel using synaptic.
 
Old 12-28-2004, 02:21 AM   #7
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178

Original Poster
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
HOORAY!

Got it to work. Turned out that the directory

Code:
/usr/src/kernel-headers-2.4.27-1-386/drivers/char/drm
did not exist.

So I created a symbolic link to that drivers which was in

Code:
/usr/src/kernel-source-2.4.27-1-386/
Now the module has compiled and installed and fglrxinfo gives the output as
Code:
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9600 Generic
OpenGL version string: 1.3.4641 (X4.3.0-3.14.6)
Thanks for your help R00ts. Really appreciated your link to that Debian specific help! Now I can install UT2004 after all!

Last edited by vharishankar; 12-28-2004 at 02:24 AM.
 
Old 01-27-2005, 12:39 PM   #8
jbstew32
Member
 
Registered: Feb 2003
Location: Atlanta, GA
Posts: 151

Rep: Reputation: 15
is it really necessary to install gcc 2.95 and set it as the default first as the guide says?
 
Old 01-27-2005, 01:49 PM   #9
Haraldsh
LQ Newbie
 
Registered: Sep 2003
Distribution: Debian 2.6.9 Sarge
Posts: 24

Rep: Reputation: 15
Congrats on your success to make the driver work.
There seems to be few FAQ's when it comes to figure out what is wrong with the installation of the driver.
I guess this is the worst thing I've tried to install on the machine, just look at my thread just posted, before noticing your post.

I guess the ATI driver is a hard nut to crack.
 
  


Reply



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
ATI fglrx config on Debian |<GBS>|Gibson Linux - Hardware 1 08-04-2005 08:41 AM
Installing the ATI drivers on a Debian system TroelsSmit Linux - Newbie 1 02-06-2005 12:41 PM
Installing a CLEAN Debian System questions terfy Debian 31 01-08-2005 03:16 PM
2.6.7 Kernel w/ fglrx 3.9.0 causes system hang when switching out of X? r_jensen11 Linux - Hardware 9 06-28-2004 07:09 PM
Problems Installing TerminatorX 3.81 on Debian, Libranet System GraphMathMatix Linux - Software 1 11-25-2003 05:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:40 AM.

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