there has any tricks to improve FPS for old PC?

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
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?

Post 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:
Kurosuke needs beta testers
User avatar
Jasoco
Inner party member
Posts: 3725
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

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

Post 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)
User avatar
baby_nux
Prole
Posts: 25
Joined: Fri Mar 04, 2011 3:21 pm

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

Post 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 )
User avatar
slime
Solid Snayke
Posts: 3142
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

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

Post by slime »

Code: Select all

t.screen.vsync = false
in love.conf in conf.lua works every time for me. *shrug*
User avatar
NÖÖB
Prole
Posts: 41
Joined: Thu Jul 31, 2008 10:57 pm
Location: Norway

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

Post by NÖÖB »

success = love.graphics.setMode( 800, 600, false, false, 0 ) also does it
User avatar
Jasoco
Inner party member
Posts: 3725
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

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

Post 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.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

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

Post 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".
Help us help you: attach a .love.
User avatar
Jasoco
Inner party member
Posts: 3725
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

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

Post 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.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

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

Post by bartbes »

There are also some graphics drivers which boldly ignore any settings made by users or applications.
User avatar
miko
Party member
Posts: 410
Joined: Fri Nov 26, 2010 2:25 pm
Location: PL

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

Post 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
My lovely code lives at GitHub: http://github.com/miko/Love2d-samples
Post Reply

Who is online

Users browsing this forum: Semrush [Bot] and 3 guests