lag spikes
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
- saiko-chriskun
- Prole
- Posts: 6
- Joined: Wed Dec 01, 2010 8:13 pm
lag spikes
has anyone else experienced any lag spikes? about every second the time of one frame will jump slightly.. it's not that big a deal but it looks bad and was just wondering =/
- ghostwriter
- Prole
- Posts: 38
- Joined: Sat Dec 11, 2010 11:08 pm
Re: lag spikes
Are you accessing the hard drive at any point in your main loop? If you load a new image or sound you may experience a slight delay.
- saiko-chriskun
- Prole
- Posts: 6
- Joined: Wed Dec 01, 2010 8:13 pm
Re: lag spikes
no, it even happens when I load the FPS demo, which only prints the current value for dt.
- ghostwriter
- Prole
- Posts: 38
- Joined: Sat Dec 11, 2010 11:08 pm
Re: lag spikes
Hmm... you might have other applications running that are slowing things down. Do you notice this lag in other 3d applications? I had the same thing happen to me a couple years ago, it turned out to be due to the bandwidth monitor I had running in the background, because it was continuously updating its log files. I've noticed that some IRC clients can do this as well.
Re: lag spikes
Its a vsync problem
A way to fix this is to either set it to fullscreen(witch means you have to do some hacking for most games) or set vsync to false(which I don't recommend,besides most don't use dt)
Old thread:
http://love2d.org/forums/viewtopic.php?f=4&t=2003
A way to fix this is to either set it to fullscreen(witch means you have to do some hacking for most games) or set vsync to false(which I don't recommend,besides most don't use dt)
Old thread:
http://love2d.org/forums/viewtopic.php?f=4&t=2003
- TechnoCat
- Inner party member
- Posts: 1611
- Joined: Thu Jul 30, 2009 12:31 am
- Location: Milwaukee, WI
- Contact:
Re: lag spikes
This isn't true.adrix89 wrote:most don't use dt
My graphics drivers force v-sync off and I don't have a problem with most games.
Re: lag spikes
Try set high priority for game application through the task manager.
Re: lag spikes
This is not only a really really bad idea, but it won't fix it, either.thitem wrote:Try set high priority for game application through the task manager.
It's a vsync issue. Just disable vsync and apply some common sense dt checks and you're good.
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: lag spikes
How would vsync cause this?
Re: lag spikes
I have this problem too. And high priority fix it.
Maybe lag spikes have a another reason.
Maybe lag spikes have a another reason.
Who is online
Users browsing this forum: Bing [Bot] and 2 guests