Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 912  / 1 Year ago, sat, april 29, 2023, 4:30:55

I just updated to the 22.04 point release from 20.04, and noticed that my Google account in GNOME control center was not logged in (Geary wasn't able to connect to my email account).


When I try to add my Google account in GNOME Control Center, the pop-up window that should contain the Google sign-in screen instead shows a brief progress bar, but is eventually stuck on a blank screen. How might I resolve this?


blank pop-up window where the Google sign-in screen should be


I attempted the solution posted here (https://askubuntu.com/a/1385370), which suggested that it was a composting error. When running WEBKIT_DISABLE_COMPOSITING_MODE=1 gnome-control-center and then attempting to add the Google account, the Google sign-in screen does appear but is unresponsive to keyboard or mouse input, and quickly reverts back to the blank screen.
I'm not sure what it means, but the output of the terminal window while doing this was:


EGLDisplay Initialization failed: EGL_NOT_INITIALIZED
Cannot create EGL context: invalid display (last error: EGL_SUCCESS)

More From » 22.04

 Answers
1

After a little more digging, I finally solved my own problem with the help of the comment posted in this thread. I will add it here for others to find, since it seems to be a somewhat common problem that is only partly answered online in language that might be inaccessible to non-expert users.


It seems to be a problem with the Mesa graphics driver (possibly related to specific Intel GPUs). The solution is to try one of three driver overrides (iris, zink, or i965) when opening Online Accounts in the Control Center.



iris


$ MESA_LOADER_DRIVER_OVERRIDE=iris yelp


zink


$ MESA_LOADER_DRIVER_OVERRIDE=zink yelp


i965


$ MESA_LOADER_DRIVER_OVERRIDE=i965 yelp



I tested each of the above until the command returned a functioning Ubuntu Desktop Guide (yelp uses webview, making it a useful test case).


In the end, using the zink driver worked for me.
In order to open Online Accounts and add your Google account (and other accounts using the webview function), run WEBKIT_DISABLE_COMPOSITING_MODE=1 MESA_LOADER_DRIVER_OVERRIDE=zink gnome-control-center online-accounts in Terminal and login to your account as normal.


If iris or i965 worked for you in opening Ubuntu Desktop Guide, simply add those to the driver override section of the code (WEBKIT_DISABLE_COMPOSITING_MODE=1 MESA_LOADER_DRIVER_OVERRIDE=iris gnome-control-center online-accounts or WEBKIT_DISABLE_COMPOSITING_MODE=1 MESA_LOADER_DRIVER_OVERRIDE=i965 gnome-control-center online-accounts, respectively).


Keep in mind that this is a temporary override to use the webview function. It would be great if someone who better understands the underlying issue was able to find a more permanent solution to this problem.


[#302] Sunday, April 30, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
intssive

Total Points: 493
Total Questions: 119
Total Answers: 101

Location: Liberia
Member since Mon, Feb 1, 2021
3 Years ago
intssive questions
;