LizardByte / LizardByte/Sunshine

xdg portal / pipewire capture works on kde but not hyprland

Open
#4,662 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
41.4k
Forks
2.1k
Avg merge
23h 47m
Merged PRs (30d)
124

Description

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

Hey, great work on the new xdg desktop portal capture method backend. I have personally been waiting on this feature for quite a while. I just tested it out and noticed that it doesn't work on hyprland. I tested again on kde plasma and it worked perfectly. The only thing that stood out to me when checking the status of sunshine via systemd was the line Pipewire Error, id:2 seq:24 message: no more input formats.

I searched online for that particular error, but it seem to have drug up old issues regarding having the display set to 10 bit instead of 8. However changing to 8 bit did not fix the issue. I tried restarting all of the portal services as well as sunshine after doing so to no avail.

I know that screencasting works on hyprland via obs, vesktop, and the mozilla test page, but I can't seem to get sunshines implementation to work.

If there is any additional info I can provide. Please let me know.

Expected Behavior

No response

Additional Context

No response

Host Operating System

Docker

Operating System Version

Arch

Architecture

amd64/x86_64

Sunshine commit or version

66cdaf9d14c890e165b10a1f94be8452afd67b76

Package

Linux - pkg.tar.zst

GPU Type

AMD

GPU Model

9070 XT

GPU Driver/Mesa Version

26.1 git

Capture Method

None

Config

Apps

Relevant log output
Pipewire Error, id:2 seq:24 message: no more input formats

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files or tests are named. Start by reproducing the xdg desktop portal capture path on Hyprland and compare it with KDE, then trace the PipeWire error no more input formats; done means Sunshine captures successfully on Hyprland without that error.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.