Skip to content

Instantly share code, notes, and snippets.

@troyready
Created April 14, 2021 16:25
Show Gist options
  • Save troyready/6bac9c2b41329381507ec5f1062f55d2 to your computer and use it in GitHub Desktop.
Save troyready/6bac9c2b41329381507ec5f1062f55d2 to your computer and use it in GitHub Desktop.
Sway/Wayland Blockers

The following are my notes on todos/blockers before moving from X11->Wayland (possibly sway):

  • Enable screensharing support
  • 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
  • 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'
    • 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment