Hi,
we updated to version 6.3 and since then the VisualXcceleratorEngine is no longer used. The fallback type ‘HighQualityRenderSurface’ is always used. What about the auto-select feature for the best GPU?
This is the code we use to check whether DirectX is used:
using (var sciChartSurface = new SciChartSurface())
{
sciChartSurface.OnRenderException += OnSciChartRenderException;
VisualXcceleratorEngine.SetIsEnabled(sciChartSurface, true);
VisualXcceleratorEngine.SetFallbackType(sciChartSurface, typeof(HighQualityRenderSurface));
VisualXcceleratorEngine.SetDowngradeWithoutException(sciChartSurface, false);
VisualXcceleratorEngine.SetEnableImpossibleMode(sciChartSurface, true);
if (sciChartSurface.RenderSurface.GetType() == typeof(VisualXcceleratorRenderSurface))
{
// DirectX is enabled!
retval = true;
}
else
{
// Restart 2D engine with D3D9
VisualXcceleratorRenderSurface.RestartEngineWith(DirectXMode.DirectX9c);
// For 3D Charts only: Restart 3D engine with D3D9
//Viewport3D.Restart3DEngineWith(DirectXMode.DirectX9c, FullScreenAntiAliasingMode.None, true);
VisualXcceleratorEngine.SetIsEnabled(sciChartSurface, true);
VisualXcceleratorEngine.SetFallbackType(sciChartSurface, typeof(HighQualityRenderSurface));
VisualXcceleratorEngine.SetDowngradeWithoutException(sciChartSurface, false);
VisualXcceleratorEngine.SetEnableImpossibleMode(sciChartSurface, true);
if (sciChartSurface.RenderSurface.GetType() == typeof(VisualXcceleratorRenderSurface))
{
// DirectX is enabled!
retval = true;
}
}
sciChartSurface.OnRenderException -= OnSciChartRenderException;
}
What can I do?
Regards
- Tobias asked 3 years ago
- You must login to post comments
Hi Tobias,
Thanks for your inquiry.
We’ve already included a blacklist of unsupported GPUs into SciChart.
From the output you’ve shared recently it looks like the IsEnabled flag is set for the VisualXcceleratorEngine on a disposed instance of a SciChartSurface.
​Could you please run our examples on that PC and check whether VisualXcceleratorEngine is used. If it is, the issue is somewhere in the app most probably. We will need a small sample project reproducing the issue for investigation.
Thanks in advance,
Oleksandr
- Oleksandr Shvets answered 3 years ago
- You must login to post comments
I am considering applying server-side licensing for my javerScript application.
In the document below, there is a phrase “Our server-side licensing component is written in C++.”
(https://support.scichart.com/index.php?/Knowledgebase/Article/View/17256/42/)
However, there is only asp.net sample code on the provided github.
(https://github.com/ABTSoftware/SciChart.JS.Examples/tree/master/Sandbox/demo-dotnet-server-licensing)
I wonder if there is a sample code implemented in C++ for server-side licensing.
Can you provide c++ sample code?
Also, are there any examples to run on Ubuntu?
- Tobias answered 3 years ago
- You must login to post comments
Please login first to submit.