We have big trouble with SciChart 6.1. First was the initial loading time. But there is this async loading workaround.
Now if we try to render a simple (not large) signal into the chart, it hangs in the rendering loop. No exception, high CPU usage.
Any solution for this issue?
It works on some, but it fails on most of our PCs/Laptops.
- Tobias asked 4 years ago
- last edited 4 years ago
- You must login to post comments
We’d need your code to try to debug this Tobias. SciChart’s rendering is single-threaded, any deadlocking is likely occurring because of threads in your code.
The Async license loading is the only place in the scichart library where a new Task is created. This task has to be awaited before you can start your first chart. Also, you should note that SciChart 6.2 (available in nightly build now, full release soon) has a 28x faster startup performance time, and async license loading will no longer be needed.
Can you supply code to reproduce the issue? As I said, we need this because no-one else is reporting such an issue.
Best regards,
Andrew
- Andrew Burnett-Thompson answered 4 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 4 years ago
- last edited 4 years ago
-
Just out of interest what video card do you have? Can you use DXDiag.exe and report on the VRAM of the video card? If less than 256MByte then you may have to force DirectX9 mode, which uses less memory.
- 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 4 years ago
- last edited 4 years ago
- You must login to post comments
I am experiencing the exact same symptoms as the OP, whenever I disable the “Visual Xccelerator Engine” the issue is no longer present. I am also on a laptop. When specifying the dedicated GPU the issue goes away.
- Zachary Etier answered 4 years ago
- You must login to post comments
Hey everyone
I’m glad to hear the suggestion of using dedicated GPU instead of integrated Intel HD graphics worked!
We have had a lot of people report similar issues. We published a KB article only yesterday to deal with this kind of issue. Read Troubleshooting Visual Xccelerator Engine Issues on low-end Graphics Adapters
Essentially, Intel HD Integrated Graphics does not have enough VRAM to
use Visual Xccelerator Engine. It may start up but it may also crash or hang during operation, since this engine requires at least 80MB of VRAM for static buffers, and further memory for your other apps.
As a result we are publishing a version very soon (v6.2.0) which will include auto detection of this GPU type and downgrade to DirectX9 mode, which uses less RAM (at expense of performance), or software rendering.
To fully avoid these problems, ensure that you have a video card with at least 256MB of VRAM (more is better) and if you have multiple graphics adapters select the most powerful one to run SciChart with Visual Xccelerator.
Best regards,
Andrew
- Andrew Burnett-Thompson answered 4 years ago
- You must login to post comments
Everything works fine if I deactivate the VisualXcceleratorEngine.
s: VisualXcceleratorEngine.IsEnabled = “False”
But then only slow WPF software rendering is supported.
- Tobias answered 4 years ago
- You must login to post comments
Please login first to submit.