x11docker VS wlroots

Compare x11docker vs wlroots and see what are their differences.


Run GUI applications and desktops in docker and podman containers. Focus on security. (by mviereck)


A modular Wayland compositor library (by swaywm)
Our great sponsors
  • Scout APM - A developer's best friend. Try free for 14-days
  • Nanos - Run Linux Software Faster and Safer than Linux with Unikernels
  • SaaSHub - Software Alternatives and Reviews
x11docker wlroots
14 90
3,769 1,969
- -
8.4 9.8
5 days ago about 1 month ago
Shell C
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.


Posts with mentions or reviews of x11docker. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-11.


Posts with mentions or reviews of wlroots. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-03.
  • My VR Hell on NixOS
    3 projects | reddit.com/r/NixOS | 3 Dec 2021
    The underlying Wayland protocol needed to allow direct mode for HMD has been merged as an official Wayland protocol a few months ago. Sway and Wlroots both already support it, though both have not received a release since then, so you would need to run Git master there. XWayland (which is required for SteamVR) has a pending merge request (which will probably be merged in the next few days) that implements the required feature. I am running my Valve Index in VR since I switched to Wayland in February this year. The Vulkan extension you mentioned in the post is just a fallback in case the X server (or in your case XWayland) doesn't support drm-lease. I never saw that extension in action so I don't even know if it works at all on Linux.
  • 1 month on a Linux desktop
    4 projects | dev.to | 10 Nov 2021
    The topic makes for some pretty spicy reading 🌶️🌶️🌶️🌶️🌶️ but to cut a long story short, at the time of writing (22/08/2021), Nvidia's proprietary drivers don't fully support an API called Generic Buffer Management (GBM) - A more or less universally agreed upon API required most Wayland compositor libraries (like the official version of wlroots, used by swaywm) and supported by more or less every other hardware manufacturer's drivers. This means quite a lot of modern desktop environments aren't supported properly when you're using an Nvidia GPU.
  • Wayland + 4K performance issues.
    1 project | reddit.com/r/kde | 9 Nov 2021
    Full read here https://github.com/swaywm/wlroots/issues/934
  • Sway merged the new vulkan renderer! (/r/swaywm)
    1 project | reddit.com/r/mistyfront | 4 Nov 2021
  • There is no noticeable difference between X11 and Wayland
    2 projects | reddit.com/r/linux | 31 Oct 2021
  • Sway (tiler) merged a vulkan renderer
    1 project | reddit.com/r/Boiling_Steam | 28 Oct 2021
  • Sway merged the new vulkan renderer!
    3 projects | reddit.com/r/linux | 28 Oct 2021
    3 projects | reddit.com/r/swaywm | 28 Oct 2021
  • Sway merged vulkan support!
    1 project | reddit.com/r/swaywm | 28 Oct 2021
  • Xorg-Server 21.1.0
    8 projects | news.ycombinator.com | 27 Oct 2021
    And there are at least three[2] actively maintained compositors based on wlroots. Sway being the most popular, the one for which wlroots was initially developed for.

    I believe that there won't be too many incompatibilities, because there are 3 (4, including weston) wayland compositors developed (Gnome's, KDE's & wlroots based), all three of them having their own use cases. Using protocol extensions only useable on one compositor would limit the app to a subset of Linux Desktops (and mobile), so if possible, most apps won't use them.

    PS: I just remembered one case of fragmentation: Activity Watch, a tool to keep track which apps are used how long and to track idle times, won't be able to support Gnome (mutter), because Gnome dev's won't implement the necessary freedesktop protocol extension. Sway (and KDE?) does, so it works on them. One solution would be to write a Gnome Shell extension, but yeah, it's not as easy as on X.org (reason being privacy, in this case).

    [1] https://github.com/swaywm/wlroots

What are some alternatives?

When comparing x11docker and wlroots you can also consider the following projects:

leftwm - LeftWM - A tiling window manager for Adventurers

wlroots-eglstreams - A modular Wayland compositor library with EGLStreams support

nvidia-patch - This patch removes restriction on maximum number of simultaneous NVENC video encoding sessions imposed by Nvidia to consumer-grade GPUs.

libinput-gestures - Actions gestures on your touchpad using libinput

xdg-desktop-portal-wlr - xdg-desktop-portal backend for wlroots

wayfire - A modular and extensible wayland compositor

Docker-OSX - Run Mac in a Docker! Run near native OSX-KVM in Docker! X11 Forwarding! CI/CD for OS X!

qubes-app-split-browser - Tor Browser (or Firefox) in a Qubes DisposableVM, with persistent bookmarks and login credentials

go-sct - A color temperature setting library and CLI that operates in a similar way to f.lux and Redshift. Supports Wayland, X and Windows

epd-wm - Wayland compositor/window manager that outputs to IT8951 E-Paper displays (WIP).

obs-studio - OBS Studio - Free and open source software for live streaming and screen recording

sway - i3-compatible Wayland compositor