Sway: Glitches on fullscreen video playback
Categories
(Core :: Widget: Gtk, defect, P5)
Tracking
()
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.
Comment 1•5 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Updated•5 years ago
|
Comment 2•5 years ago
|
||
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.
Comment 3•5 years ago
|
||
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?
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.
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.
Updated•4 years ago
|
Comment 11•4 years ago
|
||
Thanks!
Description
•