on X11, GLX/EGL application frame is stuck behing in some cases
Affected version
OS: Fedora 39 mutter: 45.3, X.org
None of that happens on Wayland comparing EGL to EGL.
Bug summary
On X11, GLX/EGL(both APIs bug exactly the same) application(alacritty) frame running on llvmpipe is getting stuck from time to time.
I've also found that if I do SwapBuffers
twice in a row without any drawing, it's working as intended, none of that happens on i3/dwm with/without picom. This also won't work for nvidia driver(I actually need to redraw there), only fixes llvmpipe, but it doesn't make any sense why that will fix it, unless it's a race in gnome.
Steps to reproduce
- Run
LIBGL_ALWAYS_SOFTWARE=1 alacritty -v -e sh
. - Press
Enter
in the prompt, sometimes it'll getstuck
.
An alternative reproduction could be done with sleep 1 && printf 1
, focusing other window. It'll sometime get stuck, and to
unstuck you can hover the titlebar, the application won't draw, but it'll unstuck as well.
What happened
On some Enter
press the frame will stuck.
What did you expect to happen
Not stuck.
Relevant logs, screenshots, screencasts etc.
This is not llvmpipe specific, it also happens with e.g. nvidia, it's just easier to repro with llvmpipe.