[Regression 44.0 -> 44.1] Black artefact on Xwayland apps like zoom
Affected version
- OS: Fedora 38
- Affected Mutter version: >= 44.1
- Appears when runnning Xwayland applications
- Used hardware: Lenovo T14s gen2 amd
Bug summary
A black artifact is rendered at the border of Xwayland apps like zoom. Mostly reproducible if the window is snapped to left or right border. Please see image:
Steps to reproduce
- Build mutter from main branch
- Run nested mutter: MUTTER_DEBUG_DUMMY_MODE_SPECS=1600x900 LD_PRELOAD="src/libmutter-12.so.0.0.0 clutter/clutter/libmutter-clutter-12.so" src/mutter --nested --wayland
- Start zoom in nested mutter: XAUTHORITY=/run/user/1000/.mutter-Xwaylandauth.N2S941 DISPLAY=:2 zoom
Relevant logs, screenshots, screencasts etc.
I was able to bisect the problem here is the bisect log, I also confirmed that the bug i fixed after reverting the bad commit:
jbu@jbu-laptop ~/workspace/oss/mutter/build (main|BISECTING|u=) $ git bisect log
git bisect start
# status: waiting for both good and bad commits
# good: [a958417e952cc80b6102a4441d6e48235efa1c5d] Bump version to 44.0
git bisect good a958417e952cc80b6102a4441d6e48235efa1c5d
# status: waiting for bad commit, 1 good commit known
# bad: [3b7ca42c6f5d06874a31d5435cfd58ea68032d24] cogl/clip-stack: Removing window rect
git bisect bad 3b7ca42c6f5d06874a31d5435cfd58ea68032d24
# good: [a7a7933e03a19e82907c29814dcd18647a777e7c] wayland: Emit frame events in GSource after "empty" updates
git bisect good a7a7933e03a19e82907c29814dcd18647a777e7c
# bad: [29ec2d2e20eca56e4280956b3c6848bd3f6d23cc] screen-cast/src: Never dequeue pw_buffer's we refuse to record to
git bisect bad 29ec2d2e20eca56e4280956b3c6848bd3f6d23cc
# bad: [18be74edeb58d755f7e9647f70e9faf4e4259f21] core: Fix map transitions for X11 windows on Wayland
git bisect bad 18be74edeb58d755f7e9647f70e9faf4e4259f21
# good: [86b5d9d809546127525da39a7727b097cacf96a3] Replace using sscanf() to parse mode strings with new helper
git bisect good 86b5d9d809546127525da39a7727b097cacf96a3
# good: [754a1a1ce67cf697ccccf979142de372ab47a3b2] wayland/dma-buf: Enable modifiers by default on non-native backend
git bisect good 754a1a1ce67cf697ccccf979142de372ab47a3b2
# bad: [57fdd7efd2d2ef05df86c60e36e200a15a9918a0] frames: Use cairo renderer on GTK frames
git bisect bad 57fdd7efd2d2ef05df86c60e36e200a15a9918a0
# good: [cca07612b8590d08caedf382e5ec22cff0f09eac] output: Check the EDID for the supported sink Colorimetry
git bisect good cca07612b8590d08caedf382e5ec22cff0f09eac
# first bad commit: [57fdd7efd2d2ef05df86c60e36e200a15a9918a0] frames: Use cairo renderer on GTK frames
Edited by J-Bu