Some really cool progress on my Wayland builds, see demo here:
EDIT:
(sound is out of sync and video is off sometimes but this is just due to the recording tool I guess, because it runs great)
EDIT2: Turns out it was just due to software encoding being heavy. Enabled vaapi in ffmpeg and it's all good, will make a new video later.
- Xwayland (from xorg git) included (adds about 6MB to the compressed image size) - launches only when needed
- Emulators with hardware engines pick the best available (Vulkan/OpenGL/OpenGL ES)
- Every libretro core using Vulkan or OpenGL through EGL directly on Wayland
- RPCS3 switches to the resolution set in the GUI (needs quit after changing in GUI)
- PCSX2 through Xwayland
- Quit apps with Antimicro (Dualshock 4 PS + Left trigger is set up automatically)
- Included wf-recorder recording utility
- Alacritty terminal
- Mesa 19.3-git with Intel and AMDGPU Mesa drivers
- Kodi compiled with GBM/KMS platform
- Linux kernel 5.3.5
- Qt 5.14 beta
Haven't added NVIDIA as I don't have any hardware to test, but should be possible through EGLStreams. This isn't included though. I'm quite pleased with the results, Wayland is running smoothly. I did have the odd crash here and there, but I'd say it's ready for day to day use.
Advantages with Wayland/Sway:
- Input lag comparable to KMS/GBM without needing to switch to a virtual terminal (less flickering when starting emus)
- Automatic PAL/NTSC refresh rate switch using Sway
- Lightweight desktop environment without the old and heavy X11 displayserver
- No tearing due to the compositor doing vsync
New image available here.
Others said it couldn't be done... 