Zoom freezes when sharing a desktop with the compositor on (Intel Iris Xe, Mesa 25.2.8); fine with compositor off

Summary With the xfwm4 compositor enabled, the Zoom client freezes when I start sharing a desktop. With the compositor disabled, the same steps work every time. Only Zoom hangs; the rest of the desktop keeps responding.

Environment

  • Ubuntu 24.04.5 (Xubuntu), Xfce 4.18, xfwm4 4.18.0-1build3, kernel 6.8.0-142-generic
  • X11 session
  • Intel Iris Xe (ADL GT2), Mesa 25.2.8
  • Two outputs, mirrored: eDP-1 and HDMI-1, both 1920x1080
  • Zoom 7.2.1.5760 (proprietary, platformName: xcb)

Steps

  1. xfconf-query -c xfwm4 -p /general/use_compositing -s true
  2. Join a Zoom meeting and share a desktop.

Result, compositor on

  • Zoom freezes: on the first share once, on the second share on other occasions.
  • The X server itself is responsive. Ctrl+Alt+F11 with grab:debug logs no active keyboard or pointer grab, and Ctrl+Alt+F3 switches to a console.
  • pkill zoom recovers it.

Result, compositor off xfconf-query -c xfwm4 -p /general/use_compositing -s false avoids the freeze. Three shares of both desktops in a row worked, including one after closing and reopening the lid. Turning the compositor back on brought the freeze back on the first share.

Notes

  • Display hotplug is not required: it also froze with the lid open from the start.
  • Zoom's log shows several Qt OpenGL windows being created as sharing starts, then nothing; no error or warning.
  • I have no backtrace or hang state of the frozen process.
  • Possibly related: #869 (crash with the compositor on, Mesa 25.1.4, Nvidia). I don't know whether it shares a cause.

Happy to collect more, for example xfwm4 --replace output or a stack of the hung process, if that helps.

Analysis done with Claude Code.