LinuxQuestions.org

LinuxQuestions.org (http://www.linuxquestions.org/questions/index.php)
-   Linux - Software (http://www.linuxquestions.org/questions/forumdisplay.php?f=2)
-   -   ati fglrx 8.10.19 driver help please (http://www.linuxquestions.org/questions/showthread.php?t=300133)

micker 03-10-2005 04:22 PM

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.

vharishankar 03-10-2005 08:09 PM

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.

micker 03-11-2005 09:32 AM

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.

bobbens 03-11-2005 11:22 AM

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.

micker 03-13-2005 04:15 PM

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.

bobbens 03-13-2005 04:21 PM

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?

cathectic 03-13-2005 07:55 PM

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)

vharishankar 03-13-2005 08:44 PM

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.


All times are GMT -5. The time now is 01:25 AM.