Crash starting Stonehearth after changing to Fullscreen

Summary:

When first installing the game I have no issues with it at all, the game loads, there is music and I can generate maps and play normally, however when I change to Fullscreen mode, exit and reload the game the game will not load and will give me a crash report, it is only when I change the user_settings.json and set Fullscreen to false does it work again.

This normally wouldn’t be an issue however my computer struggles badly playing any games in Window Mode, any help or work around this issue will greatly be appreciated as I’m eager to start playing Stonehearth for the first time. ^^

Thank you very much, please if you need more information I’m more then happy to provide.

Stonehearth.log:

2017-01-01 13:00:58.041076 | server | 1 | app | Stonehearth Version 0.19.0.687 (x64)
2017-01-01 13:00:58.041076 | server | 1 | core.config | user id is 50df51d6-d021-11e6-9496-643150464ff0
2017-01-01 13:00:58.041076 | server | 1 | core.config | session id is 56852589-d022-11e6-badf-643150464ff0
2017-01-01 13:00:58.109704 | server | 0 | core.system | Initializing crash reporter
2017-01-01 13:00:58.625434 | server | 0 | lua.data | lua jit is disabled
2017-01-01 13:00:58.656689 | server | 1 | resources | Module rayyas_children_ui version 3 is deferred load)
2017-01-01 13:01:02.089497 | server | 1 | resources | Modules are verified pristine.
2017-01-01 13:01:02.131501 | server | 1 | app | Running Stonehearth server on port 35927
2017-01-01 13:01:02.132001 | server | 0 | physics.navgrid | subspace pathfinder is enabled
2017-01-01 13:01:02.133001 | client | 1 | renderer.renderer | Initializing OpenGL
2017-01-01 13:01:02.136501 | client | 1 | renderer.renderer | Determining window placement
2017-01-01 13:01:02.136501 | client | 1 | renderer.renderer | Selecting fullscreen monitor at 8, 54
2017-01-01 13:01:02.136501 | client | 1 | renderer.renderer | Creating OpenGL Window
2017-01-01 13:01:02.158004 | server | 1 | mod radiant | lua controller lifetime tracking set to “nil”
2017-01-01 13:01:02.188508 | server | 0 | mod stonehearth.ai.service | enable_cpp_compound_action is on
2017-01-01 13:01:03.834913 | client | 1 | renderer.renderer | GLFW Error (65544): Win32: Failed to set video mode on adapter \ (error: -2)
2017-01-01 13:01:03.850541 | client | 1 | renderer.renderer | Error trying to create glfw window. (size:(1920, 1080) fullscreen:true)
2017-01-01 13:01:03.850541 | client | 1 | renderer.renderer | Display device 0: NVIDIA GeForce GT 730
2017-01-01 13:01:03.850541 | client | 1 | renderer.renderer | Display device 1: NVIDIA GeForce GT 730
2017-01-01 13:01:03.850541 | client | 1 | renderer.renderer | Display device 2: NVIDIA GeForce GT 730
2017-01-01 13:01:03.850541 | client | 0 | sysinfo | Memory Stats: Fatal Exception
2017-01-01 13:01:03.850541 | client | 0 | sysinfo | Total System Memory: 9.999 GB (10736664576 bytes)
2017-01-01 13:01:03.850541 | client | 0 | sysinfo | Current Memory Usage: 78.543 MB (82358272 bytes)
2017-01-01 13:01:03.850541 | client | 0 | sysinfo | Total Address Space: 128.000 TB (140737488224256 bytes)
2017-01-01 13:01:03.850541 | client | 0 | sysinfo | Available Address Space: 128.000 TB (140737097588736 bytes)
2017-01-01 13:01:03.850541 | client | 0 | sysinfo | Used Address Space: 372.539 MB (390635520 bytes)

Attachments:

crash.dmp (65.5 KB)

Versions and Mods:

Stonehearth Alpha 19 (No Mods)

System Information:

Windows: Upgraded Windows 10 64-bit (Originally: Microsoft Windows 7 Home Premium Edition Service Pack 1 (build 7601), 64-bit)
Video Card: NVIDIA GeForce GT 730 (Drivers up to date)
CPU: AMD Athlon™ II X4 620 Processor
CPU Speed: 2.6 GHz
RAM: 10 GB
Available Disk Space: 65.9 GB
External monitor (Celcus 22-inch TV Screen)
Antivirus: AVG Free Trial (Enabled and Disabled with both resulting in the same reaction in the summary) (Stonehearth has been added in AVGs exceptions list as well.)

  • Additional Notes -

I have tried putting “enable_64_bit” : true, under my user_id with unfortunately no results.

1 Like

Hey there @YtHaar-Kih, welcome to the Discourse! Apologies for the delayed response, still catching up from everything over the holidays.

I’ve bumped up your permissions so please try and upload your crash file again.

No need to apologize the holidays are a time of family and friends not work, I’ve now uploaded the crash.dmp file, thank you very much for looking into this for me ^^

1 Like

Thanks for the crash dump. It looks as though AVG is trying to inject something into the game. Stonehearth’s UI is based on Chromium Embedded, so some antivirus solutions will try and add a “toolbar” or similar add-on to Stonehearth. Can you try disabling AVG’s toolbar installation (or AVG itself) to see if that helps?

How strange, after disabling AVG and uninstalling AVG Toolbar the issue still persisted, I’ve now completely uninstalled AVG, restarted my computer, uninstalled and reinstalled Stonehearth (As well as clearing all its folder in it’s Steam Directory) to try and remove any tampering AVG might have done however I still suffer from the same issue of being unable to fullscreen even with all trace of AVG now gone.

I have the new Crash.dmp if you’ll like to look into it, however with AVG now gone my performance in Stonehearth has drastically increased making it now playable in windowed mode, fullscreen becoming no longer an issue for myself personally, however I’m more then happy to carry on trying to find a solution to the problem for any over users on Crash Reports who are suffering from the same/similar situation.

crash.dmp (80.7 KB)

1 Like

I’m so glad to hear that windowed mode is working for you now! I will look more closely at your crash dump and logs to see if there is anything else, but it will take some time.

Edit: @YtHaar-Kih, no rush, but if you could please try launching in fullscreen mode again and upload the resulting log it would be helpful to have one without “AVG tampering” (the log is reset each launch, so if you haven’t played the game since the last fullscreen crash feel free to upload the log without launching the game).

No worries thank you so much for all your help as I’m now able to finally start playing Stonehearth! ^^ You have given me some really great support as well as being near instant with your replies, I can’t thank you enough for your eagerness to help me with these issues.

I’ve started the game again with what should be no AVG Tampering (AVG completely uninstalled and wiped from the computer as well as the game re-installed) setting the game to Fullscreen making it crash on startup.

  • Stonehearth.log -

2017-01-04 18:10:04.386203 | server | 1 | app | Stonehearth Version 0.19.0.687 (x64)
2017-01-04 18:10:04.401835 | server | 1 | core.config | user id is 75182742-d2a3-11e6-81b7-643150464ff0
2017-01-04 18:10:04.401835 | server | 1 | core.config | session id is 043e1410-d2a9-11e6-813f-643150464ff0
2017-01-04 18:10:04.401835 | server | 0 | core.system | Initializing crash reporter
2017-01-04 18:10:04.918958 | server | 0 | lua.data | lua jit is disabled
2017-01-04 18:10:04.965834 | server | 1 | resources | Module rayyas_children_ui version 3 is deferred load)
2017-01-04 18:10:08.395245 | server | 1 | resources | Modules are verified pristine.
2017-01-04 18:10:08.448644 | server | 1 | app | Running Stonehearth server on port 62155
2017-01-04 18:10:08.448644 | client | 1 | renderer.renderer | Initializing OpenGL
2017-01-04 18:10:08.448644 | server | 0 | physics.navgrid | subspace pathfinder is enabled
2017-01-04 18:10:08.464263 | client | 1 | renderer.renderer | Determining window placement
2017-01-04 18:10:08.464263 | client | 1 | renderer.renderer | Selecting fullscreen monitor at 16, 62
2017-01-04 18:10:08.464263 | client | 1 | renderer.renderer | Creating OpenGL Window
2017-01-04 18:10:08.479890 | server | 1 | mod radiant | lua controller lifetime tracking set to "nil"
2017-01-04 18:10:08.517657 | server | 0 | mod stonehearth.ai.service | [] enable_cpp_compound_action is on
2017-01-04 18:10:10.420743 | client | 1 | renderer.renderer | GLFW Error (65544): Win32: Failed to set video mode on adapter \ (error: -2)
2017-01-04 18:10:10.422743 | client | 1 | renderer.renderer | Error trying to create glfw window. (size:(1920, 1080) fullscreen:true)
2017-01-04 18:10:10.422743 | client | 1 | renderer.renderer | Display device 0: NVIDIA GeForce GT 730
2017-01-04 18:10:10.422743 | client | 1 | renderer.renderer | Display device 1: NVIDIA GeForce GT 730
2017-01-04 18:10:10.422743 | client | 1 | renderer.renderer | Display device 2: NVIDIA GeForce GT 730
2017-01-04 18:10:10.422743 | client | 0 | sysinfo | Memory Stats: Fatal Exception
2017-01-04 18:10:10.422743 | client | 0 | sysinfo | Total System Memory: 9.999 GB (10736664576 bytes)
2017-01-04 18:10:10.422743 | client | 0 | sysinfo | Current Memory Usage: 78.863 MB (82694144 bytes)
2017-01-04 18:10:10.422743 | client | 0 | sysinfo | Total Address Space: 128.000 TB (140737488224256 bytes)
2017-01-04 18:10:10.422743 | client | 0 | sysinfo | Available Address Space: 128.000 TB (140737094963200 bytes)
2017-01-04 18:10:10.422743 | client | 0 | sysinfo | Used Address Space: 375.043 MB (393261056 bytes)

Some quick searching on the GLFW error code…do you by change have multiple monitors connected, or just the one 22-inch TV screen?

I’m using only the single 22-inch TV screen, I do not have a multi-screen setup.

1 Like

OK, that eliminates that…Can you take a look in device manager for me in the monitors section? To access device manager, right click on the start button (windows logo), and then left click on device manager. Let me know what you see there.

I have a single Device under Monitors; Generic PnP Monitor

OK, two things to try (thanks for sticking with me here):

  1. Can you confirm that it is enabled? A disabled device would have a small downward arrow on the icon.
  2. Can you try updating the device? It should have the device name listed, not “Generic”. Right click on the device, click update driver, select automatic.

My monitor is both enabled and is up-to-date, I have taken a screenshot just to make sure.

1 Like

Darn…I’ll keep digging.

Edit: I’m running out of ideas here… @Albert, any thoughts?

Hmm, nothing comes to mind. @not_owen_wilson might have some insight.

1 Like

This is happening to me, my monitor is a LG TV and the game only runs with fullscreen disabled.

LOG:

2017-06-05 09:05:35.572123 | server | 1 | app | Stonehearth Version 0.21.0.707 (x64)
2017-06-05 09:05:35.573123 | server | 1 | core.config | user id is 9e4a0448-1fa4-11e7-bc6e-50465d06fa5a
2017-06-05 09:05:35.573123 | server | 1 | core.config | session id is 4833b6f4-49e7-11e7-a5ca-50465d06fa5a
2017-06-05 09:05:35.575123 | server | 0 | core.system | Initializing crash reporter
2017-06-05 09:05:35.576123 | server | 0 | lua.data | lua jit is disabled
2017-06-05 09:05:39.579352 | server | 1 | resources | Module “stonehearth” hash 14a39a750bcf18278b1f078897c45feb40330e6334c8e99934a9fe22c9ae1d03 != c34fd278be07d5e2c6b33cfd3691dc80ba27b7c2f7e8ddcb855f8fbfbef18ec3. Assuming user modified.
2017-06-05 09:05:39.579352 | server | 1 | resources | Modules have been modified by the user!
2017-06-05 09:05:39.615354 | server | 1 | app | Running Stonehearth server on port 60521
2017-06-05 09:05:39.616354 | client | 1 | renderer.renderer | Initializing OpenGL
2017-06-05 09:05:39.616354 | server | 0 | physics.navgrid | subspace pathfinder is enabled
2017-06-05 09:05:39.619354 | client | 1 | renderer.renderer | Determining window placement
2017-06-05 09:05:39.619354 | client | 1 | renderer.renderer | Selecting fullscreen monitor at 0, 0
2017-06-05 09:05:39.619354 | client | 1 | renderer.renderer | Creating OpenGL Window
2017-06-05 09:05:39.667357 | server | 1 | mod radiant | lua controller lifetime tracking set to "nil"
2017-06-05 09:05:39.696358 | server | 0 | mod stonehearth.ai.service | [] enable_cpp_compound_action is on
2017-06-05 09:05:39.885369 | client | 1 | renderer.renderer | GLFW Error (65544): Win32: Failed to set video mode on adapter \ (error: -2)
2017-06-05 09:05:39.923371 | client | 1 | renderer.renderer | Error trying to create glfw window. (size:(1920, 1080) fullscreen:true)
2017-06-05 09:05:39.924371 | client | 1 | renderer.renderer | Display device 0: AMD Radeon ™ R7 360 Series
2017-06-05 09:05:39.924371 | client | 1 | renderer.renderer | Display device 1: AMD Radeon ™ R7 360 Series
2017-06-05 09:05:39.925372 | client | 1 | renderer.renderer | Display device 2: AMD Radeon ™ R7 360 Series
2017-06-05 09:05:39.925372 | client | 1 | renderer.renderer | Display device 3: AMD Radeon ™ R7 360 Series
2017-06-05 09:05:39.927372 | client | 1 | renderer.renderer | Display device 4: AMD Radeon ™ R7 360 Series
2017-06-05 09:05:39.928372 | client | 1 | renderer.renderer | Display device 5: AMD Radeon ™ R7 360 Series
2017-06-05 09:05:39.928372 | client | 1 | renderer.renderer | Display device 6: RDPDD Chained DD
2017-06-05 09:05:39.928372 | client | 1 | renderer.renderer | Display device 7: RDP Encoder Mirror Driver
2017-06-05 09:05:39.928372 | client | 1 | renderer.renderer | Display device 8: RDP Reflector Display Driver
2017-06-05 09:05:39.929372 | client | 0 | core.system | Error: Unable to create glfw window: Win32: Failed to set video mode on adapter \ (error: -2) (code: 65544)