Page 3 of 4

Re: there has any tricks to improve FPS for old PC?

Posted: Mon Mar 07, 2011 7:06 pm
by tentus
TechnoCat wrote:
tentus wrote:Now that I've got that off my chest, it's probably a video card cap: many systems will refuse to go much above 60 fps, to avoid overheating. My Asus M51 does that, which is kinda irritating but makes sense (makes it much harder to optimize code :P ).
Argh, and my system refuses to do vsync. So everyone who decides to not use dt and assume max FPS makes a game I can't play.
But, are you really sure you want to be playing a game that refuses dt in favor of that assumption? :huh:

Re: there has any tricks to improve FPS for old PC?

Posted: Tue Mar 08, 2011 6:15 am
by Jasoco
tentus wrote:But, are you really sure you want to be playing a game that refuses dt in favor of that assumption? :huh:
I know I wouldn't.

BTW, how does everyone tell Löve to ignore the max FPS anyway? I've never been able to get my projects to break past 60FPS. It caps it there.

(The vsync option doesn't seem to work for me. I get 60 no matter what)

Re: there has any tricks to improve FPS for old PC?

Posted: Tue Mar 08, 2011 7:30 am
by baby_nux
Jasoco wrote:
tentus wrote:But, are you really sure you want to be playing a game that refuses dt in favor of that assumption? :huh:
I know I wouldn't.

BTW, how does everyone tell Löve to ignore the max FPS anyway? I've never been able to get my projects to break past 60FPS. It caps it there.

(The vsync option doesn't seem to work for me. I get 60 no matter what)
maybe there from love source code has clue for break FPS limit,
something like "frame skip" stuff.

every frame must load from graphic buffer,
if there have frame manager mekanism mybe we can skip some frame before display it to screen to gain more FPS.
at large scale game this can be usefull.

( sry for my english )

Re: there has any tricks to improve FPS for old PC?

Posted: Tue Mar 08, 2011 8:15 pm
by slime

Code: Select all

t.screen.vsync = false
in love.conf in conf.lua works every time for me. *shrug*

Re: there has any tricks to improve FPS for old PC?

Posted: Tue Mar 08, 2011 8:44 pm
by NÖÖB
success = love.graphics.setMode( 800, 600, false, false, 0 ) also does it

Re: there has any tricks to improve FPS for old PC?

Posted: Tue Mar 08, 2011 10:27 pm
by Jasoco
slime wrote:

Code: Select all

t.screen.vsync = false
in love.conf in conf.lua works every time for me. *shrug*
Works. Robin's code above was wrong. Wrong! It was missing the .screen part.

Re: there has any tricks to improve FPS for old PC?

Posted: Wed Mar 09, 2011 7:23 am
by Robin
Jasoco wrote:Robin's code above was wrong. Wrong! It was missing the .screen part.
I most humbly apologise. That's what I get for not looking at the documentation before pressing "Submit".

Re: there has any tricks to improve FPS for old PC?

Posted: Wed Mar 09, 2011 8:26 am
by Jasoco
Robin wrote:
Jasoco wrote:Robin's code above was wrong. Wrong! It was missing the .screen part.
I most humbly apologise. That's what I get for not looking at the documentation before pressing "Submit".
No harm was done. At least I know I wasn't crazy.

Re: there has any tricks to improve FPS for old PC?

Posted: Wed Mar 09, 2011 5:41 pm
by bartbes
There are also some graphics drivers which boldly ignore any settings made by users or applications.

Re: there has any tricks to improve FPS for old PC?

Posted: Mon Mar 14, 2011 3:40 pm
by miko
Jasoco wrote:
tentus wrote:But, are you really sure you want to be playing a game that refuses dt in favor of that assumption? :huh:
I know I wouldn't.

BTW, how does everyone tell Löve to ignore the max FPS anyway? I've never been able to get my projects to break past 60FPS. It caps it there.

(The vsync option doesn't seem to work for me. I get 60 no matter what)
Its the card/driver "problem" (and it is "by design"). BTW, you should not really count on FPS to measure your code. Check those:
http://www.d-silence.com/feature.php?id=255
http://www.mvps.org/directx/articles/fp ... e_time.htm