vid_adapter -1 = primary video adapter

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

vid_adapter -1 = primary video adapter

Postby XxMiltenXx » Sat Aug 04, 2018 11:03 am

As suggested by GFD in this thread (viewtopic.php?f=50&t=61517) I think it's a good idea to add "vid_adapter -1" and that will always be the primary video adapter.

Sometimes the video adapter numbers can get weird if you make changes without restarting (e.g. clone devices, then expand the view) can sometimes change the adapter number, even of the primary device.

-1 would be the default setting.

Can this be easily implemented?
Joined: 08 Jan 2014
Location: Germany
Operating System: Windows 10/8.1/8 64-bit
Graphics Processor: nVidia with Vulkan support

Re: vid_adapter -1 = primary video adapter

Postby Marisa Kirisame » Sat Aug 04, 2018 3:01 pm

It's technically possible but every OS has different mechanisms for getting the "primary display" (and there are some quirks to it, too, like the case where in X11 it's possible for a primary display to not be defined at all).
User avatar
Marisa Kirisame
ZScript Magician
Joined: 08 Feb 2008
Location: Vigo, Galicia
Discord: Marisa Kirisame#4689
Twitch ID: magusmarisa
Github ID: OrdinaryMagician
Operating System: Other Linux 64-bit
Graphics Processor: nVidia with Vulkan support

Return to Feature Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest