Page 1 of 1

Dual-monitor oddity

Posted: Wed Aug 20, 2008 18:36
by NiGHTMARE
I'm running a two monitor setup, with my primary monitor on the right and my secondary monitor on the left.

Whenever I run GZDoom in OpenGL mode (which is 99% of the time), it starts in the secondary display, rather than the primary. If I start GZDoom in software mode (or indeed any other fullscreen app, including ZDoom), it starts in the primary display, as it should.

In case it's relevant, here are my system specs:

CPU: AMD Phenom 9950
Motherboard: ASUS Crosshair II Formula
RAM: 2x 2GB
GPU: NVidia GTX280
Monitors: 1x Dell 3007WFP, 1x Dell 3008WFP
OS: Microsoft Windows Vista

It's not exactly a life or death bug (especially since my two monitors are the same and make), but I thought I'd report it anyway :).

(BTW dual-screen mode would be sweet! :P)

Posted: Wed Aug 20, 2008 19:15
by Rachael
I think what's happening is your primary Direct3D / OpenGL device is set up wrong.

Sometimes, the "primary" display is the boot display, i.e. whichever video card (or connection, if the card is the same) shows the BIOS's POST screen when you start the computer. Windows does *NOT* override this, contrary to the belief that it does when you select your secondary monitor as a primary device.

It's also possible that the drivers for your primary card are telling GZDoom that they are incompatible or not capable of handling hardware functions, which causes GZDoom to look for a more suitable device.

In this instance, I highly doubt you have a bug. You may need to look more into your display set up. I'd suggest digging through the NVidia control panel to see if you can switch it around, because it might be the ONLY way that you can. If your dual monitor setup is caused by two different cards, you will have to change your BIOS settings, instead.

Posted: Wed Aug 20, 2008 19:41
by NiGHTMARE
The monitor I have set as primary is the boot display, and the correct monitor is set as the primary display in the NVidia control panel. As I said, all other fullscreen apps (whether they're Direct 3D, OpenGL, or software) run on the correct monitor; it's only GZDoom in OpenGL mode that does this.

Posted: Wed Aug 20, 2008 20:38
by Graf Zahl
Don't ask me. The GL init code was written by Timmie and I can't see anything wrong with it.