Re: Mesa3D crash reporting

2023-04-06 Thread Jose Fonseca
This is on Windows + WSL?  Or native Windows?

Either way, to record OpenGL calls you should look into 
https://apitrace.github.io/  .  No source code modification necessary.

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.

Once you have that, you should be able to provide the trace in an bug report so 
D3D12 driver developers can look into it.

Jose


From: mesa-dev  on behalf of bishop 
bishop 
Sent: Wednesday, April 5, 2023 10:10
To: mesa-dev@lists.freedesktop.org 
Subject: Mesa3D crash reporting

Hi everyone,
   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.

We are using Mesa3D 22.3.3 but also the latest 23.0.1 crashes in the same file 
with nullptr access.

Lubomir Kovac



Mesa3D crash reporting

2023-04-06 Thread bishop bishop
Hi everyone,   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.
We are using Mesa3D 22.3.3 but also the latest 23.0.1 crashes in the same file 
with nullptr access.

Lubomir Kovac