Search code examples
wpfscichart

How to disable generating GpuCapability.log on startup?


I am launching my application from different directories and in each directory SciChart generates a new GpuCapability.log file.

Is there any possibility how to disable this functionality?

I didn't find any solution how to do it


Solution

  • This depends a lot on the version of SciChart WPF you are using, but in the latest version, set this flag once before any SciChartSurface is shown to disable log output of the GpuCapabilityTester

    // Enables or disables sending GPU test messages to debug output 
    VisualXcceleratorEngine.WriteWarningsToOutput = false;
    

    A GpuCapability.log file is also created when that flag is true, this shouldn't be the case so it will be logged for future improvement.