On Arch Linux, wayland 1.6.1-1, weston 1.6.1-1. Starting weston from a VT with just "weston", using drm-backend.so, and running an X application through Xwayland, switching from weston to a VT and back to weston, and then moving the mouse Pointer over the X application will cause the X application to terminate, with weston showing "queueing pageflip failed: Permission denied". Prior to the VT switch, the X application will run normally. In contrast, with a Wayland application, for instance with weston-terminal, switching to a VT and back, there is no similar problem. This is a bit of a practical annoyance because, for now, I don't usually run weston exclusively, instead, more so testing various features and functions, and enjoying the light-weight graphic shell, which is a big step-up from a VT. I like to be able to switch from weston to a VT and to Xorg and back to weston. I think this problem is a regression and don't remember anything like this with weston 1.5.
Created attachment 113025 [details] annotated weston log showing Xwayland crash
I have attached output from "weston > westonlog 2>&1", with the following stages annotated: 1 start weston and weston-terminal 2 start dillo 3 switch to Xorg 4 switch back to weston 5 mouse-over dillo and crash Xwayland, weston-terminal continues normally 6 access the panel and crash weston An alternative sequence, switching to Xorg and back _before_ starting dillo, and _then_ starting dillo after the switch and back, "ps" will say that dillo and Xwayland are running, but no dillo window will be seen. In contrast, at the same time, weston-terminal can still be started and presents a normal window. Often, but not always, the first attempt at "Ctrl-Alt-F1" to switch to xorg will fail. This "probabilistic" control response means something is wrong. Often, but not always, accessing the panel after Xwayland has crashed, will also crash weston. When Xwayland has _not_ crashed, and then terminating weston, Xwayland does not seem to terminate "gracefully", showing: (EE) Fatal server error: (EE) failed to dispatch Wayland events: Broken pipe (EE) Can't open display: :1 but I suppose that that is a separate issue. Please see the attached log.
I have tested this on weston 1.7.0, actually github.com/giucam/weston#branch=libweston, wayland 1.7.0, and libinput 0.10.0, and am no longer seeing the problem. It seems to be fixed.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.