Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem with ati - fglrx : allocation failed: out of vmalloc
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
bleakcabal
Guru
Guru


Joined: 10 Oct 2002
Posts: 301
Location: Montreal, Québec, Canada

PostPosted: Sun Mar 06, 2005 5:11 pm    Post subject: Problem with ati - fglrx : allocation failed: out of vmalloc Reply with quote

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
View user's profile Send private message
Sebell
n00b
n00b


Joined: 26 Nov 2003
Posts: 20

PostPosted: Sun Mar 06, 2005 7:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
bleakcabal
Guru
Guru


Joined: 10 Oct 2002
Posts: 301
Location: Montreal, Québec, Canada

PostPosted: Sun Mar 06, 2005 7:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
Master One
l33t
l33t


Joined: 25 Aug 2003
Posts: 754
Location: Austria

PostPosted: Sun Mar 06, 2005 7:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
bleakcabal
Guru
Guru


Joined: 10 Oct 2002
Posts: 301
Location: Montreal, Québec, Canada

PostPosted: Sun Mar 06, 2005 7:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
elvandar
n00b
n00b


Joined: 15 Apr 2005
Posts: 1

PostPosted: Fri Apr 15, 2005 1:35 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
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