* 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
#endif
#if BUILDFLAG(ENABLE_RUN_AS_NODE)
  if (run_as_node) {
    std::vector<char*> argv(arguments.argc);
    std::transform(
        arguments.argv, arguments.argv + arguments.argc, argv.begin(),
        [](auto& a) { return _strdup(base::WideToUTF8(a).c_str()); });
    base::AtExitManager atexit_manager;
    base::i18n::InitializeICU();
    auto ret = atom::NodeMain(argv.size(), argv.data());
    std::for_each(argv.begin(), argv.end(), free);
    return ret;
  }
#endif
  if (IsEnvSet("ELECTRON_INTERNAL_CRASH_SERVICE")) {
    return crash_service::Main(cmd);
  }
  if (!atom::CheckCommandLineArguments(arguments.argc, arguments.argv))
    return -1;
  sandbox::SandboxInterfaceInfo sandbox_info = {0};
  content::InitializeSandboxInfo(&sandbox_info);
  atom::AtomMainDelegate delegate;
  content::ContentMainParams params(&delegate);
  params.instance = instance;
  params.sandbox_info = &sandbox_info;
  atom::AtomCommandLine::Init(arguments.argc, arguments.argv);
  return content::ContentMain(params);
}
#elif defined(OS_LINUX)  
int main(int argc, char* argv[]) {