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 04-13-2005, 09:12 AM   #1
kira
Member
 
Registered: Dec 2004
Distribution: redhat linux
Posts: 88

Rep: Reputation: 15
Unhappy fglrx cant work correctly even though it can be loaded without error


i customed kernel-2.6.10 and upgraded XFree86 to x.org on my redhat 9.
everything seems to well worked but a problem that i cant have my ati drivers (fglrx_6_8_0-8.10.19-1.i386.rpm) working.
there has been no changes after modules loaded even if no error occured while loading. fglrxinfo returned the messages which be mesa but ati.
i have spend countless hours to want to fix it but failed at all. please may others can help me,thnaks so much.
 
Old 04-14-2005, 06:00 PM   #2
FreeThinkerJim
Member
 
Registered: Apr 2005
Location: Las Vegas, Nevada, USA
Distribution: Ubntu Intrepid Ibex (8.10)
Posts: 129

Rep: Reputation: 15
Have you tried running something like glxgears? What framrate do you get?

If your rates are really crappy (no more than about 300 fps) on glxgears, post a dmesg dump and let's see if we can find any errors? BTW, what card is it?
 
Old 04-15-2005, 06:59 AM   #3
kira
Member
 
Registered: Dec 2004
Distribution: redhat linux
Posts: 88

Original Poster
Rep: Reputation: 15
sure, redhat 9, ATI 9550, kernel 2.6.10, xorg 6.8.2. i got the framrate about 310 fps while running with x.org which using the ati drivers owned by itself.
i will post my dmesg as soon as possible, thanks.
 
Old 04-15-2005, 08:26 AM   #4
cathectic
Member
 
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761

Rep: Reputation: 35
If you're using X.Org, can you please post the output of:

cat /etc/X11/xorg.conf | sed s/#.*// | egrep -v "^$" > stripped-xorg.conf

(Run it in your home directory, and post the contents of 'stripped-xorg.conf' here. The above commands just strip out all the comments from the xorg.conf file so it's more legible.)

Also, your post is confusing me. Is the output of 'fglrxinfo' ATi or Mesa?
 
Old 04-15-2005, 04:12 PM   #5
FreeThinkerJim
Member
 
Registered: Apr 2005
Location: Las Vegas, Nevada, USA
Distribution: Ubntu Intrepid Ibex (8.10)
Posts: 129

Rep: Reputation: 15
Look at your xorg.conf for a line that says "Driver". It should be set to the value "fglrx". For example, mine looks like this:

Code:
# === ATI device section ===

Section "Device"
    Identifier                          "ATI Graphics Adapter"
    Driver                              "fglrx"
There are a few driver sections like this for things like keyboard, mouse, and generic vga and such; the one for your video card is probably towards the end. By your description, it appears that you may be using the default driver value "radeon". It can be like this if you didn't run fglrxconfig after you installed the drivers.
 
Old 04-16-2005, 01:56 AM   #6
kira
Member
 
Registered: Dec 2004
Distribution: redhat linux
Posts: 88

Original Poster
Rep: Reputation: 15
i have posted the content which included error messages of my xorg.log below, please checking the error for me,thanks.

result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open

result is -1, (Unknown error 999)
drmOpenDevice: open result is -1, (Unknown error 999)
drmOpenDevice: Open failed
drmOpenByBusid: Searching for BusID PCI:1:0:0
drmOpenDevice: node

name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenByBusid: drmOpenMinor

returns 7
drmOpenByBusid: drmGetBusid reports
drmOpenDevice: node name is /dev/dri/card1
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No

such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card2
drmOpenDevice: open result is -1, (No such

device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card3
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No

such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card4
drmOpenDevice: open result is -1, (No such

device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card5
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No

such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card6
drmOpenDevice: open result is -1, (No such

device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card7
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No

such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card8
drmOpenDevice: open result is -1, (No such

device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card9
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No

such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card10
drmOpenDevice: open result is -1, (No such

device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card11
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No

such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card12
drmOpenDevice: open result is -1, (No such

device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card13
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: open result is -1, (No

such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card14
drmOpenDevice: open result is -1, (No such

device)
drmOpenDevice: open result is -1, (No such device)
drmOpenDevice: Open failed
drmOpenByBusid: drmOpenMinor returns -1023
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 7, (OK)
drmGetBusid returned ''
(II) fglrx(0): [drm] loaded

kernel module for "fglrx" driver
(II) fglrx(0): [drm] DRM interface version 1.0
(II) fglrx

(0): [drm] created "fglrx" driver at busid "PCI:1:0:0"
(II) fglrx(0): [drm] added 8192 byte

SAREA at 0xd4835000
(II) fglrx(0): [drm] mapped SAREA 0xd4835000 to 0xb7ef2000
(II) fglrx

(0): [drm] framebuffer handle = 0xc0000000
(II) fglrx(0): [drm] added 1 reserved context for

kernel
(II) fglrx(0): DRIScreenInit done
(II) fglrx(0): Kernel Module Version Information:
(II) fglrx(0): Name: fglrx
(II) fglrx(0): Version: 8.10.19
(II) fglrx(0): Date:

Feb 9 2005
(II) fglrx(0): Desc: ATI FireGL DRM kernel module
(II) fglrx(0): Kernel

Module version matches driver.
(II) fglrx(0): Kernel Module Build Time Information:
(II)

fglrx(0): Build-Kernel UTS_RELEASE: 2.6.10
(II) fglrx(0): Build-Kernel

MODVERSIONS: no
(II) fglrx(0): Build-Kernel __SMP__: no
(II) fglrx(0):

Build-Kernel PAGE_SIZE: 0x1000
(II) fglrx(0): [drm] register handle =

0xe5000000
(EE) fglrx(0): [agp] unable to acquire AGP, error "xf86_ENODEV"
(EE) fglrx(0):

cannot init AGP
(II) fglrx(0): [drm] removed 1 reserved context for kernel
(II) fglrx(0):

[drm] unmapping 8192 bytes of SAREA 0xd4835000 at 0xb7ef2000
(WW) fglrx(0):

***********************************************
(WW) fglrx(0): * DRI initialization failed!

*
(WW) fglrx(0): * (maybe driver kernel module missing or bad) *
(WW) fglrx

(0): * 2D acceleraton available (MMIO) *
(WW) fglrx(0): * no 3D acceleration

available *
(WW) fglrx(0): ********************************************* *
(II) fglrx(0): FBADPhys: 0xc0000000 FBMappedSize: 0x08000000
(II) fglrx(0): FBMM initialized

for area (0,0)-(640,8191)
(II) fglrx(0): FBMM auto alloc for area (0,0)-(640,480) (front

color buffer - assumption)
(==) fglrx(0): Backing store disabled
(==) fglrx(0): Silken mouse

enabled
(II) fglrx(0): Using hardware cursor (scanline 480)
(II) fglrx(0): Largest offscreen

area available: 640 x 7704
(**) Option "dpms"
(**) fglrx(0): DPMS enabled
(II) fglrx(0):

Using XFree86 Acceleration Architecture (XAA)
Screen to screen bit blits
Solid filled

rectangles
Solid Horizontal and Vertical Lines
Offscreen Pixmaps
Setting up

tile and stipple cache:
32 128x128 slots
24 256x256 slots


9 512x512 slots
(II) fglrx(0): Acceleration enabled
(II) fglrx(0): Direct rendering disabled
 
Old 04-16-2005, 02:14 AM   #7
FreeThinkerJim
Member
 
Registered: Apr 2005
Location: Las Vegas, Nevada, USA
Distribution: Ubntu Intrepid Ibex (8.10)
Posts: 129

Rep: Reputation: 15
Judging by your logs, it seems that the problem may be due to a faulty AGP setup. I noticed that you said that you customized your kernel. I also run a customized 2.6.10 kernel, and I don't have problems. Maybe it's something in the kernel that isn't configured right. Post your kernel configs using this command from the root of your source tree:

cat .config |grep AGP

This will give you anything related to the agp system in your kernel. Also, you might want to check and see if you have a /dev/agpgart file. (that's the device for the agp bus--if it's not there, then something's up)
 
Old 04-16-2005, 07:16 AM   #8
kira
Member
 
Registered: Dec 2004
Distribution: redhat linux
Posts: 88

Original Poster
Rep: Reputation: 15
yeah FreeThinkerJim, i configed agp support as a module named agppart.ko.( maybe it be AGP )
i also have this module loaded before fglrx running but there seems to be no changes occured.
what's that?
 
Old 04-16-2005, 03:51 PM   #9
FreeThinkerJim
Member
 
Registered: Apr 2005
Location: Las Vegas, Nevada, USA
Distribution: Ubntu Intrepid Ibex (8.10)
Posts: 129

Rep: Reputation: 15
What chipset does your motherboard have on it? Not only do you have to add support in general for AGP in your custom kernels, but you also have to get support for your particular chipset's AGP slot as well. For example, I have an Intel D865PERL motherboard, so I had to set CONFIG_AGP_INTEL=y (I hard-linked my setup, but this isn't absolutely necessary) to get mine to work. Is it possible that this wasn't configured? (You can also find it in make menuconfig under Device Drivers->Character Devices)
 
Old 04-16-2005, 11:17 PM   #10
kira
Member
 
Registered: Dec 2004
Distribution: redhat linux
Posts: 88

Original Poster
Rep: Reputation: 15
i see, i also have an i810E intel motherboard, you means
that i should configure my intel motherboard support for AGP.
ok, lest 's me check it. but i cant have it work under kernel 2.4.20-8 ( redhat default kernel ) as well. could you post your xorg.log for me so that i can compare it with mine for different, thanks again.
 
Old 04-17-2005, 08:56 AM   #11
kira
Member
 
Registered: Dec 2004
Distribution: redhat linux
Posts: 88

Original Poster
Rep: Reputation: 15
Thank you FreeThinkerJim, thank you so much. i also really appreciate these people ever given me helps.
like you said, i loaded i810_agp module which be configured as a module for my i810E motherboard before fglrx start and then have my fglrx module loaded.
when i using glxgears i got the FPS value larger then 1500-1600 and everything works well.
thank you very much again.
 
Old 04-17-2005, 03:38 PM   #12
FreeThinkerJim
Member
 
Registered: Apr 2005
Location: Las Vegas, Nevada, USA
Distribution: Ubntu Intrepid Ibex (8.10)
Posts: 129

Rep: Reputation: 15
Excellent! Glad that I could help.
 
Old 04-17-2005, 04:09 PM   #13
J.W.
LQ Veteran
 
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642

Rep: Reputation: 87
Congrats on solving the problem and thanks for posting back with the solution that worked for you kira. That will be a big help to future readers who have the same issue. Thanks also FreeThinkerJim for your recommendations -- J.W.
 
  


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
how to determine if pcmcia service is loaded correctly glorsplitz Linux - Hardware 1 09-24-2005 04:32 PM
crash on shutdown xserver with loaded fglrx radeon support rELAtiv_ Linux - Software 2 08-22-2005 02:17 PM
ATI 9600: fglrx module is loaded but doesn't exist lopette Linux - Hardware 0 11-29-2004 02:26 PM
Error Message : Pango will not work correctly ghostly Mandriva 1 11-11-2004 03:06 AM
fglrx loaded but 3D still sucks twk Linux - Hardware 0 05-06-2003 04:06 AM

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

All times are GMT -5. The time now is 01:37 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