AtomicGameEngine / AtomicGameEngine

The Atomic Game Engine is a multi-platform 2D and 3D engine with a consistent API in C++, C#, JavaScript, and TypeScript
Other
3.17k stars 566 forks source link

[Atomic Editor] Unusuable, sometimes crashing #1640

Open mhfreund opened 6 years ago

mhfreund commented 6 years ago

The Editor is lagging slow and thus unusuable. Sometimes even crashes occur. The Problem may be here: (taken from the CEF log, Messages repeated all over again):

[0823/024737:ERROR:gles2_cmd_decoder.cc(4643)] Error: 5 for Command kPostSubBufferCHROMIUM [0823/024737:ERROR:gpu_channel_manager.cc(222)] Exiting GPU process because some drivers cannot recover from problems. [0823/024737:ERROR:gpu_process_transport_factory.cc(761)] Lost UI shared context. [0823/024738:ERROR:gles2_cmd_decoder.cc(13126)] Context lost because SwapBuffers failed.

My machine is a Lenovo X230, INTEL HD 4000, Win7, newest drivers

A solution may be: (Taken from https://github.com/cefsharp/CefSharp/issues/1634)

Simply workaround is to use the --disable-gpu command line flag … //settings.CefCommandLineArgs.Add(“disable-gpu”, “1”);

Suggestion: Put a setting in the JSON to disable GPU

mattbenic commented 6 years ago

@mhfreund have you been able to confirm this CEF switch would solve the problem? If so adding an option to the preferences file to be found in C:/Users//AppData/Roaming/AtomicEditor/Preferences wouldn't be a difficult change.