Originally posted by Calinou
View Post
Announcement
Collapse
No announcement yet.
Initial XWayland Support Merged For X.Org Server 1.16
Collapse
X
-
Originally posted by mannerov View PostTo complete what is said on the mailing list:
. New gbm functions were introduced to Mesa master to export/import a dma-buf fd, so we don't use the ioctl directly (it seems the intel driver doesn't initialize something properly in this case) or use the EGL extension to import dma-buf (which implementation is... not very reliable. A restriction not in the spec is implemented, and a detail in the spec changed recently.). The glamor xwayland backend uses these gbm functions, but then can't be shipped until a Mesa release with the gbm functions. So finally only the software acceleration backend was merged, with a possibility to merge the glamor part before final release if Mesa releases a new version.
. XWayland Present support didn't make it. It needed some rework. Thus when using DRI3, you hit the Present support fallback, which doesn't avoid any copy, thus would not be faster than DRI2. (Note that DRI2 support wasn't added to XWayland by choice). Since Gnome still doesn't bypass scanout for Wayland, benchmarks shouldn't change.
. XWayland is still missing an important feature for games: the ability to restrict the mouse to the window (and still receive relative motion inputs if the mouse is blocked at the border), which makes a lot of games unplayable. This needs an Wayland extension, and even the SDL2 Wayland backend lacks this feature (I think it's the reason the backend isn't enabled by default)
Still relevant? Especially when it comes to building and using Xwayland.
Comment
-
Originally posted by blackout23 View PostSo to what degree is the information here: http://wayland.freedesktop.org/xserver.html
Still relevant? Especially when it comes to building and using Xwayland.
Building xserver master with the xwayland depencies installed (or force --enable-xwayland) will build xwayland with the xserver.
But you need the compositor to have adapted to the recent changes in the way to handle xwayland, so wait the patches for it are merged
Comment
-
Originally posted by mannerov View PostTo complete what is said on the mailing list:
. New gbm functions were introduced to Mesa master to export/import a dma-buf fd, so we don't use the ioctl directly (it seems the intel driver doesn't initialize something properly in this case) or use the EGL extension to import dma-buf (which implementation is... not very reliable. A restriction not in the spec is implemented, and a detail in the spec changed recently.). The glamor xwayland backend uses these gbm functions, but then can't be shipped until a Mesa release with the gbm functions. So finally only the software acceleration backend was merged, with a possibility to merge the glamor part before final release if Mesa releases a new version.
. XWayland Present support didn't make it. It needed some rework. Thus when using DRI3, you hit the Present support fallback, which doesn't avoid any copy, thus would not be faster than DRI2. (Note that DRI2 support wasn't added to XWayland by choice). Since Gnome still doesn't bypass scanout for Wayland, benchmarks shouldn't change.
. XWayland is still missing an important feature for games: the ability to restrict the mouse to the window (and still receive relative motion inputs if the mouse is blocked at the border), which makes a lot of games unplayable. This needs an Wayland extension, and even the SDL2 Wayland backend lacks this feature (I think it's the reason the backend isn't enabled by default)
The recent (even if partially) merged series looks like a rebase + review's comment inclusion than a different approach to sodisfy the NVIDIA needs, or not?
Comment
Comment