regression mutter-42+nvidia= Cause extreme lag when dragging a window if there is any video or animation or even some application like fedora media writer is running causes extreme lag
Affected version
gnome 42 fedora 36 arch linux
only Xorg on nvidia mutter-42.0 and beta version
Bug summary
when I have some application specific example fedora-media-writer or video or even an animation. Any videos, gifs or animations that were playing in any window freeze, and the window I'm dragging freezes and stays where it is until I stop moving the mouse. As soon as I stop moving my mouse and release my mouse click, everything rings again and the window I dragged finally moves to the new location. The video audio continues to play, and, as I said, the mouse moves freely and smoothly, even while grabbing a window.
Extreme lag while dragging a window if any video or animation or specific application is playing in any windowSteps to reproduce
-
Step one I need to open the browser and put some video running. or open a specific application like fedora-media-writer (this is one of the applications that cause this lag, there are others like discord but I'll use this one as an example because it's simple to reproduce)
-
Step two I just drag any open window as a terminal, nautilus that simply everything crashes and only comes back seconds after I release the mouse button as if it were a windows teleport
What happened
lag in animations when dragging windows. no smoothness is a giant delay
What did you expect to happen
that I could drag the windows smoothly, without me dragging and everything crashes and only comes back seconds after I release the mouse button
to do its job like it did in mutter version 41. it's only on mutter 42 that we get this problem.
Relevant logs, screenshots, screencasts etc.
I don't know how to debug this. I will put a video that I made myself and this post on reddit in the gnome community where there is also a user having the same problems.
the one on reddit is much more explanatory https://www.reddit.com/r/gnome/comments/tzdw0d/extreme_lag_while_dragging_a_window_if_any_video/
my video 2022-04-14_16-12-19.mkv