View previous topic :: View next topic |
Author |
Message |
bleakcabal Guru
Joined: 10 Oct 2002 Posts: 301 Location: Montreal, Québec, Canada
|
Posted: Sun Mar 06, 2005 5:11 pm Post subject: Problem with ati - fglrx : allocation failed: out of vmalloc |
|
|
I re-emerged a new kernel and x-server and my direct rendering is not working anymore.
When I do a dmesg I get this :
Linux agpgart interface v0.100 (c) Dave Jones
fglrx: module license 'Proprietary. (C) 2002 - ATI Technologies, Starnberg, GERMANY' taints kernel.
[fglrx] Maximum main memory to use for locked dma buffers: 803 MBytes.
ACPI: PCI interrupt 0000:02:00.0[A] -> GSI 10 (level, low) -> IRQ 10
[fglrx] module loaded - fglrx 8.10.19 [Feb 9 2005] on minor 0
allocation failed: out of vmalloc space - use vmalloc=<size> to increase size.
[fglrx] AGP detected, AgpState = 0x00000000 (hardware caps of chipset)
[fglrx:firegl_unlock] *ERROR* Process 13816 using kernel context 0
If I do an lsmod fglrx and agpgart are shown up and running. I checked my x conf file and everything seems to be in order.
I remerged ati-drivers after emerging new kernel and re-emerged opengl-update which I ran again.
I am also getting an error loading speedo module in X which I don't know if it's related.
Anyone faced this one before ? |
|
Back to top |
|
|
Sebell n00b
Joined: 26 Nov 2003 Posts: 20
|
Posted: Sun Mar 06, 2005 7:32 pm Post subject: |
|
|
You need to add vmalloc=xxx to your kernel 'append' line -- depending on your real memory installed, the automatic setting for vmalloc may be too small to accomodate the virtual memory address request from fglrx. vmalloc=xxx will tell the kernel to allocate xxx MB for virtual memory. I have vmalloc=512 with 1Gb physical memory and a radeon 9000 which tries to allocate 830 some Mb of virtual address space.
Of course, you have to reboot after to get that set. _________________ sufficiently advanced systems are indistinguishable from magic.
Lets get magical |
|
Back to top |
|
|
bleakcabal Guru
Joined: 10 Oct 2002 Posts: 301 Location: Montreal, Québec, Canada
|
Posted: Sun Mar 06, 2005 7:36 pm Post subject: |
|
|
I have 1 gig of ram and a 128mb onbaord vram. So I will try setting like you. This append line you speak of, is it the options I pass to the kernel in my bootloader ( grub ) conf file ? |
|
Back to top |
|
|
Master One l33t
Joined: 25 Aug 2003 Posts: 754 Location: Austria
|
Posted: Sun Mar 06, 2005 7:38 pm Post subject: |
|
|
Quite interesting, I also get Code: | allocation failed: out of vmalloc space - use vmalloc=<size> to increase size. | when the fglrx module gets loaded, but nevertheless everything seems to be working.
It's a notebook with 2 GB RAM and an ATI Radeon FireGL T2 with 128 MB.
How do I find out, what's the correct vmalloc setting for this configuration? _________________ Las torturas mentales de la CIA |
|
Back to top |
|
|
bleakcabal Guru
Joined: 10 Oct 2002 Posts: 301 Location: Montreal, Québec, Canada
|
Posted: Sun Mar 06, 2005 7:41 pm Post subject: |
|
|
Me to fglrx is still loaded and I still get appreciable performances but nonetheless it must be corrected since it shows up as an error.
EDIT: I added vmalloc=512 to my kernel line in grub.conf and I get a kernel panic right at boot. |
|
Back to top |
|
|
elvandar n00b
Joined: 15 Apr 2005 Posts: 1
|
Posted: Fri Apr 15, 2005 1:35 am Post subject: |
|
|
Quote: | EDIT: I added vmalloc=512 to my kernel line in grub.conf and I get a kernel panic right at boot. |
I think the reason why it would do that is because that command probably means you're allocating 512 BYTES (not megabytes) |
|
Back to top |
|
|
|