two video devices with different pixelformat


Author
Message
cho seongho
cho seongho
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
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
Nevron Support
Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)Supreme Being (4.5K reputation)
Group: Administrators
Posts: 3.1K, Visits: 4.2K
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


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search