Search found 62 matches

by ad8e
10 Dec 2018, 20:01
Forum: Software Developers / Low-Lag Code / Game Programming
Topic: How to remove one frame of delay on my system?
Replies: 4
Views: 2904

Re: How to remove one frame of delay on my system?

Thanks to Chief Blur Buster, who ran it and got back to me privately. It doesn't tear on his system either, so I'll look for more solutions.
by ad8e
10 Dec 2018, 13:23
Forum: Software Developers / Low-Lag Code / Game Programming
Topic: How do FreeSync's technical details work? [Programmer POV]
Replies: 4
Views: 3481

Re: How do FreeSync's technical details work?

Thanks for the answers; that was very clear and exactly what I was looking for.
by ad8e
10 Dec 2018, 01:51
Forum: Software Developers / Low-Lag Code / Game Programming
Topic: How do FreeSync's technical details work? [Programmer POV]
Replies: 4
Views: 3481

How do FreeSync's technical details work? [Programmer POV]

Assume a monitor's variable refresh range is 20-60Hz, and suppose my application renders frames every 40ms exactly (25 Hz). At the end, an exceptional frame occurs that takes only 20ms to render (50Hz). Is this frame presented exactly when it appears, or does the monitor take time to change its refr...
by ad8e
05 Dec 2018, 16:10
Forum: Software Developers / Low-Lag Code / Game Programming
Topic: How to remove one frame of delay on my system?
Replies: 4
Views: 2904

Re: How to remove one frame of delay on my system?

Note: if you want to follow the editor's suggestion of checking the SHA-256 hash, the simplest way of doing so is to open up the folder with the .exe file, shift + right click on an empty space with nothing selected, click on "Open command window here", and type certUtil -hashfile "fullscreen tearin...
by ad8e
04 Dec 2018, 01:26
Forum: Software Developers / Low-Lag Code / Game Programming
Topic: How to remove one frame of delay on my system?
Replies: 4
Views: 2904

How to remove one frame of delay on my system?

I'm writing vsync code and I'm trying to get my screen to tear, but I'm not able to. Instead, I always see one frame of delay and perfect frames, which means something is queueing up frames and swapping them. This seems to be caused by my OS or driver. My test system is Intel HD 4000, Windows 8.1, T...
by ad8e
01 Dec 2018, 02:52
Forum: Input Lag
Topic: Measuring keyboard input lag
Replies: 56
Views: 65356

Re: Measuring keyboard input lag

Debounce algorithm is decided by the person designing the mouse, not the people making the switches. Delay based debouncing is responsible for those phantom clicks, spurious double clicks, and releasing during a drag, with a tradeoff between the length of the delay, and the reliability of the debou...
by ad8e
01 Dec 2018, 00:59
Forum: Input Lag
Topic: Measuring keyboard input lag
Replies: 56
Views: 65356

Re: Measuring keyboard input lag

The gamersnexus link is a good test method. The high speed video method works a lot better if you use a full screen program running at several thousand fps with vsync off. as is, the error from the refresh rate of the monitor, and graphics pipeline, is bigger than the signal you're trying to measur...
by ad8e
30 Nov 2018, 21:46
Forum: Input Lag
Topic: Measuring keyboard input lag
Replies: 56
Views: 65356

Re: Measuring keyboard input lag

The three approaches I think are best all have in common a test platform capable of both GPIO and USBHost. The easy way I can think of is to slam the mouse button into a keyboard button at high speed. This causes some delay from physical key pressing speed, which is acceptable because humans have d...
by ad8e
30 Nov 2018, 03:06
Forum: Input Lag
Topic: Measuring keyboard input lag
Replies: 56
Views: 65356

Re: Measuring keyboard input lag

The three approaches I think are best all have in common a test platform capable of both GPIO and USBHost. The easy way I can think of is to slam the mouse button into a keyboard button at high speed. This causes some delay from physical key pressing speed, which is acceptable because humans have d...
by ad8e
26 Sep 2018, 17:24
Forum: Input Lag
Topic: Measuring keyboard input lag
Replies: 56
Views: 65356

Re: Measuring keyboard input lag

Thanks. So he's being screwed by his keyboard hardware, since the internal scan rate is much longer than 1ms, not just the debounce time. The USB 1000Hz on that keyboard must then be mainly for marketing purposes, like a gold-plated Reliant Robin. It seems to me that the /r/MechanicalKeyboards commu...