Direct scanout no longer works for Xwayland applications with new frames client
Affected version
Upstream mutter since !2175 (merged) on Fedora 37 under Wayland
Bug summary
When putting an Xwayland application in fullscreen, direct scanout does not trigger in situations that it previously would. Can't seem to find any Xwayland application which is able to use direct scanout.
Steps to reproduce
- Run a build of upstream mutter
- Run any X application in the Wayland session
- Enter fullscreen, and check with PAINT_DAMAGE_REGION from looking glass; direct scanout is not active
What happened
Direct scanout is inhibited where it previously wasn't
What did you expect to happen
Direct scanout would trigger, as prior to the new frames client
Relevant logs, screenshots, screencasts etc.
The new debug printouts for direct scanout seem helpful in this instance. When enabling these logs, the reason that direct scanout is inhibited seems to be Window-actor is not opaque