Crash on startup with OpenGL error

Summary:
hello all, I’ve got this error when installing the game on a new computer.
Thanks for any help you can give.

windows error popup asking to update my drivers in order to support OpenGL which seems weird to me because I run on a Geforce 1050 with the latest game-ready drivers

Stonehearth.log:

2020-12-23 17:28:47.474530 | server | 1 | app | Stonehearth Version 1.1.0.949 (x64)
2020-12-23 17:28:47.474530 | server | 1 | core.config | user id is 80c14593-8ad9-4d0e-8915-1813a6b15f32
2020-12-23 17:28:47.474530 | server | 1 | core.config | session id is 88d692a1-a2f9-49d2-ba1d-2d99be0b729d
2020-12-23 17:28:47.474530 | server | 0 | app | Steam present.
2020-12-23 17:28:47.474530 | server | 0 | core.system | Initializing crash reporter
2020-12-23 17:28:50.097523 | server | 1 | resources | Modules are verified pristine.
2020-12-23 17:28:50.171548 | server | 0 | app | Running Stonehearth server on port 55383
2020-12-23 17:28:50.171548 | client | 0 | client.core | Connecting to local server…
2020-12-23 17:28:50.171548 | server | 0 | physics.navgrid | subspace pathfinder is enabled
2020-12-23 17:28:50.174524 | client | 1 | game_engine | Initializing OpenGL
2020-12-23 17:28:50.187521 | server | 1 | mod radiant | lua controller lifetime tracking set to “nil”
2020-12-23 17:28:50.215520 | server | 0 | mod stonehearth.ai.service | enable_cpp_placeholders is on
2020-12-23 17:28:50.215520 | server | 0 | mod stonehearth.ai.service | enable_cpp_compound_action is on
2020-12-23 17:28:50.259523 | client | 1 | game_engine | Determining window placement
2020-12-23 17:28:50.259523 | client | 1 | game_engine | Selecting monitor at 990, 570
2020-12-23 17:28:50.259523 | client | 1 | game_engine | Creating OpenGL Window
2020-12-23 17:28:52.072523 | client | 1 | game_engine | GLFW Error (65542): WGL: The driver does not appear to support OpenGL
2020-12-23 17:28:54.939522 | client | 1 | game_engine | Error trying to create glfw window. (size:(1920, 1080) fullscreen:false)
2020-12-23 17:28:54.941525 | client | 1 | game_engine | Display device 0: Intel® UHD Graphics 620
2020-12-23 17:28:54.941525 | client | 1 | game_engine | Display device 1: Intel® UHD Graphics 620
2020-12-23 17:28:54.941525 | client | 1 | game_engine | Display device 2: Intel® UHD Graphics 620
2020-12-23 17:28:54.942523 | client | 1 | game_engine | Display device 3: NVIDIA GeForce GTX 1050 with Max-Q Design
2020-12-23 17:28:54.942523 | client | 1 | game_engine | Display device 4: Asus ScreenPad Display
2020-12-23 17:28:54.942523 | client | 1 | game_engine | Display device 5: LuminonCore IDDCX Adapter
2020-12-23 17:28:54.942523 | client | 1 | game_engine | Display device 6: LuminonCore IDDCX Adapter
2020-12-23 17:28:54.943524 | client | 1 | game_engine | Display device 7: LuminonCore IDDCX Adapter
2020-12-23 17:28:54.943524 | client | 1 | game_engine | Display device 8: LuminonCore IDDCX Adapter
2020-12-23 17:28:54.943524 | client | 1 | game_engine | Display device 9: LuminonCore IDDCX Adapter
2020-12-23 17:28:54.943524 | client | 1 | game_engine | Display device 10: LuminonCore IDDCX Adapter
2020-12-23 17:28:54.944524 | client | 1 | game_engine | Display device 11: LuminonCore IDDCX Adapter
2020-12-23 17:28:54.944524 | client | 1 | game_engine | Display device 12: LuminonCore IDDCX Adapter
2020-12-23 17:28:54.944524 | client | 1 | game_engine | Display device 13: LuminonCore IDDCX Adapter
2020-12-23 17:28:54.944524 | client | 1 | game_engine | Display device 14: LuminonCore IDDCX Adapter
2020-12-23 17:28:54.944524 | client | 1 | game_engine | Display device 15: LuminonCore IDDCX Adapter
2020-12-23 17:28:54.945523 | client | 1 | game_engine | Display device 16: LuminonCore IDDCX Adapter
2020-12-23 17:28:54.945523 | client | 1 | game_engine | Display device 17: LuminonCore IDDCX Adapter
2020-12-23 17:28:54.945523 | client | 1 | game_engine | Display device 18: LuminonCore IDDCX Adapter
2020-12-23 17:28:54.945523 | client | 1 | game_engine | Display device 19: LuminonCore IDDCX Adapter
2020-12-23 17:28:54.945523 | client | 1 | game_engine | Display device 20: LuminonCore IDDCX Adapter
2020-12-23 17:28:54.946524 | client | 0 | core.system | Error: Unable to create glfw window: WGL: The driver does not appear to support OpenGL (code: 65542)

Attachments:

don’t have any crash dump file

Versions and Mods:

I’m on the latest minimally tested update channel with no mods activated exept if the A.C.E has been enabled

System Information:

I5 8th generation, 8g ram, GTX1050 2g vram, laptop display 14 inch
game is forced to use the nvidia card, i set it in nvidia control panel

Are you certain the drivers are up to date

Regardless of what is set in the nvidia control panel, the error suggests that it’s trying to use a different graphics device. My memory is fuzzy now, but Selecting monitor at 990, 570 may also mean that it’s trying to use a screen other than the primary one. Try switching to/from fullscreen or resetting window/screen location to 0 by editing user_settings.json (search around the forum for examples).

Ok thanks a lot, I will try those solutions. yeah I’m sure that my nvidia drivers are up to date:

maybe it’s selecting the screen pad of my Asus laptop as a monitor :thinking: I will try deactivating it while launching the game

ok, I’ve found the error apparently :slightly_smiling_face:

the virtual gc used by the philips ambilight system

was taking over my nvidia GC apparently causing the window generation error.
the solution was to disable the gc when starting the game and once it started re-enable it
thanks again for the help hope this will help others.

1 Like

here’s some picture of what I did from the device manager
image
image

sry they’re in French (-_- cause i’m French ^^) but the order stay the same in English

1 Like