Repository navigation
LinuxPlay 2.2.0 brings zero-copy screen capture: on Wayland, the
compositor's frames now go straight from the GPU to the encoder, without
ever passing through the CPU.
Zero copy
Streaming a moving full-screen picture at 1080p 60 fps (H.265, about
22 Mbit/s, wired LAN) from KDE Plasma:
| Host CPU | Compositor CPU | Capture to screen | |
|---|---|---|---|
| NVENC (RTX 5060 Ti), 2.1 | 28 % of a core | 8 % | 4.0 ms |
| NVENC (RTX 5060 Ti), 2.2 | 6 % | 3 % | 3.0 ms |
| VA-API (RX 7800 XT), 2.1 | 6 % | ||
| VA-API (RX 7800 XT), 2.2 | 2 % |
- NVENC gets the frames as OpenGL textures, converted to the encoder's
format by a shader; VA-API imports them itself. - Colours are the same as before (within 2 levels out of 255).
- A short trial run checks each stream first. Where the frames can't reach
the encoder (for example, the desktop is drawn on one GPU and encoded on
another), LinuxPlay uses the previous path, as before. LINUXPLAY_ZERO_COPY=0turns it off, for comparisons.
Also
- LinuxPlay Host is back in the app menu, next to LinuxPlay.
Install
Flatpak (any distribution with Flatpak):
flatpak install --user LinuxPlay-2.2.0-x86_64.flatpak
flatpak run io.github.techlm77.LinuxPlay # the window
flatpak run --command=linuxplay-host io.github.techlm77.LinuxPlay # share from the command lineAppImage (glibc 2.39 or newer: Ubuntu 24.04, Debian 13, Fedora 40,
Linux Mint 22 and later, the Arch family; older systems use the Flatpak):
chmod +x LinuxPlay-2.2.0-x86_64.AppImage
./LinuxPlay-2.2.0-x86_64.AppImage # the window
./LinuxPlay-2.2.0-x86_64.AppImage ADDRESS # connect straight away
./LinuxPlay-2.2.0-x86_64.AppImage host # share this computerSHA-256
1fde8bf74b0c2ed82f443510ace9e3bc802c76f66809ed23a18fbb296d85f203 LinuxPlay-2.2.0-x86_64.flatpak
7f02bb16e85e9954b4ab43bf7ba63968ace8304adee9859951181255519d2e35 LinuxPlay-2.2.0-x86_64.AppImage