Re: Dual monitor issues
Posted by
Sven Gothel on
Nov 30, 2013; 10:02pm
URL: https://forum.jogamp.org/Dual-monitor-issues-tp4030258p4030727.html
On 10/15/2013 10:06 PM, Agnes [via jogamp] wrote:
> I am starting to debug my code on dual monitors, but I see lots of different
> issues. For example, one JOGL application reports an FPS of 1000, although the
> screen image is not updated, and I am supposedly using vsynch
> (gl.setSwapInterval(1)).
>
> Another application either fails to display or alternately fails to draw text
> or sets gl.glClearColor() incorrectly.
>
> I'm running GLCanvas in a Frame, and running it as a windows application - I
> don't need full screen and I don't need dual monitors. Obviously i need to not
> crash if a user has dual monitors. I've seen the issues on both Linux 64-bit
> and Vista 32-bit.
>
> Are there any dual monitor gotchas I should know of?
I don't know about any.
Pls try w/ latest RC (as posted in my other reply)
and collect information as described in
<
http://jogamp.org/wiki/index.php/Jogl_FAQ#Bugreports_.26_Testing>
Pls add all information in a new bugreport in our bugzilla.
Thank you!
>
> As this is a utility that is not meant to run in a multitasking environment,
> I'm tempted to just detect multiple monitors using...
>
> GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
> GraphicsDevice[] gs = ge.getScreenDevices();
>
> ...and ask them to switch one off :-)
>