Choosing monitor to display on

Started by Peter M Ashford, November 30, 2012, 00:35:18

Previous topic - Next topic

Peter M Ashford

I've searched Google & this forum but I can't find how to select which monitor to use on a multiple monitor setup.  Please help!

Cheers!

Kaff.

abcdef

Depends if you have an nvidea or ati card with the supported extensions

Nvidia

You need the WGL_NV_gpu_affinity extensions

http://developer.download.nvidia.com/opengl/specs/WGL_nv_gpu_affinity.txt

ATI

You need the AMD_gpu_association extensions

http://www.opengl.org/registry/specs/AMD/wgl_gpu_association.txt

quick glance of the javadoc for lwjgl could not see them so you might need to request them to be added. But be aware, you need drivers that support this and as i have never used it, they might not work :)

spasi

There's plan to add support for the GPU affinity/association extensions in LWJGL 3.0.

Peter M Ashford

That looks like its for selecting from multiple GPUs rather than one of many monitors?

spasi

Enumerating the active monitors and selecting which one to use is also an option for 3.0, but I'm not sure if we'll provide a cross-platform wrapper or you'll have to fiddle with the platform-specific APIs (which will be publicly exposed in 3.0).

Peter M Ashford

Alright.  Either option would be fine for me.  When is v3.0 out?

spasi

It's too early to give an accurate estimation, work on it has started very recently. You can follow the LWJGL 3.0 RFE thread for more information.