<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
This is on Windows + WSL?  Or native Windows?</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0">
Either way, to record OpenGL calls you should look into <a href="https://apitrace.github.io/">https://apitrace.github.io/</a>  .  No source code modification necessary.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0">
It should record all calls up to (and including) the call that triggered the crash.   But if llvmpipe works better, I recommend recording the calls with it so developers have the full trace past the crash.<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0">
<span style="display: inline !important; background-color: rgb(255, 255, 255);" class="ContentPasted1"><br>
</span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0">
Once you have that, you should be able to provide the trace in an bug report so D3D12 driver developers can look into it.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);" class="elementToProof ContentPasted0">
Jose</div>
<div id="appendonsend"></div>
<div style="margin: 24px 0px; font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div dir="ltr" style="font-family: Metropolis, "Clarity City", sans-serif; font-size: 14px; margin: 24px 0px;font-family: Metropolis, "Clarity City", sans-serif; font-size: 14px; margin: 24px 0px;">
<font face="Calibri, sans-serif" style="font-size: 11pt; color: rgb(0, 0, 0);"><b>From:</b> mesa-dev <mesa-dev-bounces@lists.freedesktop.org> on behalf of bishop bishop <bishopnator@yahoo.com><br>
<b>Sent:</b> Wednesday, April 5, 2023 10:10<br>
<b>To:</b> mesa-dev@lists.freedesktop.org <mesa-dev@lists.freedesktop.org><br>
</font></div>
<div id="divRplyFwdMsg" dir="ltr" style="font-family: Metropolis, "Clarity City", sans-serif; font-size: 14px; margin: 24px 0px;font-family: Metropolis, "Clarity City", sans-serif; font-size: 14px; margin: 24px 0px;" class="elementToProof">
<font face="Calibri, sans-serif" style="font-size: 11pt; color: rgb(0, 0, 0);"><b>Subject:</b> Mesa3D crash reporting</font>
</div>
<div dir="ltr" style="font-family: Metropolis, "Clarity City", sans-serif; font-size: 14px; margin: 24px 0px;font-family: Metropolis, "Clarity City", sans-serif; font-size: 14px; margin: 24px 0px;">
<div style="font-family: Metropolis, "Clarity City", sans-serif; font-size: 14px; margin: 24px 0px;font-family: Metropolis, "Clarity City", sans-serif; font-size: 14px; margin: 24px 0px;" class="elementToProof">
<br>
</div>
</div>
<div style="font-family: Metropolis, "Clarity City", sans-serif; font-size: 14px; margin: 24px 0px;font-family: Metropolis, "Clarity City", sans-serif; font-size: 14px; margin: 24px 0px;" class="elementToProof">
<meta name="color-scheme" content="light dark">
<span style="font-family: Metropolis, "Clarity City", sans-serif; font-size: 14px;">Hi everyone,</span>
<div style="font-family: Metropolis, "Clarity City", sans-serif; font-size: 14px; margin: 24px 0px;font-family: Metropolis, "Clarity City", sans-serif; font-size: 14px; margin: 24px 0px;">
<div class="x_ydp405b1965yahoo-style-wrap" style="font-family: Metropolis, "Clarity City", sans-serif; font-size: 14px; margin: 24px 0px;font-family: Metropolis, "Clarity City", sans-serif; font-size: 14px; margin: 24px 0px;font-family:Helvetica Neue,Helvetica,Arial,sans-serif; font-size:13px">
<div style="font-family: Metropolis, "Clarity City", sans-serif; font-size: 14px; margin: 24px 0px;font-family: Metropolis, "Clarity City", sans-serif; font-size: 14px; margin: 24px 0px;">
<div dir="ltr" data-setdir="false" style="font-family: Metropolis, "Clarity City", sans-serif; font-size: 14px; margin: 24px 0px;font-family: Metropolis, "Clarity City", sans-serif; font-size: 14px; margin: 24px 0px;">
   we integrated Mesa3D to our software (CAD application) and we have pretty often crashes with the D3D12 driver. Only LLVM pipe driver seems to be stable enough. It is virtually impossible to extract OpenGL calls manually as we are using external library which
 wraps OpenGL calls and we don't have access to its source code. Is it possible to somehow instruct Mesa3D to record all the OpenGL calls with the input to those calls (including the buffers, shaders, etc.)? The best would be if Mesa3D can output directly a
 c++ code with the OpenGL calls which can be started up to the point of the crash.</div>
<div dir="ltr" data-setdir="false" style="font-family: Metropolis, "Clarity City", sans-serif; font-size: 14px; margin: 24px 0px;font-family: Metropolis, "Clarity City", sans-serif; font-size: 14px; margin: 24px 0px;">
<br>
</div>
<div dir="ltr" data-setdir="false" style="font-family: Metropolis, "Clarity City", sans-serif; font-size: 14px; margin: 24px 0px;font-family: Metropolis, "Clarity City", sans-serif; font-size: 14px; margin: 24px 0px;">
We are using Mesa3D 22.3.3 but also the latest 23.0.1 crashes in the same file with nullptr access.<br>
</div>
<div style="font-family: Metropolis, "Clarity City", sans-serif; font-size: 14px; margin: 24px 0px;font-family: Metropolis, "Clarity City", sans-serif; font-size: 14px; margin: 24px 0px;">
<br>
</div>
<div class="x_ydp405b1965signature" style="font-family: Metropolis, "Clarity City", sans-serif; font-size: 14px; margin: 24px 0px;font-family: Metropolis, "Clarity City", sans-serif; font-size: 14px; margin: 24px 0px;">
Lubomir Kovac<br>
</div>
</div>
</div>
</div>
<meta name="color-scheme" content="light dark">
<meta name="supported-color-schemes" content="light dark">
<br>
</div>
</body>
</html>