Skip to content

Releases: GameTechDev/PresentMon

1.9.0

25 Aug 00:05
Compare
Choose a tag to compare

General Improvements

  • Improved process tracking, especially for short-running processes.
  • Fixed an issue where some data could be missing when --output_stdout is used.
  • Fixed an issue where dependent presents are kept after a DWM present is lost.
  • Process id is added to the CSV filename when -multi_csv is used, to avoid file collisions when multiple processes have the same name.
  • etw_list can now extract provider information from ETL files.
  • Added scripts (tools/start_etl_collection.cmd, stop_etl_collection.cmd) to collect minimal ETL files for debugging/reproducing issues.
  • Various minor performance and tracking improvements.

New Features

  • --track_gpu tracks GPU work and adds two new metrics to the CSV:
    • msUntilRenderStart: the time between the Present() call and when the GPU work for this frame started, and
    • msGPUActive: the total duration the GPU was working on this frame.
  • --track_gpu_video when used, tracks video work separately from other GPU work.
  • --track_input tracks user input and adds the msSinceInput metric to the CSV which is the time between the Present() call and the earliest keyboard or mouse interaction that contributed to this frame.
  • --date_time outputs the Present() time as a date and time.

Breaking API Changes:

  • PresentEvent::QpcTime and TimeTaken have been renamed to PresentStartTime and PresentStopTime, see 094fcbc for more details.

Intel PresentMon

1.8.0

27 May 17:47
Compare
Choose a tag to compare

General

  • Adds initial support for Windows 11.
  • Adds support for parsing ETL files using system time or CPU cycle counter based time stamps.
  • Various minor defect, security, and performance improvements.

PresentMon

  • Increases the precision of floating point values written in the CSV.
  • Fixes an issue where -hotkey specified using characters A-Z would not map to the correct character.

Present tracking

  • Fixes an issue where the reported msInPresentAPI value could be too small when the present is displayed before Present() returns.
  • Fixes an issue where presents could be associated with the wrong display event, leading to consistent higher latency.
  • Fixes an issue where presents using the independent flip present mode could be incorrectly reported as dropped.
  • Adds support for Present() calls that fail (including the expected scenario of DXGI_ERROR_WAS_STILL_DRAWING results when using DO_NOT_WAIT flags).
  • Improves tracking of presents on multi-monitor systems, though some issues may remain on latest windows (see issue #108).
  • Reports the final SyncInterval used, which may be modified by the driver, instead of the value passed from the application (see issue #99).
  • Removes identification of the "Composed Composition Atlas" present mode.

1.7.1

01 Apr 16:51
Compare
Choose a tag to compare

Bug fixes:

  • Restricts dependent DLL loading to system32

1.7.0

16 Apr 18:33
Compare
Choose a tag to compare

Potentially-breaking changes for tools/scripts:

  • PresentMon no longer attempts to elevate privilege by default. The -dont_restart_as_admin command line argument is deprecated and a new -restart_as_admin argument is added which enables the previous behaviour (#96).
  • -simple, -verbose, and -include_mixed_reality command line arguments are deprecated, and should be replaced with -no_track_display, -track_debug, and -track_mixed_reality respectively, all with the same behaviours.
  • The output CSV format has changed:
    • The columns have been re-ordered.
    • The column headers for time-based metrics starting in "Ms..." have been renamed to "ms...".
    • Floating point values are no longer restricted to three decimal point precision.

New features:

  • Support was added for multi-plane VSync DPC, ensuring that all planes are properly completed and distinguishing between "Hardware: Independent Flip" and "Hardware Composed: Independent Flip". (#98, #100)

Bug fixes:

  • Fixed an issue for some captures (depending on the timing of initialization) and for certain presentation paths, where the display and rendering metrics were attributed to the wrong Present() call leading to incorrect latency calculations.
  • Fixed a rare hang caused by a particular present sequence (#95)
  • Various improvements in identifying, reporting, and freeing memory for frames whose tracking has failed (e.g., due to a missed ETW event).
  • Fixed an issue where presents from APIs other than D3D9 or DXGI would not be tracked when -simple or -no_track_display were used

Known issues:

  • Reported 'SyncInterval' is the value provided by the application, but may have been modified by the driver (#99)
  • Beta WMR support may not generate any events (#77) or PresentMon crash (#61)

1.6.0

15 Dec 23:16
Compare
Choose a tag to compare

New features:

  • Various present tracking improvements
  • Build support for ARM and ARM64 on Windows
  • Added -qpc_time_s command line argument (#67)
  • Added -terminate_existing command line argument (#81)

Bug fixes:

  • HSync flips are now considered tearing (#70)
  • Recursive spawning of PresentMon processes when privilege elevation fails (#94)
  • Average latency calculation improved

Known issues:

  • Beta WMR support may not generate any events (#77) or PresentMon crash (#61)

1.5.2

27 Sep 00:40
Compare
Choose a tag to compare

Bug fixes:

  • Fixes regression in 1.5.0 where D3D9 present's would cast swapchain address to 32-bits and print a size error to stderr (#66)

Known issues:

  • PresentMon crashes when capturing Mixed Reality application on Windows 19H1 (#61)

1.5.1

25 Sep 15:59
Compare
Choose a tag to compare

Bug fixes:

  • Fixes regression in 1.5.0 where debug log was written to console instead of swapchain information (#65)

Known issues:

  • PresentMon crashes when capturing Mixed Reality application on Windows 19H1 (#61)
  • D3D9 present's swapchain address is cast to 32-bits and a size error is printed to stderr (#66)

1.5.0

13 Sep 15:22
Compare
Choose a tag to compare

New features:

  • Added -qpc_time command line argument which outputs present time as performance counter value (#63)

Bug fixes:

  • Improved usage documentation (#60)
  • Improved performance, especially during realtime collection (#32)
  • Improved stability on Win7 (#44, #52, #57)

Known issues:

  • PresentMon crashes when capturing Mixed Reality application on Windows 19H1 (#61)
  • Debug log is written to console instead of swapchain information (#65)
  • D3D9 present's swapchain address is cast to 32-bits and a size error is printed to stderr (#66)

1.4.0

09 May 23:24
Compare
Choose a tag to compare

New features:

  • Run multiple PresentMon processes at the same time (#51)
  • Process ETL files captured on different OS versions
  • Support for HSync on hybrid systems
  • Updates for Windows Mixed Reality on Windows 10 RS4
  • Mode to write CSV data to STDOUT (#62)

Bug fixes:

  • Fix issue where killing PresentMon can lead to a crash (#52)

1.3.1

13 Apr 00:30
Compare
Choose a tag to compare

Bug fixes:

  • Fixes a condition where tracking of DWM-composed frames can be lost, leading to frames being incorrectly reported as dropped.

Known issues:

  • Lost packet error reported while capturing DirectX12 Battlefield (#22)
  • System slowdown and/or OS lock may occur on some Windows7 PCs (#44, #52)
  • Only one PresentMon process may run at a time (#51)
  • Very rarely, a frame may be reported with an impossibly-large display duration (#49)