this post was submitted on 28 Jan 2024
46 points (94.2% liked)

Selfhosted

39435 readers
10 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I'm thinking about moving my PC out to the living room and streaming back to my office when I need to. I've used a number of moonlight clients with mixed results.

Apple TV and Xbox Series X, terrible with massive lag.

Android with Nvidia shield pro or Chromecast with Google TV, not bad but not amazing,

MacOS client on MacBook pro and Google pixel 6 pro over wifi 6, perfect feels like it's on the same machine.

Before I go through all the effort of setting up the Raspberry Pi 4 just wondering if anyone has any first hand experience on the quality of the stream

top 18 comments
sorted by: hot top controversial new old
[–] [email protected] 15 points 9 months ago (1 children)

I use Moonlight Qt on a raspberry pi 5, and used it on a raspberry pi 4 before that. Both connected via ethernet, streaming at 150 mbps. It works very well, feels like being at the computer. It feels like there is next to no delay, and moonlight reports around 5 ms.

Somewhere else I use a raspberry pi 3 A+ with Moonlight Embedded, connected via Wi-Fi, and it works pretty well, but I can notice the delay a bit more. Still able to stream at 40 mbps.

[–] [email protected] 1 points 9 months ago (1 children)

Good to hear. I'll give it a shot, thanks!

[–] [email protected] 3 points 9 months ago (1 children)

To add more details, I use Sunshine as the server, and stream 1080p, in HEVC for the pi 4 and 5, and h264 for the 3 A+.

[–] [email protected] 1 points 9 months ago* (last edited 9 months ago) (1 children)

I have a 3b+ I want to try this with, it has double the ram and also Ethernet connection vs the 3a+. Do you see yours hit ram limit or you think the delay could be wifi related?

Keen for any tips, thanks!

[–] [email protected] 2 points 9 months ago

Probably wifi, I dont think Moonlight Embedded uses much ram. I also get the undervoltage warning nearly constantly, since the a+ is powered by the usb port of a projector. Maybe that also affects things.

[–] [email protected] 8 points 9 months ago (2 children)

What's moonlight? (Genuinely curious, always looking for new tools).

Thanks!

[–] [email protected] 11 points 9 months ago* (last edited 9 months ago) (2 children)

https://moonlight-stream.org/

Just to add some details to that link, it's a network streaming app that lets you remote into another machine and depending on your network configuration it's often fast and responsive enough to play games (I played through Celeste which is a very twitchy precision platformer with no issues). It's also just cool streaming something like Cyberpunk on ultra settings to your phone. There are moonlight clients for nearly any device.

To host moonlight you used to be able to just do it natively through Nvidia gamestream but they turned that feature off. You can use Sunshine now to host https://github.com/LizardByte/Sunshine

[–] [email protected] 1 points 9 months ago

@MeatsOfRage @BearOfaTime very cool! gonna try this out. Thanks!

[–] [email protected] 1 points 9 months ago

Oh, slick!

Now you given me yet another thing to sink time into, haha.

Thanks!

[–] [email protected] 5 points 9 months ago

I can't speak on moonlight specifically on the pi 4, but it running steamlink on wasn't bad on it, so I can't imagine it's would be any worse than that for moonlight.

Wired Nvidia shield TV has been my best experience when it comes to both moonlight and steam link out of all of the devices I've tried it with.

[–] [email protected] 3 points 9 months ago (1 children)

Works great. It’s my portable gaming box. I use virtualhere usb over ip on the same Pi too so I can use multiple controllers like a wheel or joystick, pass a full bluetooth adapter directly to it for emulators.

[–] [email protected] 1 points 9 months ago (1 children)

How good is the reach on that?

[–] [email protected] 2 points 9 months ago (1 children)

In the house, anywhere with wifi. Can run decently down to 10-15mbps at 1080p60.

Remotely, over Tailscale, my home uplink is too slow for anything more than 720p60, but its low latency enough I can play games like Mario RPG and get timed hits correct. Or Clone Hero. Games like rocket league tend to be too fast tho, and video breaks up badly.

so Long as you have fast enough uplink, I think I’d be fine anywhere. Sunshine and moonlight are amazing, I used to use Parsec extensively but now it’s just moonlight and sunshine.

[–] [email protected] 1 points 9 months ago (1 children)

I read about moonlight and sunshine, im glad its still current! One more question, your bluetooth controller, is there lots of latency on those?

[–] [email protected] 2 points 9 months ago

In most games not noticeable. Only game I have trouble with is emulating Wii, playing Mario Galaxy. The pointer on screen lags, but I think that’s more due to the bluetooth adapter compatibility than any latency added by the usb-> ip -> wifi link.

I’m not an FPS player, so can’t speak to sub second latency….but I do racing sims on this, and it has no trouble with controls and force feedback.

[–] [email protected] 1 points 9 months ago

I have a Raspberry Pi 4 with LibreELEC and Moonlight as a plugin. Streaming from my PC on 1080p with 60 fps and 80 mbit/s works great.