3.5.0 Modern - Fullscreen Wont Show vid_adapter=0

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

Moderator: GZDoom Developers

3.5.0 Modern - Fullscreen Wont Show vid_adapter=0

Postby Lycanite » Wed Aug 01, 2018 6:07 pm

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.
User avatar
Lycanite
 
Joined: 13 Apr 2017
Discord: 3409

Re: 3.5.0 Modern - Fullscreen Wont Show vid_adapter=0

Postby XxMiltenXx » Thu Aug 02, 2018 10:49 am

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.
XxMiltenXx
 
Joined: 08 Jan 2014
Location: Germany
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: nVidia with Vulkan support

Re: 3.5.0 Modern - Fullscreen Wont Show vid_adapter=0

Postby GFD » Fri Aug 03, 2018 4:53 pm

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.
User avatar
GFD
My brain's probably worth a lot of money!
 
Joined: 31 May 2010
Location: Canada

Re: 3.5.0 Modern - Fullscreen Wont Show vid_adapter=0

Postby XxMiltenXx » Sat Aug 04, 2018 7:27 am

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.
XxMiltenXx
 
Joined: 08 Jan 2014
Location: Germany
Operating System: Windows 10/8.1/8/201x 64-bit
Graphics Processor: nVidia with Vulkan support


Return to Technical Issues

Who is online

Users browsing this forum: No registered users and 0 guests