input lag with DX + vsync

For questions about using Classic.

Post » Fri Nov 07, 2008 7:46 pm

Does anyone notice the input lag that is a little longer in some applications?

I press a button and a quarter of a second later the character moves.

When turning sync off, theres no input lag.

So is there anyway I can get rid of input lag and have vsync on at the same time?
B
1
G
4
Posts: 3
Reputation: 1,031

Post » Fri Nov 07, 2008 8:03 pm

I've never noticed any input lag when using vsync. Are you just using a behavior?
Moderator
B
98
S
37
G
19
Posts: 1,584
Reputation: 17,817

Post » Fri Nov 07, 2008 8:18 pm

A quarter of a second? Is your refresh rate set to 4Hz by any chance? :P

No, but seriously there's something wrong there. That's not normal. What are you computer specs? What are you trying to make with Construct?
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Fri Nov 07, 2008 10:45 pm

It might be 1 or 2 frames behind due to the GPU and CPU working in parallel - effectively you're always one frame behind because of that, but the efficiency increase is huge. It'd be a 10-17ms delay, most noticable if something's following the mouse and you drag quickly.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580

Post » Sat Nov 08, 2008 12:55 am

That's very odd, because I'm having a lag exactly like that, but only on unlimited framerate! V-synced works perfectly. It's very noticeable if I use some behavior, 8 directions, for example, and switch to unlimited framerate.
B
3
S
2
G
5
Posts: 263
Reputation: 2,201

Post » Sat Nov 08, 2008 2:48 am

Is the problem with keyboard presses as well as the mouse? I'm not sure what I can do about it, since Windows provides all the input... maybe on Unlimited Windows is too busy to immediately process input??
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,580


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 5 guests