Bug 262612

Summary: [GTK] No hardware acceleration for certain applications
Product: WebKit Reporter: Kdwk <kdwkleung>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bugs-noreply
Priority: P2    
Version: WebKit Nightly Build   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
The output of webkit://gpu none

Description Kdwk 2023-10-04 05:39:01 PDT
Created attachment 468060 [details]
The output of webkit://gpu

Gnome Web Canary (Flatpak), Devhelp (Fedora Toolbox), the WebKit MiniBrowser and, perhaps unrelated, the Servo MiniBrowser all cannot perform hardware acceleration. webkit://gpu reports llvmpipe rendering, the GTK Inspector reports the GL vendor is 'Mesa Project' instead of the normal 'Nvidia'.

However, hardware acceleration works fine in Gnome Web (Flatpak) and Epiphany Technology Preview (Flatpak).

The GTK version of Canary, WebKit MiniBrowser, Web and Tech Preview are 4.11.4, 4.11.4, 4.12.1 and 4.13.1 respectively. Note that all software failing to perform hardware acceleration has GTK version <4.12. 

Hardware: Nvidia RTX 4070 (driver version 535)/ Intel i7-13700F.
Comment 1 Kdwk 2023-10-04 05:46:21 PDT
The WebKit MiniBrowser is provided by build-webkit and run-minibrowser