CLOSED FIXED 260505
REGRESSION(263118@main): [CoordinatedGraphics] Incomplete rendering after 10s inactivity without hardware acceleration
https://bugs.webkit.org/show_bug.cgi?id=260505
Summary REGRESSION(263118@main): [CoordinatedGraphics] Incomplete rendering after 10s...
Tomoki Imai
Reported 2023-08-21 20:55:27 PDT
Created attachment 467379 [details] The reproduction steps using WebKitGTK MiniBrowser Test Environment: - Ubuntu 22.04 - webkit 267033@main (https://github.com/WebKit/WebKit/commit/718ac9d) Steps: - Launch WebKitGTK MiniBrowser - Make "Hardware Accelerated Policy" "never" from the preferences - Navigate to https://webkit.org/ - Scroll down to the bottom of page (where there is no animation displayed) - Focus to another window (for example terminal application) - Wait 10s - Focus MiniBrowser again Actual Result: - The content of website disappears. Expected Result: - The content of website should be displayed. Our Invesitgation Note: This seems to be a regression from 263118@main (bug 255392). The backing store is discarded and not properly recovered. There was another fix 266511@main but unfortunately it doesn't fix the issue completely. We see the same issue on WinCairo if it is configured to use DrawingAreaProxyCoordinatedGraphics. The default one is DrawingAreaProxyWC so it doesn't reproduce the issue without settings. https://github.com/WebKit/WebKit/blob/1d5fbefb714166eebf47d4b06477332bb39b3a32/Source/WebKit/UIProcess/win/PageClientImpl.cpp#L57-L60
Attachments
The reproduction steps using WebKitGTK MiniBrowser (2.04 MB, video/mp4)
2023-08-21 20:55 PDT, Tomoki Imai
no flags
Reproduced image on webkitgtk MiniBrowser (104.71 KB, image/png)
2023-08-21 21:01 PDT, Tomoki Imai
no flags
Reproduced image on windows (wincairo) MiniBrowser (31.49 KB, image/png)
2023-08-22 01:06 PDT, Tomoki Imai
no flags
Tomoki Imai
Comment 1 2023-08-21 21:01:59 PDT
Created attachment 467380 [details] Reproduced image on webkitgtk MiniBrowser
Tomoki Imai
Comment 2 2023-08-22 01:06:59 PDT
Created attachment 467383 [details] Reproduced image on windows (wincairo) MiniBrowser Steps: - Disable "UseGPUProcessForWebGLEnabled" https://github.com/WebKit/WebKit/blob/2f1549d11968bcbcfeabf70cb4ff84c711f9eeda/Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml#L6830 - Launch MiniBrowser - Disable "Debug => Use Accelerated Compositing" - Navigate to https://webkit.org/ - Scroll down to the bottom of page (where there is no animation displayed) - Focus to another window (for example command prompt) - Wait 10s - Focus MiniBrowser again - Scroll up Expected result: All content of webpage should be rendered. Actual result: Some part of webpage is not rendered.
Carlos Garcia Campos
Comment 3 2023-08-23 06:49:24 PDT
Thanks for reporting, I'll look at this next week.
Carlos Garcia Campos
Comment 4 2023-08-28 00:17:07 PDT
I can't reproduce, but I see flickering, there's a repaint with no backing store before the backing store is created, then I see the contents normally. I'll fix the flickering which hpefully will fix the issue for you too.
Carlos Garcia Campos
Comment 5 2023-08-28 03:41:54 PDT
Radar WebKit Bug Importer
Comment 6 2023-08-28 20:56:14 PDT
EWS
Comment 7 2023-08-29 06:58:32 PDT
Committed 267399@main (3e47e6d0c366): <https://commits.webkit.org/267399@main> Reviewed commits have been landed. Closing PR #17120 and removing active labels.
Tomoki Imai
Comment 8 2023-08-30 01:33:11 PDT
Thank you, I confirmed that 267444@main doesn't reproduce the issue on WinCairo and WebKitGTK!
Note You need to log in before you can comment on or make changes to this bug.