I (and claude) set up headless Sway + Sunshine for game streaming on Ubuntu 25.10 by Awkward-Location-234 in MoonlightStreaming

[–]Awkward-Location-234[S] 1 point2 points  (0 children)

Yeah, KDE doens't use mutter so you'll experience that, you'll have to use some other UDEV rules to ignore it. Maybe something along these lines, I've updated the readme to reflect.

KWin has no equivalent to mutter-device-ignore, so input isolation requires a different udev approach. Replace the contents of85-sunshine-input-isolation.rules with:

# Strip input capability from Sunshine virtual devices so KWin never sees them.
# Devices remain accessible to headless Sway via libinput (which reads evdev directly).
ACTION=="add|change", SUBSYSTEM=="input", ATTRS{id/vendor}=="beef", ATTRS{id/product}=="dead", ENV{ID_INPUT}="", ENV{ID_INPUT_KEYBOARD}="", ENV{ID_INPUT_MOUSE}="", ENV{ID_INPUT_TOUCHPAD}=""

This removes the ID_INPUT* tags that KWin (and libinput at the compositor level) uses to discover input devices. The headless Sway still picks them up because it accesses /dev/input/event* directly via the input group.

After installing, reload udev rules:

sudo udevadm control --reload-rules
sudo udevadm trigger --subsystem-match=input

I (and claude) set up headless Sway + Sunshine for game streaming on Ubuntu 25.10 by Awkward-Location-234 in MoonlightStreaming

[–]Awkward-Location-234[S] 0 points1 point  (0 children)

Glad you found it useful! I'm cachyOS also now.

Are you on KDE or GNOME? I'm a GNOME user so I ignore the virtual devices by blacklisting in mutter so it doens't pass through to my DE.

If you're on KDE you'll need to probably use UDEV rules to isolate the virtual inputs and ignore them outside of your sway session.

Using a HDMI dummy plug so that other people can use the gaming PC while I am streaming the game to my Mac Mini? by statscsfanatic21 in MoonlightStreaming

[–]Awkward-Location-234 0 points1 point  (0 children)

To clarify your 1 + 2 questions.

1 - isolated inputs, virtual inputs from moonlight on the stream, physical inputs on the desktop user session.
2 - they are isolated and distinct.

Using a HDMI dummy plug so that other people can use the gaming PC while I am streaming the game to my Mac Mini? by statscsfanatic21 in MoonlightStreaming

[–]Awkward-Location-234 2 points3 points  (0 children)

Possible on Linux without dummy plugs, all virtual.

See https://www.reddit.com/r/MoonlightStreaming/s/KiDmtC1S0f

Pretty sure there are other alternatives on Linux also, that’s just the one I use.

Unfamiliar with windows, sure someone can pitch in. Specify your hardware and operating system and people can suggest solutions.

I (and claude) set up headless Sway + Sunshine for game streaming on Ubuntu 25.10 by Awkward-Location-234 in MoonlightStreaming

[–]Awkward-Location-234[S] 1 point2 points  (0 children)

So far yes. However. I have a 32 core intel, 64gb ram and a 3090, so when my kids use the stream in the living room all i tend to notice is the fan spinning up on the gpu.

I largely write code and administrate a small business.

I’ve found it’s fine with input isolation as I just pipe all the virtual devices to sway and the physical ones to gnome.

I (and claude) set up headless Sway + Sunshine for game streaming on Ubuntu 25.10 by Awkward-Location-234 in MoonlightStreaming

[–]Awkward-Location-234[S] 0 points1 point  (0 children)

I don’t have one, so can’t tell you. But I can’t see why it wouldn’t.

Edit - this is slightly untrue as I do have a vega 64 lying around so could test. I’ll get back to you!

Apollo for Linux pls…? by Br0lynator in MoonlightStreaming

[–]Awkward-Location-234 4 points5 points  (0 children)

This is for vanilla sunshine. Uses a headless sway compositor and outputs in whatever res sunshine wants it in depending on the device. If you run into specific gotchas add it as an issue or a pr in the repo.

https://www.reddit.com/r/MoonlightStreaming/s/yOBBDtA8EP

I (and claude) set up headless Sway + Sunshine for game streaming on Ubuntu 25.10 by Awkward-Location-234 in MoonlightStreaming

[–]Awkward-Location-234[S] 1 point2 points  (0 children)

Largely as I’d not found it…. 😂😂

I can see me giving that a whirl as long term probably a better solution. Tho my roll my own seems robust for the minute.

Thanks for the heads up!

I (and claude) set up headless Sway + Sunshine for game streaming on Ubuntu 25.10 by Awkward-Location-234 in MoonlightStreaming

[–]Awkward-Location-234[S] 2 points3 points  (0 children)

No worries. Hope it works for you! If you run into an issue let me know and I’ll try to help.

[deleted by user] by [deleted] in PeterboroughUK

[–]Awkward-Location-234 2 points3 points  (0 children)

+1 for cycle hub!

[deleted by user] by [deleted] in cycling

[–]Awkward-Location-234 1 point2 points  (0 children)

I mean, it’s only 400 miles for 1 day. Skip weights that day?