Summary:
In Stonehearth, even in the very beginning of the game, I experience a momentary freeze every few seconds. This makes the game painful to play, and I cannot find an explanation, although I admit that I am not the most tech savvy person. The lag exists even when all hearthlings are idle, and there are no buildings and minimal objects. Changing the graphical quality of the game has absolutely no effect on the lag. This lag began with the drop of alpha 15, and has persisted ever since
Steps to reproduce:
Start a world on Stonehearth. Thats it.
Notes:
Attachments:
Windows 10stonehearth log.txt (381.7 KB) Version Number and Mods in use:
Alpha 16, release 552. 64 bit. I have no mods in use
System Information:
GPU: GeForce GTX 960m
CPU: Intel Core i7-6700HQ
16g: RAM
Res: 1920 x 1080
Sorry to hear the game isnât performing well. Your rig looks plenty fast, so there must be something strange going on. Can you please post your stonehearth.log file AFTER doing the following:
Launch Stonhearth, and once youâre in it and have started a new game (or loaded) and are experiencing lag, hit âescâ to go to the menu, then âsettingsâ, then open the âsystemâ tab. Youâll see a big âCollect profileâ button. Click that, and wait about 5 seconds (the button should become disabled, and then enabled once itâs done collecting the profile). Once thatâs done, please attach your stonehearth.log file, located in either C:\Program Files (x86)\Steam\steamapps\common\Stonehearth for a typical steam install, or C:\Program Files (x86)\Stonehearth\ for a Humble install.
Iâm sure a dev will bimp your status soon to make attachments possible⌠in the meantime, have you checked that stonehearth is using your dedicated graphics card and not the integrated one (if you are on a laptop)
It looks like Stonehearth may have been using the integrated card, and now its using the nvidia card. I hopped back into my world, but no dice. The problem persists.
Just curious, because I donât see this being asked, has it ever ran well for you? If it did, when did the lag start? What could have changed on your system that day?
Lag started with alpha 15, and I took a break for a while. Once I heard that alpha 16 dropped, I had hoped that my problems would have been solved. Before 15, It played perfectly fine.
oh I see it now, youâre running in 32bit mode and your system can handle 64bit.
Under Settings > System, is âForce 32-bitâ checked off? if so, please uncheck that.
edit: first line in your log file has âStonehearth Version 0.16.0.553 (x32)â x32 instead of x64. The game is starved for available resources hitting the 2GB cap.
Two things, a question and more digging on your part. 1. Between build 15 and 16, did you install or change anything on your system?
Have a look in your \Stonehearth directory, open/edit the file âuser_settings.jsonâ and search for, without quotes âforce_32_bitâ if that says false then thatâs too bad as there goes that idea. If itâs true, change it to false - all lower case, but Iâm honestly not sure if itâs case sensitive.
Iâve had a work system get mad at this game because it had its virus checker constantly verifying active/open files. That was slow every few minutes but ehh⌠long shot for you.
Iâm out of ideas if the 32-bit doesnât pan out in the settings file. Might need to wait for more Raidiant folks tomorrow when theyâre back on the clock.
Well, Iâve found what appears to be a separate 64 bit launcher in the Stonehearth directory, and for whatever reason its not the default. When launched, it has (64) in the upper left corner, the default launcher had a (32) in said corner. Playing some of what I assume to be the 64 bit version, there doesnât seem to be much notable difference. Also not sure how to launch the 64 bit version on steam
Do me a favor and look at the breakdown of resources in the lower right section of your screen. You should be able to click on the little bar down there to get a more detailed idea of what is using resources. I would be willing to bet that itâs related to this thread.
Very strange. This seems to be related to some combinations of nVidia hardware and drivers (and maybe OS?); Iâm running on a 670GTX with 365.19 (same version as you) on Windows 7, but I donât see this issue. But youâre not the first to see this, either. Iâm going to send you a private message with a link to a custom build of Stonehearth that has some advanced logging capabilities in it; hopefully that will help figure out whatâs going on in the gpuâŚ
Ugh, nevermind. Iâm an idiotâthe gpu isnât the culprit, itâs the server->client communication. The log you posted is littered with âstarted/stopped bufferingâ, which is almost certainly the important bit. What is amazing is that this seems to happen almost instantly, even during the title screen. The basic idea here is the server is always trying to tell the client stuff (what happened in the game: who moved where, what kind of effect to play when a block is placed, etc.) If the server keeps sending the client data, but the client never processes/acknowledges that data, the server starts buffering that data: holding on to it until the client finishes whatever it is doing.
So: given that this happens right on startup, where we are barely transferring anything, suggests maybe something at the OS level interfering with Stonehearth. Are you running any anti-virus software, or ip-proxy software? Aggressive firewall stuff? Anything that affects networking? If so, can you try disabling these things and see if that has any effect?