Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0002490Dwarf FortressTechnical -- Renderingpublic2010-06-28 06:282010-07-19 06:12
novaalpha 
Baughn 
normalmajoralways
closedfixed 
GNU/LinuxGentoo GNU/Linux
0.31.08 
0.31.10 
0002490: Game freezes when switching from fullscreen to windowed mode
In fullscreen mode everything works fine, but when I press F11 to switch to windowed mode, dwarf fortress freezes for couple minutes. This only happens when I use STANDARD print mode in init.txt. In 2D this bug does not happen.

I am using non-square Thom tileset for fullscreen mode and default one for windowed.
1. Change print mode to STANDARD
2. Launch in fullscreen then press F11
No tags attached.
Issue History
2010-06-28 06:28novaalphaNew Issue
2010-06-28 07:24FootkerchiefNote Added: 0009215
2010-06-28 07:24FootkerchiefTag Attached: AWAITING UPDATE
2010-06-28 08:04FootkerchiefRelationship addedchild of 0001746
2010-06-28 08:05FootkerchiefRelationship replacedduplicate of 0001746
2010-06-28 08:06FootkerchiefRelationship replacedchild of 0001746
2010-06-29 07:38FootkerchiefCategoryTechnical => Technical -- General
2010-07-08 09:46novaalphaNote Added: 0009791
2010-07-13 18:38novaalphaIssue Monitored: novaalpha
2010-07-18 10:19FootkerchiefRelationship deletedchild of 0001746
2010-07-18 10:20FootkerchiefTag Detached: AWAITING UPDATE
2010-07-18 10:20FootkerchiefIssue Monitored: Baughn
2010-07-18 10:20FootkerchiefNote Added: 0010569
2010-07-18 10:21FootkerchiefCategoryTechnical -- General => Technical -- Rendering
2010-07-18 10:21FootkerchiefNote Added: 0010570
2010-07-18 12:09novaalphaNote Added: 0010588
2010-07-18 12:10novaalphaIssue End Monitor: novaalpha
2010-07-18 13:34FootkerchiefNote Added: 0010593
2010-07-18 13:34FootkerchiefStatusnew => resolved
2010-07-18 13:34FootkerchiefFixed in Version => 0.31.09
2010-07-18 13:34FootkerchiefResolutionopen => fixed
2010-07-18 13:34FootkerchiefAssigned To => Baughn
2010-07-19 06:12BaughnNote Added: 0010625
2010-07-19 06:12BaughnStatusresolved => closed
2010-07-19 06:12BaughnFixed in Version0.31.09 => 0.31.10

Notes
(0009215)
Footkerchief   
2010-06-28 07:24   
Have you tried updating your graphics drivers?
(0009791)
novaalpha   
2010-07-08 09:46   
Yes. I have upgraded to latest stable kernel, nvidia drivers and glibc available for my linux distribution. Now instead of hanging up the game segfaults with the message (full backtrace from gdb):

(gdb) bt full
#0 0xb72edddc in renderer_opengl::reshape_gl() ()
   from /home/alpha/games/df_linux/libs/libgraphics.so
No locals.
0000001 0xb72eea9f in renderer_opengl::resize(int, int) ()
   from /home/alpha/games/df_linux/libs/libgraphics.so
No locals.
0000002 0xb72e9c9b in renderer_opengl::set_fullscreen() ()
   from /home/alpha/games/df_linux/libs/libgraphics.so
No locals.
0000003 0xb72e75f3 in enablerst::eventLoop_SDL() ()
   from /home/alpha/games/df_linux/libs/libgraphics.so
No locals.
0000004 0xb72e8015 in enablerst::loop(std::string) ()
   from /home/alpha/games/df_linux/libs/libgraphics.so
No locals.
0000005 0xb72e8862 in main () from /home/alpha/games/df_linux/libs/libgraphics.so
No locals.
0000006 0xb7055bb5 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
0000007 0x0804d011 in ?? ()
No symbol table info available.
(0010569)
Footkerchief   
2010-07-18 10:20   
Reminder sent to: Baughn

Hey Baughn, any input?
(0010570)
Footkerchief   
2010-07-18 10:21   
Reminder sent to: novaalpha

Does this still occur in the newest version, 31.10 SDL?
(0010588)
novaalpha   
2010-07-18 12:09   
No Footkerchief, can not reproduce this in the 31.10 linux version. Probably got fixed.
(0010593)
Footkerchief   
2010-07-18 13:34   
Alright, awesome.
(0010625)
Baughn   
2010-07-19 06:12   
In that case, we'll call it case closed.

Since it might be just coincidence, please check again with .11 though.