Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002798Dwarf FortressTechnical -- Renderingpublic2010-07-23 16:572010-07-25 17:19
Assigned ToBaughn 
PlatformOSWindowsOS VersionXP
Product Version0.31.11 
Target VersionFixed in Version0.31.12 
Summary0002798: Crash when switching from Fullscreen to Windowed mode
DescriptionWhen I launched the game in fullscreen mode and switched to windowed mode, the game crashed. It does not appear to do this if you start in windowed mode and switch to fullscreen and back.
Steps To ReproduceLaunch game in fullscreen mode, and press F11 (or whatever the key has been changed to)
TagsNo tags attached.
Attached Files

- Relationships
has duplicate 0002812resolvedFootkerchief Crash when switching between fullscreen and windowed with F11 

-  Notes
Loebl (reporter)
2010-07-23 18:13

Switching from Fullscreen to windowed works fine for me.
Maybe you could try changing your PRINT_MODE in the init and see if that changes something?

My System:
Windows 7 x86
Nvidia 8600M GT with driver version 257.21
mythguile (reporter)
2010-07-23 18:27
edited on: 2010-07-23 18:29

After checking around with various graphics modes, STANDARD seems to work and not produce this bug. Though if I start in fullscreen and go to windowed mode, it doesn't respect the init file resolutions.

Specifically the settings you used caused immediate crash to desktop for me. Though that may be a hardware issue, since I'm using a netbook with integrated graphics, sooo....

smariot (reporter)
2010-07-23 21:17
edited on: 2010-07-23 21:39

Same here in Linux.

According to the log, it tried to create a window with the dimensions: 907735836x-1959006823

It crashed in a function named 'renderer_2d_base::reshape(std::pair<int, int>)'

That's with PRINT_MODE:2D, and starting in fullscreen. It seems to work properly if it starts windowed and then you switch modes. PRINT_MODE:STANDARD works properly, but my screen resolution doesn't match my tileset, so it looks fugly. 2D mode has sexy looking Lanczos filter, which make the crashes worth putting up with.

Lord_Dakstar (reporter)
2010-07-23 21:19
edited on: 2010-07-23 21:21

I experience this with the SDL version. I have ONLY changed a couple of INIT settings--- WINDOWED:PROMPT, FULLSCREENX:800, FULLSCREENY:600, BLACKSPACE:NO. I didn't change any other defaults (ie, PRINT_MODE is still default setting). I have changed a few setting in D_INIT. It's the same settings I've used with version 31 since version 31.01. Only this version has this issue.

It transitions from full screen to windowed mode correctly. Then the window RESIZES ITSELF to max screensize, it tries to fill up the new screenspace, and it then crashes.

Not very friendly of DF 31.11. I can't transition in 31.11 from fullscreen to windowed to do things like report bugs, update the wiki, etc etc etc.

Running it on:
Vista Home Premium, SP 2
NVidia 8600M GT with driver version

morikal (reporter)
2010-07-24 14:39

switching to standard print-mode fixed this for me.
Lord_Dakstar (reporter)
2010-07-24 17:37
edited on: 2010-07-24 17:38

Swapping print mode from the default 2D setting in Init file to standard also works for me. However, when the game first swaps to windowed mode, the window is EXTREMELY large and the text itelf is very, very big/magnified. After about 90 seconds, the text resets to normal.

I do have to resize the extremely large window to something smaller than my screen however.

- Issue History
Date Modified Username Field Change
2010-07-23 16:57 mythguile New Issue
2010-07-23 17:50 Dwarfu Issue Monitored: Dwarfu
2010-07-23 17:53 Dwarfu Category General => Technical -- General
2010-07-23 18:13 Loebl Note Added: 0010887
2010-07-23 18:27 mythguile Note Added: 0010888
2010-07-23 18:29 mythguile Note Edited: 0010888 View Revisions
2010-07-23 21:17 smariot Note Added: 0010893
2010-07-23 21:19 Lord_Dakstar Note Added: 0010894
2010-07-23 21:21 Lord_Dakstar Note Edited: 0010894 View Revisions
2010-07-23 21:39 smariot Note Edited: 0010893 View Revisions
2010-07-24 13:53 Footkerchief Relationship added has duplicate 0002812
2010-07-24 14:39 morikal Note Added: 0010933
2010-07-24 16:26 Footkerchief Category Technical -- General => Technical -- Rendering
2010-07-24 17:37 Lord_Dakstar Note Added: 0010937
2010-07-24 17:38 Lord_Dakstar Note Edited: 0010937 View Revisions
2010-07-24 18:32 kwieland Issue Monitored: kwieland
2010-07-25 09:52 Footkerchief Status new => resolved
2010-07-25 09:52 Footkerchief Fixed in Version => 0.31.12
2010-07-25 09:52 Footkerchief Resolution open => fixed
2010-07-25 09:52 Footkerchief Assigned To => Baughn
2010-07-25 12:28 Dwarfu Issue End Monitor: Dwarfu
2010-07-25 17:19 kwieland Issue End Monitor: kwieland

Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker