LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-29-2004, 08:35 AM   #1
5KIDMA
Member
 
Registered: Sep 2004
Location: Bundaberg, Qld, Australia
Distribution: Mandrake
Posts: 32

Rep: Reputation: 15
ATI card need help


hi all i am only new to linux so please go easy on me. i have been trying to install the ati drivers for my video card (raedon 9200) i have got the source installed and all the other software i need. i've spent the last 2 days fiddling around eventually i did a fresh install and got only the packages i needed to install these drivers but i still get stuck on the same error. i put a post in a mandrake forum first but it's been there 24hours with one reply that got me nowhere. I love linux and everything besides this so far hasn't been a big deal but i got no idea what to do now

[root@vic Files]# rpm -U --force fglrx-4.3.0-3.12.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
skipping patch for 'drm_os_linux.h', not needed
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.3-7mdk/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.3-7mdk'
CC scripts/empty.o
MKELF scripts/elfconfig.h
HOSTCC scripts/file2alias.o
HOSTCC scripts/modpost.o
HOSTLD scripts/modpost
SPLIT include/linux/autoconf.h -> include/config/*
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
CC arch/i386/kernel/asm-offsets.s
CHK include/asm-i386/asm_offsets.h
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
CC [M] /lib/modules/fglrx/build_mod/2.6.x/i7505-agp.o
CC [M] /lib/modules/fglrx/build_mod/2.6.x/firegl_public.o
LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.o
Building modules, stage 2.
MODPOST
CC /lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o
LD [M] /lib/modules/fglrx/build_mod/2.6.x/fglrx.ko
make[1]: Leaving directory `/usr/src/linux-2.6.3-7mdk'
build succeeded with return value 0
duplicating results into driver repository...
done.
==============================
- creating symlink
- recreating module dependency list
- trying a sample load of the kernel module
FATAL: Error inserting fglrx (/lib/modules/2.6.3-7mdk/kernel/drivers/char/drm/fglrx.ko): Operation not permitted
failed.
*** Warning ***
The QT based control panel application did not load in any version.
===
ATI display drivers successfully installed
please run 'fglrxconfig' now
===


[root@vic build_mod]# sh make.sh
ATI module generator V 2.0
==========================
initializing...
cleaning...
patching 'highmem.h'...
skipping patch for 'drmP.h', not needed
skipping patch for 'drm_os_linux.h', not needed
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.3-7mdk/build SUBDIRS=/lib/modules/fglrx/build_mod/2.6.x modules
make[1]: Entering directory `/usr/src/linux-2.6.3-7mdk'
*** Warning: Overriding SUBDIRS on the command line can cause
*** inconsistencies
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
CHK include/asm-i386/asm_offsets.h
Building modules, stage 2.
MODPOST
make[1]: Leaving directory `/usr/src/linux-2.6.3-7mdk'
build succeeded with return value 0
duplicating results into driver repository...
done.
==============================
You must change your working directory to /lib/modules/fglrx
and then call ./make_install.sh in order to install the built module.
==============================

[root@vic fglrx]# sh make_install.sh
- creating symlink
- recreating module dependency list
- trying a sample load of the kernel module
FATAL: Error inserting fglrx (/lib/modules/2.6.3-7mdk/kernel/drivers/char/drm/fglrx.ko): Operation not permitted
failed.


i have been googling and looking everywhere for some info and i have found some info but no one seems to have the answers.

specs are as follows:

athlon xp 2600
asus a7n8x deluxe m/b
ati raedon 9200 video card
512mb ram
wesdig 9.1 gig
seagate 80 gig

Last edited by 5KIDMA; 09-29-2004 at 08:36 AM.
 
Old 09-29-2004, 05:08 PM   #2
Zhenya
Member
 
Registered: Sep 2004
Location: Maryland, USA
Distribution: Suse 9.3 Pro
Posts: 92

Rep: Reputation: 15
I think the problem is that there is no (or at least was no) an ATI driver for the kernel 2.6. They have written their proprietary drivers only for 2.4. I used standard radeon driver that came with my distribution (I think it should come with X-server or something) and it seemed to work fine although I did not have 3D support and was not able to use a second monitor. Well, finally I gave up and bought myself an Nvidia card, which I am very happy with now. Nvidia linux driver work really well with my two LCDs and I get pretty good fps with 3D. Just in case, the card I am using is G-Force FX 5900 XT.
 
Old 10-05-2004, 12:36 PM   #3
TheBurn
LQ Newbie
 
Registered: Aug 2004
Posts: 6

Rep: Reputation: 0
I have the same problem... This drivers was writted for k2.6.x, because it requires k 2.6.x (with k2.4.26 returns make.sh an error with message "requires kernel 2.6.x")...

Last edited by TheBurn; 10-05-2004 at 12:37 PM.
 
Old 10-05-2004, 08:26 PM   #4
mandrakedood
LQ Newbie
 
Registered: Oct 2004
Location: in my recliner
Distribution: Mandrake 10.0 Official
Posts: 11

Rep: Reputation: 0
from this line here:

FATAL: Error inserting fglrx (/lib/modules/2.6.3-7mdk/kernel/drivers/char/drm/fglrx.ko): Operation not permitted
failed.

i can guarantee you still have the radeon module loaded in memory. if you do lsmod |more at the command prompt i can almost bet you will see radeon running.you need to remove this module: rmmod radeon BEFORE even attempting to install the fglrx driver package. now, once you've removed this mosule and installed the new module, it will do a test insert and it should succeeed and say to run fglrxconfig now. DON'T! not yet anyway w/o reading thru this post here http://linuxiso.org/forums/viewtopic.php?t=21825 . last post about a 1/4th of the way down in the post. this will give you details on how to handle the next error you're going to recieve if you don't read through that post first before running fglrxconfig. AND, make sure you backup your old XF86Config-4 file FIRST before running fglrxconfig. also, make sure you are at a command prompt. NO DESKTOP. console only. you cannot rmmod the radeon module if you are running KDE or gnome. if you follow the instructions in that thread at linuxiso.org, i can guarantee you will have 3d acceleration using the ATI fglrx drivers. i know. i wrote the instructions in that post and i have an ATI Radeon 9800 Pro. go there. read the info and follow it's directions.
 
Old 10-05-2004, 11:55 PM   #5
TheBurn
LQ Newbie
 
Registered: Aug 2004
Posts: 6

Rep: Reputation: 0
root@LAMA:~# lsmod
Module Size Used by
sg 33168 0
snd_pcm_oss 52356 0
snd_pcm 87808 1 snd_pcm_oss
snd_page_alloc 13188 1 snd_pcm
snd_timer 26240 1 snd_pcm
snd_mixer_oss 19200 1 snd_pcm_oss
snd 50692 4 snd_pcm_oss,snd_pcm,snd_timer,snd_mixe
r_oss
tsdev 9984 0
md5 8064 1
ipv6 248320 8
nls_iso8859_1 8320 2
nls_cp437 9984 1
ipt_MASQUERADE 7552 3
iptable_nat 27172 2 ipt_MASQUERADE
ip_conntrack 34464 2 ipt_MASQUERADE,iptable_nat
ip_tables 21008 2 ipt_MASQUERADE,iptable_nat
lp 14024 0
autofs 19584 1
af_packet 21636 0
agpgart 32204 0
i810_audio 34704 2
ac97_codec 19840 1 i810_audio
soundcore 12000 4 snd,i810_audio
8139too 25728 0
mii 8448 1 8139too
crc32 8448 1 8139too
3c59x 39976 0
forcedeth 17920 0
parport_pc 38176 1
parport 39104 2 lp,parport_pc
8250 34208 0
serial_core 23168 1 8250
joydev 13504 0
evdev 12416 0
hid 46400 0
ohci1394 33920 0
ieee1394 305552 1 ohci1394
ohci_hcd 20864 0
uhci_hcd 33416 0
usbcore 94420 5 hid,ohci_hcd,uhci_hcd
ds 17920 0
yenta_socket 17664 0
pcmcia_core 59136 2 ds,yenta_socket
thermal 15760 0
processor 21440 1 thermal
fan 7564 0
button 9240 0
battery 12556 0
ac 8204 0
ide_cd 39680 0
ide_scsi 17668 1
rtc 15560 0
ext3 106152 1
jbd 68256 1 ext3
root@LAMA:~#


---i don't see any radeon module....so i can's rmmod which is not loaded ;].....but i try it..... rmmod returns

root@LAMA:~# rmmod radeon
ERROR: Module radeon does not exist in /proc/modules
 
Old 10-06-2004, 05:11 AM   #6
mandrakedood
LQ Newbie
 
Registered: Oct 2004
Location: in my recliner
Distribution: Mandrake 10.0 Official
Posts: 11

Rep: Reputation: 0
do you have the kernel sources for your kernel installed ?? i ran the radeon drivers on the 2.4.24(or2.4.25 can't rember rite off the top of my head) kernel for a while before switching to 2.6.3-7.....you will need the correct kernel sources for your kernel installed to be able to compile the driver module for your kernel.

if not, install them and delete the fglrx directory in /lib/modules and rpm -e fglrx to uninstall any parts of the driver that got installed. then start over. from the command prompt.

if you are still having problems, post back with the details of every step you took, what errors you recieved, and some system specs(video card model, etc.).
 
Old 10-06-2004, 08:12 AM   #7
TheBurn
LQ Newbie
 
Registered: Aug 2004
Posts: 6

Rep: Reputation: 0
I'm using precompiled version of kernel 2.6.5, but i have source installed in /usr/src, a have a link on this kernel an i success make procedure...
 
Old 10-06-2004, 05:40 PM   #8
RJARRRPCGP
Member
 
Registered: Feb 2004
Location: USA (Springfield, Windsor County, Vermont)
Posts: 57

Rep: Reputation: 15
Make sure you're logged in as root!!!
 
Old 10-06-2004, 07:22 PM   #9
5KIDMA
Member
 
Registered: Sep 2004
Location: Bundaberg, Qld, Australia
Distribution: Mandrake
Posts: 32

Original Poster
Rep: Reputation: 15
OK i read the post you gave me a link to and the install gives no error messages now but when i run fglrxinfo i get the following message
"Error: unable to open display :0"
 
Old 10-07-2004, 05:15 AM   #10
mandrakedood
LQ Newbie
 
Registered: Oct 2004
Location: in my recliner
Distribution: Mandrake 10.0 Official
Posts: 11

Rep: Reputation: 0
you need to be in xwindows and have a konsole open to run fglrxinfo.

now if you still get that error after your desktop and whatnot is loaded then something is absolutely wrong and i'm afraid i may not be able to help you much with that.

let me know if you still get the error after you've loaded your desktop.
 
Old 10-07-2004, 10:35 AM   #11
TheBurn
LQ Newbie
 
Registered: Aug 2004
Posts: 6

Rep: Reputation: 0
Yes, i'm logged at root ;]....you can see it in lines from shell which i wrote

I can use xwindow with kde normal, but i can't use 3d acceleration :/
 
  


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 TV card RRolleston Debian 1 12-20-2004 08:10 AM
ATI Graphics Card and Rendering Linux Vs. ATI xmeson Slackware 2 09-02-2004 12:09 PM
ATI 9600se running slower than older ATI card w/ DRI on euth665667 Linux - Hardware 0 07-03-2004 06:10 AM
redhat 7.3 and the ati pro card graphics card rjmagyar Linux - General 0 10-14-2002 12:26 PM
ATI Wonder VE TV/Capture Card MikeeX Linux - Software 3 03-13-2002 10:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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