with weston master (and 1.5.0), as i resize an iceweasel window or an arora window, a 1cm black border around the window flickers as the window size changes.
as one moves the mouse to a new position, the window slowly ramps up speed until it comes to the new position, and then the window border keeps moving past the mouse position. (it may eventually move back, but may require moving the mouse a little bit.)
i experimented with xman in weston and saw that it had the same problem as iceweasel, but that the flickering was more sparse. in other words, the area around the window wasn't mostly black. xman's window resizing was also a bit faster than with iceweasel. the movement of the window is still reminiscent of sinusoidal motion.
i clicked "Manual Page" in xman, then used my synaptic two finger scroll over the open window. scrolling was very, very slow. i compared this with xman in X11, and noticed that xman in X11 is highly responsive to scrolling. weston master was being used in windowed mode.
this appears to be a debian sid bug. i compiled xwayland from source using master and 126.96.36.1994 (the version in sid), but did not see this problem.
debian bug link, for the curious: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=754651
(In reply to comment #2)
> this appears to be a debian sid bug. i compiled xwayland from source using
> master and 188.8.131.524 (the version in sid), but did not see this problem.
Seeing this and the initial comment in bug #81281 it seems like the issue has been solved. Is this true? If this issue does not exist anymore with xorg-server (xwayland 1.16) and weston 1.5.0 or master, could you mark this bug as fixed?
this doesn't appear to be an issue with upstream. it's likely an issue with debian's build system or patch set.
however, bug #81281 is/was still an upstream issue the last time i did a git pull (about several days ago.) bug #81281 creates a far more subtle effect than this.
bug is downstream in debian.
After Arch Linux upgraded to Gnome 3.22, which runs on Wayland by default, I started experiencing this exact same issue (windows are slow to resize, sometimes a flickering black border appears around windows during resize).
I arrived here via the Debian bug report, but I cannot seem to find what the problem was in the end. Any suggestions on where to look?
(In reply to Ruud van Asseldonk from comment #7)
> After Arch Linux upgraded to Gnome 3.22, which runs on Wayland by default, I
> started experiencing this exact same issue (windows are slow to resize,
> sometimes a flickering black border appears around windows during resize).
What hardware do you have? What is the output of:
$ glxinfo | grep -i -e render -e version -e dri
The flickering black border is a known issue with gnome-shell:
I suspect this is a frame synchronisation issue between the application and Xwayland.
There are actually two different variations of the sync protocol, using sync counters, one being specified as the extended window manager hints (EWMH) here:
But mutter/gnome-shell goes further and uses an extended variant of this protocol referred as the "extended synchronization" by Owen here:
gnome-shell/mutter is an X11 window manager/compositing manager and a Wayland compositor as well, when running Xwayland applications that implement either the basic or extended XSync protol as defined by Owen in the link above, the synchronisation is based on the application content which may not match the WM windows content (which are [a] separate window[s]) from the window manager).
So the issue, I reckon, occurs with SSD (server side decorations), as opposed to CSD (client side decorations) applications that implement the Xsync protocol (that pretty much include most of gtk2 apps and some gtk3 apps, those using SSD and not CSD).
This is pretty easy to test, can you reproduce the issue with, say, xterm? (or any basic X11 which does not implement Xsync).
One last note, I am surprised you mentioned the issue occuring with weston because, afaik, weston does not implement the XSync part of the EWMH specs, and I could never reprodcue the issue with weston, so *maybe* what you saw with weston was some other problem more specific to weston.
(In reply to Olivier Fourdan from comment #9)
> The flickering black border is a known issue with gnome-shell:
This bug is now in gnome's gitlab: