View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000468 | Dwarf Fortress | General | public | 2010-04-05 06:51 | 2010-06-09 06:47 |
| Reporter | user1924 | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| OS | Windows | OS Version | 7 x64 | ||
| Product Version | 0.31.01 | ||||
| Summary | 0000468: Game uses a constant 25% CPU, even while idling or in menus | ||||
| Description | DwarfForterss uses a constant 25% CPU when running on my 2.9 GHz Core i7 processor, even when the game is paused, and even when I'm sitting at the main menu. I understand the game logic is often processor intensive, but it seems the game is consuming unnecessary processor time when it should be neatly idling. | ||||
| Steps To Reproduce | 1. Start DF | ||||
| Additional Information | My FPS are 0000039:0000030-40 while playing | ||||
| Tags | CPU, Main Menu, Processor | ||||
|
|
Additional information should read: My FPS are about 30-40 while playing. |
|
|
Could not replicate on my machine; CPU usage drops to 0 when the game is paused. |
|
|
Not able to replicate here either. CPU usage drops to 5-10% when paused as opposed to 50% (dual core) when unpaused |
|
|
Typhoon's got the right idea in that DF is taking up 1 entire core of your CPU. ... Could you list your BIOS settings as they pertain to your CPU? |
|
|
Do you have PARTIAL_PRINT turned on in init? |
|
|
My init.txt file is almost default 0.31.01, and PARTIAL_PRINT is set as the following: [PARTIAL_PRINT:NO:2] I believe that it's listed as 25% since it's maxing out one core, and it's a four-core system. What BIOS settings should I look for? I'm not aware of any that would affect this. Other changes in my init.txt are to set windowedx and windowedy to 800 and 600, respectively, and my font is curses_800x600.bmp. Graphics is set to "no" and I use windowed mode. My color depth is 32-bit, with Windows 7's Aero (window effects, cycling background, etc.) turned on. |
|
|
Also, with a processor of this speed, should I be getting 100 FPS? I only have six dwarves. |
|
|
You should set PARTIAL_PRINT to YES:2 or even YES:0. As it says in init, the purpose of that option is to increase framerate. |
|
|
PARTIAL_PRINT YES:0 results in a dramatic improvement. I get 100 FPS and DF consumes about 10% CPU now. I figured the setting was for less powerful systems, and that it was off by default for stability (e.g. it says it could result in visual problems on some systems). |
|
|
Incidentally, what is it about my system that makes redrawing ASCII in DF so resource-intensive? |
|
|
A combination of the way your drivers handle rendering calls, and DF's inefficient rendering code (this is one of the problems the 40d# merge will address soon). |
|
|
Thanks for the fix. For the record, my system is a Lenovo x201t, which has an Intel GMA HD integrated graphics card, and has an Intel Core i7-640LM processor. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2010-04-05 06:51 | user1924 | New Issue | |
| 2010-04-05 06:52 | user1924 | Note Added: 0001066 | |
| 2010-04-05 06:53 | Phrost | Note Added: 0001067 | |
| 2010-04-05 07:46 | Eviltyphoon | Note Added: 0001075 | |
| 2010-04-05 07:47 | Eviltyphoon | Note Edited: 0001075 | |
| 2010-04-05 07:52 | Logical2u | Note Added: 0001076 | |
| 2010-04-05 09:06 |
|
Note Added: 0001089 | |
| 2010-04-05 10:43 | Qloos | Tag Attached: CPU | |
| 2010-04-05 10:43 | Qloos | Tag Attached: Main Menu | |
| 2010-04-05 10:43 | Qloos | Tag Attached: Processor | |
| 2010-04-05 12:44 | user1924 | Note Added: 0001169 | |
| 2010-04-05 12:47 | user1924 | Note Edited: 0001169 | |
| 2010-04-05 12:51 | user1924 | Note Added: 0001174 | |
| 2010-04-05 12:53 |
|
Note Added: 0001175 | |
| 2010-04-05 13:20 | user1924 | Note Added: 0001185 | |
| 2010-04-05 13:23 | user1924 | Note Added: 0001187 | |
| 2010-04-05 13:30 |
|
Note Added: 0001190 | |
| 2010-04-05 13:32 |
|
Note Edited: 0001190 | |
| 2010-04-05 13:33 | user1924 | Note Edited: 0001185 | |
| 2010-04-05 13:40 | user1924 | Note Added: 0001197 | |
| 2010-04-05 14:29 |
|
Status | new => resolved |
| 2010-04-05 14:29 |
|
Resolution | open => fixed |
| 2010-04-05 14:29 |
|
Assigned To | => user6 |
| 2010-04-05 23:02 |
|
Resolution | fixed => no change required |
| 2010-06-09 06:47 | Toady One | Status | resolved => closed |