New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 845795 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

display glitches with fullscreen pages after upgrading to wayland 1.15

Reported by luca.vig...@grammelot.eu, May 23 2018

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36

Example URL:
all

Steps to reproduce the problem:
GNOME Shell 3.28 Wayland session (wayland 1.15) HiDPI (3200x900 display), IntelĀ® HD Graphics 620 (Kaby Lake GT2)

1. Open any application (i.e. Nautilus) and maximize the window
2. Open Chroimun/Chrome, put it on top of the other window (spet 1) and navigate to any page witch scrolling contents
3. Put Chromium in full screen mode (F11)
4. Scroll the page and look at what happens at the bottom of the page

What is the expected behavior?

What went wrong?
Please look at the attached screencast to see the bug in action.
I also noticed that rendering of contents (especially if U have animated contents like moving DIVs etc) has become very jerky.
Before upgrading to Wayland 1.15 (with Wayland 1.14) all was very smooth.
Firefox works fine and rendering is still smooth with Wayland 1.15

Does it occur on multiple sites: Yes

Is it a problem with a plugin? No 

Did this work before? Yes Not actually a regression in Chromium but an issue introduced with Wayland 1.15.

Does this work in other browsers? Yes

Chrome version: 66.0.3359.181  Channel: stable
OS Version: Arch Linux x64
Flash Version:
 
screencast.mp4
1.5 MB View Download
The browser shown in the screen cast is Chrome (66.0.3359.181) but the same issue occurs on Chromium (same version)
Components: -Blink Internals>Compositing
Labels: Needs-Triage-M66
For completeness, I've repeated the test on GNOME on X11 session (instead of Wayland) and the issue does not show up; also rendering is as smooth as expected.
Unable to reproduce the issue reported chrome version on 66.0.3359.181, latest stable 67.0.3396.62 and chromium  using Ubuntu 14.04 LTS. Attaching Screencast for reference.

Steps 
--------
1. Lauched Chrome and chromium.
2. Opened application as mentioned in the comment #0 and aslo navigated some site which is having scrolling.
3. Window maximized by hitting F11 and scrolled down.
We are able to see the pages loading without gliches.

We don't have Wayland on Arch Linux to test this hence cc'ing thomasanderson@ for help in further triaging.

Thanks! 
845795.ogv
30.7 MB Download
I believe this is resolved when you pass in the following flag:
--disable-gpu-driver-bug-workarounds

Reference:
https://bbs.archlinux.org/viewtopic.php?id=237383

Please give this a shot and see if it resolves your issue temporarily.  
yes it works here too.
I only got a rendering glitch after coming back to fullscreen the first time (part of the title bar was rendered in the window client area) but it only occurred the first time, then I wasn't able to reproduce.
I'll use this temporary workaround for now, many thanks!
Just for information: look at the attached video. The title bar is messed up when I come back from fullscreen with '--disable-gpu-driver-bug-workarounds'.
However with that workaround rendering is now as smooth as expected also in fullscreen mode
chrome.mp4
956 KB View Download
Owner: thomasanderson@chromium.org
Status: WontFix (was: Unconfirmed)
The link in c#5 says that this happens with other apps too, so it is not chromium-specific.  Also, you pointed out that this regressed in Wayland 1.15, not because of a Chromium update.  I'd try reporting this with Gnome Wayland and seeing if you have better luck, but I'm closing this issue out because there's probably nothing we can do about this on Chromium's side.
Hello Thomas,

Both of those reddit links are my specific threads.  I think there are actually 2 issues here:

Issue #1 - Chromium / Chrome Issue In Full-Screen Mode:
This is the issue with the screen tearing that happens when watching videos in full-screen mode.  As I said previously, passing in the "--disable-gpu-driver-bug-workarounds" corrects the issue.  I am unsure if this is a specific Chromium/Chrome issue, but I do not have this issue with other browsers (FireFox, Opera, etc.) in Linux.  It appears there may be other performance related issues as well, all documented here:
https://bbs.archlinux.org/viewtopic.php?id=237383

 Issue #2  - Linux Applications Not Rendering Correctly:
This issue appears to have specific artifacts be displayed with certain applications inside Linux.  Possibly, something to do specifically with the Gnome Desktop Environment under Wayland.  It appears to be related to a package update (mesa) or a possible Intel video driver update.

Regardless, I believe these are 2 separate issues.  If you are able to reproduce this issue under Arch-Linux (under Gnome and Wayland), and able to see the issue corrected using the flag mentioned in Issue #1, that would most likely be a good starting point to start the troubleshooting process.

Please let me know if I can assist you with any additional information or screenshots.  Thank you!

Cc: toniki...@igalia.com evange...@foutrelis.com piman@chromium.org
+evangelos@ for arch
+tonikitoo@ for wayland
+piman for gpu

If I can get confirmation that the regression is in Chromium, I'd be happy to reopen.  Though "Not actually a regression in Chromium but an issue introduced with Wayland 1.15" has me convinced otherwise :)

Comment 14 by piman@chromium.org, May 30 2018

The contents of about:gpu might be useful, especially if --disable-gpu-driver-bug-workarounds changes things (pleas attach the page when the flag isn't set).

But agreed with thomasanderson@, it sounds like a Wayland/XWayland issue.

Sign in to add a comment