Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ATI radeon Sticky
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 38, 39, 40 ... 74, 75, 76  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
gearheadsmp
n00b
n00b


Joined: 05 Jun 2002
Posts: 38
Location: Memphis, Tennessee

PostPosted: Fri Oct 10, 2003 6:49 pm    Post subject: refresh rates & ATI driver 'issue' Reply with quote

I'm using a Samsung DVI flat panel, right? The refresh rates Samsung provides for it (HorizSync 30-61; VertRefresh 56-75) work just fine in DRI. However, when I try to use them with the ATI driver, X doesn't startup. It works when I set the resolution @ 800x600 or below, but the moment I set it to 1024x768, I get a blank screen. I've already tried broadening the refresh rates, as a guy on the Rage3D forums suggested (HorizSync 30-70; VertRefresh 50-120). What else can I try?

ATI Driver: 3.2.8
Monitor: Samsung 152T (using DVI)
AGP card: Sapphire 9200
_________________
"Captain, yer overloadin' her as it is. The power supply just isn't built to take two hard drrrives."
Back to top
View user's profile Send private message
WhO_KnOwS
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2003
Posts: 87
Location: Slovenia

PostPosted: Fri Oct 10, 2003 7:55 pm    Post subject: Reply with quote

I think I'm not doing anything wrong, but my performance just sux. I own a Powered by ATI Radeon 9500 and am using the latest drivers (used ACCEPT_KEYWORD... today). In all OpenGL apps (even screensavers) I don't get more than 1-2 FPS. Is this a bug or am I missing something?
_________________
"Does anybody know my name?" -me after a wild night
Back to top
View user's profile Send private message
Crispy Beef
Apprentice
Apprentice


Joined: 29 Apr 2003
Posts: 194
Location: UK

PostPosted: Fri Oct 10, 2003 8:37 pm    Post subject: Reply with quote

Wooohoooo, finally got it working!!

Code:

(II) fglrx(0): [agp] Mode=0x1f004219 bridge: 0x10de/0x01e0
(II) fglrx(0): [agp] AGP disable mask 0x00000000
(II) fglrx(0): [agp] enabling AGP with mode=0x1f004319
(II) fglrx(0): [agp] AGP protocoll is enabled for grafics board. (cmd=0x1f004311)
(II) fglrx(0): [agp] grafics chipset has AGP v3.0 (native mode)
(II) fglrx(0): [drm] ringbuffer size = 0x00100000 bytes
(II) fglrx(0): [drm] DRM buffer queue setup: nbufs = 100 bufsize = 28672
(II) fglrx(0): [drm] texture shared area handle = 0xd8aea000
(II) fglrx(0): VisualConfigs initialized
(II) fglrx(0): DRI initialization successfull!


For those that are still trying I am using XFree 4.3.0 with the latest ATI drivers ( 3.2.8 ) and the gaming-sources-2.4.20-r5. My motherboard is an A7N8X (nForce2) and have compiled the agpgart driver as a module. Am using that instead of the internal driver supplied from ATI. My card is a Sapphire Radeon 9700.

glxgears in it's default size gives an average of 3300fps :-)
_________________
--
______
Crispy


Last edited by Crispy Beef on Fri Oct 10, 2003 10:44 pm; edited 1 time in total
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Fri Oct 10, 2003 10:25 pm    Post subject: Reply with quote

MacTuiti: have you loaded the fglrx module? Without it, you don't get any 3D acceleration.

gearheadsmp: try setting "IgnoreEDID" to "on", it sometimes helps with that kind of problem.

WhO_KnOwS wrote:
I think I'm not doing anything wrong, but my performance just sux. I own a Powered by ATI Radeon 9500 and am using the latest drivers (used ACCEPT_KEYWORD... today). In all OpenGL apps (even screensavers) I don't get more than 1-2 FPS. Is this a bug or am I missing something?

Well something obviously isn't quite right :) Check /var/log/XFree86.0.log and dmesg for errors, make sure you have the fglrx module loaded, check you've done "opengl-update ati" etc
_________________
Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ
Back to top
View user's profile Send private message
ShockValue
Tux's lil' helper
Tux's lil' helper


Joined: 26 Mar 2003
Posts: 137

PostPosted: Fri Oct 10, 2003 11:29 pm    Post subject: Reply with quote

I'm a newbie to Linux, but after much tinkering and folowing this thread (and others) closely, I was able to get my Radeon 9700 running (~3500 fps in glxgears).

My trouble is that after a while my performance starts to 'hang'. For example, the gears run smooth for 10 seconds, then hang for 1/2 second, then continue smooth again for another 10, rince repeat.
I installed xscreensaver and was watching some of the savers with the FPS showing. With 'Flurry', it works just about the same as the gears, but the FPS show: 60 FPS for about 10 seconds, then 'glitches', frames drop to 30FPS quickly, then back to 60FPS again.

I'm not even sure this is a graphics problem per se.. For all I know there is something running in the background that is causing this... But since I'm such a newb, im not sure where to start looking to diagnose this problem.

Any suggestions welcome! :)

Thanks for being such a great community, i wouldn't be anywhere as close to a 'perfect' system as I am now without it!

Edit: Gnome 2.4, 512Ram, 2.53Ghz CPU, 9700pro, Cmedia onboard sound.
Back to top
View user's profile Send private message
gearheadsmp
n00b
n00b


Joined: 05 Jun 2002
Posts: 38
Location: Memphis, Tennessee

PostPosted: Sat Oct 11, 2003 12:39 am    Post subject: update Reply with quote

When I turn IgnoreEDID to 'on', X won't even start while using the ATI drivers. Does IgnoreEDID disable the flat panel's internel DDC?
_________________
"Captain, yer overloadin' her as it is. The power supply just isn't built to take two hard drrrives."
Back to top
View user's profile Send private message
WhO_KnOwS
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2003
Posts: 87
Location: Slovenia

PostPosted: Sat Oct 11, 2003 7:10 am    Post subject: Reply with quote

I checked the XFree86.0.log. Everything looks fine xcept this:

Quote:
(II) Loading extension ATIFGLRXDRI
(II) fglrx(0): doing DRIScreenInit
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenDevice: minor is 0
drmOpenDevice: node name is /dev/dri/card0
drmOpenDevice: open result is 6, (OK)
drmOpenDevice: minor is 1
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
drmOpenDevice: minor is 2
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
drmOpenDevice: minor is 3
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
drmOpenDevice: minor is 4
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
drmOpenDevice: minor is 5
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
drmOpenDevice: minor is 6
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
drmOpenDevice: minor is 7
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
drmOpenDevice: minor is 8
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
drmOpenDevice: minor is 9
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
drmOpenDevice: minor is 10
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
drmOpenDevice: minor is 11
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
drmOpenDevice: minor is 12
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
drmOpenDevice: minor is 13
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
drmOpenDevice: minor is 14
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
(II) fglrx(0): [drm] drmOpen failed
(EE) fglrx(0): DRIScreenInit failed!
(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): ********************************************* *


What am I doing wrong??? Above this error it says this:

Quote:
(II) Primary Device is: PCI 01:00:0
(WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found
(--) Chipset ATI R300 AD (R9500) found


Is this the problem?

P.S.: Sorry for all the stupid questions but I am almost a complete newb.
_________________
"Does anybody know my name?" -me after a wild night
Back to top
View user's profile Send private message
schoett
n00b
n00b


Joined: 26 Jan 2003
Posts: 62

PostPosted: Sat Oct 11, 2003 11:24 am    Post subject: DRI works the *second* time around Reply with quote

schoett wrote:
I had 3.2.8 working fine with 2.6.0-test6 (Option "UseInternalAGPGART" "yes"), but it does not work any more with -test7.

See above for details

I have now discovered that the DRI intialisation works the *second* time around, so my work-around is to zap the first X server with Ctrl-Alt-Backspace and wait for the second one to be started automatically by xdm. That one then has DRI working.

Error messages shown by the first X server:
Code:
(II) fglrx(0): [drm] loaded kernel module for "fglrx" driver
(II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:1:0:0"
(II) fglrx(0): [drm] added 8192 byte SAREA at 0xe0a6a000
(II) fglrx(0): [drm] mapped SAREA 0xe0a6a000 to 0x40218000
(II) fglrx(0): [drm] framebuffer handle = 0xd8000000
(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: 3.2.8
(II) fglrx(0):     Date: Sep 21 2003
(II) fglrx(0):     Desc: ATI Fire GL 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.0-test7
(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 = 0xe8420000
(II) fglrx(0): [agp] Mode=0x1f004e0b bridge: 0x1039/0x0648
(II) fglrx(0): [agp] AGP disable mask 0x00000000
(II) fglrx(0): [agp] enabling AGP with mode=0x1f004f0a
(EE) fglrx(0): [agp] Failed to set AGP mode!
(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 0xe0a6a000 at 0x40218000
(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: 0xd8000000 FBMappedSize: 0x08000000
(==) fglrx(0): Write-combining range (0xd8000000,0x8000000)
(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

dmesg output:
Code:
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 432 MBytes.
[fglrx] module loaded - fglrx 3.2.8 [Sep 21 2003] on minor 0
Fire GL built-in AGP-support
Based on agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: Detected SiS 645dx chipset
agpgart: AGP aperture is 128M @ 0xd0000000
Power management callback for AGP chipset installed
[fglrx] AGP detected, AgpState   = 0x1f004e0b (hardware caps of chipset)
AGP: Found 2 AGPv3 devices
AGP: Doing enable for AGPv3
agpgart: Found an AGP 3.0 compliant device.
[fglrx:_r6x_CheckAGPCommand] *ERROR* query for AGP device capabilities failed
[fglrx:firegl_unlock] *ERROR* Process 3924 using kernel context 0

Messages from the second (working) X server:
Code:
(II) fglrx(0): [drm] created "fglrx" driver at busid "PCI:1:0:0"
(II) fglrx(0): [drm] added 8192 byte SAREA at 0xe0a6a000
(II) fglrx(0): [drm] mapped SAREA 0xe0a6a000 to 0x40218000
(II) fglrx(0): [drm] framebuffer handle = 0xd8000000
(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: 3.2.8
(II) fglrx(0):     Date: Sep 21 2003
(II) fglrx(0):     Desc: ATI Fire GL 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.0-test7
(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 = 0xe8420000
(II) fglrx(0): [agp] Mode=0x1f004e0b bridge: 0x1039/0x0648
(II) fglrx(0): [agp] AGP disable mask 0x00000000
(II) fglrx(0): [agp] enabling AGP with mode=0x1f004f0a
(II) fglrx(0): [agp] AGP protocoll is enabled for grafics board. (cmd=0x1f004302)
(II) fglrx(0): [agp] grafics chipset has AGP v3.0 (native mode)
(II) fglrx(0): [drm] ringbuffer size = 0x00100000 bytes
(II) fglrx(0): [drm] DRM buffer queue setup: nbufs = 100 bufsize = 28672
(II) fglrx(0): [drm] texture shared area handle = 0xe8c58000
(II) fglrx(0): VisualConfigs initialized
(II) fglrx(0): DRI initialization successfull!
(II) fglrx(0): FBADPhys: 0xd8000000 FBMappedSize: 0x00700000
(II) fglrx(0): Splitting WC range: base: 0xd8000000, size: 0x700000
(II) fglrx(0): Splitting WC range: base: 0xd8400000, size: 0x300000
(==) fglrx(0): Write-combining range (0xd8600000,0x100000)
(==) fglrx(0): Write-combining range (0xd8400000,0x300000)
(==) fglrx(0): Write-combining range (0xd8000000,0x700000)
(II) fglrx(0): FBMM initialized for area (0,0)-(1280,1433)
(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 401

dmesg output:
Code:
AGP: Found 2 AGPv3 devices
AGP: Doing enable for AGPv3
agpgart: Found an AGP 3.0 compliant device.
[fglrx] AGP enabled,  AgpCommand = 0x1f004302 (selected caps)
[fglrx] free  AGP = 121909248
[fglrx] max   AGP = 121909248
[fglrx] free  LFB = 116391936
[fglrx] max   LFB = 116391936
[fglrx] free  Inv = 0
[fglrx] max   Inv = 0
[fglrx] total Inv = 0
[fglrx] total TIM = 0
[fglrx] total FB  = 0
[fglrx] total AGP = 32768

Isn't computing fun? 8)
Back to top
View user's profile Send private message
WhO_KnOwS
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2003
Posts: 87
Location: Slovenia

PostPosted: Sat Oct 11, 2003 8:29 pm    Post subject: Reply with quote

No good here. Even if I restart X, dri still doesn't load. Is there anyone with enough XP to figure out what is wrong? I will be terribly greatefull...
_________________
"Does anybody know my name?" -me after a wild night
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Sat Oct 11, 2003 8:55 pm    Post subject: Reply with quote

Check you don't have DRM support in your kernel.
_________________
Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ
Back to top
View user's profile Send private message
WhO_KnOwS
Tux's lil' helper
Tux's lil' helper


Joined: 03 Oct 2003
Posts: 87
Location: Slovenia

PostPosted: Sat Oct 11, 2003 9:16 pm    Post subject: Reply with quote

Wedge_ wrote:
Check you don't have DRM support in your kernel.


You are my saviour man. Now it works smooth as...
...something very smooth :)
_________________
"Does anybody know my name?" -me after a wild night
Back to top
View user's profile Send private message
louisg
n00b
n00b


Joined: 08 Oct 2003
Posts: 4

PostPosted: Sat Oct 11, 2003 9:48 pm    Post subject: Reply with quote

I put up a new post for the problems I've been having with DRI and my r128 drivers, but nobody's posted. :(

so mebe putting a link here would help. :P

http://forums.gentoo.org/viewtopic.php?t=94888&highlight=r128+ati+dri
Back to top
View user's profile Send private message
MacTuitui
n00b
n00b


Joined: 10 Oct 2003
Posts: 53

PostPosted: Mon Oct 13, 2003 9:18 am    Post subject: Reply with quote

Ok folks, now I get decent acceleration.

Two issues for me : first as Wedge_ the l33t :p said, the fglrx module was not loaded

Second : My kernel was known as linux-beta (and /usr/src/linux was not pointing to it) so the emerge of the driver did not put the module where it should have been.

Now everything is ok, on a 2.6-test7-r3 :D

Once again, I'd like to thank everyone of the Gentoo community for their great support :D
Back to top
View user's profile Send private message
Gorgone
Tux's lil' helper
Tux's lil' helper


Joined: 10 Mar 2003
Posts: 100

PostPosted: Wed Oct 15, 2003 5:48 am    Post subject: Reply with quote

i vave also a problem with my radeon 9800
my driver dont detect the nforce2 agp 3.0 mode

http://forums.gentoo.org/viewtopic.php?t=96247
Back to top
View user's profile Send private message
hbmartin
Guru
Guru


Joined: 12 Sep 2003
Posts: 386
Location: Home is where the boxen are

PostPosted: Wed Oct 15, 2003 4:12 pm    Post subject: Reply with quote

Any one know if these instructions work under kernel 2.6??

Thanks,
Harold
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Wed Oct 15, 2003 4:37 pm    Post subject: Reply with quote

Which instructions do you mean? The drivers themselves will work fine with a 2.6 kernel.
_________________
Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ
Back to top
View user's profile Send private message
hbmartin
Guru
Guru


Joined: 12 Sep 2003
Posts: 386
Location: Home is where the boxen are

PostPosted: Wed Oct 15, 2003 5:38 pm    Post subject: Reply with quote

Wedge_ wrote:
Which instructions do you mean? The drivers themselves will work fine with a 2.6 kernel.

The instructions in general :)
Any sing how-to, I'm not sure I want to wade through 30 something pages ;)

Thanks,
Harold
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Wed Oct 15, 2003 5:55 pm    Post subject: Reply with quote

There's a (slightly outdated) howto here. If you aren't sure about something post it in this thread.
_________________
Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ
Back to top
View user's profile Send private message
wallace1819
Apprentice
Apprentice


Joined: 17 Aug 2002
Posts: 195
Location: VT

PostPosted: Wed Oct 22, 2003 6:51 pm    Post subject: mtrr Reply with quote

I am getting the following errors in /var/log/messages and it is starting to drive me mad...

Code:

Oct 22 12:18:52 gentoo fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
Oct 22 12:18:52 gentoo [fglrx] Maximum main memory to use for locked dma buffers: 927 MBytes.
Oct 22 12:18:52 gentoo [fglrx] module loaded - fglrx 3.2.8 [Sep 21 2003] on minor 0
Oct 22 12:18:52 gentoo mtrr: 0x90000000,0x8000000 overlaps existing 0x90000000,0x1000000
Oct 22 12:18:52 gentoo [fglrx:firegl_addmap] *ERROR* mtrr allocation failed (-22)
Oct 22 12:18:52 gentoo [fglrx] AGP detected, AgpState   = 0x1f000217 (hardware caps of chipset)
Oct 22 12:18:52 gentoo agpgart: Found an AGP 2.0 compliant device at 0000:00:00.0.
Oct 22 12:18:52 gentoo agpgart: Putting AGP V2 device at 0000:00:00.0 into 4x mode
Oct 22 12:18:52 gentoo agpgart: Putting AGP V2 device at 0000:01:00.0 into 4x mode
Oct 22 12:18:52 gentoo [fglrx] AGP enabled,  AgpCommand = 0x1f000314 (selected caps)
Oct 22 12:18:52 gentoo [fglrx] free  AGP = 54800384
Oct 22 12:18:52 gentoo [fglrx] max   AGP = 54800384
Oct 22 12:18:52 gentoo [fglrx] free  LFB = 124440576
Oct 22 12:18:52 gentoo [fglrx] max   LFB = 124440576
Oct 22 12:18:52 gentoo [fglrx] free  Inv = 0
Oct 22 12:18:52 gentoo [fglrx] max   Inv = 0
Oct 22 12:18:52 gentoo [fglrx] total Inv = 0
Oct 22 12:18:52 gentoo [fglrx] total TIM = 0
Oct 22 12:18:52 gentoo [fglrx] total FB  = 0
Oct 22 12:18:52 gentoo [fglrx] total AGP = 16384
... (non relevent data)
Oct 22 12:50:27 gentoo mtrr: no MTRR for 90000000,800000 found
Oct 22 12:50:27 gentoo mtrr: no MTRR for 90800000,100000 found
Oct 22 12:50:27 gentoo mtrr: no MTRR for 90900000,40000 found
Oct 22 12:50:27 gentoo mtrr: no MTRR for 90940000,10000 found
Oct 22 12:50:27 gentoo mtrr: no MTRR for 90950000,2000 found
Oct 22 12:50:27 gentoo mtrr: no MTRR for 90952000,1000 found
Oct 22 12:50:27 gentoo [fglrx:drm_ioremapfree] *ERROR* [mappings] Attempt to free NULL pointer
Oct 22 12:50:27 gentoo mtrr: 0x90000000,0x8000000 overlaps existing 0x90000000,0x1000000
Oct 22 12:50:27 gentoo [fglrx:firegl_addmap] *ERROR* mtrr allocation failed (-22)
Oct 22 12:50:27 gentoo [fglrx] free  AGP = 54800384
Oct 22 12:50:27 gentoo [fglrx] max   AGP = 54800384
Oct 22 12:50:27 gentoo [fglrx] free  LFB = 124440576
Oct 22 12:50:27 gentoo [fglrx] max   LFB = 124440576
Oct 22 12:50:27 gentoo [fglrx] free  Inv = 0
Oct 22 12:50:27 gentoo [fglrx] max   Inv = 0
Oct 22 12:50:27 gentoo [fglrx] total Inv = 0
Oct 22 12:50:27 gentoo [fglrx] total TIM = 0
Oct 22 12:50:27 gentoo [fglrx] total FB  = 0
Oct 22 12:50:27 gentoo [fglrx] total AGP = 16384



cat /proc/mtrr shows

Code:

reg00: base=0x00000000 (   0MB), size=1024MB: write-back, count=1
reg01: base=0x90000000 (2304MB), size=  16MB: write-combining, count=7
reg02: base=0xa0000000 (2560MB), size=  64MB: write-combining, count=1


if that helps

Does any one have any idea how to clear up this mtrr problem or any idea what is causing it? I know next to nothing about mtrr. I have googled 'til my fingers have bled and can find nothing of use in clearing up this mtrr issue.

System:
P4 3.06GHz (currently using HT)
radeon 9000 mobility (r250)
XFree86 Version 4.3.0
ati-drivers-3.2.8
kernel 2.6.0-test6-mm4 (mtrr compiled directly in)

If it would help i can post full dmesg and/or /var/log/XFree86.0.log

If anyone needs more info let me know.

wallace
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Wed Oct 22, 2003 7:18 pm    Post subject: Reply with quote

I get occasional MTRR errors in dmesg as well, but I've no idea why they appear or how to fix them. They don't appear to cause any problems that I've noticed.
_________________
Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ
Back to top
View user's profile Send private message
Anior
Guru
Guru


Joined: 17 Apr 2003
Posts: 317
Location: European Union (Stockholm / Sweden)

PostPosted: Thu Oct 30, 2003 2:15 am    Post subject: Reply with quote

I've got a radeon 9700 pro and a MS8147C mobo.
Kernel 2.6.0-test9 fglrx 3.2.8 XFree86 4.3.0
UseInternalAGPGART set to off
Compiled in: mtrr, agp via_agp. No DRI

It boots just fine, heres the dmesg:

Code:

12 000 00  1    0    0   0   0    0    0    00
 13 000 00  1    0    0   0   0    0    0    00
 14 000 00  1    0    0   0   0    0    0    00
 15 000 00  1    0    0   0   0    0    0    00
 16 000 00  1    0    0   0   0    0    0    00
 17 000 00  1    0    0   0   0    0    0    00
IRQ to pin mappings:
IRQ0 -> 0:2
IRQ1 -> 0:1
IRQ3 -> 0:3
IRQ4 -> 0:4
IRQ5 -> 0:5
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:9
IRQ10 -> 0:10
IRQ11 -> 0:11
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ15 -> 0:15
.................................... done.
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 1794.0700 MHz.
..... host bus clock speed is 265.0881 MHz.
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.10 entry at 0xfb3a0, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20031002
IOAPIC[0]: Set PCI routing entry (2-9 -> 0x71 -> IRQ 9 Mode:0 Active:0)
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 *7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [ALKA] (IRQs 20)
ACPI: PCI Interrupt Link [ALKB] (IRQs 21)
ACPI: PCI Interrupt Link [ALKC] (IRQs 22)
ACPI: PCI Interrupt Link [ALKD] (IRQs 23)
Linux Plug and Play Support v0.97 (c) Adam Belay
SCSI subsystem initialized
drivers/usb/core/usb.c: registered new driver usbfs
drivers/usb/core/usb.c: registered new driver hub
IOAPIC[0]: Set PCI routing entry (2-16 -> 0xa9 -> IRQ 16 Mode:1 Active:1)
00:00:08[A] -> 2-16 -> IRQ 16
IOAPIC[0]: Set PCI routing entry (2-17 -> 0xb1 -> IRQ 17 Mode:1 Active:1)
00:00:08[B] -> 2-17 -> IRQ 17
IOAPIC[0]: Set PCI routing entry (2-18 -> 0xb9 -> IRQ 18 Mode:1 Active:1)
00:00:08[C] -> 2-18 -> IRQ 18
IOAPIC[0]: Set PCI routing entry (2-19 -> 0xc1 -> IRQ 19 Mode:1 Active:1)
00:00:08[D] -> 2-19 -> IRQ 19
Pin 2-17 already programmed
Pin 2-18 already programmed
Pin 2-19 already programmed
Pin 2-16 already programmed
Pin 2-18 already programmed
Pin 2-19 already programmed
Pin 2-16 already programmed
Pin 2-17 already programmed
Pin 2-19 already programmed
Pin 2-16 already programmed
Pin 2-17 already programmed
Pin 2-18 already programmed
Pin 2-16 already programmed
Pin 2-17 already programmed
Pin 2-18 already programmed
Pin 2-19 already programmed
Pin 2-18 already programmed
Pin 2-19 already programmed
Pin 2-16 already programmed
Pin 2-17 already programmed
Pin 2-19 already programmed
Pin 2-16 already programmed
Pin 2-17 already programmed
Pin 2-18 already programmed
Pin 2-17 already programmed
Pin 2-18 already programmed
Pin 2-19 already programmed
Pin 2-16 already programmed
_CRS returns NULL! Using IRQ 21 for device (PCI Interrupt Link [ALKB]).
ACPI: PCI Interrupt Link [ALKB] enabled at IRQ 21
IOAPIC[0]: Set PCI routing entry (2-21 -> 0xc9 -> IRQ 21 Mode:1 Active:1)
00:00:10[A] -> 2-21 -> IRQ 21
Pin 2-21 already programmed
Pin 2-21 already programmed
Pin 2-21 already programmed
_CRS returns NULL! Using IRQ 20 for device (PCI Interrupt Link [ALKA]).
ACPI: PCI Interrupt Link [ALKA] enabled at IRQ 20
IOAPIC[0]: Set PCI routing entry (2-20 -> 0xd1 -> IRQ 20 Mode:1 Active:1)
00:00:11[A] -> 2-20 -> IRQ 20
Pin 2-21 already programmed
_CRS returns NULL! Using IRQ 22 for device (PCI Interrupt Link [ALKC]).
ACPI: PCI Interrupt Link [ALKC] enabled at IRQ 22
IOAPIC[0]: Set PCI routing entry (2-22 -> 0xd9 -> IRQ 22 Mode:1 Active:1)
00:00:11[C] -> 2-22 -> IRQ 22
_CRS returns NULL! Using IRQ 23 for device (PCI Interrupt Link [ALKD]).
ACPI: PCI Interrupt Link [ALKD] enabled at IRQ 23
IOAPIC[0]: Set PCI routing entry (2-23 -> 0xe1 -> IRQ 23 Mode:1 Active:1)
00:00:11[D] -> 2-23 -> IRQ 23
Pin 2-16 already programmed
Pin 2-17 already programmed
Pin 2-18 already programmed
Pin 2-19 already programmed
Pin 2-23 already programmed
Pin 2-23 already programmed
Pin 2-23 already programmed
Pin 2-23 already programmed
PCI: Using ACPI for IRQ routing
PCI: if you experience problems, try using option 'pci=noacpi' or even 'acpi=off'
vesafb: framebuffer at 0xd8000000, mapped to 0xe080b000, size 16384k
vesafb: mode is 1280x1024x16, linelength=2560, pages=50
vesafb: protected mode interface info at c000:573e
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
fb0: VESA VGA frame buffer device
Machine check exception polling timer started.
devfs: v1.22 (20021013) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
Initializing Cryptographic API
PCI: Via IRQ fixup for 0000:00:10.0, from 11 to 5
PCI: Via IRQ fixup for 0000:00:10.1, from 10 to 5
PCI: Via IRQ fixup for 0000:00:10.2, from 7 to 5
ACPI: Power Button (FF) [PWRF]
ACPI: Sleep Button (CM) [SLPB]
ACPI: Fan [FAN] (on)
ACPI: Processor [CPU0] (supports C1 C2)
ACPI: Thermal Zone [THRM] (40 C)
Console: switching to colour frame buffer device 160x64
pty: 256 Unix98 ptys configured
Generic RTC Driver v1.07
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected VIA KT400/KT400A/KT600 chipset
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: AGP aperture is 128M @ 0xd0000000
Hangcheck: starting hangcheck timer 0.5.0 (tick is 180 seconds, margin is 60 seconds).
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
Using anticipatory io scheduler
Floppy drive(s): fd0 is 1.44M
floppy0: no floppy controllers found
via-rhine.c:v1.10-LK1.1.19-2.5  July-12-2003  Written by Donald Becker
  http://www.scyld.com/network/via-rhine.html
eth0: VIA VT6102 Rhine-II at 0xe8136000, 00:0a:e6:51:9f:c3, IRQ 23.
eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 0021.
Linux video capture interface: v1.00
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 0000:00:11.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt8235 (rev 00) IDE UDMA133 controller on pci0000:00:11.1
    ide0: BM-DMA at 0xc800-0xc807, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xc808-0xc80f, BIOS settings: hdc:DMA, hdd:pio
hda: Maxtor 6Y120P0, ATA DISK drive
hdb: LITE-ON LTR-40125S, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: Maxtor 6Y120P0, ATA DISK drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 240121728 sectors (122942 MB) w/7936KiB Cache, CHS=65535/16/63, UDMA(133)
 /dev/ide/host0/bus0/target0/lun0: p1 p2 p3
hdc: max request size: 128KiB
hdc: 240121728 sectors (122942 MB) w/7936KiB Cache, CHS=65535/16/63, UDMA(133)
 /dev/ide/host0/bus1/target0/lun0: p1 p2 p3
hdb: ATAPI 48X CD-ROM CD-R/RW drive, 1984kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Console: switching to colour frame buffer device 160x64
ehci_hcd 0000:00:10.3: EHCI Host Controller
ehci_hcd 0000:00:10.3: irq 21, pci mem e1836000
ehci_hcd 0000:00:10.3: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:10.3: USB 2.0 enabled, EHCI 1.00, driver 2003-Jun-13
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
drivers/usb/host/uhci-hcd.c: USB Universal Host Controller Interface driver v2.1
uhci_hcd 0000:00:10.0: UHCI Host Controller
uhci_hcd 0000:00:10.0: irq 21, io base 0000bc00
uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
uhci_hcd 0000:00:10.1: UHCI Host Controller
uhci_hcd 0000:00:10.1: irq 21, io base 0000c000
uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
uhci_hcd 0000:00:10.2: UHCI Host Controller
uhci_hcd 0000:00:10.2: irq 21, io base 0000c400
uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4
hub 4-0:1.0: USB hub found
hub 4-0:1.0: 2 ports detected
drivers/usb/core/usb.c: registered new driver audio
drivers/usb/class/audio.c: v1.0.0:USB Audio Class driver
Initializing USB Mass Storage driver...
drivers/usb/core/usb.c: registered new driver usb-storage
USB Mass Storage support registered.
drivers/usb/core/usb.c: registered new driver hid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
pwc Philips PCA645/646 + PCVC675/680/690 + PCVC730/740/750 webcam module version 8.11 loaded.
pwc Also supports the Askey VC010, various Logitech QuickCams, Samsung MPC-C10 and MPC-C30,
pwc the Creative WebCam 5, SOTEC Afina Eye and Visionite VCS-UC300 and VCS-UM100.
drivers/usb/core/usb.c: registered new driver Philips webcam
mice: PS/2 mouse device common for all mice
input: Gravis Xterminator Digital on pci0000:00:0c.1/gameport0
gameport: pci0000:00:0c.1 speed 1193 kHz
serio: i8042 AUX port at 0x60,0x64 irq 12
input: AT Translated Set 2 keyboard on isa0060/serio0
serio: i8042 KBD port at 0x60,0x64 irq 1
md: raid0 personality registered as nr 2
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
Advanced Linux Sound Architecture Driver Version 0.9.7 (Thu Sep 25 19:16:36 2003 UTC).
request_module: failed /sbin/modprobe -- snd-card-0. error = -16
ALSA device list:
  #0: Sound Blaster Audigy2 (rev.4) at 0xa000, irq 16
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 65536)
NET: Registered protocol family 1
NET: Registered protocol family 17
ACPI: (supports S0 S1 S4 S5)
md: Autodetecting RAID arrays.
md: autorun ...
md: considering hdc2 ...
md:  adding hdc2 ...
md:  adding hda2 ...
md: created md0
md: bind<hda2>
md: bind<hdc2>
md: running: <hdc2><hda2>
md0: setting max_sectors to 64, segment boundary to 16383
raid0: looking at hdc2
raid0:   comparing hdc2(119137920) with hdc2(119137920)
raid0:   END
raid0:   ==> UNIQUE
raid0: 1 zones
raid0: looking at hda2
raid0:   comparing hda2(119137920) with hdc2(119137920)
raid0:   EQUAL
raid0: FINAL 1 zones
raid0: done.
raid0 : md_size is 238275840 blocks.
raid0 : conf->hash_spacing is 238275840 blocks.
raid0 : nb_zone is 1.
raid0 : Allocating 4 bytes for hash.
md: ... autorun DONE.
found reiserfs format "3.6" with standard journal
hub 3-0:1.0: new USB device on port 1, assigned address 2
pwc Logitech QuickCam 4000 Pro USB webcam detected.
videodev: "Logitech QuickCam Pro 4000" has no release callback. Please fix your driver for proper sysfs support, see http://lwn.net/Articles/36850/
pwc Registered as /dev/video0.
usbaudio: device 2 audiocontrol interface 1 has 1 input and 0 output AudioStreaming interfaces
usbaudio: device 2 interface 2 altsetting 0 FORMAT_TYPE descriptor not found
usbaudio: valid input sample rate 44100
usbaudio: device 2 interface 2 altsetting 1: format 0x00000010 sratelo 44100 sratehi 44100 attributes 0x00
usbaudio: valid input sample rate 22050
usbaudio: device 2 interface 2 altsetting 2: format 0x00000010 sratelo 22050 sratehi 22050 attributes 0x00
usbaudio: valid input sample rate 11025
usbaudio: device 2 interface 2 altsetting 3: format 0x00000010 sratelo 11025 sratehi 11025 attributes 0x00
usbaudio: valid input sample rate 8000
usbaudio: device 2 interface 2 altsetting 4: format 0x00000010 sratelo 8000 sratehi 8000 attributes 0x00
usbaudio: registered dsp 14,19
usbaudio: constructing mixer for Terminal 3 type 0x0101
usbaudio: warning: found 1 of 0 logical channels.
usbaudio: assuming the channel found is the master channel (got a Philips camera?). Should be fine.
usbaudio: registered mixer 14,16
usb_audio_parsecontrol: usb_audio_state at dfc452c0
hub 2-0:1.0: new USB device on port 1, assigned address 2
input: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:10.0-1
Reiserfs journal params: device md0, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
reiserfs: checking transaction log (md0) for (md0)
Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 380k freed
Adding 819304k swap on /dev/hda3.  Priority:1 extents:1
Adding 819304k swap on /dev/hdc3.  Priority:1 extents:1
pwcx: no version magic, tainting kernel.
pwcx: module license 'unspecified' taints kernel.
pwc Philips webcam decompressor routines version 8.3
pwc Supports all cameras supported by the main module (pwc).
pwc Adding decompressor for model 645.
pwc Adding decompressor for model 646.
pwc Adding decompressor for model 675.
pwc Adding decompressor for model 680.
pwc Adding decompressor for model 690.
pwc Adding decompressor for model 720.
pwc Adding decompressor for model 730.
pwc Adding decompressor for model 740.
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 431 MBytes.
[fglrx] module loaded - fglrx 3.2.8 [Sep 21 2003] on minor 0
blk: queue dfdb0e00, I/O limit 4095Mb (mask 0xffffffff)
blk: queue dfdb0200, I/O limit 4095Mb (mask 0xffffffff)
Debug: sleeping function called from invalid context at mm/slab.c:1856
in_atomic():1, irqs_disabled():0
Call Trace:
 [<c011df6b>] __might_sleep+0xab/0xd0
 [<c014158c>] kmem_cache_alloc+0x6c/0x70
 [<e1ab0de8>] __ke_alloc_wait_queue_head_struct+0x18/0x30 [fglrx]
 [<e1ab3d61>] firegl_setup_dev+0x91/0x1b0 [fglrx]
 [<e1ab3ddc>] firegl_setup_dev+0x10c/0x1b0 [fglrx]
 [<e1ab32f4>] firegl_open+0x174/0x230 [fglrx]
 [<e1ab3232>] firegl_open+0xb2/0x230 [fglrx]
 [<e1ab0b56>] firegl_stub_open+0x106/0x1c0 [fglrx]
 [<e1ab0a50>] firegl_stub_open+0x0/0x1c0 [fglrx]
 [<c015faa8>] chrdev_open+0xe8/0x210
 [<c01ace70>] devfs_open+0x0/0x110
 [<c01acf62>] devfs_open+0xf2/0x110
 [<c01552aa>] dentry_open+0x14a/0x220
 [<c0155158>] filp_open+0x68/0x70
 [<c01555fb>] sys_open+0x5b/0x90
 [<c010952b>] syscall_call+0x7/0xb

mtrr: 0xd8000000,0x8000000 overlaps existing 0xd8000000,0x1000000
[fglrx:firegl_addmap] *ERROR* mtrr allocation failed (-22)
[fglrx] AGP detected, AgpState   = 0x1f000a0b (hardware caps of chipset)
agpgart: Found an AGP 3.5 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 8x mode
agpgart: Putting AGP V3 device at 0000:01:00.0 into 8x mode
[fglrx] AGP enabled,  AgpCommand = 0x1f000302 (selected caps)
[fglrx] free  AGP = 121909248
[fglrx] max   AGP = 121909248
[fglrx] free  LFB = 124440576
[fglrx] max   LFB = 124440576
[fglrx] free  Inv = 0
[fglrx] max   Inv = 0
[fglrx] total Inv = 0
[fglrx] total TIM = 0
[fglrx] total FB  = 0
[fglrx] total AGP = 32768
Debug: sleeping function called from invalid context at include/asm/semaphore.h:119
in_atomic():1, irqs_disabled():0
Call Trace:
 [<c011df6b>] __might_sleep+0xab/0xd0
 [<e1ab0a50>] firegl_stub_open+0x0/0x1c0 [fglrx]
 [<e1ab131a>] __ke_down_struct_sem+0x2a/0x50 [fglrx]
 [<e1abf173>] drm_find_file+0x23/0x70 [fglrx]
 [<e1abf49f>] drm_getmagic+0xff/0x160 [fglrx]
 [<c01e0773>] capable+0x23/0x50
 [<e1abf3a0>] drm_getmagic+0x0/0x160 [fglrx]
 [<e1ab3666>] firegl_ioctl+0x146/0x1b0 [fglrx]
 [<c0169235>] sys_ioctl+0x115/0x2b0
 [<c010952b>] syscall_call+0x7/0xb


Some whining about mtrr, but I've heard that most people have that?
And ofcourse the infamous might_sleep.
Since Andrew Morton calls the might_sleep message harmless I havn't worried about that either.
However, when I run a opengl app it starts freaking out and fills up the dmesg with
"agp_allocate_memory_phys_list failed".
I'm just posting the tail here, it's really not that exiting to look at ;-)

Code:

[fglrx:firegl_agp_lock_pages] *ERROR* agp_allocate_memory_phys_list failed
[fglrx:firegl_agp_lock_pages] *ERROR* agp_allocate_memory_phys_list failed
[fglrx:firegl_agp_lock_pages] *ERROR* agp_allocate_memory_phys_list failed
[fglrx:firegl_agp_lock_pages] *ERROR* agp_allocate_memory_phys_list failed
[fglrx:firegl_agp_lock_pages] *ERROR* agp_allocate_memory_phys_list failed
[fglrx:firegl_agp_lock_pages] *ERROR* agp_allocate_memory_phys_list failed
[fglrx:firegl_agp_lock_pages] *ERROR* agp_allocate_memory_phys_list failed
[fglrx:firegl_agp_lock_pages] *ERROR* agp_allocate_memory_phys_list failed
[fglrx:firegl_agp_lock_pages] *ERROR* agp_allocate_memory_phys_list failed
[fglrx:firegl_agp_lock_pages] *ERROR* agp_allocate_memory_phys_list failed
[fglrx:firegl_agp_lock_pages] *ERROR* agp_allocate_memory_phys_list failed
[fglrx:firegl_agp_lock_pages] *ERROR* agp_allocate_memory_phys_list failed
[fglrx:firegl_agp_lock_pages] *ERROR* agp_allocate_memory_phys_list failed
[fglrx:firegl_umm_init] *ERROR* UMM area already initialized!
[fglrx:firegl_unlock] *ERROR* Process 4198 using kernel context 0
mtrr: 0xd8000000,0x8000000 overlaps existing 0xd8000000,0x1000000
Debug: sleeping function called from invalid context at include/asm/semaphore.h:119
in_atomic():1, irqs_disabled():0
Call Trace:
 [<c011df6b>] __might_sleep+0xab/0xd0
 [<e1abdb4e>] drm_free+0x9e/0x130 [fglrx]
 [<e1ab131a>] __ke_down_struct_sem+0x2a/0x50 [fglrx]
 [<e1abf9d9>] firegl_remove_all_drawables+0x39/0x70 [fglrx]
 [<e1ac136a>] firegl_release_helper+0x4da/0x6a0 [fglrx]
 [<e1ab3eb3>] firegl_takedown+0x33/0x9b0 [fglrx]
 [<e1ab34c8>] firegl_release+0x118/0x170 [fglrx]
 [<e1ab342d>] firegl_release+0x7d/0x170 [fglrx]
 [<e1ab33b0>] firegl_release+0x0/0x170 [fglrx]
 [<c01571ea>] __fput+0x11a/0x130
 [<c01556b9>] filp_close+0x59/0x90
 [<c01219ec>] put_files_struct+0x5c/0xd0
 [<c012267b>] do_exit+0x17b/0x3e0
 [<c0122913>] sys_exit+0x13/0x20
 [<c010952b>] syscall_call+0x7/0xb7


When I quit the app X will be gone and gdm restarts.
When I log in again I'll be in Mesa mode.
It also hangs quite freaquently when running 3d games, system is stable otherwise.
When it hangs in a game music is still there and I can still ssh in from another box.
If I do a pstree then it will show me the apps proccess right under init with X nowhere to be seen.
I suppose this isn't sane as the application is using X to draw to the screen.
If I try to kill the hung app the whole system becomes unresponsive and I can't ssh in anymore.
Does anybody else suffer from something similiar?
Wedge, you get error messages about mtrr too, anything close to mine?
Back to top
View user's profile Send private message
Wedge_
Advocate
Advocate


Joined: 08 Aug 2002
Posts: 3614
Location: Scotland

PostPosted: Thu Oct 30, 2003 9:24 am    Post subject: Reply with quote

Anior wrote:
Wedge, you get error messages about mtrr too, anything close to mine?

I think my MTRR errors are pretty much the same as yours. I also get occasional "[fglrx:firegl_agp_lock_pages] *ERROR* agp_allocate_memory_phys_list failed" messages in my logs after running OpenGL apps. fgl_glxgears in particular spits out thousands of them every second it's running. No idea why or if it's a big problem. Have you tried compiling agpgart and via-agp as modules? I think most people have found that things work better that way. It might be worth trying, just remember to load both modules :)
_________________
Per Ardua Ad Astra
The Earth is the cradle of the mind, but we cannot live forever in a cradle - Konstantin E. Tsiolkovsky
Gentoo Radeon FAQ
Back to top
View user's profile Send private message
darkangael
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jul 2003
Posts: 132

PostPosted: Fri Oct 31, 2003 6:31 am    Post subject: Reply with quote

Anior wrote:

It also hangs quite freaquently when running 3d games, system is stable otherwise.
When it hangs in a game music is still there and I can still ssh in from another box.
If I do a pstree then it will show me the apps proccess right under init with X nowhere to be seen.
I suppose this isn't sane as the application is using X to draw to the screen.
If I try to kill the hung app the whole system becomes unresponsive and I can't ssh in anymore.
Does anybody else suffer from something similiar?


I have had this for a long time. I have tried on gentoo-sources-2.4.20 and from ati drivers 3.1.15? to 3.2.8 and still have this problem. I am currently using mm-sources-2.6.0_beta8-r1 with ati-drivers-3.2.8 and I haven't tried nwn (the game that crashes, wolfet used to until i started running with "wolfsp +set r_ext_compiled_vertex_array 0", which has been a known fix for quake3 based games). I will try it soon and see how it goes, but I don't think it will help. Also, I am constantly getting



Code:
Debug: sleeping function called from invalid context at include/asm/semaphore.h:119
in_atomic():1, irqs_disabled():0
Call Trace:
 [<c011f5b6>] __might_sleep+0x94/0xb5
 [<e09ea6b0>] __ke_down_struct_sem+0x18/0x30 [fglrx]
 [<e09f7ed3>] drm_find_file+0x23/0x70 [fglrx]
 [<e09f81ff>] drm_getmagic+0xff/0x160 [fglrx]
 [<e09f8100>] drm_getmagic+0x0/0x160 [fglrx]
 [<e09ec3c6>] firegl_ioctl+0x146/0x1b0 [fglrx]
 [<c016787a>] sys_ioctl+0x115/0x2a3
 [<c031b66f>] syscall_call+0x7/0xb

from dmesg (the reason I am yet again looking in this post in fact hehe )

EDIT: Apparently this is normal, but i still have to see if freezes are fixed ;)
Back to top
View user's profile Send private message
darkangael
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jul 2003
Posts: 132

PostPosted: Fri Oct 31, 2003 6:55 am    Post subject: Reply with quote

Freezes are definitely not fixed. I freeze with a lot of

Code:

[fglrx:firegl_agp_lock_pages] *ERROR* agp_allocate_memory_phys_list failed


When i SSH into the box after the freeze. After a shutdown -r now, it eventually freezes rather than rebooting like it normally does. I am not sure if the error messages were there when I was using the older kernels/drivers.

If anyone thinks it might be useful I can post XF86Config etc, just let me know.

System details are:
* AMD Athlon-xp 2400+
* 512 meg ddr333 ram
* EPOX 8k9a2+ motherboard(KT400)
* Sapphire radeon 9700 pro
* Turtle beach santa cruz soundcard (cs46xx alsa driver)
* kernel mm-sources-2.6.0_beta8-r1
* using the via-agp for agp (rather than the fglrx which doesn't
detect my agp anymore without a cheap and nasty hack
* based on the old 2.1.x kt400 fix)
* NO acpi in kernel. Basic APM support in the kernel.

The freeze happened more quickly than usual this time. On the upside, my fps is even better than it was before, 78 fps, much better than the crap fps i get in windows, and an improvement on the forty something I was getting before.
Back to top
View user's profile Send private message
Clete2
Guru
Guru


Joined: 09 Aug 2003
Posts: 530
Location: Bloomington, Illinois

PostPosted: Fri Oct 31, 2003 1:49 pm    Post subject: Reply with quote

I'm having 2.6 problems...

I have this in the kernel:

Quote:

<M> /dev/agpgart (AGP Support)
< > ALI chipset support
< > ATI chipset support
< > AMD Irongate, 761, and 762 chipset support
< > AMD Opteron/Athlon64 on-CPU GART support
<M> Intel 440LX/BX/GX, I8xx and E7x05 chipset support


Here is the last of dmesg:

Quote:
[<c010a6bf>] syscall_call+0x7/0xb

Fire GL built-in AGP-support
Based on agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: Detected an Intel i815, but could not find the secondary device.
agpgart: no supported devices found.
[fglrx:firegl_unlock] *ERROR* Process 3634 using kernel context 0
bash-2.05b#


I can get kdm up and I am running the correct config file...

Before starting kdm, I modprobe fglrx'd...

Here's the log of XFree:

http://clete2.com/XFree86.0.log

It's loading the right config, which generated from fglrxconfig... The only way I know something's wrong is the end of the dmesg and my FPS on glxgears is 170 tops... :-/

Also, the ATI chipset support, I have used it as module before...
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2, 3 ... 38, 39, 40 ... 74, 75, 76  Next
Page 39 of 76

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum