LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-03-2004, 04:16 PM   #1
pezplaya
Member
 
Registered: Dec 2003
Distribution: Gentoo / Slackware
Posts: 92

Rep: Reputation: 15
9800pro 256mb


Alright, well I just returned my nvidia 5900xt cause it performed bad in linux and in windows in my opinion.

So now I bought an ati 9800pro 256mb. I know people have problems with the driver and what not, but I'm willing to wait for good drivers...

anyway, in the mean time I want to at least get the current drivers working. I followed the HOWTO on ati's website and sucessfully installed the fglrx module and i modprobed it. I ran fglrxconfig and created a XF86Config-4 file with all the necesary information. Everything seems to be in order. I've read a lot of threads, and it seems like I have done everything right.

If I try to run fglrxinfo I get:

Quote:
trinity root # fglrxinfo
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Error: couldn't find RGB GLX visual!
If I try running tuxracer, I get basically the same error:

Quote:
pezplaya@trinity pezplaya $ tuxracer
Tux Racer 0.61 -- a Sunspire Studios Production (http://www.sunspirestudios.com)
(c) 1999-2000 Jasmin F. Patry <jfpatry@sunspirestudios.com>
"Tux Racer" is a trademark of Jasmin F. Patry
Tux Racer comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions.
See http://www.gnu.org/copyleft/gpl.html for details.

Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
*** tuxracer error: Couldn't initialize video: Couldn't find matching GLX visual (Success)
I do have this in my modules section of my XF86Config-4 file:

Quote:
# This loads the GLX module
Load "glx" # libglx.a
Load "dri" # libdri.a
lsmod:


Quote:
root@trinity pezplaya # lsmod
Module Size Used by
fglrx 211236 0
I'm running on a gentoo stage one install. XFree 4.3.0.1
 
Old 06-03-2004, 05:50 PM   #2
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
The answer might depend on your kernel and your motherboard's agp chipset.

Mine for example, is an ASUS A7N8X-X, which uses the nforce2 chipset.

You don't appear to have agpgart loaded, which means that fglrx is attempting to use its internel agpgart. I've always had bad luck with that. Check out the output of dmesg and see what you see relating to fglrx or agp.

If you're running a 2.6.x kernel, agpgart support is modularized to specific chipsets. I would recommend having agpgart and your chipset support compiled as modules, rather than within the kernel.

After you have agpgart working, you'll want to change a line in your /etc/X11/XF86Config-4 file like so:

Code:
    Option      "UseInternalAGPGART" "no"
That option may be commented out, but it's probably set to "'Yes" by default, if I remember correctly. You'll probably have better luck setting this to No and using the kernel's agpgart tailored for your chipset.

--Shade
 
Old 06-03-2004, 06:36 PM   #3
pezplaya
Member
 
Registered: Dec 2003
Distribution: Gentoo / Slackware
Posts: 92

Original Poster
Rep: Reputation: 15
Hey shade, thanks for replying.


I already do have agpgart as a module, so I modprobed that which worked. I then changed the line in my XF86Config file so it says no to using internalAGPGART.

Still not sure what to do...


Quote:
pezplaya@trinity pezplaya $ lsmod
Module Size Used by
agpgart 27176 0
fglrx 211236 0
In my xfree.0.log I get this:

Quote:
(WW) fglrx(0): Cannot read colourmap from VGA. Will restore with default
(II) fglrx(0): UMM area: 0xe8700000 (size=0x07900000)
(II) fglrx(0): driver needs XFree86 version: 4.3.x
(II) fglrx(0): detected XFree86 version: 4.3.0
(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: 0xe8000000 FBMappedSize: 0x08000000
(II) fglrx(0): FBMM initialized for area (0,0)-(1280,8191)
(II) fglrx(0): FBMM auto alloc for area (0,0)-(1280,1024) (front color buffer - assumption)
(==) fglrx(0): Backing store disabled
(==) fglrx(0): Silken mouse enabled
(II) fglrx(0): Using hardware cursor (scanline 1024)
(II) fglrx(0): Largest offscreen area available: 1280 x 7163
(**) 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
32 256x256 slots
16 512x512 slots
(II) fglrx(0): Acceleration enabled
 
Old 06-03-2004, 06:52 PM   #4
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
What kernel are you running?
And what chipset does your motherboard use?

cat /proc/pci

or lspci

Also, as I suggested, see what dmesg tells you about agpgart and fglrx

--Shade
 
Old 06-04-2004, 11:32 AM   #5
pezplaya
Member
 
Registered: Dec 2003
Distribution: Gentoo / Slackware
Posts: 92

Original Poster
Rep: Reputation: 15
I'm using kernel 2.6.6

lspci:

Quote:
pezplaya@trinity pezplaya $ /sbin/lspci
00:00.0 Host bridge: Intel Corp. 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 02)
00:01.0 PCI bridge: Intel Corp. 82845G/GL[Brookdale-G]/GE/PE Host-to-AGP Bridge (rev 02)
00:1d.0 USB Controller: Intel Corp. 82801DB (ICH4) USB UHCI #1 (rev 02)
00:1d.1 USB Controller: Intel Corp. 82801DB (ICH4) USB UHCI #2 (rev 02)
00:1d.2 USB Controller: Intel Corp. 82801DB (ICH4) USB UHCI #3 (rev 02)
00:1d.7 USB Controller: Intel Corp. 82801DB (ICH4) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corp. 82801BA/CA/DB/EB/ER Hub interface to PCI Bridge (rev 82)
00:1f.0 ISA bridge: Intel Corp. 82801DB (ICH4) LPC Bridge (rev 02)
00:1f.1 IDE interface: Intel Corp. 82801DB (ICH4) Ultra ATA 100 Storage Controller (rev 02)
00:1f.3 SMBus: Intel Corp. 82801DB/DBM (ICH4) SMBus Controller (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R350 [Radeon 9800]
01:00.1 Display controller: ATI Technologies Inc Radeon R350 [Radeon 9800] (Secondary)
02:03.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev 80)
02:04.0 RAID bus controller: Promise Technology, Inc. PDC20376 (rev 02)
02:05.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
02:0c.0 Ethernet controller: Lite-On Communications Inc LNE100TX (rev 20)
02:0d.0 Multimedia audio controller: Creative Labs SB Audigy (rev 03)
02:0d.1 Input device controller: Creative Labs SB Audigy MIDI/Game port (rev 03)
02:0d.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port
Quote:
pezplaya@trinity pezplaya $ dmesg |grep fglrx
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 804 MBytes.
[fglrx] module loaded - fglrx 3.9.0 [May 11 2004] on minor 0
[<f9a3f522>] __ke_alloc_wait_queue_head_struct+0x18/0x25 [fglrx]
[<f9a5166f>] firegl_open_helper+0x15f/0x190 [fglrx]
[<f9a42776>] firegl_setup_dev+0x126/0x1d0 [fglrx]
[<f9a41d94>] firegl_open+0x194/0x260 [fglrx]
[<f9a3f2af>] firegl_stub_open+0x106/0x1b5 [fglrx]
[<f9a3f1a9>] firegl_stub_open+0x0/0x1b5 [fglrx]
[fglrx:firegl_addmap] *ERROR* mtrr allocation failed (-22)
[fglrx:firegl_unlock] *ERROR* Process 8296 using kernel context 0
[fglrx:drm_ioremapfree] *ERROR* [mappings] Attempt to free NULL pointer
[fglrx] module unloaded - fglrx 3.9.0 [May 11 2004] on minor 0
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 804 MBytes.
[fglrx] module loaded - fglrx 3.9.0 [May 11 2004] on minor 0
[<f9b67522>] __ke_alloc_wait_queue_head_struct+0x18/0x25 [fglrx]
[<f9b7966f>] firegl_open_helper+0x15f/0x190 [fglrx]
[<f9b6a776>] firegl_setup_dev+0x126/0x1d0 [fglrx]
[<f9b69d94>] firegl_open+0x194/0x260 [fglrx]
[<f9b672af>] firegl_stub_open+0x106/0x1b5 [fglrx]
[<f9b671a9>] firegl_stub_open+0x0/0x1b5 [fglrx]
[fglrx:firegl_addmap] *ERROR* mtrr allocation failed (-22)
[fglrx:firegl_unlock] *ERROR* Process 13875 using kernel context 0
[fglrx:drm_ioremapfree] *ERROR* [mappings] Attempt to free NULL pointer
[<f9b67522>] __ke_alloc_wait_queue_head_struct+0x18/0x25 [fglrx]
[<f9b7966f>] firegl_open_helper+0x15f/0x190 [fglrx]
[<f9b6a776>] firegl_setup_dev+0x126/0x1d0 [fglrx]
[<f9b69d94>] firegl_open+0x194/0x260 [fglrx]
[<f9b672af>] firegl_stub_open+0x106/0x1b5 [fglrx]
[<f9b671a9>] firegl_stub_open+0x0/0x1b5 [fglrx]
[fglrx:firegl_addmap] *ERROR* mtrr allocation failed (-22)
[fglrx:firegl_unlock] *ERROR* Process 14303 using kernel context 0
[fglrx:drm_ioremapfree] *ERROR* [mappings] Attempt to free NULL pointer
Quote:
pezplaya@trinity pezplaya $ dmesg |grep agp
Linux agpgart interface v0.100 (c) Dave Jones
Linux agpgart interface v0.100 (c) Dave Jones
 
Old 06-05-2004, 02:43 AM   #6
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
Allllllright....

Do you have MTRR support compiled into the kernel?
Do you have specific agp chipset support configured along with the regular agpgart module?

What chip do you have, can I ask again?

--Shade

PS --
by the way, when using grep to isolate things of this nature, I like to use the -i switch to ignore case... You'll find agp and fglrx referenced both lower and upper case...

Last edited by Shade; 06-05-2004 at 02:45 AM.
 
Old 06-05-2004, 12:01 PM   #7
pezplaya
Member
 
Registered: Dec 2003
Distribution: Gentoo / Slackware
Posts: 92

Original Poster
Rep: Reputation: 15
CONFIG_MTRR=y

I have a pentium 4 2.26 533fsb... Asus P4PE Motherboard.

Chipset Intel 845PE

I think this may be what you meant:



Quote:
pezplaya@trinity pezplaya $ dmesg|grep -i fglrx
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel
.
[fglrx] Maximum main memory to use for locked dma buffers: 804 MBytes.
[fglrx] module loaded - fglrx 3.9.0 [May 11 2004] on minor 0
[<f9a26522>] __ke_alloc_wait_queue_head_struct+0x18/0x25 [fglrx]
[<f9a3866f>] firegl_open_helper+0x15f/0x190 [fglrx]
[<f9a29776>] firegl_setup_dev+0x126/0x1d0 [fglrx]
[<f9a28d94>] firegl_open+0x194/0x260 [fglrx]
[<f9a262af>] firegl_stub_open+0x106/0x1b5 [fglrx]
[<f9a261a9>] firegl_stub_open+0x0/0x1b5 [fglrx]
[fglrx:firegl_addmap] *ERROR* mtrr allocation failed (-22)
[fglrx:firegl_unlock] *ERROR* Process 8007 using kernel context 0
[fglrx:drm_ioremapfree] *ERROR* [mappings] Attempt to free NULL pointer
[<f9a26522>] __ke_alloc_wait_queue_head_struct+0x18/0x25 [fglrx]
[<f9a3866f>] firegl_open_helper+0x15f/0x190 [fglrx]
[<f9a29776>] firegl_setup_dev+0x126/0x1d0 [fglrx]
[<f9a28d94>] firegl_open+0x194/0x260 [fglrx]
[<f9a262af>] firegl_stub_open+0x106/0x1b5 [fglrx]
[<f9a261a9>] firegl_stub_open+0x0/0x1b5 [fglrx]
[fglrx:firegl_addmap] *ERROR* mtrr allocation failed (-22)
[fglrx:firegl_unlock] *ERROR* Process 8142 using kernel context 0
[fglrx:drm_ioremapfree] *ERROR* [mappings] Attempt to free NULL pointer
[<f9a26522>] __ke_alloc_wait_queue_head_struct+0x18/0x25 [fglrx]
[<f9a3866f>] firegl_open_helper+0x15f/0x190 [fglrx]
[<f9a29776>] firegl_setup_dev+0x126/0x1d0 [fglrx]
[<f9a28d94>] firegl_open+0x194/0x260 [fglrx]
[<f9a262af>] firegl_stub_open+0x106/0x1b5 [fglrx]
[<f9a261a9>] firegl_stub_open+0x0/0x1b5 [fglrx]
[fglrx:firegl_addmap] *ERROR* mtrr allocation failed (-22)
[fglrx:firegl_unlock] *ERROR* Process 8245 using kernel context 0
[fglrx:drm_ioremapfree] *ERROR* [mappings] Attempt to free NULL pointer
[<f9a26522>] __ke_alloc_wait_queue_head_struct+0x18/0x25 [fglrx]
[<f9a3866f>] firegl_open_helper+0x15f/0x190 [fglrx]
[<f9a29776>] firegl_setup_dev+0x126/0x1d0 [fglrx]
[<f9a28d94>] firegl_open+0x194/0x260 [fglrx]
[<f9a262af>] firegl_stub_open+0x106/0x1b5 [fglrx]
[<f9a261a9>] firegl_stub_open+0x0/0x1b5 [fglrx]
[fglrx:firegl_addmap] *ERROR* mtrr allocation failed (-22)
[fglrx:firegl_unlock] *ERROR* Process 8361 using kernel context 0
[fglrx:drm_ioremapfree] *ERROR* [mappings] Attempt to free NULL pointer
[<f9a26522>] __ke_alloc_wait_queue_head_struct+0x18/0x25 [fglrx]
[<f9a3866f>] firegl_open_helper+0x15f/0x190 [fglrx]
[<f9a29776>] firegl_setup_dev+0x126/0x1d0 [fglrx]
[<f9a28d94>] firegl_open+0x194/0x260 [fglrx]
[<f9a262af>] firegl_stub_open+0x106/0x1b5 [fglrx]
[<f9a261a9>] firegl_stub_open+0x0/0x1b5 [fglrx]
[fglrx:firegl_addmap] *ERROR* mtrr allocation failed (-22)
[fglrx:firegl_unlock] *ERROR* Process 7740 using kernel context 0
[fglrx:drm_ioremapfree] *ERROR* [mappings] Attempt to free NULL pointer
[<f9a26522>] __ke_alloc_wait_queue_head_struct+0x18/0x25 [fglrx]
[<f9a3866f>] firegl_open_helper+0x15f/0x190 [fglrx]
[<f9a29776>] firegl_setup_dev+0x126/0x1d0 [fglrx]
[<f9a28d94>] firegl_open+0x194/0x260 [fglrx]
[<f9a262af>] firegl_stub_open+0x106/0x1b5 [fglrx]
[<f9a261a9>] firegl_stub_open+0x0/0x1b5 [fglrx]
[fglrx:firegl_addmap] *ERROR* mtrr allocation failed (-22)
[fglrx:firegl_unlock] *ERROR* Process 8142 using kernel context 0
[fglrx:drm_ioremapfree] *ERROR* [mappings] Attempt to free NULL pointer
 
Old 06-09-2004, 01:38 AM   #8
pezplaya
Member
 
Registered: Dec 2003
Distribution: Gentoo / Slackware
Posts: 92

Original Poster
Rep: Reputation: 15
Alright guys.. I managed to get this driver installed, but I am having a problem...


http://www.falsworld.com/pez/snapshot3.png
http://www.falsworld.com/pez/snapshot4.png

look at the images above... Yea it doesn't make much sense to me either...

and no, i am not using any kde menu transparency...

This is running the ATI 3.9.0 drivers, on the ATI Radeon 9800. I get this problem both on the 2.4.22 and 2.6.6 kernels, which kind of ticks me off.

SPEC:
P4 2.26ghz 533fsb
SB Audigy Platinum
ATI 9800pro 256mb
Asus P4PE Motherboard

I'll give you a cookie if you can help me

Something I am concerned about is if you look at this pic: http://www.falsworld.com/pez/snapshot3.png

look at the output of lsmod. fglrx shows its used by 128 things. Thats rather high is it not?

ive followed numerous how-tos and a ton of documentation on how to install this driver, but haven't found any problems like what i'm having.
 
Old 06-09-2004, 03:28 AM   #9
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
Interesting...

I'm glad you got it installed.

These artifacts look like what I've seen from overclocking...
I think there are a couple of options you can try enabling and disabling within the XF86Config to see if you can get it working.


Code:
Section "Device"
    Identifier  "Radeon 9000 Pro"
    Driver      "fglrx"
    VideoRam    65536
    Option      "composite_sync" "on"
    Option      "AGPFastWrite"  "on"
    Option      "AGPMode"       "4"
    Option      "EnablePageFlip" "on"
    Option      "SWCursor"      "off"
    Option      "UseInternalAGPGART" "no"
    # Insert Clocks lines here if appropriate
EndSection
Try some of those options listed above, switched on and off. SWCursor or AGPFastWrite may be the tickets in particular...

Good luck with this one. Hard to diagnose!

On another note -- Is 3d acceleration working now? Check with glxinfo |grep direct

--Shade
 
Old 06-09-2004, 09:39 AM   #10
pezplaya
Member
 
Registered: Dec 2003
Distribution: Gentoo / Slackware
Posts: 92

Original Poster
Rep: Reputation: 15
no, 3d acceleration is not working as of now. Whenever I try to run glxgears or anything realted to 3d the system locks and I the only way I can restart is to push the restart button.

I'm going to go try those options in my XF86Config file right now. I'll post back and tell u what happens.
 
Old 06-09-2004, 10:26 AM   #11
pezplaya
Member
 
Registered: Dec 2003
Distribution: Gentoo / Slackware
Posts: 92

Original Poster
Rep: Reputation: 15
unfortunately those options didn't change anything : (.

Here is my log file:
http://www.falsworld.com/pez/XFree86.0.log

I don't see any errors with it. I'm not sure what else to do right now... I'm stuck.
 
Old 06-12-2004, 11:23 AM   #12
pezplaya
Member
 
Registered: Dec 2003
Distribution: Gentoo / Slackware
Posts: 92

Original Poster
Rep: Reputation: 15
Well I exchanged my card for the exact same card... Still the same problem. ATI just has really bad drivers. I guess I'll return it and go nvidia. I'm not switching back to windows.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Ati 9800pro AGP 8x Bl4cKP3nGu1n Linux - Hardware 2 05-30-2005 04:12 PM
ATI 9800pro on Fedora Core 3 harzfled Fedora 2 04-02-2005 03:10 PM
ati 9800pro not doing its job cyborg_jt Linux - Hardware 3 02-11-2004 09:11 PM
9800pro preformace issues cyborg_jt Linux - Hardware 3 01-31-2004 01:09 AM
Radeon 9800pro driver mogumbo Linux - Hardware 6 05-20-2003 01:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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