[webkit-gtk] Minibrowser fails to start

Carlos Alberto Lopez Perez clopez at igalia.com
Tue Mar 15 12:09:22 PDT 2022

On 14/03/2022 09:56, Peter Zhelezniakov wrote:
> Hi all,
> I've built WebkitGtk on an Ubuntu 20.04 machine with Nvidia MX250, now the minibrowser fails to start. I have the latest Nvidia drivers installed and working AFAICT. Can it be the case that the flatpak environment conflicts with the 'real' libraries/drivers somehow? Is there something I can try to fix this?
> Thanks! The error message is:
> $ ./Tools/Scripts/run-minibrowser --gtk
> Gtk-Message: 01:05:24.664: Failed to load module "canberra-gtk-module"
> Gtk-Message: 01:05:24.665: Failed to load module "canberra-gtk-module"
> Gtk-Message: 01:05:25.092: Failed to load module "canberra-gtk-module"
> Gtk-Message: 01:05:25.093: Failed to load module "canberra-gtk-module"
> libEGL warning: DRI3: Screen seems not DRI3 capable
> libEGL warning: DRI2: failed to authenticate
> (WebKitWebProcess:36): Gdk-WARNING **: 01:05:25.206: The program 'WebKitWebProcess' received an X Window System error.
> This probably reflects a bug in the program.
> The error was '167'.
> (Details: serial 190 error_code 167 request_code 152 (unknown) minor_code 21)
> (Note to programmers: normally, X errors are reported asynchronously;
> that is, you will receive the error a while after causing it.
> To debug your program, run it with the GDK_SYNCHRONIZE environment
> variable to change this behavior. You can then get a meaningful
> backtrace from your debugger if you break on the gdk_x_error() function.)
> ** (MiniBrowser:17): WARNING **: 01:05:25.210: WebProcess CRASHED
> _______________________________________________
> webkit-gtk mailing list
> webkit-gtk at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-gtk


Yes, it looks like it may be an issue related to flatpak and the
proprietary Nnvidia drivers.

A very similar issue (if not the same) was reported previously here:

Check the comments on it to see if something of what is wrote there
helps to debug the issue.

More information about the webkit-gtk mailing list