OBS Studio plugin for efficient screen capture on wlroots-based wayland compositors.
While most compositors have a screencapture implementation through pipewire, it quite frankly just sucks. For some reason, it slows down my games (from 60 fps limited to 30 fps.. like what the hell) and the annoying popup you get on Hyprland is also just annoying. Fortunately, the desktop portal and pipewire simply use a wlroots protocol called ZwlrScreencopyManagerV1, which is what this plugin uses to capture the screen.
Your compositor needs to support these experimental protocols:
(see compositor support at the bottom of the page)
- Clone this repository
- Run
make PROD=1
- Copy the resulting
obs-wlroots-screencopy.so
to your OBS Studio plugin directory (usually~/.config/obs-studio/plugins/obs-wlroots-screencopy/bin/64bit/
) - Restart OBS Studio
- Add a new source to your scene
- Select
Screencopy Source
from the list of available sources - Configure the source