Bug 276845

Summary: [GTK] Janky repainting while resizing browser window, and GPU artifacts on open source AMD graphics
Product: WebKit Reporter: Jeff Fortin <nekohayo>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bugs-noreply
Priority: P2    
Version: WebKit Nightly Build   
Hardware: PC   
OS: Linux   
Bug Depends on:    
Bug Blocks: 245783, 268972    
Attachments:
Description Flags
Video demonstration none

Description Jeff Fortin 2024-07-19 21:01:24 PDT
Created attachment 471917 [details]
Video demonstration

Testing Epiphany 47 TP / nightly (WebKitGTK 2.45.5 / GStreamer 1.24.5 / GTK 4.15.4), and any previous version, if you resize the window, the resizing is very janky even on Wayland: contents visibly repaint slowly compared to the mouse movement, etc. Generally, I've observed this both on Intel and AMD open source graphics.

While the jank is not necessarily accompanied by artifacts while testing on my laptop with Intel Kabylake graphics, it is full of artifacts when testing on open source AMD graphics on Wayland; WebKitGTK browsers' web views are affected in this way, but pure GTK4 applications (such as Nautilus) have completely smooth resizing with no artifacts.

Attached is a video showing this with AMD graphics.

This GPU is an AMD Radeon R9 270 with Mesa 23.3.6 on Fedora 39.