i use linux ubuntu 10.10 with:
pentium 4 3 Ghz
onboard via chrome VGA 128 mb.
ram DDR2 1 Gb.
i was use sdl framework before and has good FPS from it ( to make sure vga driver work well ).
but when i use love2d, FPS drop ( even with simple background image and a moving object )
there is any tricks to improve FPS with love2d engine? any idea?
thx
( sry for my english, i'm from Indonesia )
there has any tricks to improve FPS for old PC?
Re: there has any tricks to improve FPS for old PC?
That spec you have there is not old, look at mean NEW laptops and netbooks you get about that kind of spec some newer laptops and some cheaper PC's so don't put your rig down lol.
Last edited by crow on Mon Mar 07, 2011 5:59 am, edited 1 time in total.
Sir Kittenface
Möko IDE Codename (Erös) Returns Soon
I am dyslexic so if any of my replys confusing please just ask me to reword it as this will make things a lot easier for all parties lol.
Möko IDE Codename (Erös) Returns Soon
I am dyslexic so if any of my replys confusing please just ask me to reword it as this will make things a lot easier for all parties lol.
Re: there has any tricks to improve FPS for old PC?
sry for a little wrong about subject title.crow wrote:That space you have there is not old, look at mean NEW laptops and netbooks you get about that kind of space some newer laptops and some cheaper PC's so don't put your rig down lol.
yes,my pc not very old, but my hardware look like old with FPS droped like that
so, i said old maybe anyone have similiar problem with old hardware and have idea to improve them.
any clue?
( very poor english, sry for thats )
Re: there has any tricks to improve FPS for old PC?
I don't see the problem with your hardware you not really posted a full hardware list but your PC might be old in age but its not really that old in spec it really still fits the bull for these kind of us, I really don't know much about the FPS's for love but if another system works ok for you and love does not maybe its just something coded different.
Sir Kittenface
Möko IDE Codename (Erös) Returns Soon
I am dyslexic so if any of my replys confusing please just ask me to reword it as this will make things a lot easier for all parties lol.
Möko IDE Codename (Erös) Returns Soon
I am dyslexic so if any of my replys confusing please just ask me to reword it as this will make things a lot easier for all parties lol.
- BlackBulletIV
- Inner party member
- Posts: 1261
- Joined: Wed Dec 29, 2010 8:19 pm
- Location: Queensland, Australia
- Contact:
Re: there has any tricks to improve FPS for old PC?
The framerate drop could be partly caused by the fact that when you were using SDL, you didn't have to manage a scripting language (Lua) which isn't an incredibly fast task, but Love does.
Before we can really give any performance tips that are relavent, could you post the code you're using?
Before we can really give any performance tips that are relavent, could you post the code you're using?
- slime
- Solid Snayke
- Posts: 3170
- Joined: Mon Aug 23, 2010 6:45 am
- Location: Nova Scotia, Canada
- Contact:
Re: there has any tricks to improve FPS for old PC?
There are always tricks to improve your FPS, depending on what you're doing. The tradeoff of using pure Lua to make games is that it's not as fast as the lower-level alternatives, but some simple changes to code can sometimes result in dramatic performance increases. Compiling LÖVE with LuaJIT can also help a lot, if you're doing a lot of pure-lua calculations/iterations.
- Jasoco
- Inner party member
- Posts: 3727
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: there has any tricks to improve FPS for old PC?
If you ask me, the word Pentium is the problem these days. It's all about the Core2Duo's or the i3, i5 and i7's now. They're so much faster.
3GHz Pentium ~= 2GHz Core2Duo interestingly (And they laughed at the Megahertz Myth back in the day. Now who's laughing!? It was all true! True, I tells ya! The Megahertz Myth was real!!! *maniacal Spoony-as-Dr.-Insano-style laughter*)
3GHz Pentium ~= 2GHz Core2Duo interestingly (And they laughed at the Megahertz Myth back in the day. Now who's laughing!? It was all true! True, I tells ya! The Megahertz Myth was real!!! *maniacal Spoony-as-Dr.-Insano-style laughter*)
Re: there has any tricks to improve FPS for old PC?
this is simple sample test code.
only show background image and fly/moving object
this is my result
with backgorund: 16 FPS ( so slow )
without background: 110 FPS
why is FPS drop so much like thats?
any wrong from the code, or from my hardware?
there are any triks for this?
only show background image and fly/moving object
this is my result
with backgorund: 16 FPS ( so slow )
without background: 110 FPS
why is FPS drop so much like thats?
any wrong from the code, or from my hardware?
there are any triks for this?
- Attachments
-
- game.love
- sample code
- (13.66 KiB) Downloaded 319 times
Last edited by baby_nux on Mon Mar 07, 2011 8:07 am, edited 1 time in total.
- tentus
- Inner party member
- Posts: 1060
- Joined: Sun Oct 31, 2010 7:56 pm
- Location: Appalachia
- Contact:
Re: there has any tricks to improve FPS for old PC?
That code is fine, though I have to ask, why 1 * 0.9? Why not just 0.9?baby_nux wrote:this is sample simple test code.
only show background image and fly/moving object
this is my result
with backgorund: 16 FPS ( so slow )
without background: 110 FPS
why is FPS drop so much like thats?
any wrong from the code, or from my hardware?
there are any triks for this?
Kurosuke needs beta testers
Re: there has any tricks to improve FPS for old PC?
I am confused in what your doing as I get 62 with and without background
Sir Kittenface
Möko IDE Codename (Erös) Returns Soon
I am dyslexic so if any of my replys confusing please just ask me to reword it as this will make things a lot easier for all parties lol.
Möko IDE Codename (Erös) Returns Soon
I am dyslexic so if any of my replys confusing please just ask me to reword it as this will make things a lot easier for all parties lol.
Who is online
Users browsing this forum: Ahrefs [Bot] and 1 guest