Bug 263645

Summary: [GTK] The rendering of the fonts look blurred (NVIDIA card), if I launch the application with WEBKIT_DISABLE_COMPOSITING_MODE=1 they look perfect
Product: WebKit Reporter: Óscar <fi512si64>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: adrianoviana87, aperez, bugs-noreply, jan.burgmeier
Priority: P2    
Version: WebKit Local Build   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
cinny_bad.png, blurring of fonts visible. cinny_ok.png app launched with WEBKIT_DISABLE_COMPOSITING_COMPOSITING_MODE=1
none
Good rendering, with WEBKIT_DISABLE_COMPOSITING_COMPOSITING_MODE=1
none
Bad rendering none

Description Óscar 2023-10-25 03:13:34 PDT
Created attachment 468328 [details]
cinny_bad.png, blurring of fonts visible. cinny_ok.png app launched with WEBKIT_DISABLE_COMPOSITING_COMPOSITING_MODE=1

First of all my apologies if this bug is duplicated, I have been searching but have not found anything similar except for #261874 but it describes a different behaviour. Possibly both bugs are related.

Fonts are rendered blurred with WebKitGTK unless the application is launched with WEBKIT_DISABLE_COMPOSITING_COMPOSITING_MODE=1. It is highly possible that this only happens with NVIDIA cards and proprietary drivers with X11.

Card: NVIDIA GeForce RTX 2060 SUPER
WebKitGTK version: 2.42.1
Environment: GNOME 45.0 (X11)
Comment 1 Adrian Perez 2023-10-25 03:41:02 PDT
Created attachment 468329 [details]
Good rendering, with WEBKIT_DISABLE_COMPOSITING_COMPOSITING_MODE=1

(File extracted from tarball, for convenience.)
Comment 2 Adrian Perez 2023-10-25 03:41:38 PDT
Created attachment 468330 [details]
Bad rendering

(File extracted from tarball, for convenience.)
Comment 3 Óscar 2024-03-29 06:04:24 PDT
The situation with recent versions has worsened. Now it simply displays nothing and gives the following error repeated several times.

AcceleratedSurfaceDMABuf was unable to construct a complete framebuffer

With WEBKIT_DISABLE_COMPOSITING_COMPOSITING_MODE=1 it still works well.