Machine:
CPU: intel Atom 1.6
Memory: 1 Gb RAM
Video: intel GMA x3500
OS: Mandriva Linux 2010
Whan I load game with many png textures (~40 png's 128x128 px), my HDD becomes crazy, swap file increases dramatically (over 600 Mb). It's seems that LOVE is eating HUGE amount of memory with GMA cards.
Does someone have similar problems? How to prevent them?
Love ang Intel GMA
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Love ang Intel GMA
I wish I could test this and help. If true, this is a pretty scary finding!
Do you recognise when the world won't stop for you? Or when the days don't care what you've got to do? When the weight's too tough to lift up, what do you? Don't let them choose for you, that's on you.
Re: Love ang Intel GMA
EDIT: math is hard. see below.
Re: Love ang Intel GMA
Why??? Compressed DXF 128x128 texture will be only 20 kb! Maximum - 65 kb.anjo wrote:One 128x128 PNG takes up 8MB of texture memory.
Okay, why on machine with 1 GB RAM and nvidia geforce 6600 (128 M) game works perfectly?
Why on other machine game needs only 10 Mb RAM?anjo wrote:640MB of memory for those PNGs.
This is not reasonable answer.
I write simple casual game that must works on old PC's.
Re: Love ang Intel GMA
Yeah, sorry about those numbers. Math is hard. Each of those PNGs is actually just 64KB, which is 2.5 MB - even with compensating for SDL's dumbness, that's just 5 MB. So the problem is something else.
Re: Love ang Intel GMA
Could it be a GMA driver issue?
Do you recognise when the world won't stop for you? Or when the days don't care what you've got to do? When the weight's too tough to lift up, what do you? Don't let them choose for you, that's on you.
Re: Love ang Intel GMA
Very possible, but other opengl games works without swapping.
Re: Love ang Intel GMA
Yeah, I was hesitant to ask that question since I thought that other games/applications might not suffer the same symptoms. I'm sure that whatever the issue is it can, and will, be fixed. It's obviously something in the code that interfaces with the GFX card.
Do you recognise when the world won't stop for you? Or when the days don't care what you've got to do? When the weight's too tough to lift up, what do you? Don't let them choose for you, that's on you.
- Taehl
- Dreaming in associative arrays
- Posts: 1025
- Joined: Mon Jan 11, 2010 5:07 am
- Location: CA, USA
- Contact:
Re: Love ang Intel GMA
You're not recreating the images every frame, are you? That's a rather common mistake.
Earliest Love2D supporter who can't Love anymore. Let me disable pixel shaders if I don't use them, dammit!
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
Lenovo Thinkpad X60 Tablet, built like a tank. But not fancy enough for Love2D 0.10.0+.
Re: Love ang Intel GMA
I feel the need to remind you that:
So I am guessing that the resources are being loaded in an appropriate manner.RPG wrote:Okay, why on machine with 1 GB RAM and nvidia geforce 6600 (128 M) game works perfectly?
Why on other machine game needs only 10 Mb RAM?anjo wrote:640MB of memory for those PNGs.
Do you recognise when the world won't stop for you? Or when the days don't care what you've got to do? When the weight's too tough to lift up, what do you? Don't let them choose for you, that's on you.
Who is online
Users browsing this forum: Google [Bot] and 4 guests