Releases: GameTechDev/PresentMon
Releases · GameTechDev/PresentMon
1.9.0
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
- Release includes the initial beta for new capture and overlay tools (PMInstaller-v0.5-beta.msi). See https://game.intel.com/story/intel-presentmon/ for more details.
1.8.0
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
Bug fixes:
- Restricts dependent DLL loading to system32
1.7.0
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:
1.6.0
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:
1.5.2
1.5.1
Bug fixes:
- Fixes regression in 1.5.0 where debug log was written to console instead of swapchain information (#65)
Known issues:
1.5.0
1.4.0
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
Bug fixes:
- Fixes a condition where tracking of DWM-composed frames can be lost, leading to frames being incorrectly reported as dropped.
Known issues: