LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 01-31-2006, 01:23 PM   #1
eculinuxuser
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
==========================
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.12.5/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.12.5'
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.
MODPOST
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-2.6.12.5'
AGPGART build succeeded with return value 0
finished compiling for fglrx_agp
duplicating results into driver repository...
done.
==============================
- creating symlink
- recreating module dependency list
- trying a sample load of the kernel modules
failed.
[Error] Kernel Module : Failed to install compiled kernel module


Any help anyone could give would be appreciated.
 
Old 02-05-2006, 04:12 PM   #2
fiery_ice
Member
 
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, 04:29 PM   #3
spursrule
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 OpenOffice.org)

Last edited by spursrule; 02-17-2006 at 04:32 PM.
 
Old 02-20-2006, 06:01 PM   #4
dennisfen
Member
 
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, 02:44 AM   #5
spursrule
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.

http://dri.freedesktop.org

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, 01:24 PM   #6
FinalFantasy
Member
 
Registered: Sep 2003
Location: UK
Distribution: CLFS-32bit-x86 / LFS-SVN-20060210
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.
 
  


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


All times are GMT -5. The time now is 06:02 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration