Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0011034Dwarf FortressGeneralpublic2019-02-19 21:242020-04-19 12:11
danthecoloradan 
lethosor 
normalminoralways
needs feedbackopen 
MacBook Pro (15-inch, 2017)macOS Mojave10.14.3 (18D109)
0.44.06 
 
0011034: App wide keyboard lag in large windows
The lag is approximately ~200ms. For example, pressing `Esc` during the opening trailer quit to the main menu for ~200ms. At the main menu, also for example, the same lag happens when changing Create New World!, Design New World with Advanced Parameters.
I have downgraded to version 0.44.05 and that fixes it. All version beyond (including the latest 0.44.12 are also broken).
https://gaming.stackexchange.com/questions/346416/annoying-keyboard-lag-when-running-dwarf-fortress-on-mac [^]
No tags attached.
Issue History
2019-02-19 21:24danthecoloradanNew Issue
2019-02-19 21:35danthecoloradanNote Added: 0039224
2019-02-19 21:40danthecoloradanNote Added: 0039225
2019-09-02 11:12dorfy41Note Added: 0039498
2019-09-18 07:45KrollNote Added: 0039512
2019-10-03 21:27lethosorNote Added: 0039521
2019-10-03 21:27lethosorAssigned To => lethosor
2019-10-03 21:27lethosorStatusnew => needs feedback
2019-10-03 21:27lethosorSummaryApp wide keyboard lag (not present in previous versions) => App wide keyboard lag in large windows
2020-01-29 18:23Pixel-AxeNote Added: 0039705
2020-01-29 18:25Pixel-AxeNote Edited: 0039705bug_revision_view_page.php?bugnote_id=0039705#r16176
2020-04-19 12:11mcmireNote Added: 0040486
2020-04-19 12:12mcmireNote Edited: 0040486bug_revision_view_page.php?bugnote_id=0040486#r16450

Notes
(0039224)
danthecoloradan   
2019-02-19 21:35   
Upon further investigation, it's not a bug. It's a scaling issue. I was scaling the window larger, and perhaps the person from stackexchange was as well. Once I kept the windows about the same size, the issue went away.
(0039225)
danthecoloradan   
2019-02-19 21:40   
To be clear, there is keyboard lag, but it is only present when I stretch or maximize the game beyond startup size. Apologies if there is already an issue present for this.
(0039498)
dorfy41   
2019-09-02 11:12   
I get this as well on OS X version 10.14.5
(0039512)
Kroll   
2019-09-18 07:45   
Got the same problem, at OS X 10.14.16, DF version 0.44.12
(0039521)
lethosor   
2019-10-03 21:27   
What happens if you change your PRINT_MODE setting in init.txt to STANDARD?
(0039705)
Pixel-Axe   
2020-01-29 18:23   
(edited on: 2020-01-29 18:25)
Changing the PRINT_MODE to FRAME_BUFFER worked for me.

OS X 10.15
DF version 0.47.01

The file to make this change is ./data/init/init.txt

(0040486)
mcmire   
2020-04-19 12:11   
(edited on: 2020-04-19 12:12)
Can confirm. After double-clicking on the df executable, I expanded the window size instinctively and noticed pretty quickly that the CPU shot up to 100+%, fans were going crazy, and there was a very noticeable lag after each keystroke in the menu. I didn't even start up the game because I figured there would be an issue there too. The fix by Pixel-Axe worked great — after updating the PRINT_MODE setting, CPU for df is now 4% and there's no noticeable keyboard lag.

I just downloaded 0.47.04. I am using macOS 10.14.6.