Solving Google Chrome's gpu-process error message in Ubuntu Linux

Tux playing with Chrome and a GPU
Image: Tux playing with Chrome and a GPU (License: CC-BY-SA-ND-NC Marcelo Canina)
Published:
Last modified:

Overview

There is a common Google Chrome error when trying to run it in Linux due to Chrome’s GPU usage.

Unfortunately there isn’t a clear fix yet, this is a is an easy solution to make it possible to use Chrome browser when the following error message appears.

Error message

This error affects to all Chrome versions:

  • Google Chrome stable
  • Google Chrome beta
  • Chromium

$ google-chrome
[2307:2307:0106/185502.822827:ERROR:sandbox_linux.cc(364)] InitializeSandbox() called with multiple threads in process gpu-process.
$ chromium-browser
[2863:2863:0106/185533.087795:ERROR:sandbox_linux.cc(364)] InitializeSandbox() called with multiple threads in process
gpu-process.

Solution

The easiest solution is to avoid using GPU hardware acceleration with the following flags: --disable-gpu --disable-software-rasterizer


$ google-chrome --disable-gpu --disable-software-rasterizer

Parameter --disable-gpu definition:

Disables GPU hardware acceleration. If software renderer is not in place, then the GPU process won't launch

Parameter --disable-software-rasterizer definition:

Disables the use of a 3D software rasterizer

Uruguay
Marcelo Canina
I'm Marcelo Canina, a developer from Uruguay. I build websites and web-based applications from the ground up and share what I learn here.
comments powered by Disqus


Except as otherwise noted, the content of this page is licensed under CC BY-NC-ND 4.0 . Terms and Policy.

Powered by SimpleIT Hugo Theme

·