Exception of render

A forum dedicated to WPF version of LightningChart Ultimate.

Moderator: Arction_LasseP

minoru
Posts: 27
Joined: Thu Sep 26, 2013 1:30 am

Exception of render

Post by minoru » Fri Dec 13, 2013 2:05 am

Render device create failed: Failed to create DirectX hardware render device.
GPU supports Hardware vertex processing: False, Is pure device : False Anti-alias level: 0


Sometimes, when the chart drawing, the exception is raised.
The drawing seems to be normal.

what is happening?
Is there a workaround?

Do you have any idea?

Best regards,
Minoru

User avatar
ArctionPasi
Posts: 1366
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland

Re: Exception of render

Post by ArctionPasi » Fri Dec 13, 2013 9:50 am

Hi Minoru,

Does it happen in your own application only? Can you replicate it with LC demo application?
LightningChart Support Team, PT

minoru
Posts: 27
Joined: Thu Sep 26, 2013 1:30 am

Re: Exception of render

Post by minoru » Mon Dec 16, 2013 5:53 am

Just for a particular application, it's happening.
When drawing many charts, it has happened.
It seems to be related to SlimDX apparently.

A first chance exception of type 'SlimDX.Direct3D9.Direct3D9Exception' occurred in SlimDX.dll
Additional information: Not available (-2005530518)
A first chance exception of type 'SlimDX.Direct3D9.Direct3D9Exception' occurred in SlimDX.dll
Additional information: Not available (-2005530518)
A first chance exception of type 'SlimDX.Direct3D9.Direct3D9Exception' occurred in SlimDX.dll
Additional information: Not available (-2005530518)
A first chance exception of type 'Arction.WPF.LightningChartUltimate.ChartException' occurred in Arction.WPF.LightningChartUltimate.dll
Additional information: Render device create failed: Failed to create DirectX hardware render device.
GPU supports Hardware vertex processing: False,
Is pure device : False
Anti-alias level: 0

D3DERR_NOTAVAILABLE: Not available (-2005530518)


Best regards,
Minoru

User avatar
ArctionPasi
Posts: 1366
Joined: Tue Mar 26, 2013 10:57 pm
Location: Finland

Re: Exception of render

Post by ArctionPasi » Mon Dec 16, 2013 7:47 am

It looks like a threading problem. Ensure you are not updating the charts or other UI parts from background thread directly. Use Dispatcher.Invoke instead. See "Thread-fed multi-channel" real-time example.
LightningChart Support Team, PT