If you are facing gpu process error in your google chrome after upgrade or if the error starts appearing suddenly, this solution should work for you.
To find the error, you need to start the chrome from terminal then only you will be able to see the error.
In regular way, Chrome does not open. You click on the icon and it does not happen anything that's why you are not able to detect the error.
In some cases, chrome starts with half black and half white screen and you cannot type anything because cursor does not appear.
If you are a root user then you need to start the chrome with given command.
google-chrome --disable-gpu --disable-software-rasterizer --no-sandbox
or you can start it using icon too but it is not working so you need to update a line in the file /opt/google/chrome/google-chrome.
Find last line in the file. It should be something like this.
exec -a "$0" "$HERE/chrome" "$@"
Replace the line with
exec -a "$0" "$HERE/chrome" "$@" --disable-gpu --disable-software-rasterizer --no-sandbox
Now click on the chrome icon, it should be opened properly.
No comments:
Post a Comment