View previous topic :: View next topic |
Author |
Message |
MickKi Veteran
Joined: 08 Feb 2004 Posts: 1179
|
Posted: Sat Apr 23, 2005 1:40 pm Post subject: fglrx vmalloc space - mtrr allocation failed (-22) error |
|
|
Hi All,
I think I am running out of my depth here and need some help . . .
I have just installed X on a new box with the Intel 915G chipset and ATI Radeon X600 Pro 256MB graphics card (Compaq Presario SR1180.uk) and when I run startx I get this error in dmesg: Code: | mtrr: base(0xd0000000) is not aligned on a size(0x7ff0000) boundary
[fglrx:firegl_addmap] *ERROR* mtrr allocation failed (-22)
allocation failed: out of vmalloc space - use vmalloc=<size> to increase size.
[fglrx] free PCIe = 54804480
[fglrx] max PCIe = 54804480
[fglrx] free LFB = 122613760
[fglrx] max LFB = 122613760
[fglrx] free Inv = 134217728
[fglrx] max Inv = 134217728
[fglrx] total Inv = 134217728
[fglrx] total TIM = 0
[fglrx] total FB = 0
[fglrx] total PCIe = 16384 | The agpgart appears to load OK: Code: | Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel 915G Chipset.
agpgart: Maximum main memory to use for agp memory: 816M
agpgart: AGP aperture is 256M @ 0x0
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 802 MBytes.
ACPI: PCI interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16
[fglrx] module loaded - fglrx 8.10.19 [Feb 9 2005] on minor 0 |
This thread suggests manually passing vmalloc=256m to the kernel on boot, but it doesn't work on my case: Code: | Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected an Intel 915G Chipset.
agpgart: Maximum main memory to use for agp memory: 691M
agpgart: AGP aperture is 256M @ 0x0
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 678 MBytes.
ACPI: PCI interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16
[fglrx] module loaded - fglrx 8.10.19 [Feb 9 2005] on minor 0
and
mtrr: base(0xd0000000) is not aligned on a size(0x7ff0000) boundary
[fglrx:firegl_addmap] *ERROR* mtrr allocation failed (-22)
[fglrx] free PCIe = 54804480
[fglrx] max PCIe = 54804480
[fglrx] free LFB = 122613760
[fglrx] max LFB = 122613760
[fglrx] free Inv = 134217728
[fglrx] max Inv = 134217728
[fglrx] total Inv = 134217728
[fglrx] total TIM = 0
[fglrx] total FB = 0
[fglrx] total PCIe = 16384 |
In any case, although X and glxgears runs it is not very stable. As soon as I try to scroll a window with any graphics on it (e.g. using links -g) I lose the keyboard and despite the mouse moving around X does not respond. I have to pull the plug every time.
On those occasions when I exit X (Ctrl-Alt-Del) before it freezes, I get this error on the console: Code: | (WW) fglrx: No matching Device section for instance (BusID PCI:1:0:1) found. |
Would you perhaps know why is this error occurring? Is it really necessary to pass the vmalloc size to the kernel manually? What is the default vmalloc size and how is this set?
It's really frustrating having a new super fast box and not being able to run Gentoo on it! _________________ Regards,
Mick |
|
Back to top |
|
|
augury l33t
Joined: 22 May 2004 Posts: 722 Location: philadelphia
|
Posted: Sat Apr 23, 2005 6:00 pm Post subject: |
|
|
did you check with compaq to see if the video card would work? my friend had to buy a special compaq version of his graphics card to get it to work. alot of theyre hardware is like that. ive got 4 of their p3 xeons that wouldn't work in my unisys even though the stepping #'s and everything were exactly the same. |
|
Back to top |
|
|
MickKi Veteran
Joined: 08 Feb 2004 Posts: 1179
|
Posted: Sat Apr 23, 2005 8:06 pm Post subject: |
|
|
augury wrote: | did you check with compaq to see if the video card would work? | To be honest I didn't even try. The machine I bought was so 'compaqified' in terms of BIOS settings, M$Windoze applications and drivers I expect that any enquiry will be met with a "we could help you re-install M$Windoze sir if you pay us some more for the OS image CD . . . " or "Linux is not supported software . . ."
augury wrote: | . . . my friend had to buy a special compaq version of his graphics card to get it to work. | Are you saying that he bought a new card from them, or a tweaked Linux driver?
I would have thought that if the lspci and lshw shows a i915G chipset and a ATI Radeon X600 PRO with a RV380 chip, normal kernel settings with the ATI proprietory driver would work? OK, there's quite some entries like : Code: | Subsystem: ASUSTeK Computer Inc.: Unknown device 0328 | in the lspci, but I would seriously hope there's an open source /ATI drivers somewhere to cure it?! _________________ Regards,
Mick |
|
Back to top |
|
|
MickKi Veteran
Joined: 08 Feb 2004 Posts: 1179
|
Posted: Mon May 02, 2005 4:13 pm Post subject: |
|
|
I've come to some solutions and conclusions by going through the Gentoo Radeon FAQ and the Rage3D forum.
The main problem of the kernel crashing was caused by me selecting the Radeon framebuffer. Changed this to the vesa-ng and the box is now very stable when running X.
I have not yet applied the fix suggested in the Rage3D forum re: mtrr error. This appears to be a kernel issue and will hopefully be resolved in the near future.
If anyone has good settings for this hardware combo please post them here or let me have the link. _________________ Regards,
Mick |
|
Back to top |
|
|
|