Very low frame rate - Build 223

Hello!

My first bug report :smile:

Ever since the Alpha 9 release 206 I am experiencing very slow frame rate overall. This starts the moment a new / empty game loads up. Here are my specs and logs, thanks!:

Computer spec:
Windows 7 Ultimate 64-bit SP1
AMD Phenom II X4 940
ASUSTeK Computer INC. M4A78-E
6.00GB Dual-Channel DDR2 @ 401MHz (5-5-5-15)
024MB NVIDIA GeForce GTX 280 (NVIDIA)

Stonehearth.log ( sorry Discourse states that ā€œNew users cannot submit attachmentsā€)
ā€œ
2015-Mar-16 17:50:17.621827 | server | 1 | app | Stonehearth Version 0.1.0.223 (x64)
2015-Mar-16 17:50:17.622827 | server | 1 | core.config | user id is 362ac832-aa46-11e4-8f9b-00248c44fe7f
2015-Mar-16 17:50:17.622827 | server | 1 | core.config | session id is 6f4e867e-cc26-11e4-963b-00248c44fe7f
2015-Mar-16 17:50:17.622827 | server | 1 | core.timer | QPC count: 1422219942857, frequency: 2939658
2015-Mar-16 17:50:17.622827 | server | 1 | core.timer | QPC count: 1422219943155, frequency: 2939658
2015-Mar-16 17:50:17.623827 | server | 1 | core.timer | QPC count: 1422219943405, frequency: 2939658
2015-Mar-16 17:50:17.623827 | server | 1 | core.timer | QPC count: 1422219943531, frequency: 2939658
2015-Mar-16 17:50:17.623827 | server | 0 | core.system | Initializing crash reporter
2015-Mar-16 17:50:32.607684 | server | 1 | app | radiant::core::Process.StartProcess failed to create process. Error code:5
2015-Mar-16 17:50:32.648686 | server | 0 | lua.data | lua jit is enabled
2015-Mar-16 17:50:33.593740 | server | 1 | resources | Modules are verified pristine.
2015-Mar-16 17:50:33.614741 | server | 1 | app | Running Stonehearth server on port 18369
2015-Mar-16 17:50:33.633743 | server | 1 | lua.code | could not find path for lua script ā€œlualibs/unclasslib.luaā€.
2015-Mar-16 17:50:33.641743 | server | 1 | lua.code | could not find path for lua script ā€œmodules/common.luaā€.
2015-Mar-16 17:50:33.641743 | server | 1 | lua.code | could not find path for lua script ā€œmodules/timer.luaā€.
2015-Mar-16 17:50:33.644743 | server | 1 | lua.code | could not find path for lua script ā€œstonehearth/stonehearth/lib/loot_table/loot_table.luaā€.
2015-Mar-16 17:50:33.659744 | server | 0 | mod stonehearth | greedy task scheduling enabled
2015-Mar-16 17:50:33.674745 | server | 1 | lua.code | could not find path for lua script ā€œstonehearth/radiant/modules/filtered_trace.luaā€.
2015-Mar-16 17:50:33.684745 | server | 1 | lua.code | could not find path for lua script ā€œstonehearth/stonehearth/lib/entity_forms/entity_forms_lib.luaā€.
2015-Mar-16 17:50:34.013764 | server | 1 | lua.memory | lua shared heap size: 2.976 MB. freelist overhead: 1.629 KB (0.053%). total bytes allocated: 2.978 MB.
2015-Mar-16 17:50:34.013764 | server | 1 | lua.memory | o: outstanding allocs, fl: free list len
2015-Mar-16 17:50:34.013764 | server | 1 | lua.memory | 32 bytes (o: 15127 fl: 0 0.00%) : ########################################
2015-Mar-16 17:50:34.013764 | server | 1 | lua.memory | 48 bytes (o: 6600 fl: 0 0.00%) : #################
2015-Mar-16 17:50:34.013764 | server | 1 | lua.memory | 24 bytes (o: 3699 fl: 0 0.00%) : #########
2015-Mar-16 17:50:34.013764 | server | 1 | lua.memory | 96 bytes (o: 2158 fl: 0 0.00%) : #####
2015-Mar-16 17:50:34.013764 | server | 1 | lua.memory | ā€¦ remaining allocs are each < 5% of the count
2015-Mar-16 17:50:34.387786 | server | 2 | network | server allocating new send buffer (total: 0)
2015-Mar-16 17:50:34.393786 | client | 1 | browser | cef started.
2015-Mar-16 17:50:34.394786 | client | 2 | browser | Navigate called without an existing browser!
2015-Mar-16 17:50:34.396786 | thread2264 | 2 | browser | Doing a buffered navigationā€¦
2015-Mar-16 17:50:34.476791 | client | 1 | lua.code | could not find path for lua script ā€œlualibs/unclasslib.luaā€.
2015-Mar-16 17:50:34.480791 | client | 1 | lua.code | could not find path for lua script ā€œmodules/common.luaā€.
2015-Mar-16 17:50:34.480791 | client | 1 | lua.code | could not find path for lua script ā€œmodules/timer.luaā€.
2015-Mar-16 17:50:34.485791 | client | 2 | network | client allocating new send buffer (total: 0)
2015-Mar-16 17:50:34.487791 | server | 2 | network | server allocating new send buffer (total: 0)
2015-Mar-16 17:50:34.504792 | client | 1 | client.core | user feedback is on
2015-Mar-16 17:50:34.538794 | server | 1 | simulation.remote_client | started buffering client updates. (seq:10 ack:0)
2015-Mar-16 17:50:35.056824 | server | 1 | simulation.remote_client | stopped buffering client updates. (seq:10 ack:10)
2015-Mar-16 17:50:37.652972 | server | 1 | simulation.remote_client | started buffering client updates. (seq:71 ack:61)
2015-Mar-16 17:50:37.859984 | server | 1 | simulation.remote_client | stopped buffering client updates. (seq:71 ack:71)
2015-Mar-16 17:50:48.626600 | client | 1 | client.core | reporting sysinfo
2015-Mar-16 17:51:19.196349 | client | 1 | lua.code | unrecognized object type ā€˜boxedā€™ in json_to_lua!
2015-Mar-16 17:51:19.196349 | client | 1 | lua.code | unrecognized object type ā€˜boxedā€™ in json_to_lua!
2015-Mar-16 17:51:34.050198 | server | 1 | lua.memory | lua shared heap size: 35.758 MB. freelist overhead: 8.776 MB (24.54%). total bytes allocated: 44.534 MB.
2015-Mar-16 17:51:34.053198 | server | 1 | lua.memory | o: outstanding allocs, fl: free list len
2015-Mar-16 17:51:34.053198 | server | 1 | lua.memory | 80 bytes (o: 95312 fl: 68119 71.47%) : ########################################
2015-Mar-16 17:51:34.053198 | server | 1 | lua.memory | 32 bytes (o: 86133 fl: 0 0.00%) : ####################################
2015-Mar-16 17:51:34.053198 | server | 1 | lua.memory | 24 bytes (o: 40087 fl: 50023 124.79%) : ################
2015-Mar-16 17:51:34.053198 | server | 1 | lua.memory | 96 bytes (o: 20133 fl: 1 0.00%) : ########
2015-Mar-16 17:51:34.053198 | server | 1 | lua.memory | 192 bytes (o: 18846 fl: 0 0.00%) : #######
2015-Mar-16 17:51:34.053198 | server | 1 | lua.memory | 48 bytes (o: 15792 fl: 7209 45.65%) : ######
2015-Mar-16 17:51:34.053198 | server | 1 | lua.memory | ā€¦ remaining allocs are each < 5% of the count
2015-Mar-16 17:51:37.576400 | server | 1 | simulation.remote_client | started buffering client updates. (seq:991 ack:981)
2015-Mar-16 17:51:37.673405 | server | 1 | simulation.remote_client | stopped buffering client updates. (seq:991 ack:985)
2015-Mar-16 17:51:37.777411 | server | 1 | simulation.remote_client | started buffering client updates. (seq:995 ack:985)
2015-Mar-16 17:51:38.053427 | server | 1 | simulation.remote_client | stopped buffering client updates. (seq:995 ack:991)
2015-Mar-16 17:51:38.080429 | server | 1 | simulation.remote_client | started buffering client updates. (seq:1001 ack:991)
2015-Mar-16 17:51:38.285440 | server | 1 | simulation.remote_client | stopped buffering client updates. (seq:1001 ack:995)
2015-Mar-16 17:51:38.351444 | server | 1 | simulation.remote_client | started buffering client updates. (seq:1006 ack:995)
2015-Mar-16 17:51:38.591458 | server | 1 | simulation.remote_client | stopped buffering client updates. (seq:1006 ack:1001)
2015-Mar-16 17:51:38.646461 | server | 1 | simulation.remote_client | started buffering client updates. (seq:1012 ack:1001)
2015-Mar-16 17:51:38.897475 | server | 1 | simulation.remote_client | stopped buffering client updates. (seq:1012 ack:1006)
2015-Mar-16 17:51:46.603916 | server | 1 | simulation.remote_client | started buffering client updates. (seq:1168 ack:1158)
2015-Mar-16 17:51:48.185007 | server | 1 | simulation.remote_client | stopped buffering client updates. (seq:1168 ack:1160)
2015-Mar-16 17:51:48.235009 | server | 1 | simulation.remote_client | started buffering client updates. (seq:1200 ack:1160)
2015-Mar-16 17:51:48.340016 | server | 1 | simulation.remote_client | stopped buffering client updates. (seq:1200 ack:1200)
2015-Mar-16 17:52:34.075631 | server | 1 | lua.memory | lua shared heap size: 46.835 MB. freelist overhead: 4.063 MB (8.68%). total bytes allocated: 50.898 MB.
2015-Mar-16 17:52:34.075631 | server | 1 | lua.memory | o: outstanding allocs, fl: free list len
2015-Mar-16 17:52:34.075631 | server | 1 | lua.memory | 80 bytes (o: 189112 fl: 0 0.00%) : ########################################
2015-Mar-16 17:52:34.075631 | server | 1 | lua.memory | 32 bytes (o: 137276 fl: 39880 29.05%) : #############################
2015-Mar-16 17:52:34.075631 | server | 1 | lua.memory | 24 bytes (o: 94635 fl: 16778 17.73%) : ####################
2015-Mar-16 17:52:34.075631 | server | 1 | lua.memory | 20 bytes (o: 32032 fl: 4385 13.69%) : ######
2015-Mar-16 17:52:34.075631 | server | 1 | lua.memory | 96 bytes (o: 24471 fl: 1693 6.92%) : #####
2015-Mar-16 17:52:34.075631 | server | 1 | lua.memory | ā€¦ remaining allocs are each < 5% of the count
2015-Mar-16 17:53:34.110065 | server | 1 | lua.memory | lua shared heap size: 44.577 MB. freelist overhead: 7.055 MB (15.83%). total bytes allocated: 51.633 MB.
2015-Mar-16 17:53:34.110065 | server | 1 | lua.memory | o: outstanding allocs, fl: free list len
2015-Mar-16 17:53:34.110065 | server | 1 | lua.memory | 80 bytes (o: 162636 fl: 32159 19.77%) : ########################################
2015-Mar-16 17:53:34.110065 | server | 1 | lua.memory | 32 bytes (o: 135715 fl: 41441 30.54%) : #################################
2015-Mar-16 17:53:34.110065 | server | 1 | lua.memory | 24 bytes (o: 89199 fl: 22214 24.90%) : #####################
2015-Mar-16 17:53:34.110065 | server | 1 | lua.memory | 20 bytes (o: 29554 fl: 6863 23.22%) : #######
2015-Mar-16 17:53:34.110065 | server | 1 | lua.memory | 192 bytes (o: 26857 fl: 0 0.00%) : ######
2015-Mar-16 17:53:34.110065 | server | 1 | lua.memory | ā€¦ remaining allocs are each < 5% of the count
2015-Mar-16 17:54:34.145499 | server | 1 | lua.memory | lua shared heap size: 49.347 MB. freelist overhead: 7.652 MB (15.51%). total bytes allocated: 56.999 MB.
2015-Mar-16 17:54:34.145499 | server | 1 | lua.memory | o: outstanding allocs, fl: free list len
2015-Mar-16 17:54:34.145499 | server | 1 | lua.memory | 80 bytes (o: 218920 fl: 21708 9.92%) : ########################################
2015-Mar-16 17:54:34.145499 | server | 1 | lua.memory | 32 bytes (o: 139935 fl: 57920 41.39%) : #########################
2015-Mar-16 17:54:34.145499 | server | 1 | lua.memory | 24 bytes (o: 85776 fl: 41465 48.34%) : ###############
2015-Mar-16 17:54:34.145499 | server | 1 | lua.memory | 192 bytes (o: 30432 fl: 0 0.00%) : #####
2015-Mar-16 17:54:34.145499 | server | 1 | lua.memory | ā€¦ remaining allocs are each < 5% of the count
2015-Mar-16 17:55:34.171932 | server | 1 | lua.memory | lua shared heap size: 53.718 MB. freelist overhead: 4.616 MB (8.59%). total bytes allocated: 58.334 MB.
2015-Mar-16 17:55:34.171932 | server | 1 | lua.memory | o: outstanding allocs, fl: free list len
2015-Mar-16 17:55:34.171932 | server | 1 | lua.memory | 80 bytes (o: 215585 fl: 25043 11.62%) : ########################################
2015-Mar-16 17:55:34.171932 | server | 1 | lua.memory | 32 bytes (o: 180810 fl: 17045 9.43%) : #################################
2015-Mar-16 17:55:34.171932 | server | 1 | lua.memory | 24 bytes (o: 117583 fl: 9658 8.21%) : #####################
2015-Mar-16 17:55:34.172932 | server | 1 | lua.memory | 20 bytes (o: 35298 fl: 3202 9.07%) : ######
2015-Mar-16 17:55:34.172932 | server | 1 | lua.memory | ā€¦ remaining allocs are each < 5% of the count
2015-Mar-16 17:55:48.762767 | client | 1 | client.core | reporting sysinfo
2015-Mar-16 17:55:49.850829 | client | 0 | renderer.renderer | window closed. exiting process
ā€

I would have pointed out thisā€¦ but, only after alpha 9?

Hi @Waarheid, have you tried adjusting your graphics settings a bit? Some of my recent changes involved trying to automatically select a graphics quality appropriate to your PC, but it might need a little more calibration! During the game, you can hit ā€˜escapeā€™, select ā€˜optionsā€™ from the menu and adjust your graphics settings there. You can try turning off anti-aliasing, or even disabling ā€˜high quality graphicsā€™ altogether.

Let me know if any of that helps!

2 Likes

@not_owen_wilson , Iā€™ve had serious lag as well the last few builds, but I just maxed everything and turned ambient occlusion OFF and itā€™s fast and smooth as butter! Might look there for trouble. High quality graphics is fine, but ambient occlusion kills the frame rate. Iā€™ve got very good system specs, so this shouldnā€™t be an issue on my build. (my specs are floating around here in several threads)

On an unrelated note, the game just crashed and vanished while I was writing this postā€¦ grrrrrr

Iā€™ve got a few optimizations coming up (maybe for A9? Definitely for A10) that should help; some are general, and one is specific for SSAO. Even then, thereā€™s still room for more workā€¦lots to do!

1 Like

That sounds great! I have not tried playing around with the graphics as of yet since the game was running smooth as butter on the default settings the build previous to 210. Maybe something changed with the graphics rendering in this build that would change those default settings. I will play around with them and try your suggestions and get back with you.

OK, after some playing with the graphics settings I have found that the frame rate drop happens when I check the ā€œEnable High Quality Graphicsā€ option in the Graphics Settings. I have Maxed the Shadow Detail, Max Number of Lights and Draw Distance without any drop in frames. As soon as I check the enable High Quality Graphics leaving the Ambient Occlusion and Anti-Aliasing level off the frame rate dropped significantly on my system.

Not sure if this is a limitation of my specific system specs or an issue with the game on the GTX280 though. I do play a bunch of other high end games without much issue.

1 Like