Bug 192522 - [GTK] Window shadows broken in AC mode with the amdgpu or nouveau graphics driver
Summary: [GTK] Window shadows broken in AC mode with the amdgpu or nouveau graphics dr...
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 192523
  Show dependency treegraph
 
Reported: 2018-12-07 16:14 PST by Michael Catanzaro
Modified: 2019-05-14 13:01 PDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Catanzaro 2018-12-07 16:14:07 PST
Window shadows are borked for me in AC mode. This bug *seems* to affect amdgpu and noveau users, but not Intel graphics.

See: https://gitlab.gnome.org/GNOME/gtk/issues/1401

After some debugging with Company we determined "the shadows are NOT messed up in the image passed to gdk_window_end_paint_internal()" and that "we use OpenGL (in gdk-wayland) to send the window contents to the compositor and it seems that is going wrong once Webkit gets involved"
Comment 1 Michael Catanzaro 2019-01-29 09:16:46 PST
OK, I just noticed this is affecting Yelp too. This is bad. I think we need to disable AC mode by default at the WebKit level until it's fixed. Apps that want it can opt in.

This issue does not affect Fedora 30, but it does affect the GNOME master runtime.
Comment 2 Michael Catanzaro 2019-02-02 07:44:43 PST
I was hoping this was fixed in bug #193903, but sadly not.
Comment 3 Adrian Perez 2019-02-02 08:47:35 PST
FTR, today checking things a bit with Michael he noticed that this
happens both with WEBKIT_HARDWARE_ACCELERATION_POLICY_ON_DEMAND
and WEBKIT_HARDWARE_ACCELERATION_POLICY_ALWAYS.

So at least we know it's nothing related to the on-demand activation
of AC... which is not much new to know, but may help a little bit.
Comment 4 Michael Catanzaro 2019-05-14 13:01:32 PDT
This appears to have fixed itself sometime in the past three months.