Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 01-31-2006, 12:23 PM   #1
LQ Newbie
Registered: Jan 2006
Location: Greenville, NC
Distribution: Linux From Scratch
Posts: 4

Rep: Reputation: 0
ATI Proprietary driver with lfs

Okay, got x and gnome installed... and I'm trying to install the proprietary driver from ati. I downloaded the .run file from ati, and the installer has an error loading the kernel module.

Here is the output from the installer

[Message] Kernel Module : Trying to install a precompiled kernel module.
[Message] Kernel Module : Precompiled kernel module version mismatched.
[Message] Kernel Module : Found kernel module build environment, generating kernel module now.
ATI module generator V 2.0
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/ SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-'
CC [M] /lib/modules/fglrx/build_mod/2.6.x/agp3.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/nvidia-agp.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/agpgart_be.o
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `__fgl_agp_init':
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:8173: warning: `pm_register' is deprecated (declared at include/linux/pm.h:106)
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c: In function `__fgl_agp_cleanup':
/lib/modules/fglrx/build_mod/2.6.x/agpgart_be.c:8183: warning: `pm_unregister_all' is deprecated (declared at include/linux/pm.h:116)

[More compilation stuff- cut off to not make thread to long]...

deprecated (declared at include/linux/module.h:568)
LD [M] /lib/modules/fglrx/build_mod/firegl_agpgart/fglrx_agp.o
Building modules, stage 2.
CC /lib/modules/fglrx/build_mod/firegl_agpgart/fglrx_agp.mod.o
LD [M] /lib/modules/fglrx/build_mod/firegl_agpgart/fglrx_agp.ko
make[1]: Leaving directory `/usr/src/linux-'
AGPGART build succeeded with return value 0
finished compiling for fglrx_agp
duplicating results into driver repository...
- creating symlink
- recreating module dependency list
- trying a sample load of the kernel modules
[Error] Kernel Module : Failed to install compiled kernel module

Any help anyone could give would be appreciated.
Old 02-05-2006, 03:12 PM   #2
Registered: Sep 2005
Location: Ontario
Distribution: Debian, Ubuntu
Posts: 33

Rep: Reputation: 15
Do you have the kernel sources for your kernel version installed?
Old 02-17-2006, 03:29 PM   #3
LQ Newbie
Registered: Feb 2006
Distribution: LFS
Posts: 26

Rep: Reputation: 15
It's been a while since I've used LFS, but I always had problems with the fglrx driver until I installed GCC-3.3 and used it to compile it. I'm pretty sure that was the main step I needed to take to get hardware acceleration on my Radeon 8500. I don't think it ever worked for me using GCC-3.4.

Check the section of the BLFS book on compiling GCC-3.3 (I also needed it instead of GCC-3.4 when I built

Last edited by spursrule; 02-17-2006 at 03:32 PM.
Old 02-20-2006, 05:01 PM   #4
Registered: Dec 2005
Location: Moscow, Russia
Distribution: LFS 6.3
Posts: 32

Rep: Reputation: 15
i have problem with ati card too.
it's radeon 9550.
the problem is that i can't get hw acceleration. drivers seem to install w/o any errors, but still mesa is used for opengl.
on my fc3 all works good.
i tried some how-to's but it didn't help=(
Old 02-23-2006, 01:44 AM   #5
LQ Newbie
Registered: Feb 2006
Distribution: LFS
Posts: 26

Rep: Reputation: 15
I've started working on LFS again, and sadly I could not get hardware acceleration for my r200 card (radeon 8500) with the fglrx driver, even when having the gcc-3.3 libs installed. The dri seems to give me good performance for it though. For radeon9500 (I think it's r300) the cvs dri, cvs Mesa, and cvs X are supposed to give good performance. I think you have to already have XOrg-6.9 to build and install the cvs X on top of it (and then to build Mesa and drm). I couldn't compile cvs XOrg with Xorg-6.8.2, but I recall seeing something on the dri website saying the drivers are compatible with 6.9.

The build instructions are dated though. For instance, the buildtools patch they have on the site fails when I try to apply it to the cvs source.
Old 02-23-2006, 12:24 PM   #6
Registered: Sep 2003
Distribution: Debian
Posts: 49

Rep: Reputation: Disabled
The error information is not provided, and it is impossible to help.

I still believe the flgrx drive has better performance than the mesa/dri. But I use nvidia.


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 Proprietary Linux x86 Driver husnos Linux - Hardware 10 08-05-2005 05:02 PM
ATI Proprietary Linux Driver 3.12.0 Xerop Linux - Hardware 1 09-11-2004 01:53 PM
New ATi Proprietary Linux Driver (3.11.1) Xerop Linux - Hardware 6 08-26-2004 11:33 AM
ATI Proprietary Linux Driver 3.9.0 Released jayptr Fedora 17 06-18-2004 04:59 PM
Bad 2D-acceleration for proprietary ATI-driver? matrem Linux - Hardware 5 12-30-2003 08:43 PM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 10:46 PM.

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