Skip to content

Linux - Broken output in Sway/wlroots #4050

@quietvoid

Description

@quietvoid

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

Since #3783, the output from Sunshine is broken with Sway/wlroots on Vulkan host.
It is now also present in the latest stable release, v2025.628.4510

When starting stream in Moonlight, the video is garbled instead of being correct.
Originally mentioned: #3783 (comment)

Expected Behavior

The output streamed video should look correct.

Additional Context

Sunshine streaming works fine with the same setup in version v2025.122.141614

Host Operating System

Linux

Operating System Version

Arch Linux

Architecture

amd64/x86_64

Sunshine commit or version

2025.628.4510

Package

Linux - AUR (Third Party)

GPU Type

AMD

GPU Model

AMD Radeon RX 6900 XT

GPU Driver/Mesa Version

25.1.5

Capture Method

wlroots (Linux)

Config

av1_mode = 1
capture = wlr
encoder = software
fps = [60]
min_log_level = 0
min_threads = 8
origin_web_ui_allowed = pc
output_name = 2
qp = 23
resolutions = [
    1920x1080
]

Relevant log output

[2025-07-05 09:12:31.215]: Debug: Screencopy supports SHM format: 808669784
[2025-07-05 09:12:31.215]: Debug: Screencopy supports DMA-BUF format: 808669784
Error: Frame capture failed

System logs:

sway[1551]: 03:14:47.773 [ERROR] [wlr] [render/vulkan/texture.c:527] Format XR30 (0x30335258) can't be used with modifier INVALID (0x00FFFFFFFFFFFFFF)

Verbose log snippet: sunshine.log

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