AtomicGameEngine / AtomicGameEngine

The Atomic Game Engine is a multi-platform 2D and 3D engine with a consistent API in C++, C#, JavaScript, and TypeScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Atomic Editor] Unusuable, sometimes crashing

mhfreund opened this issue · comments

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 cefsharp/CefSharp#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

@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.