PresentMon icon indicating copy to clipboard operation
PresentMon copied to clipboard

PresentMon cannot record lava-triangle (liblava) on Windows Server

Open zardy-0 opened this issue 1 year ago • 5 comments

The issue is that liblava doesn't record at all.

  • This is the liblava version I used. (https://github.com/liblava/liblava/actions/runs/8125926724/artifacts/1292105858)
  • I used this batch script to start/stop the recording. ( Instructions on far right: https://boringboredom.github.io/Frame-Time-Analysis/).

I'm not sure if this is specific to liblava or the vulkan API in general, but liblava is vulkan. It functions perfectly on the client but not on Windows server.

zardy-0 avatar Mar 09 '24 16:03 zardy-0

I can reproduce this issue. PresentMon does not record the liblava demos on Windows Server 2022 at all. However, it does on client editions (Windows 10 and 11 22H2 tested).

I don't think Vulkan is the problem as PresentMon generates a CSV for Hades on server.

Command used:

presentmon.exe -multi_csv -no_top -hotkey "f10"

Observations:

No CSV created for lava-triangle.exe on Windows Server.

ghost avatar Mar 09 '24 20:03 ghost

Hi, thanks for the report. It's most likely a difference in ETW events between the OS versions, but we'll take a look.

If you have the time and can contribute an ETL file showing the problem, that would help: https://github.com/GameTechDev/PresentMon/blob/main/CONTRIBUTING.md#if-there-is-something-wrong-with-the-data-presentmon-is-reporting

Hi, I have successfully compressed the ETL file as requested. The compressed file is ready for your review. You can download the file using the following link: MergeCompressed.zip

zardy-0 avatar Mar 14 '24 11:03 zardy-0

OK, the ETL actually looks ok; when processed with presentmon it's able to measure lava-triangle:

presentmon-1.10-x64.exe --etl_file Merged.etl --output_file Merged.csv

image

So, temporarily you can use that as a work around: capture an ETL and then process it afterwards with presentmon.

This helps narrow down the issue (must be with the realtime capture setup) but I'll have to find a Windows Server to try to reproduce and debug.

A virual machine with a Windows Server image may do the trick for testing purposes.

ghost avatar Mar 14 '24 16:03 ghost