A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Arction_LasseP

Posts: 1
Joined: Mon Jan 14, 2019 7:31 am


Post by aeroplan » Mon Jan 14, 2019 9:58 am

Dear Arction-Support,

We use licensed version of LightningChart Ultimate:

Code: Select all

LightningChartUltimate v. Copyright Arction Ltd 2009-2018
We have a randomly but reproducable a problem by rendering of PointLineSeries.

The application just slides over the Measurement Values (PointLine) and vizualize it.
After rendering and vizualisation of 10 - 20 Charts the initialization of Engine fails:

Code: Select all

ErrorType: RenderDeviceCreateFailed
Details: Rendering engine initialization failed. None of the requested engines could be loaded. For more information, use GetLastEngineInitResults() method.

HRESULT: [0x8007000E], Module: [Unknown], ApiCode: [Unknown/Unknown], Message: Not enough storage is available to complete this operation.
Source: Arction.DirectX
   at SharpDX.Result.CheckError()
   at SharpDX.Direct3D11.Device.CreateTexture2D(Texture2DDescription& descRef, DataBox[] initialDataRef, Texture2D texture2DOut)
   at Arction.RenderingEngine11.RenderingEngine11.SC(Int32 A, Int32 B)
   at Arction.RenderingEngine11.RenderingEngine11.ResetDevice(Int32 width, Int32 height, Boolean isXP)
   at Arction.RenderingEngine11.RenderingEngine11.Initialize(Object parentControl, EngineInitSettings initSettings)

sporadically the ChartError Eventhandler is called with following LastEngineResult:

Code: Select all

Type: Front buffer not available. (FrontBufferNotAvailable) 
Description: Front buffer not available
Details: Empty
Last Engine Init Results:
	Date Time: 1/14/2019 11:05:09 AM
	Device Type: HardwareOnlyD11
	Success: True
	Warnings: None
	Exceptions: None
WPF Application .Net 4.5.
x86 Process
Process memory in use: 365.452 K

We tested this issue on different GPU Chips:
- AMD Radeon HD 7570M
- Intel HD 4000
- Intel HD 4600

We already tried to initialize the lightningChartultimate() for every Chart Instance, but it not helps.
Already tried to switch between different RenderDeviceTypes (Software and Hardware Rendering).
We also tried to Dispose the chart for every vizualization and force the GarbageCollector.

Please Help.

We are in PreRelease State and this Bug is critical for us.


Posts: 383
Joined: Mon Mar 14, 2016 9:22 am

Re: RenderDeviceCreateFailed

Post by ArctionKestutis » Mon Jan 14, 2019 4:19 pm

Dear User,

Would it be possible to send your application for the testing to Arction's Support email directly? Please include also DxDiag output.
Have you tried different engines - Chart.(Chart)RenderOptions.DeviceType?
Is it the only messaged raised by Chart.ChartError event?
Which platform you are using (WinForms, WPF, bindable, non-bindable)?
Could you build our Demo App with same settings and run "Lots of real-time traces" examples. This example allows to change Charts count (up to 40 on examples itself, in the code it could be modified even higher)?

All the best.