3.5.0 Modern - Fullscreen Wont Show vid_adapter=0

Need help running G/Q/ZDoom/ECWolf/Zandronum/3DGE/EDuke32/Raze? Did your computer break? Ask here.

Moderator: GZDoom Developers

Forum rules
Contrary to popular belief, we are not all-knowing-all-seeing magical beings!

If you want help you're going to have to provide lots of info. Like what is your hardware, what is your operating system, what version of GZDoom/LZDoom/whatever you're using, what mods you're loading, how you're loading it, what you've already tried for fixing the problem, and anything else that is even remotely relevant to the problem.

We can't magically figure out what it is if you're going to be vague, and if we feel like you're just wasting our time with guessing games we will act like that's what you're really doing and won't help you.
User avatar
Lycanite
Posts: 39
Joined: Thu Apr 13, 2017 12:28 pm

3.5.0 Modern - Fullscreen Wont Show vid_adapter=0

Post by Lycanite »

I'm running an AMD RX 580 but also have friends on NVIDIA (one being a 1080), we're all (sadly) using Windows 10 with latest working drivers (a version down for AMD as the latest drivers are buggy).

On upgrading to 3.5.0 Modern when the game is set to fullscreen it just doesn't show up at all, I get sound and the game is responsive (I have it set to be active in the background), but no display.

On launching with default settings I noticed that vid_adapter was set to 1 by default, which for me is my left monitor rather than central monitor. Before I had vid_adapter set to 0 where it used my primary central monitor, now I have to manually set vid_adapter to 3 (where 1 is left, 2 was right and 3 the middle).

My friends have 2 and 1 monitor and setting this to the default value of 1 works and fixes the issue for them. It's just awkward having to open up the ini and guessing which monitor number to use where as before it guessed it with 0.

An in game menu option for this would be nice, using "vid_adapter 3" in the console only takes effect on restarting the game.

A niche issue for multi monitor users but figured I'd report it.
XxMiltenXx
Posts: 217
Joined: Wed Jan 08, 2014 8:40 am
Graphics Processor: nVidia with Vulkan support
Location: Germany

Re: 3.5.0 Modern - Fullscreen Wont Show vid_adapter=0

Post by XxMiltenXx »

I don't think that anything here can be changed on GZDoom's side

The screen numbers are reported by the OS, and depending on what settings you make there, this can change.
Example:
I have 2 screens and a capture card. I had them seperated (main screen 1, second screen 2, and capture card was 3), the numbers in the NVidia control panel as well as the actual order (side by side). With this setup vid_adapter 0 was correct.
Then I changed it to clone my capture card and the main screen (while the capture card is the "main screen" of the cloned ones), and after starting up GZDoom, fullscreen also didn't work. In order to get it work on my main screen, I had to set it to "vid_adapter 3", even though 3 should be my second screen according to the numbering in the NVidia control panel, however the 2nd screen was now 2 and 1 wasn't visible at all.
Upon restarting I had to set it to "vid_adapter 1" as now the OS reported a different number.
User avatar
GFD
Posts: 344
Joined: Mon May 31, 2010 7:42 pm
Preferred Pronouns: He/Him
Location: Canada

Re: 3.5.0 Modern - Fullscreen Wont Show vid_adapter=0

Post by GFD »

The "vid_listadapters" CCMD lists the available video adapters for the vid_adapter CVAR by number, resolution, position, and primary status, so you don't need to blindly guess at it.
Though yes, monitor selection is something I've wanted to add to the menu for a while, as I find it to be a strange omission.

Thinking about this just gave me a thought for a very useful feature: a setting of -1 for vid_adapter could just always use whichever video adapter is the primary one. This would also be a sensible default setting.
XxMiltenXx
Posts: 217
Joined: Wed Jan 08, 2014 8:40 am
Graphics Processor: nVidia with Vulkan support
Location: Germany

Re: 3.5.0 Modern - Fullscreen Wont Show vid_adapter=0

Post by XxMiltenXx »

GFD wrote:Thinking about this just gave me a thought for a very useful feature: a setting of -1 for vid_adapter could just always use whichever video adapter is the primary one. This would also be a sensible default setting.
This is a very reasonable idea. This way you'd avoid problems if you change your screen settings via Windows or NVidia control panel, and the screen numbers suddenly change.

Return to “Technical Issues”