Skip to content

Broken capture method: wlroots #5018

Description

@tm-frs

Is there an existing issue for this?

  • I have searched the existing issues

Is your issue described in the documentation?

  • I have read the documentation

Is your issue present in the latest beta/pre-release?

This issue is present in the latest pre-release

Describe the Bug

I'm on Arch Linux, using hyprland. I use the wlroots capture method (to be able to stream virtual displays, but the issue occurs with real displays too). When starting a stream with Moonlight, I get a black screen, connection terminated with error code -1. Sunshine does not crash, and I still have to manually stop the session.

Expected Behavior

Streaming from Sunshine to Moonlight works.

Additional Context

I have tested some older verions a still had in my pacman cache. The last working version of sunshine-git is 2026.330.150440-1, the first broken one 2026.407.170539-1 (So the problem was introduced inbetween, and this is not a hyprland issue, since current hyprland works with older Sunshine version). The issue still persists with the latest version (2026.415.34134-1) installed.

Host Operating System

Linux

Operating System Version

Arch Linux; full system upgrade on 2026-04-17

Architecture

amd64/x86_64

Package

Linux - LizardByte/pacman-repo

GPU Type

NVIDIA

GPU Model

NVIDIA GeForce RTX 3060

GPU Driver/Mesa Version

nvidia-open-dkms 595.58.03-2

Capture Method

wlroots (Linux)

Apps

issue persist on all apps (including just Desktop without prep scripts)

Log output

see gist

Online logs

https://gist.github.com/tm-frs/1db4c749bf258e2d12aeea21eb961689

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions