PresentMon: measure both frame throughput (fps) and latency

Everything about latency. Tips, testing methods, mouse lag, display lag, game engine lag, network lag, whole input lag chain, VSYNC OFF vs VSYNC ON, and more! Input Lag Articles on Blur Busters.
Vleeswolf
Posts: 37
Joined: 25 Aug 2017, 15:59

PresentMon: measure both frame throughput (fps) and latency

Post by Vleeswolf » 14 Jul 2019, 01:20

Hi Busters!

I haven't seen PresentMon mentioned here. It's a tool, originally by Intel, now open source, which tracks frames as they are presented by a game. It records frame statistics such as frames presented per second, frames displayed per second, but also latency of frames from present to display. Basically, it can easily show you the input lag component often used to motivate framecapping below the refresh rate (see the gsync article on this site). On a game like Dark Souls III for instance, in it's basic 60hz config, has a 40-50ms latency due to (edit) GPU work and frames being queued after present. If you cap using RTSS to 58hz the latency drops to around 4-5ms. It's pretty useful to see this in action, without having to measure using a high-speed camera. Of course the camera approach will still give you a more complete picture of the input lag.

It's easy to get and run, just download the .exe released at their Github site (https://github.com/GameTechDev/PresentMon/releases) and run it from a command line window. If you run with no parameters it will track all processes and generate lots of csv files with output. If you don't want those csv''s, just use the "-no_csv" flag. Best then to put the window on a second monitor so you can see the frame throughput and latency of the game in real-time.

Useful tool in the toolbox, I think.
Last edited by Vleeswolf on 14 Jul 2019, 03:54, edited 2 times in total.

crossjeremiah
Posts: 44
Joined: 14 Aug 2017, 10:21

Re: PresentMon: measure both frame throughput (fps) and late

Post by crossjeremiah » 14 Jul 2019, 03:17

I tested with dolphin. I hope this seems accurate .
60hz(VT2810)
Scanline Sync 1x(1169) + Frame rate limit + Vsync On (0.01) = 16.81MS
Scanline Sync 1x(1169) + No Frame Limit + Vsync off = 0.25ms!!!!!
Last edited by crossjeremiah on 14 Jul 2019, 20:11, edited 3 times in total.


crossjeremiah
Posts: 44
Joined: 14 Aug 2017, 10:21

Re: PresentMon: measure both frame throughput (fps) and late

Post by crossjeremiah » 14 Jul 2019, 06:57

It's pretty good to see if youre getting the reduced input lag with the current scanline sync value.

1000WATT
Posts: 391
Joined: 22 Jul 2018, 05:44

Re: PresentMon: measure both frame throughput (fps) and late

Post by 1000WATT » 14 Jul 2019, 09:52

crossjeremiah wrote:
60hz (xl2430t) = 21ms with scanline sync + vsync (0.01) method
60hz (aw2518h) = 16.82ms with scanline sync + vsync (0.01) method
Where do you get these numbers?
I often do not clearly state my thoughts. google translate is far from perfect. And in addition to the translator, I myself am mistaken. Do not take me seriously.

crossjeremiah
Posts: 44
Joined: 14 Aug 2017, 10:21

Re: PresentMon: measure both frame throughput (fps) and late

Post by crossjeremiah » 14 Jul 2019, 11:33

I tested vsync and scanline syncs and different refresh rates in dolphin

1000WATT
Posts: 391
Joined: 22 Jul 2018, 05:44

Re: PresentMon: measure both frame throughput (fps) and late

Post by 1000WATT » 14 Jul 2019, 12:30

crossjeremiah wrote:I tested vsync and scanline syncs and different refresh rates in dolphin
MsBetweenPresents MsBetweenDisplayChange MsUntilRenderComplete MsUntilDisplayed :?: what exactly?
I often do not clearly state my thoughts. google translate is far from perfect. And in addition to the translator, I myself am mistaken. Do not take me seriously.

crossjeremiah
Posts: 44
Joined: 14 Aug 2017, 10:21

Re: PresentMon: measure both frame throughput (fps) and late

Post by crossjeremiah » 14 Jul 2019, 15:59

i just ran the program when i ran dolphin and it told me the latency

Vleeswolf
Posts: 37
Joined: 25 Aug 2017, 15:59

Re: PresentMon: measure both frame throughput (fps) and late

Post by Vleeswolf » 14 Jul 2019, 17:23

In the window you run PresentMon from it will output stats for all active swap chains. For example:
presentmon.png
presentmon.png (6.91 KiB) Viewed 10370 times
The number in red is what crossjeremiah is probably reporting. In the CSV, this is the MsUntilDisplayed column.

User avatar
Chief Blur Buster
Site Admin
Posts: 11647
Joined: 05 Dec 2013, 15:44
Location: Toronto / Hamilton, Ontario, Canada
Contact:

Re: PresentMon: measure both frame throughput (fps) and late

Post by Chief Blur Buster » 14 Jul 2019, 18:57

Great latency analysis tool!
Head of Blur Busters - BlurBusters.com | TestUFO.com | Follow @BlurBusters on Twitter

Image
Forum Rules wrote:  1. Rule #1: Be Nice. This is published forum rule #1. Even To Newbies & People You Disagree With!
  2. Please report rule violations If you see a post that violates forum rules, then report the post.
  3. ALWAYS respect indie testers here. See how indies are bootstrapping Blur Busters research!

Post Reply