Game displayed on incorrect monitor

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
MatrixCL
Posts: 42
Joined: Tue Jul 07, 2020 2:53 am
Graphics Processor: ATI/AMD (Modern GZDoom)
Location: Finland
Contact:

Game displayed on incorrect monitor

Post by MatrixCL »

When I put the windows settings on duplicate displays, I expect the game to be displayed on both displays. However, the game is only shown on my TV, while the monitor becomes black with only the ZDL window displayed. Workaround: alt-enter to disable full-screen and alt-enter again to get it back.

When I change my main screen to the TV, the game is still only displayed on the monitor in full-screen mode. I haven't found a workaround for this.

Specs:
Display adapter: Radeon RX 480
Monitors: Samsung S23B300 (connected by DVI) and an LCD TV (connected by HDMI). Both with native resolution 1920x1080.
OS: Windows 10 Home
yum13241
Posts: 779
Joined: Mon May 10, 2021 8:08 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): EndeavorOS (basically Arch)
Graphics Processor: Intel with Vulkan/Metal Support
Contact:

Re: Game displayed on incorrect monitor

Post by yum13241 »

I'm guessing GZDoom uses exclusive mode and that is causing the issue?
User avatar
phantombeta
Posts: 2081
Joined: Thu May 02, 2013 1:27 am
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia with Vulkan support
Location: Brazil

Re: Game displayed on incorrect monitor

Post by phantombeta »

yum13241 wrote:I'm guessing GZDoom uses exclusive mode and that is causing the issue?
Only if they're on a very old version. GZDoom has had only borderless fullscreen for a while now, because exclusive fullscreen in OpenGL is a hack and makes maintaining the code a nightmare, at least on Windows.

As far as I know, however, Windows is supposed to disable DWM on monitors with a borderless fullscreen window on them. (at least on 8 and above, anyway) So maybe it's something being caused by Windows itself.
User avatar
Rachael
Posts: 13527
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Game displayed on incorrect monitor

Post by Rachael »

One bit of important info missing here: Does this happen in Vulkan, or OpenGL, or both?
Kazudra
Posts: 126
Joined: Mon May 25, 2015 10:52 am

Re: Game displayed on incorrect monitor

Post by Kazudra »

This will happen on all renderers;
Changing vid_adapter in the config will do the trick. Maybe putting a monitor option in display would help.
User avatar
MatrixCL
Posts: 42
Joined: Tue Jul 07, 2020 2:53 am
Graphics Processor: ATI/AMD (Modern GZDoom)
Location: Finland
Contact:

Re: Game displayed on incorrect monitor

Post by MatrixCL »

Rachael wrote:One bit of important info missing here: Does this happen in Vulkan, or OpenGL, or both?
Sorry, I missed this. I'm using OpenGL.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49053
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Game displayed on incorrect monitor

Post by Graf Zahl »

I added better detection for the primary monitor a few days ago so this should be fixed.
Post Reply

Return to “Closed Bugs [GZDoom]”