[Webkit-unassigned] [Bug 275316] New: [GTK] WebProcess takes a long time to initialize due to GTK4 loading GL and Vulkan drivers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 10 06:00:50 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=275316

            Bug ID: 275316
           Summary: [GTK] WebProcess takes a long time to initialize due
                    to GTK4 loading GL and Vulkan drivers
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: georges.stavracas at gmail.com
                CC: bugs-noreply at webkitgtk.org

This was uncovered while working on Sysprof. There is a call to "gtk_init" in the WebProcess, and that makes GTK4 create a display and test for renderers. On GL this can take 1~2 seconds, on Vulkan (the new default) it can take 2~4 seconds. This is idle time where the webview just appears blank, and gives a bad impression about WebKit performance.

Because the WebProcess doesn't really use any GTK rendering, only GtkSettings, we can simply force the Cairo renderer for now.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240610/5eb5537c/attachment.htm>


More information about the webkit-unassigned mailing list