Skip to content

Instantly share code, notes, and snippets.

@agoose77
Created January 30, 2024 13:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agoose77/a9dfe7e8fa9dde919b4d014ce9b3cb72 to your computer and use it in GitHub Desktop.
Save agoose77/a9dfe7e8fa9dde919b4d014ce9b3cb72 to your computer and use it in GitHub Desktop.
Running regolith (sway) on an Nvidia GPU
  1. Build patched wlroots
    • Online there are patches that touch wlr_output_preferred_read_format and gles2_bind_buffer
  2. LD_PRELOAD this patched object in the launcher before invoking sway-regolith: sudo $EDITOR $(which regolith-session-wayland)
  3. Enable nvidia_drm.modeset=1
  4. set XDG_CURRENT_DESKTOP=sway in ~/.config/environment.d such that screensharing works.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment