Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011620Dwarf FortressTechnical -- Renderingpublic2020-09-11 19:352020-09-15 22:15
Assigned To 
PlatformOSOS Version
Product Version0.47.04 
Target VersionFixed in Version 
Summary0011620: The whole game presents a 5-10 second lag from the start of the game
DescriptionAny animation, from the cinematic when you start the game, through the menu selection to the game itself has a severe lag, taking 5-10 seconds to update the frames.

It's important to say I am using Ubuntu 19.10 with I3WM ( [^]) as the window manager and urxvt-unicode as terminal.
Few init options that I believe are relevant:

* WINDOWED is set to YES. The issue disappears when set to NO but I don't want to play the game in fullscreen.

* PRINT_MODE is set to 2D
Steps To Reproduce1. Download the game from [^]
2. Unpack it
3. Delete libs/ and create a symbolic link to the version the system provides: libs/ -> /usr/lib/x86_64-linux-gnu/
3. Start the game

You should see the lag immediately after the game starts
Additional InformationI am new to Dwarf Fortress with no previous experience on how to debug issues on it.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
davpin (reporter)
2020-09-11 19:44

Forgot to mention that if I click on my mouse, the screen updates immediately.
lethosor (manager)
2020-09-11 20:07

I didn't have this issue on 19.10 (although I can't easily reproduce there, since I've upgraded to 20.04), but here are some things I would try, roughly in this order:
- Try another window manager (I admittedly don't know how hard this is or if it would break your setup, so it's up to you)
- Reduce G_FPS_CAP in init.txt, maybe to around 25

I suspect that some combination of i3, the window size, and the print mode is the issue here, given that fullscreen mode works normally. As a side note, you usually don't strictly need the libstdc++ symlink in libs - DF should be able to locate your system library without it, but I don't think that would affect anything. Anyway, thanks for the details and troubleshooting effort you put in here, especially given that you're new to DF!
davpin (reporter)
2020-09-15 22:15

Hi lethosor,

First, thank you very much for stepping up and try to help me. Really appreciate it.

Changing the PRINT_MOD and G_FPS_CAP worked! I can see the screen with pretty much no lag.

Regarding the symlink, if I use the one that comes with the game, the game does not start, providing the following error message:

./libs/Dwarf_Fortress: <path_to_df_linux>/libs/ version `CXXABI_1.3.8' not found (required by /lib/x86_64-linux-gnu/
./libs/Dwarf_Fortress: <path_to_df_linux>/libs/ version `CXXABI_1.3.9' not found (required by /lib/x86_64-linux-gnu/

- Issue History
Date Modified Username Field Change
2020-09-11 19:35 davpin New Issue
2020-09-11 19:44 davpin Note Added: 0040725
2020-09-11 20:07 lethosor Note Added: 0040726
2020-09-15 22:15 davpin Note Added: 0040737
2020-09-15 22:21 davpin Issue Monitored: davpin
2020-09-15 22:21 davpin Issue End Monitor: davpin

Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker