Profile Picture

two video devices with different pixelformat

Posted By cho seongho 4 Years Ago
Author
Message
cho seongho
Problem Posted 4 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)Forum Newbie (9 reputation)

Group: Forum Members
Last Active: 3 Years Ago
Posts: 15, Visits: 73
I have two video devices with different pixelformat, two monitors.
and each device connected a different monitor.

video device 1: AMD Radeon R7 350X
video device 2 : Intel HD Graphics 530(included in CPU)

My program executes on monitor1 and creates a new chart dynamically on monotor1 successful.

But, my program throws 'exception' when creates a new chart dynamically on monotor2.


System.AccessViolationException[StackTrace]at Nevron.Interop.Win32.NGdi32.ChoosePixelFormat(IntPtr deviceContext, PIXELFORMATDESCRIPTOR& pixelFormatDescriptor)at Nevron.GraphicsGL.l1IlllI11I.SetupPixelFormat(IntPtr hDC, Int32 flags)



Nevron Support
Posted 4 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009
Hi Cho,
We'll try to replicate the problem and keep you posted. Meanwhile, can you check to update the drivers on those video boards - it may be a driver issue. Also, can you try whether switching to software renderer workarounds the problem:

nChartControl1.Settings.RenderSurface = RenderSurface.Bitmap;

This should fix the problem but the chart rendering will be slower.




Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic