Page MenuHomePhabricator

Xwayland issues in E.
Open, Pending on user inputPublic

Description

After running a few short test with weston and E it seems that Xwayland in E acts weird.

When a new window opens it will render -for a split second- a picture from another xwayland app. When testing with firefox the url drop down freezes and also webgl is not working. Both those work ok under Weston.

ApB created this task.May 31 2019, 1:13 AM
ProhtMeyhet triaged this task as Pending on user input priority.Aug 7 2019, 3:18 AM
ProhtMeyhet added a subscriber: ProhtMeyhet.

When a new window opens it will render -for a split second- a picture from another xwayland app.

the memory underneath the window that is to be rendered is not cleared, because it would hinder performance. However, this newly allocated memory section is already send to whatever has to render it, but not filled with the intended data. As such, the old data in this section is at first used.

Happens under X as well, but it's usually only visible when there is no time for the given thread to push it's own data into the allocated memory - like a high system load.

Xwayland in this matter is worse, because it is an emulation. The Xwayland server gets send X11-Style commands and then has to translate the X11-Style commands to wayland commands, which - well - takes time. The advantages of multi-threading also have disadvantages.

Webgl not working is probably a fault of firefox's detection mechanics. Both things are unlikely caused by Enlightenment, but i'll leave that to @devilhorns