You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting up a Directx11 debug context, setting directx logging to log warnings and also break on them, the following warning gets emitted during the setup of tracy gpu profiling:
D3D11 WARNING: ID3D11DeviceContext::End: End is being invoked on a Query, where the previous results have not been obtained with GetData. This is valid; but unusual. The previous results are being abandoned, and new Query results will be generated. [ EXECUTION WARNING #410: QUERY_END_ABANDONING_PREVIOUS_RESULTS]
This was mentioned in #670 before, but I didn't have a repro for it. Now I do.
compiled with cl /EHsc /Zi /I public/tracy main.cpp
This setup will make the directx11 debug context emit the warning and break at TracyD3D11.hpp:94, which is this line:
m_immediateDevCtx->End(m_disjointQuery);
For easy debugging, I attached the entire directory with all dependencies as a file: tracy_d3d11_warnings.zip
This was tested with tracy commit aae58fb, which is a post-0.10 commit from 2024-05-26 20:49. As I didn't see any changes to TracyD3D11.hpp since then, I didn't test with newer version or official releases.
The text was updated successfully, but these errors were encountered:
In my game, I noticed this because at certain points after d3d11 API calls, I would check if there were any warnings, and found the ones created by tracy initialization, which was confusing. A low-effort thing that worked was removing the messages generated by tracy initialization like so: ID3D11InfoQueue_ClearStoredMessages(debug_info_queue);. I use that now to not be affected by the warnings. But it would of course be nicer if the warnings weren't caused in the first place.
When setting up a Directx11 debug context, setting directx logging to log warnings and also break on them, the following warning gets emitted during the setup of tracy gpu profiling:
This was mentioned in #670 before, but I didn't have a repro for it. Now I do.
main.cpp:
compiled with
cl /EHsc /Zi /I public/tracy main.cpp
This setup will make the directx11 debug context emit the warning and break at
TracyD3D11.hpp:94
, which is this line:For easy debugging, I attached the entire directory with all dependencies as a file:
tracy_d3d11_warnings.zip
This was tested with tracy commit aae58fb, which is a post-0.10 commit from 2024-05-26 20:49. As I didn't see any changes to
TracyD3D11.hpp
since then, I didn't test with newer version or official releases.The text was updated successfully, but these errors were encountered: