diff --git a/main.go b/main.go index 2d7e0f2..1ee36b0 100644 --- a/main.go +++ b/main.go @@ -47,7 +47,12 @@ func main() { Linux: application.LinuxWindow{ Icon: []byte("./build/AniTrack.png"), WindowIsTranslucent: false, - WebviewGpuPolicy: application.WebviewGpuPolicyNever, + // OnDemand: GPU for scrolling/compositing on AMD/Intel Mesa, + // software fallback otherwise. Never (the old Nvidia/X11 + // blank-window workaround) forces CPU raster on GTK4/WebKit 6 + // and makes scrolling janky. All target machines here are + // AMD or Intel, so the Nvidia DMABUF workaround is not needed. + WebviewGpuPolicy: application.WebviewGpuPolicyOnDemand, }, })