LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-10-2005, 04:22 PM   #1
micker
LQ Newbie
 
Registered: Jan 2005
Location: Bury, Lancashire, England
Distribution: Ubuntu 6.06
Posts: 27

Rep: Reputation: 15
ati fglrx 8.10.19 driver help please


Hi Folks,
I installed xorg6.8 on my mandrake10.1CE box last night and everything went well so I then downloaded the latest fglrx driver from ati (fglrx_6_8_0-8.10.19-1.i386.rpm) and attempted to install that. I stopped the x server, went rpm -Uhv --force fglrx_6_8_0-8.10.19-1.i386.rpm and then rebooted. When the system came up everything looked OK but glxinfo reported that direct rendering wasn't working. I decided to try to build the fglrx module manually. I went to /lib/modules/build_mod and went sh ./make.sh and got the following message.

sh ./make.sh
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
assuming new VMA API since we do have kernel 2.6.x...
doing Makefile based build for kernel 2.6.x and higher
make -C /lib/modules/2.6.8.1-10mdk/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/include/linux'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/usr/include/linux'
make: *** [kmod_build] Error 2
build failed with return value 2

I've managed to get previous versions of the fglrx driver to work but I've never seen this error before. Anybody got any ideas.

Cheers,

Mick.
 
Old 03-10-2005, 08:09 PM   #2
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Are your kernel sources installed and does the symlink /usr/src/linux exist and point to the kernel source directory?

If it is not installed, you may be able to find it in your installation CD. Install it first and then do the ./make.sh.
 
Old 03-11-2005, 09:32 AM   #3
micker
LQ Newbie
 
Registered: Jan 2005
Location: Bury, Lancashire, England
Distribution: Ubuntu 6.06
Posts: 27

Original Poster
Rep: Reputation: 15
Harishankar,
Thanks for yor reply but unforunately the solution isn't so simple. The kernel source code is installed and the required symbolic link does already exist. I'm assuming (maybe incorrectly) that the problem is in the fglrx source. However, I suppose if that were the case then this thread would have been red hot with other people reporting the same problem.
Anyway, thanks for your help.
Cheers,
Mick.
 
Old 03-11-2005, 11:22 AM   #4
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Rep: Reputation: 30
Quote:
Originally posted by micker
Harishankar,
Thanks for yor reply but unforunately the solution isn't so simple. The kernel source code is installed and the required symbolic link does already exist. I'm assuming (maybe incorrectly) that the problem is in the fglrx source. However, I suppose if that were the case then this thread would have been red hot with other people reporting the same problem.
Anyway, thanks for your help.
Cheers,
Mick.
You haven't changed your kernel .config file by chance? I've had no problems at all doing the upgrade (modules built perfectly) and have seen a +100 fps boost in glxgears (radeon 9600). Makes me happy to see ati actually doing something . If you haven't messed around with your kernel since the last install (updates, recompiles, installing new binarys), then i have no idea what messed up. I'd just try doing a recompile with the official kernel.org kernel (2.6.10 or whatever you want) using the current .config file to make sure.
 
Old 03-13-2005, 04:15 PM   #5
micker
LQ Newbie
 
Registered: Jan 2005
Location: Bury, Lancashire, England
Distribution: Ubuntu 6.06
Posts: 27

Original Poster
Rep: Reputation: 15
Bobbens,
I've already tried getting an updated kernel ( I got it from Mandrakes cooker (2.6.11-2mdk)). As luck would have it, the error I was getting has be replaced by the following.

When I got to install the driver.

[root@localhost mick]# rpm -Uhv --force fglrx_6_8_0-8.10.19-1.i386.rpm
Preparing... ########################################### [100%]
1:fglrx_6_8_0 ########################################### [100%]
[root@localhost mick]#

When I've installed the ATI driver previously, I normally get a lot more info than this. If I now go

[root@localhost mick]# rpm -q fglrx_6_8_0-8.10.19-1.i386.rpm

I get this.

package fglrx_6_8_0-8.10.19-1.i386.rpm is not installed.

So it looks like the install failed.

If I now cd to /lib/modules/fglrx/build_mod and go sh ./make.sh I get reams of errors all complaining about errors in /lib/modules/fglrx/build_mod/2.6.x/firegl_public.c.

Short of a mini-miracle I think my best bet is to live without hardware 3d until Mandrake 10.2CE comes out.

Anyway Bobbens, thanks for your reply anyway.

Cheers,

Mick.
 
Old 03-13-2005, 04:21 PM   #6
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Rep: Reputation: 30
Yeah it sucks that you're having soo many problems. Short of reinstalling linux i don't know what you can do. Are people in the mandrak forum having the same error?
 
Old 03-13-2005, 07:55 PM   #7
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
ATi drivers are incompatible with kernels > 2.6.11 - you would need to find a patch for the drivers to persuade them to build. Downgrade to an older kernel if you're not happy patching, else two patches are apparently available from the BugZilla - http://ati.cchtml.com/show_bug.cgi?id=110

Also, try removing the /lib/modules/fglrx directory before reinstalling the drivers again (rm -rf /lib/modules/fglrx)
 
Old 03-13-2005, 08:44 PM   #8
vharishankar
Senior Member
 
Registered: Dec 2003
Distribution: Debian
Posts: 3,178
Blog Entries: 4

Rep: Reputation: 138Reputation: 138
Must be that 2.6.11 is definitely incompatible with ATi's latest drivers. I'm using 2.6.10 with ATi drivers and no problems.

Must investigate this further.

The best solution seems to be sticking on with kernel 2.4. It may be old, but many things still work properly with this kernel. 2.6 series seem to be giving a lot of problems for quite a few people (although not for me -- lucky me )

Just for the record.

I'm using 2.4.27 kernel in Debian and ATi drivers work fine with 3d.

I'm also using 2.6.10 kernel in Gentoo and ATi drivers work fine there also.

I think using 2.6.10 and less is the best solution for the moment.

Last edited by vharishankar; 03-13-2005 at 08:45 PM.
 
  


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
ATI fglrx driver trouble Alexey Andriyanov Linux - Hardware 4 08-17-2005 01:35 AM
Problems initialising ´fglrx´ driver for ATI. St00gE Fedora 4 05-28-2005 09:50 PM
ati-fglrx driver fails to load :@ Infernal211283 Linux - Newbie 4 04-02-2005 09:52 AM
Ati fglrx driver... strange bug kule Slackware 8 03-08-2005 02:49 PM
Request for ATI FGLrx Driver FAQ jpbarto LQ Suggestions & Feedback 2 10-16-2003 01:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:41 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