Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
d3d9_debugging [2014/11/09 23:36]
sarnex
d3d9_debugging [2022/07/11 10:41] (current)
Line 15: Line 15:
  
 A problem can be located in either wine or Mesa. A problem can be located in either wine or Mesa.
-If it's in mesa, you'll need to use +If it's in mesa, you'll need to use [[https://docs.mesa3d.org/envvars.html#nine-frontend-environment-variables]]
-  * the **NINE_DEBUG** variable, to know what the D3D9 ST is doingPass **NINE_DEBUG=help** to get all options. +
-  * the **NINE_TGSI_DUMP=1** variable for dumping generated TGSI code. +
-  * the **NINE_FF_DUMP=1** variable for dumping shader generated by fixed function (ff) +
-  * the **TGSI_PRINT_SANITY=1** variable will precisely check TGSI and assert in case of errors +
-  * the **D3D_ALWAYS_SOFTWARE=1** will run it on CPU instead of GPU... //extremly slow//+
  
 when you comparing logs from ALWAYS_SOFTWARE, is handy to get rid of different addr for diff, with this helps you when you comparing logs from ALWAYS_SOFTWARE, is handy to get rid of different addr for diff, with this helps you
Line 33: Line 28:
 == APITrace == == APITrace ==
 {{ :apitrace.png?direct&500|}} {{ :apitrace.png?direct&500|}}
 +  * **For apitrace to work, you need to use the no_external_dll branch of iXit/wine!**
   * For debugging Windows applications you'll need to use APITrace compiled for Windows   * For debugging Windows applications you'll need to use APITrace compiled for Windows
   * The Windows version is almost always required for replaying   * The Windows version is almost always required for replaying
  
-When uploading APITrace .trace file, please compress it with xz (best compression -> ''xz -9e your_app.trace'') +When uploading APITrace .trace file, please repack it with brotli (best compression -> ''apitrace repack -your_app.trace your_app-brotli.trace'')
-**  * We have dedicated server space for APITrace files, contact sarnex or okias on IRC for the information.**+
   * [[https://github.com/apitrace/apitrace/wiki/WINE#windows-native|Wine HOWTO]]   * [[https://github.com/apitrace/apitrace/wiki/WINE#windows-native|Wine HOWTO]]
-  * [[http://people.freedesktop.org/~jrfonseca/apitrace/apitrace-mingw-latest.7z|Build suitable for Wine]]+  * [[http://people.freedesktop.org/~jrfonseca/apitrace/apitrace-msvc-latest.7z|Build suitable for Wine]]