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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-13-2005, 09:12 AM
|
#1
|
Member
Registered: Dec 2004
Distribution: redhat linux
Posts: 88
Rep:
|
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.
|
|
|
04-14-2005, 06:00 PM
|
#2
|
Member
Registered: Apr 2005
Location: Las Vegas, Nevada, USA
Distribution: Ubntu Intrepid Ibex (8.10)
Posts: 129
Rep:
|
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?
|
|
|
04-15-2005, 06:59 AM
|
#3
|
Member
Registered: Dec 2004
Distribution: redhat linux
Posts: 88
Original Poster
Rep:
|
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.
|
|
|
04-15-2005, 08:26 AM
|
#4
|
Member
Registered: Sep 2004
Location: UK, Europe
Distribution: Slackware64
Posts: 761
Rep:
|
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?
|
|
|
04-15-2005, 04:12 PM
|
#5
|
Member
Registered: Apr 2005
Location: Las Vegas, Nevada, USA
Distribution: Ubntu Intrepid Ibex (8.10)
Posts: 129
Rep:
|
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.
|
|
|
04-16-2005, 01:56 AM
|
#6
|
Member
Registered: Dec 2004
Distribution: redhat linux
Posts: 88
Original Poster
Rep:
|
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
|
|
|
04-16-2005, 02:14 AM
|
#7
|
Member
Registered: Apr 2005
Location: Las Vegas, Nevada, USA
Distribution: Ubntu Intrepid Ibex (8.10)
Posts: 129
Rep:
|
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)
|
|
|
04-16-2005, 07:16 AM
|
#8
|
Member
Registered: Dec 2004
Distribution: redhat linux
Posts: 88
Original Poster
Rep:
|
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?
|
|
|
04-16-2005, 03:51 PM
|
#9
|
Member
Registered: Apr 2005
Location: Las Vegas, Nevada, USA
Distribution: Ubntu Intrepid Ibex (8.10)
Posts: 129
Rep:
|
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)
|
|
|
04-16-2005, 11:17 PM
|
#10
|
Member
Registered: Dec 2004
Distribution: redhat linux
Posts: 88
Original Poster
Rep:
|
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.
|
|
|
04-17-2005, 08:56 AM
|
#11
|
Member
Registered: Dec 2004
Distribution: redhat linux
Posts: 88
Original Poster
Rep:
|
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.
|
|
|
04-17-2005, 03:38 PM
|
#12
|
Member
Registered: Apr 2005
Location: Las Vegas, Nevada, USA
Distribution: Ubntu Intrepid Ibex (8.10)
Posts: 129
Rep:
|
Excellent!  Glad that I could help.
|
|
|
04-17-2005, 04:09 PM
|
#13
|
LQ Veteran
Registered: Mar 2003
Location: Boise, ID
Distribution: Mint
Posts: 6,642
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 01:37 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|