Skip to main content Skip to footer

Troubleshooting DirectX Rendering Issues

Distributing DirectX Libraries

The built-in Direct3D rendering feature of C1Chart3D depends upon a few additional assemblies from SharpDX. These assemblies are installed with ComponentOne WPF controls, and will automatically be included with your compiled output. The following assemblies will be distributed along with your application:

  • SharpDX.D3DCompiler.dll

  • SharpDX.Direct3D9.dll

  • SharpDX.Direct3D10.dll

  • SharpDX.dll

  • SharpDX.DXGI.dll

During development these assemblies should be found in the same directory as the C1.WPF.C1Chart3D assembly but do not need to be directly referenced by the project. If you are referencing the installed C1Chart3D assembly then you should not have to do anything.

Troubleshooting Direct3D

If you find that the plot area renders nothing, then your graphics card may not support Direct3D. There are two key requirements you need to check:

  • DirectX Version 10.0 or higher

  • D3D9 Overlay Support

You can determine your version of DirectX by running the DirectX Diagnostic Tool (dxdiag.exe).  You can determine if your card supports D3D9 overlay by running the following from a command prompt:

dxdiag.exe /t dxinfo.txt

In the output text file, search for “D3D9 Overlay” and check that it is supported or enabled. Also note that the Direct3D mode does not work on some virtual machines (Hyper-V) and through remote desktop connections since the required hardware layer is not supported in such cases. If your users may not support Direct3D rendering you can always allow a fallback to the default rendering. It may be slower, but it will work anywhere WPF can run.