GameTechDev / PresentMon

Capture and analyze the high-level performance characteristics of graphics applications on Windows.
https://game.intel.com/story/intel-presentmon/
MIT License
1.67k stars 154 forks source link

ETW Packets Lost #22

Closed KyleStilkey closed 5 years ago

KyleStilkey commented 7 years ago

Hello, I keep getting the Error: Some ETW packets were lost. Collected data is unreliable.

What could be the cause of this issue?

jdm3 commented 7 years ago

You should also see something like "Lost # events, # buffers"? In general, this happens when events are being created faster than they can be consumed. Any events that happen while the buffers are full get dropped.

For you case in particular, I'm not sure as I haven't seen that happen myself. Maybe lots of apps presenting, or one presenting very often? You could try tweaking the buffer sizes by changing BufferSize (not Wnode.BufferSize), MinimumBuffers, and MaximumBuffers here based on the documentation here to see if that helps.

MechWOLLIer commented 7 years ago

I've got the same issue ever and ever again in Battlefield 1 with DX12 (DX11 works fine in the game with PresentMon). But i don't see any lost, events or buffers.

KyleStilkey commented 7 years ago

Yes, I wanted to report back that this is just with BF1 DX12. BF1 just received a new update the day I report this issue. I'm not sure if this something on DICE's end that they need to fix, or if this is something you need to fix.

Other than that, it seems to work just fine.

yekrutdloc commented 7 years ago

Can confirm that it only happens with Battlefield 1 with DirectX 12 enabled. Has anybody found a fix for this yet?

EDIT: I've been looking for a fix all day and nothing in W10 helped, going so far as analyzing BF1 with WPA. Anyway, short answer is adding "-simple" to PM 1.2.1 fixes the issue in BF1 DX12.

JeffersonMontgomery-Intel commented 5 years ago

I'm unable to reproduce this. Assuming it's been fixed.