View Issue Details

IDProjectCategoryView StatusLast Update
0000091Dwarf FortressTechnical -- Generalpublic2010-06-10 21:07
Reporterevileeyore Assigned Touser6 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionunable to reproduce 
PlatformPCOSWindows XP 
Summary0000091: Windowed Mode Fails on different grid setting
DescriptionWindowed Mode displays a blank screen on startup. Setting to [PROMPT] or [NO] solves this as I get a "Mode Switch Failed" and it claims it is running in Windowed Mode, however it is actually running in Fullscreen Mode and runs just fine.



I haven't tried running in smaller Windowed modes.
Steps To ReproduceThese are the altered init file settings:

[WINDOWED:YES]
(if set to [NO] or [PROMPT] I get "Mode Switch Failed" and get dumped into windowed mode)

[WINDOWEDX:1280]
[WINDOWEDY:1008]
[GRAPHICS_FONT:curses_square_16x16.bmp]

Full screen info.

[FULLSCREENX:1280]
[FULLSCREENY:1008]
[FULLFONT:curses_square_16x16.bmp]

[GRID:80:63]
[FULLGRID:80:63]
Tagsinit.txt

Relationships

related to 0000807 resolvedToady One Fullscreen doesn't work with non-graphic tilesets, switch mode failed (0.31.02) 

Activities

user6

2010-04-07 11:39

  ~0001810

Are your graphics drivers up-to-date?

user6

2010-04-19 19:56

  ~0004297

Are you still getting this in the new version, 31.03? http://www.bay12games.com/forum/index.php?topic=54115.0

Soralin

2010-04-19 21:40

reporter   ~0004307

Last edited: 2010-04-19 21:44

Well for one thing, your GRAPHICS_FONT there, should just be FONT, if you're playing with [GRAPHICS:NO]. And if you're playing with [GRAPHICS:YES], then the relevant resolution parameters for windowed mode should be GRAPHICS_WINDOWEDX and GRAPHICS_WINDOWEDY

"Mode Switch Failed" comes from when it tries to set your monitor's resolution to something that it, or your video card, doesn't recognize or accept (1280x1008 here). And since it fails to change the resolution to what's set, it's probably just keeping the resolution as what you have it at already for the desktop, which I'm guessing is likely close to that. Since when you're doing it fullscreen, it's setting the resolution of the monitor to that setting.

Baughn

2010-05-26 13:11

manager   ~0007350

Does this still happen in 31.04?

user6

2010-06-10 21:07

  ~0008110

Got zero feedback on this one.

Issue History

Date Modified Username Field Change
2010-04-01 21:38 evileeyore New Issue
2010-04-02 06:37 Todestool Tag Attached: init.txt
2010-04-07 11:39 user6 Note Added: 0001810
2010-04-19 19:56 user6 Note Added: 0004297
2010-04-19 21:40 Soralin Note Added: 0004307
2010-04-19 21:40 Soralin Note Edited: 0004307
2010-04-19 21:44 Soralin Note Edited: 0004307
2010-04-29 13:10 user6 Category General => Technical
2010-05-18 12:08 Baughn Status new => assigned
2010-05-18 12:08 Baughn Assigned To => Baughn
2010-05-26 13:11 Baughn Note Added: 0007350
2010-05-26 13:19 user6 Relationship added related to 0000807
2010-06-10 21:07 user6 Note Added: 0008110
2010-06-10 21:07 user6 Status assigned => resolved
2010-06-10 21:07 user6 Resolution open => unable to reproduce
2010-06-10 21:07 user6 Assigned To Baughn => user6
2010-06-29 07:38 user6 Category Technical => Technical -- General