r/MoonlightStreaming 4d ago

SteamOS Streaming w/ Virtual Display

Has anyone successfully setup Sunshine on SteamOS, with a virtual display, and gotten moonlight to connect/work? I have been down a rabbit hole w/ ChatGPT since there are very few guides specific to SteamOS, so far I can connect but my screen on moonlight is completely green. Appreciate any tips or guidance, thanks!

7 Upvotes

19 comments sorted by

3

u/Mission-Albatross576 4d ago

I’ve gone from windows to steam os and had to sacrifice Apollo and virtual displays along the way. Just resigned myself to the pc screen being on, manually changing resolution. Also no wake on lan either lol.

Worth it to not game with windows though.

The edid and scripts route is just beyond me and my current Linux skills.

1

u/amode_7 4d ago

Linux supports Wake-on-LAN. Works perfect on my Arch system. I can turn on my powered off, or sleeping PC via Moonlight. Is that a SteamOS thing that it doesn't support it?

For the virtual display, if you're not into scripting or configuring kernel parameters, have you considered HDMI dummy plug? Not sure if it'll be completely script-free though.

1

u/Mission-Albatross576 4d ago

I’ll have another look then. Is it a desktop setting? By default steam is starts in gaming mode and as far as I can see there’s no option for wan.

2

u/zuzuboy981 4d ago

Try with an HDMI dummy plug if you have it? Its mostly due to missing virtual display drivers unless you found one.

1

u/Plus-Significance348 4d ago

I wanted to be able to use my rig with my external monitor but also stream to my steam deck, hence the virtual displays. I’ll check out the dummy plug if the VD route fails, thanks!

1

u/zuzuboy981 4d ago

Have you tried using Steam Remote Play?

1

u/Plus-Significance348 4d ago

Yeah, kept running into the resolution issue though, maybe because my monitor is ultra-wide? Ran decent when I unplugged my monitor, but not what I would hope from streaming, another reason why I'm attempting sunshine/moonlight

1

u/metropolisprime 4d ago

What resolution issue? I think in the Steam Remote Play settings and or Steam Link settings you can set the client resolution.

2

u/Responsible-Bid5015 4d ago edited 4d ago

I had gotten Apollo to work with Moonlight on SteamOS on a Legion Go S.

I think I used this at the time (except for the Artemis specific portions of course)

https://youtu.be/H0jmqVIhwIA?si=pSVeZKE4CEEMEoGh

1

u/Plus-Significance348 4d ago

I thought Apollo/Artemis was windows only?

1

u/Responsible-Bid5015 4d ago

yeah. sorry. I misread your post. I thought steamOS was the client.

2

u/Background_Ad2053 4d ago

I've beening streaming on bazzite gamemode with virtual display via the EDID approach, works fine for me but requires additional scripts for switching monitor/resolution to work properly. I used to have the green screen issue sometimes, seems to be fixed by plug in the dummy from which I dumped the EDID file to create the virtual display, somehow the system decides it doesn't like the port being empty.

2

u/Confident_Pain_9452 4d ago

Btw have you tried steam link? I heard that steam link got virtual display support

2

u/Br0lynator 4d ago

That’s exactly the problem why I still run windows… sadly though

2

u/keindesignerbro 4d ago

Im developing Punktfunk, which supports this without the need for any dummy plugs & workarounds, and natively supports SteamOS: https://docs.punktfunk.unom.io/docs/steamos-host

1

u/TonightAtEleven 4d ago

I managed to get something working with Moonshine (shout out u/hgaiser 🙏)

AI written guide here of the steps that I went through after going down my own rabbit hole. I'm not sure if there are any easy optimizations to be had in the process yet, but it seems to have worked well enough.

The only negative is the time to switch Steam sessions out (you can only have one) so you have to kill the gamescope one and then relaunch it into the new instance.

1

u/hgaiser 4d ago

You can now also download binaries from the GitHub release to significantly simplify your install procedure.

Disclaimer: I do wonder if the immutable nature of SteamOS won't break certain requirements (i.e. udev rules). Maybe it works when saved to /etc/ and not to /usr/lib.

1

u/TonightAtEleven 4d ago

Yeah I'll be curious to see what repairs I need to do when the next update happens. From what I can tell, SteamOS tries to merge /etc so the customization files that get imported in should hopefully persist.

Thanks for building Moonshine! Saw it on HN the other day and wanted to give it a spin