Open Bug 1768487 Opened 3 years ago Updated 3 years ago

Ubuntu 22.04, Xwayland: Restoring window from a fullscreen Youtube video view leaves artifacts

Categories

(Core :: Graphics, defect, P3)

Firefox 100
x86_64
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: zingam, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:100.0) Gecko/20100101 Firefox/100.0

Steps to reproduce:

I maximized/fullscreen a Youtube video.

My system is a hybrid graphics Intel 630/NVIDIA 1050TI driver 510 on Ubuntu 22.04.

Actual results:

When I switch away/restore the the video from fullscreen to normal mode part of the video remains on the screen until I move the Firefox window. This happens quite often.

This appears to be an issue only in a Wayland session. I haven't experienced anything like that in a X.org session.

Expected results:

No artifacts.

Component: Untriaged → Graphics
OS: Unspecified → Linux
Product: Firefox → Core
Hardware: Unspecified → x86_64

Could you attach your about:support? In case it is related to your card/driver combo or the desktop environment.

Blocks: wayland
Severity: -- → S3
Flags: needinfo?(zingam)
Priority: -- → P3
Attached file about:support

Interesting, you appear to be using xwayland with Firefox. If you launch Firefox with the environment variable MOZ_ENABLE_WAYLAND=1 set, do you still see the problem?

I have seen this xwayland bug sometimes in the past and perceived it as Gnome bug.
(Snap switched back to xwayland and caused bug 1767231, bug 1766849, bug 1765020, etc. seemingly because Mozilla doesn't test Wayland in CI: bug 1725245 comment 19.)

Blocks: wr-linux
No longer blocks: wayland
See Also: → 1767231
Summary: Ubuntu 22.04, Wayland: Restoring window from a fullscreen Youtube video view leaves artifacts → Ubuntu 22.04, Xwayland: Restoring window from a fullscreen Youtube video view leaves artifacts

(In reply to Darkspirit from comment #5)

I have seen this xwayland bug sometimes in the past and perceived it as Gnome bug.

If the glitch happens outside of the Firefox window, then it's indeed a Gnome or driver bug.

Or it's something like bug 1630251.

I am using Ubuntu 22.04 with Wayland, so Firefox is snapped. I tried enabling MOZ_ENABLE_WAYLAND=1 I didn't get Firefox to work. So I guess I'll have to try again.

Well if it is a driver or a GNOME bug where and how should I report it?

When I try to report the bug to Ubuntu ubuntu-bug firefox I get a message to report it here.

Flags: needinfo?(zingam)

I enabled Wayland support with the commands bellow. I played a few YouTube videos and I haven't experienced the issue yet.

~/Desktop$ MOZ_ENABLE_WAYLAND=1 snap run firefox
[2022-05-14T09:29:09Z ERROR mp4parse] Found 2 nul bytes in "\u{0}\u{0}"
[2022-05-14T09:29:09Z ERROR mp4parse] Found 2 nul bytes in "\u{0}\u{0}"
[2022-05-14T09:29:09Z ERROR mp4parse] Found 2 nul bytes in "\u{0}\u{0}"
[2022-05-14T09:29:09Z ERROR mp4parse] Found 2 nul bytes in "\u{0}\u{0}"
[2022-05-14T09:29:31Z ERROR mp4parse] Found 2 nul bytes in "\u{0}\u{0}"
[2022-05-14T09:29:31Z ERROR mp4parse] Found 2 nul bytes in "\u{0}\u{0}"
[2022-05-14T09:29:31Z ERROR mp4parse] Found 2 nul bytes in "\u{0}\u{0}"
[2022-05-14T09:29:31Z ERROR mp4parse] Found 2 nul bytes in "\u{0}\u{0}"
[2022-05-14T09:32:53Z ERROR mp4parse] Found 2 nul bytes in "\u{0}\u{0}"
[2022-05-14T09:32:53Z ERROR mp4parse] Found 2 nul bytes in "\u{0}\u{0}"
[2022-05-14T09:32:53Z ERROR mp4parse] Found 2 nul bytes in "\u{0}\u{0}"
[2022-05-14T09:32:54Z ERROR mp4parse] Found 2 nul bytes in "\u{0}\u{0}"
[2022-05-14T09:34:11Z ERROR mp4parse] Found 2 nul bytes in "\u{0}\u{0}"
[2022-05-14T09:34:11Z ERROR mp4parse] Found 2 nul bytes in "\u{0}\u{0}"
[2022-05-14T09:34:11Z ERROR mp4parse] Found 2 nul bytes in "\u{0}\u{0}"
[2022-05-14T09:34:11Z ERROR mp4parse] Found 2 nul bytes in "\u{0}\u{0}"

~/Desktop$ xlsclients
hristo-Inspiron-15-7000-Gaming gsd-xsettings
hristo-Inspiron-15-7000-Gaming ibus-x11
hristo-Inspiron-15-7000-Gaming gnome-shell

I installed the opera snap which also uses Xwayland. It doesn't seem to experience the same issue.

~/Desktop$ xlsclients
hristo-Inspiron-15-7000-Gaming gsd-xsettings
hristo-Inspiron-15-7000-Gaming ibus-x11
hristo-Inspiron-15-7000-Gaming gnome-shell
hristo-Inspiron-15-7000-Gaming opera

Just for the record: the full command that saves the day for me would be:
$ MOZ_ENABLE_WAYLAND=1 snap run firefox & disown

Depends on: wayland-stable

This issue is not present on Intel HD620 Dell latitude Intel® Core™ i7-8550U Processor vs a hybrid Dell Inspirion Core i7-7700HQ with HD630 and GeForce 105OTi.

On the hybrid system with nvidia graphics Firefox is not only buggy but also slower, especially YouTube plays at lower quality 360p/720p instead of 1440p@60

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: