MantisBT - Zandronum
View Issue Details
0002965Zandronum[All Projects] Bugpublic2016-12-24 10:312023-10-03 21:36
LinuxLinux Mint MATE 64-bit18
0002965: Multi Monitor Bug
Every time zandronum is stared up it tries to display across multiple monitors instead of going to the primary monitor as intended.

vid_displayadapters shows: Multi monitor support unavailable
vid_adapter shows: Unknown command "vid_adapter"

Have 3 monitors, 2 of them be 1920x1080 and have the primary be 1920x1200
Set resolution to 1920x1200 and enable full screen, have it work as intended.
Close out of zandronum and restart it enjoy stretched console and crash.
Have not tested with just 2 monitors or any more than 3.

Screenshot right before it crashes and what the behavior is upon connecting
' [^]'

I have also uploaded my configuration file for further information to see if anything is set incorrectly.
No tags attached.
? zandronum.ini (14,909) 2016-12-24 10:31
Issue History
2016-12-24 10:31PolygonNew Issue
2016-12-24 10:31PolygonFile Added: zandronum.ini
2016-12-24 11:11Edward-sanNote Added: 0016545
2016-12-24 11:11Edward-sanStatusnew => feedback
2016-12-24 12:52PolygonNote Added: 0016546
2016-12-24 12:52PolygonStatusfeedback => new
2016-12-24 13:17Edward-sanNote Added: 0016547
2016-12-24 13:17Edward-sanStatusnew => feedback
2016-12-24 14:53PolygonNote Added: 0016548
2016-12-24 14:53PolygonStatusfeedback => new
2016-12-24 15:58Edward-sanNote Added: 0016549
2016-12-24 15:58Edward-sanStatusnew => feedback
2022-03-28 19:30ZardozNote Added: 0022172
2022-04-15 17:41RushJet1Note Added: 0022191
2022-05-01 20:43taystNote Added: 0022199
2023-10-03 21:36RushJet1Note Added: 0022915

2016-12-24 11:11   
Is the behavior any different from latest Zandronum 3.0 beta or GZDoom 1.8.6?
2016-12-24 12:52   
I have not tested these and I wouldn't know how. I just started using linux recently and don't want to risk messing anything up further.
2016-12-24 13:17   
Zandronum 3.0 beta for linux is available here. Extract it in any folder (better somewhere in your home directory) and run it normally.
2016-12-24 14:53   
Testing using Zandronum 3.0 beta has produced this hilarious result.
' [^]'

Resolutions are kind of messed up. When fullscreen it doesn't show the 1920x1200 option even if I only have 16:10 resolutions selected to show.
2016-12-24 15:58   
This is going to be problematic, because I don't have a multi monitor and I guess no other developer does.
If you want to see this fixed, you have to compile the program (and GZDoom 1.8.6, its source is here) by yourself and report any difference regarding this problem.

In case you can reproduce the issue with GZDoom 1.8.6, you need to check GZDoom 2.2.0 (the source is here).

I don't have the time right now to help more than this, sorry.
2022-03-28 19:30   
Well. I was toying with the latest code of GZDoom to add the support of vid_adapter on Linux, and it's easy if you are using SDL2 (Also, it never showed the hilarious behaviors of Zandronum even without my changes). SDL1.2 looks that not have support for multi-monitor setups.

I really suggest to migrate to SDL2 ASAP. Not only improves the multi-monitor setups a lot, also fixes the annoying bug with the keyboard input becoming randomly unresponsive on Linux (a SDL 1.2 bug that looks that would be never fixed)
2022-04-15 17:41   
I mean based on his screenshot there, this is almost a feature assuming it runs. Just make the FOV 120 or 150 or something and you have surround gaming :)
2022-05-01 20:43   
Running into the same issue on Manjaro XFCE Linux 64-bit with 2 monitors.
2023-10-03 21:36   
workaround: set to windowed, set to the same res as your screen. then run this command.

xprop -f _MOTIF_WM_HINTS 32c -set _MOTIF_WM_HINTS "0x2, 0x0, 0x2, 0x0, 0x0"

it will turn your mouse into a crosshair. click on the zandronum window and it will remove your titlebar. I have this set to a hotkey in my OS so i don't have to run it manually.