November 29, 2020
How To Fix Chromium-Based Web Browsers Not Working Properly After Resume From Suspend On Linux

 

This text explains the best way to repair Chromium-based net browsers (Google Chrome, Chromium, Vivaldi, Opera, and so forth.) not working correctly after resuming from droop on Linux. 

These affected by this bug expertise varied points with Chrome-based net browsers (Google Chrome, Chromium, Vivaldi, Opera, and so forth.) when resuming from droop, just like the Chrome interface flickering, generally the net pages comprise visible glitches / artifacts, all web sites already opened are utterly black or white, and in some circumstances elements of an internet site from a unique tab seem on high of the present tab.

This can be a screenshot of this problem, when the net pages flip utterly white and there are some artifacts on high of the handle bar:

How To Fix Chromium-Based Web Browsers Not Working Properly After Resume From Suspend On Linux

One other screenshot – this time my Chromium browser tabs turned utterly black after resuming from droop on Ubuntu 20.10:

How To Fix Chromium-Based Web Browsers Not Working Properly After Resume From Suspend On Linux

I have been having these points with Chromium net browser for a while, and up till now I used to be restarting it to get it to work correctly once more, however a couple of days in the past I bought uninterested in restarting it, and at last determined to seek for a repair or workaround, and I discovered one on AskUbuntu.

I am unsure precisely what’s inflicting these black/white background tabs and flickering with Chromium-based net browsers after resuming from droop, and I believe not everyone seems to be affected. For me, this occurs with Ubuntu (it was taking place with Ubuntu 20.04, and continues to occur after upgrading to Ubuntu 20.10) utilizing proprietary Nvidia drivers, working underneath GNOME (X11).

Moreover Chromium, which is what I exploit, I additionally tried to copy this bug in Google Chrome, Vivaldi and Opera net browsers, and this Chrome bug after resuming from droop occurs in all of them.

Listed here are 2 options for this Chromium resume from droop problem.

Answer 1.

The primary workaround for this resume from droop Chrome bug is to allow Vulkan within the Chrome flags. This may be carried out by opening chrome://flags in a brand new browser tab, seek for enable-bulkan, set it to Enabled, then restart the browser.

You may have to have Vulkan put in for this to work. E.g. on Debian / Ubuntu / Linux Mint, set up Vulkan for AMD graphics utilizing sudo apt set up mesa-vulkan-drivers mesa-vulkan-drivers:i386, and for Nvidia sudo apt set up libvulkan1 libvulkan1:i386

It is essential to notice that some customers have reported that enabling Vulkan for Chromium-based net browsers decreases the efficiency for them. In my case (and there are some customers in the identical state of affairs), I did not discover any efficiency lower whereas utilizing this. The slowness is perhaps for amdvlk customers solely (I am unable to take a look at that since I solely have one laptop to check this on, with Nvidia graphics).

Answer 2.

The second workaround is to launch your Chromium-based net browser, be it Chromium, Google Chrome, Vivaldi, Opera, and so forth., utilizing –use-gl=desktop and –use-cmd-decoder=validating command-line flags, e.g. chromium-browser –use-cmd-decoder=validating –use-gl=desktop

It is essential to notice that this reverts to a deprecated renderer, and it would cease working in some unspecified time in the future.

chrome vulkan,–use-gl=desktop,enable-vulkan,ignore-gpu-blacklist,chrome unresponsive after sleep,chrome black screen after sleep,chrome closes when computer sleeps,chromebook slow after sleep,chromebook won t come out of sleep,chrome enable vulkan,easy linux tips libreoffice,linux mint memory usage,linux mint registry,speed up firefox linux mint,remove old kernels mint 19,chrome autoplay settings,html audio autoplay not working chrome,safari autoplay policy,firefox autoplay policy,html5 video autoplay unmute,enable autoplay extension,chromium download,chromium wiki,blink 79,chromium vs chrome,microsoft edge wiki,edge vs edge chromium,linux kernel suspend/resume,no_console_suspend,sys/power/state,pm suspend log file,initcall_debug,linux sleep log,chrome flags,chrome enable-vulkan,chrome not responding after sleep,chrome freezing after sleep,chrome download

About Author

admin

https://server-land.com