The following are my notes on todos/blockers before moving from X11->Wayland (possibly sway):
- Enable screensharing support
- Probably easiest to wait for xdg-desktop-portal-wlr to get packaged instead of manually handling it too:
- https://soyuka.me/make-screen-sharing-wayland-sway-work/
- Test Xwayland apps (e.g. vscode, chromium) running on DPI-scaled displays (currently noticably blurry)
- Test copy/pasting and ensure CRLF line endings aren't being added (^M), e.g.:
- From Firefox (running in wayland) to XWayland app (e.g. gvim)
- From LXTerminal to neovim-gtk
- Test neovim-gtk editing - scroll a number of lines and check for significant graphical glitches
- Also test selecting text up to the end of a line for glitches
- A newer release than 0.2.0 should definitely be checked based on commits since that release
- Test Chromium running hardware-accelerated video playback
- https://wiki.archlinux.org/index.php/Chromium#Hardware_video_acceleration
- This currently does not work on Wayland, Chromium needs to be launched under XWayland
- Would need to swap out XOrg "--use-gl=desktop" flag for "--use-gl=egl" (i.e a Gnome/i3 vs sway startup script)
- Operation under XWayland with egl currently has this issue:
- Nice to haves:
- Better support for non-native screen resolution on notebook internal display:
- "swaymsg -t get_outputs" only shows 2560x1440
- Can work around this via
swaymsg 'output eDP-1 scale 1 mode --custom 1920x1080'
- Can work around this via
- "swaymsg -t get_outputs" only shows 2560x1440
- eGPU hotplug (would be a nice improvement over X11)
- swaywm/wlroots#2423
- Once live, will need to reevalute/remove WLR_DRM_DEVICES setting in gdm launch script
- Better support for non-native screen resolution on notebook internal display: