Zandronum Chat on our Discord Server Get the latest version: 3.1
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002656Zandronum[All Projects] Bugpublic2016-03-03 18:432024-03-01 20:58
ReporterSluge 
Assigned ToTorr Samaho 
PrioritynormalSeveritycrashReproducibilityalways
StatusconfirmedResolutionbackport later 
PlatformWindowsOS10OS VersionXP/Vista/7
Product Version2.1 
Target VersionFixed in Version 
Summary0002656: Crash on vid_setmode to monitor's native resolution
DescriptionI have an ultrawide monitor that crashes when calling vid_setmode to the native resolution. vid_listmodes returns the mode.

I am using the latest non-beta Nvidia drivers on windows 10 with a 980GTX Ti.
Steps To Reproduce1. Launch zandronum, bring up console.
2. type vid_setmode 3440 1440
3. Observe crash
Additional InformationI have submitted a 21:9 ultrawide code patch to ZDoom which may be useful in supporting ultra wide screen aspect ratios. It is awaiting approval on their forum as of this report:

'http://forum.zdoom.org/viewtopic.php?f=15&t=51086&p=889448#p889448 [^]'
Attached Fileszip file icon CrashReport.zip [^] (30,630 bytes) 2016-03-03 18:43
png file icon Screenshot_Doom_20160303_161939.png [^] (1,002,400 bytes) 2016-03-04 00:21
txt file icon zdoom_ultrawide_patch.txt [^] (13,585 bytes) 2016-03-04 00:24 [Show Content]

- Relationships

-  Notes
User avatar (0014539)
Edward-san (developer)
2016-03-03 20:51
edited on: 2016-03-03 20:54

Do you mind checking if this crashes in GZDoom r900 andGZDoom 1.8.6, too?

User avatar (0014540)
Sluge (reporter)
2016-03-03 21:12

Interestingly, it crashes in GZDoom r900, but the mode succeds in GZDoom 1.8.6.

In GZDoom 1.8.6, the aspect ratio is wildly incorrect and no vid_aspect cvar setting helps much. The attached patch in the zdoom forum fixes that issue.
User avatar (0014542)
Edward-san (developer)
2016-03-03 23:57

Ok, then what about zandronum 3.0 beta? Latest is here.
User avatar (0014543)
Sluge (reporter)
2016-03-04 00:24
edited on: 2016-03-04 00:25

That works, though it falls back to software. I'm not sure how to use vid_setmode to force hardware?

At any rate, the aspect ratio is... very bad. The attached screenshot shows what you get.

I attached a code patch that adds explicit support for 21:9 monitors, including in the UI. It was originally written for the most recent ZDoom (origin/master in their repo as of yesterday).

User avatar (0014546)
Edward-san (developer)
2016-03-04 09:09
edited on: 2016-03-04 14:11

ZDoom added your patches in these commits:
[1]
[2]
[3]
[4]
[5]
[6]

with some adjustments from randi:
[7]
[8]
[9]

So, you have to wait for Torr to pull these changes.

[edit] not to forget graf's adjustment for gzdoom: [here]


Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2016-03-03 18:43 Sluge New Issue
2016-03-03 18:43 Sluge File Added: CrashReport.zip
2016-03-03 20:51 Edward-san Note Added: 0014539
2016-03-03 20:51 Edward-san Status new => feedback
2016-03-03 20:54 Edward-san Note Edited: 0014539 View Revisions
2016-03-03 21:12 Sluge Note Added: 0014540
2016-03-03 21:12 Sluge Status feedback => new
2016-03-03 23:57 Edward-san Note Added: 0014542
2016-03-03 23:57 Edward-san Status new => feedback
2016-03-04 00:21 Sluge File Added: Screenshot_Doom_20160303_161939.png
2016-03-04 00:24 Sluge File Added: zdoom_ultrawide_patch.txt
2016-03-04 00:24 Sluge Note Added: 0014543
2016-03-04 00:24 Sluge Status feedback => new
2016-03-04 00:25 Sluge Note Edited: 0014543 View Revisions
2016-03-04 09:09 Edward-san Note Added: 0014546
2016-03-04 09:09 Edward-san Assigned To => Torr Samaho
2016-03-04 09:09 Edward-san Status new => assigned
2016-03-04 14:11 Edward-san Note Edited: 0014546 View Revisions
2016-11-20 21:51 Edward-san Product Version 2.2-beta => 2.1
2024-03-01 20:58 Ru5tK1ng Status assigned => confirmed
2024-03-01 20:58 Ru5tK1ng Resolution open => backport later






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker