LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 01-03-2004, 04:53 PM   #1
minorthreat
LQ Newbie
 
Registered: Jan 2004
Posts: 7

Rep: Reputation: 0
Mandrake 9.2 Radeon 9800 pro problem


This is my first time installing linux, and I chose Mandrake 9.2 for AMD64, and everything seemed to go fine. Then I loaded it up, and didn't get the gui, and tried "startx", but got errors. I'm pretty sure that it's some sort of problem with the drivers for the Radeon 9800, but I wasn't able to install the drivers that are given on ATI's website.

I don't know where to go from here. I have searched google and these forums, but none of the solutions I found have worked (I'm a real linux newbie, so it'll probably be something simple). I can go back into linux and get the errors if necessary, but any help would be greatly appreciated.

Thanks in advance.
 
Old 01-03-2004, 07:21 PM   #2
minorthreat
LQ Newbie
 
Registered: Jan 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Ok, I've gotten into the gui by reinstalling and using the VESA driver. Now I'm trying to install the driver from the ATI website. I get the following:

*** 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 accelerated
OpenGL will not work and 2D graphics will lack performance.

failed.
*** Error: no kernel module build environment - please consult readme.
*** Warning ***
The QT based control panel application did not load in any version.
===
ATI display drivers successfully installed
please run 'fglrxconfig' now
===


Then I tried running './make.sh' and got the following:

ATI module generator V 2.0
==========================
initializing...
kernel includes at /usr/src/linux/include not found or incomplete
file: /usr/src/linux/include/linux/version.h


I looked in /usr/src/ and there is no linux subdirectory there. Any ideas as to what's going on now and how to fix it? Thanks in advance for your help.
 
Old 01-04-2004, 10:21 AM   #3
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
ah yes, I know this erorr.

The only problem is that I could tell you how to fix this via the GUI Mandrake Control Center.

What you need to do is instsall the kernel-source from the Mandrake CD. Unfortunately, I do not know how to do it by the console alone. I depend too much on the GUI.
 
Old 01-04-2004, 11:56 AM   #4
minorthreat
LQ Newbie
 
Registered: Jan 2004
Posts: 7

Original Poster
Rep: Reputation: 0
I have the GUI up now by using the vesa driver. How do you do it using the the Mandrake Control Center?
 
Old 01-04-2004, 12:06 PM   #5
trey85stang
Senior Member
 
Registered: Sep 2003
Posts: 1,091

Rep: Reputation: 41
your best bet is to download the kernelsource from rpmfind.net, and install the rpm from the CL...
 
Old 01-04-2004, 01:48 PM   #6
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
you have to go to www.rpmfind.net to download a kernel-source.
It will tell you what your kernel version was after you type "uname -r"
you install the source by typing "urpmi -ivh --force <packge's name,end with.rpm>"
 
Old 01-04-2004, 02:28 PM   #7
minorthreat
LQ Newbie
 
Registered: Jan 2004
Posts: 7

Original Poster
Rep: Reputation: 0
Well now that I have the the kernel source, I'm running into other problems. This is what happens when I run "rpm -i --force fglrx-glc22-4.3.0-3.7.0.i386.rpm":

*** 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...
cleaning...
patching 'highmem.h'...
skipping patch for 'drmP.h', not needed
patching 'drm_os_linux.h'...
probing for VMA API version...
doing script based build for kernel 2.4.x and similar
compiling './agpgart_be.c'...
compiling './agp3.c'...
compiling './i7505-agp.c'...
compiling './nvidia-agp.c'...
compiling './firegl_public.c'...
linking of fglrx kernel module...
ld: Relocatable linking with relocations from format elf32-i386 (./libfglrx_ip.a(vm.o)) to format elf64-x86-64 (fglrx.o) is not supported
linking failed - kernel module was not generated
*** 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
===


So I did what it said and when to "/lib/modules/fglrx/build_mod" and ran "./make.sh" and this is what happened:

ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
skipping patch for 'drmP.h', not needed
patching 'drm_os_linux.h'...
probing for VMA API version...
doing script based build for kernel 2.4.x and similar
compiling './agpgart_be.c'...
compiling './agp3.c'...
compiling './i7505-agp.c'...
compiling './nvidia-agp.c'...
compiling './firegl_public.c'...
linking of fglrx kernel module...
ld: Relocatable linking with relocations from format elf32-i386 (./libfglrx_ip.a(vm.o)) to format elf64-x86-64 (fglrx.o) is not supported
linking failed - kernel module was not generated


So I'm stumped again...
 
Old 01-05-2004, 10:36 AM   #8
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
what dist of linux are u using?
i don't know about you. but i an running red hat linux 9.0 and it runns fine.
maybe you should try mandrake from www.mandrakelinux.com
 
Old 01-05-2004, 03:29 PM   #9
minorthreat
LQ Newbie
 
Registered: Jan 2004
Posts: 7

Original Poster
Rep: Reputation: 0
I'm using Mandrake 9.2 for AMD 64.
 
Old 01-06-2004, 11:46 AM   #10
Micro420
Senior Member
 
Registered: Aug 2003
Location: Berkeley, CA
Distribution: Mac OS X Leopard 10.6.2, Windows 2003 Server/Vista/7/XP/2000/NT/98, Ubuntux64, CentOS4.8/5.4
Posts: 2,986

Rep: Reputation: 45
Quote:
Originally posted by minorthreat
Well now that I have the the kernel source, I'm running into other problems. This is what happens when I run "rpm -i --force fglrx-glc22-4.3.0-3.7.0.i386.rpm":

*** 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...
cleaning...
patching 'highmem.h'...
skipping patch for 'drmP.h', not needed
patching 'drm_os_linux.h'...
probing for VMA API version...
doing script based build for kernel 2.4.x and similar
compiling './agpgart_be.c'...
compiling './agp3.c'...
compiling './i7505-agp.c'...
compiling './nvidia-agp.c'...
compiling './firegl_public.c'...
linking of fglrx kernel module...
ld: Relocatable linking with relocations from format elf32-i386 (./libfglrx_ip.a(vm.o)) to format elf64-x86-64 (fglrx.o) is not supported
linking failed - kernel module was not generated
*** 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
===


So I did what it said and when to "/lib/modules/fglrx/build_mod" and ran "./make.sh" and this is what happened:

ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
skipping patch for 'drmP.h', not needed
patching 'drm_os_linux.h'...
probing for VMA API version...
doing script based build for kernel 2.4.x and similar
compiling './agpgart_be.c'...
compiling './agp3.c'...
compiling './i7505-agp.c'...
compiling './nvidia-agp.c'...
compiling './firegl_public.c'...
linking of fglrx kernel module...
ld: Relocatable linking with relocations from format elf32-i386 (./libfglrx_ip.a(vm.o)) to format elf64-x86-64 (fglrx.o) is not supported
linking failed - kernel module was not generated


So I'm stumped again...
Even though it shows all those errors, still run fglrxconfig or whatever. I know I got a similar, if the not the same, output and my OpenGL works fine.
Test it out by running TuxRacer.

Now, the problem is Mandrake 9.2. I have heard of a success story somewhere on this forum about how Mandrake 9.2 identifies ATI cards improperly. Some guy went into his Mandrake Control Center and manually changed something and got it working.
I use Mandrake 9.1 and when I switched to Mandrake 9.2, I could not get my ATI card working even when I did everything the same as Mandrake 9.1. So, if you really can't get it working, I suggest you revert to 9.1.
 
Old 01-06-2004, 06:35 PM   #11
cayers
LQ Newbie
 
Registered: Nov 2003
Distribution: gentoo
Posts: 3

Rep: Reputation: 0
It looks like the reason it won't compile is that you are using and AMD-64 and it was developed for a 32 bit platform.
 
Old 01-06-2004, 08:20 PM   #12
zidane2010
Member
 
Registered: Jan 2004
Location: Canada
Distribution: SuSE 9.1 Professional, Slackware 9.1, Gentoo 2004.1
Posts: 238

Rep: Reputation: 30
heh.... this is almost the same thread as mine, heh those 9800 pro's you say the vesa drivers let the gui come up? it didnt for me? o well poop
 
Old 01-07-2004, 12:30 PM   #13
minorthreat
LQ Newbie
 
Registered: Jan 2004
Posts: 7

Original Poster
Rep: Reputation: 0
I was wondering about that cayers. I thought it might be the case. I guess I'll just have to use the vesa driver until the AMD-64 one comes out.

And thank you everyone for all of your help. I appreciate it greatly!
 
Old 01-09-2004, 10:28 AM   #14
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
try upgrade the kernel to kernel 2.6.0 from www.kerne.org?
 
Old 01-23-2004, 03:40 PM   #15
gunjan23
LQ Newbie
 
Registered: Jan 2004
Posts: 1

Rep: Reputation: 0
I recently installed mandrake 9.2 and I was also having the same problems. I used vesa and was able to get the gui interface working. Although, am i stuck with this resolution of 1024x768? It doesn't give me any more options then that even though I have a radeon 9800. I also tried the drivers and got the same messages as people have posted. Is there any way that I can just make my resolution higher then what it is?
 
  


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
Problems with LCD display/Radeon 9800 Pro on Mandrake 10.0 dashrantic Linux - Hardware 2 06-01-2004 08:56 AM
problems installing drivers for Radeon 9800 pro with mandrake donut_war Linux - Hardware 0 02-13-2004 04:28 PM
Radeon 9800 Pro / Mandrake 9.2 - no 3D Acceleration witchy2k1 Linux - Hardware 0 01-25-2004 01:15 PM
Radeon 9800 Pro + TFT Display in Mandrake 9.2 deasel Linux - Hardware 6 12-16-2003 04:48 PM
ATI Radeon 9800 Pro on Mandrake 9.1 donovanj Mandriva 3 10-12-2003 03:00 PM

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

All times are GMT -5. The time now is 04:43 PM.

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