* Output of `node_modules/.bin/electron --version`: 2.0.10 or 2.0.11
* Operating System (Platform and Version): Debian GNU/Linux 9.5 (stretch)

**Expected Behavior**

[I should see this](https://github.com/ssbc/patchwork/issues/844#issuecomment-426664276)

**Actual behavior**

[I get that](https://github.com/ssbc/patchwork/issues/844#issuecomment-426661104)

**To Reproduce**

[steps followed](https://github.com/ssbc/patchwork/issues/844#issuecomment-426659900)

**Screenshots**

(same as Actual behavior)

[screenshot](https://github.com/ssbc/patchwork/issues/844#issuecomment-426661104)

**Additional Information**

[Disabling gpu works](https://github.com/ssbc/patchwork/issues/844#issuecomment-426687315), hence, applying argument `--disable-gpu`

My graphical card is

```
 $ lspci -k | grep -A3 VGA
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
	Subsystem: Dell Haswell-ULT Integrated Graphics Controller
	Kernel driver in use: i915
	Kernel modules: i915
```

Is strange that is not working with this graphic card that I had no problems with any other application

Electron should provide a common solution found in other applications:

- solving the bug itself (looks related just to electron)
- a fallback disabling gpu automatically (and notifying it in logs)
- catch the error and print in stdout suggesting the user to apply `--disable-gpu`
atom/app/atom_main.cc
#include "content/public/app/sandbox_helper_win.h"
#include "sandbox/win/src/sandbox_types.h"
#elif defined(OS_LINUX)                   
#include "atom/app/atom_main_delegate.h"  
#include "content/public/app/content_main.h"
#else  
#include "atom/app/atom_library_main.h"
#endif  
#include "atom/app/node_main.h"
#include "atom/common/atom_command_line.h"
#include "base/at_exit.h"
#include "base/i18n/icu_util.h"
#include "electron/buildflags/buildflags.h"
namespace {
#if BUILDFLAG(ENABLE_RUN_AS_NODE)
const char kRunAsNode[] = "ELECTRON_RUN_AS_NODE";
#endif
bool IsEnvSet(const char* name) {
#if defined(OS_WIN)
  size_t required_size;
  getenv_s(&required_size, nullptr, 0, name);
  return required_size != 0;
#else
  char* indicator = getenv(name);
  return indicator && indicator[0] != '\0';
#endif
}
}  
#if defined(OS_WIN)
int APIENTRY wWinMain(HINSTANCE instance, HINSTANCE, wchar_t* cmd, int) {