Closed Bug 1656721 Opened 5 years ago Closed 4 years ago

Sway: Glitches on fullscreen video playback

Categories

(Core :: Widget: Gtk, defect, P5)

79 Branch
x86_64
Linux
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox79 --- disabled

People

(Reporter: pylsan, Unassigned)

References

(Blocks 1 open bug)

Details

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

Steps to reproduce:

Whenever i fullscreen video playback from any site there is visual gliches.

Actual results:

I have made a youtube demo https://www.youtube.com/watch?v=KlIyzDv90ec . Could not get the issue to show up on a screenshot. And recording Video on Sway is not so easy.

Expected results:

It works fine in xorg, i did turn on: widget.wayland-dmabuf-vaapi.enable - true and widget.wayland-dmabuf-webgl.enable - true. The result are the same on any setting.

Graphics: Device-1: Intel UHD Graphics 620 driver: i915
Linux haxx 5.7.11-zen1-1-zen.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core
Blocks: wayland
OS: Unspecified → Linux
Hardware: Unspecified → x86_64

It works fine in xorg

The X11 backend only uses dmabufs with EGL and not GLX, so the settings won't have any effect unless MOZ_X11_EGL=1 is in the environment.

The result are the same on any setting.

So this bug occurs with VAAPI disabled as well? (restart Firefox after pref change)

(In reply to Jan Andre Ikenmeyer [:darkspirit] from comment #3)

The result are the same on any setting.

So this bug occurs with VAAPI disabled as well? (restart Firefox after pref change)

Yes after I set every wayland setting to "false" in about:config. The same issue happens. But in kde on xorg everything is fine.I where searching for a animated gif background to use. I noticed when i fullscreen firefox on the website with gifs the same video problem also happens on gifs.

I could probably try to force kde to use wayland and check if it happens there. Other browsers or media players looks fine in sway/wlroots.

That looks like a GPU memory corruption, maybe caused by drivers or so. I don't think Firefox is the primary culprit here and I don't think it can be fixed on Firefox side. Can you try fullscreen playback of any other wayland based player?

Flags: needinfo?(pylsan)

Someone commented on the video and said they where having same problems. They also encountered it outside firefox and in telegram. Might be a "sway" issue then. Firefox seemed fine in KDE with wayland on my PC.

MPV & Chrome workes fine in sway. I cant be 100% sure witch program launches in xwayland, but im using all these right now and no xwalyand process.

Flags: needinfo?(pylsan)

The bug does is not present on KDE-wayland, and it disapairs after a few hours on sway. 2h39m uptime and everything works until i reboot, im on FF 80 now.

Its only sway and not in wayfire, kde or gnome. Issue can be closed and reported over at sway github.

Blocks: wayland-sway
No longer blocks: wayland
Summary: wayland fullscreen video playback → Sway: Glitches on fullscreen video playback

pyls, do you still see this issue?

Flags: needinfo?(pylsan)

No, I don't have this issue anymore.

Flags: needinfo?(pylsan)

Thanks!

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.