|Anonymous | Login | Signup for a new account||2023-05-28 05:06 PDT|
|Main | My View | View Issues | Change Log | Roadmap|
|View Issue Details [ Jump to Notes ]||[ Issue History ] [ Print ]|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0011620||Dwarf Fortress||Technical -- Rendering||public||2020-09-11 19:35||2020-09-15 22:15|
|Target Version||Fixed in Version|
|Summary||0011620: The whole game presents a 5-10 second lag from the start of the game|
|Description||Any 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 (https://i3wm.org/ [^]) 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 Reproduce||1. Download the game from http://www.bay12games.com/dwarves/df_47_04_linux.tar.bz2 [^]|
2. Unpack it
3. Delete libs/libstdc++.so.6 and create a symbolic link to the version the system provides: libs/libstdc++.so.6 -> /usr/lib/x86_64-linux-gnu/libstdc++.so.6
3. Start the game
You should see the lag immediately after the game starts
|Additional Information||I am new to Dwarf Fortress with no previous experience on how to debug issues on it.|
|Tags||No tags attached.|
|Forgot to mention that if I click on my mouse, the screen updates immediately.|
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:
- Change PRINT_MODE to STANDARD
- 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!
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/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /lib/x86_64-linux-gnu/libGLU.so.1)
./libs/Dwarf_Fortress: <path_to_df_linux>/libs/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /lib/x86_64-linux-gnu/libGLU.so.1)
|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|