Homebrew RELEASE Moonlight-Switch - Nvidia Game Stream client

  • Thread starter Thread starter XITRIX
  • Start date Start date
  • Views Views 131,304
  • Replies Replies 276
  • Likes Likes 28
Do you have any recommended settings for avoiding latency and skips?

I've noticed that most of the time, if I stick to 720p 60fps streaming, H.264, 10-20mbps bitrate max, and 4 thread decoding, I end up having a pretty solid experience on my network setup with great image quality, but also with occasional skips (where the game appears to 'slow down' almost imperceptibly on Switch, but not PC, before the stream catches back up by jumping forward). I've had bitrates higher than that work, but the higher I go, the less smooth the stream becomes. And changing to H.265, or changing the number of decoders, or increasing the stream resolution, leads to guaranteed streaming performance degradation.

I'm wondering if these are issues with my network setup (not sure since this network setup was constructed with streaming in mind and usually works flawlessly) or are inherent limitations of a streaming program like Moonlight on Switch.
 
Do you have any recommended settings for avoiding latency and skips?

I've noticed that most of the time, if I stick to 720p 60fps streaming, H.264, 10-20mbps bitrate max, and 4 thread decoding, I end up having a pretty solid experience on my network setup with great image quality, but also with occasional skips (where the game appears to 'slow down' almost imperceptibly on Switch, but not PC, before the stream catches back up by jumping forward). I've had bitrates higher than that work, but the higher I go, the less smooth the stream becomes. And changing to H.265, or changing the number of decoders, or increasing the stream resolution, leads to guaranteed streaming performance degradation.

I'm wondering if these are issues with my network setup (not sure since this network setup was constructed with streaming in mind and usually works flawlessly) or are inherent limitations of a streaming program like Moonlight on Switch.

I could recommend to not changing decoder to H.265, Switch's CPU just cannot handle it, also 1080p is too much for it, but with CPU overclock it works surprisingly well. I'm always playing on 10mbps bitrate and 720p resolution, but could change to 1080p with overclocking if I'm playing on TV. WiFi 2.4g or 5g - doesn't matter, they both works good enough for me.
 
Do you know if there's a way to prevent the Switch screen from darkening if you haven't touched the controller? It's sort of annoying if you're watching a movie.

EDIT: I found out it's screen burn-in reduction in the Switch settings. Not sure if there's a way to disable it for just when I'm running Moonlight.
 
Last edited by Archival,
if there's a way to prevent the Switch screen from darkening
I know there is a YouTube app for switch, I have not used it, but if it could prevent screen from darkening, that mean there is a system call which I could use, I’ll try to search for it.

Upd. I found it, it will be included in next release!
 
Last edited by XITRIX,
I have a setup of three monitors and when I connect from the console I get the right monitor instead of the main one and I have to be moving from one screen to another the games manually on the PC. Is there any way to solve this?

EDIT.

I have found the solution but I can't post links, you just have to google this:

"lighthouse thecloudiest com fix-nvidia-shield-moonlight-selecting-the-wrong-monitor"
 
Last edited by Parzzival,
Amazing app, works great, with some OC latency becomes almost negligible, you can even play fighting games! I noticed some weird bug tho, but may be its just me.. The keyboard overlay doesn't allow me to alt+tab/alt+f4 even tho i'm pretty sure it was implemented to work. And it actually works in mouse input mode but not in touch.

EDIT: NVM, i had 0.7 release, 0.7.1 fixed that.

Once again, this is one of the most useful homebrew apps on switch for sure! Thanks for this.
 
Last edited by bad361,
Would my headphones and mic work in a game on this?

Headphones - yes, mic - no, I’m not sure does mini-jack in Switch even has physical connection for mic. I have tried to run Android on my Switch and mic not work at all (may be it was android issue, I’ll try to find it out)
 
Hi, thanks for your great work XITRIX. I've tried on my Switch and it ran very smoothly with very low latency (Already OC as max) and using the default configuration

However, I noticed sometimes there are random micro-stuttering (like 1-2 frame drop-off, easy to notice when gaming at 60fps). I had Chiaki homebrew installed with having same issue (play some PS games at 60fps via Remote Play). I'm on 5ghz Wifi and my PC wired to the network, also tested moonlight on L4T Linux and Android and both of them are running very well so might not related to the network issue

I want to use this homebrew to use my split pad that not detected on Linux/Android

I tried to change the OC value (mem, cpu, gpu) but did not have any luck.

Is there any workaround or config to bypass it. Thanks
 
Last edited by tungan91,
I noticed sometimes there are random micro-stuttering

Hi, it's really hard to debug anything on switch, so I could not say any details about why that could happening, soon I'd like to release versions of this app for MacOS, Linux and Windows, with them, it will be much easier to find the source of any problem
 
  • Like
Reactions: tungan91
Hi, it's really hard to debug anything on switch, so I could not say any details about why that could happening, soon I'd like to release versions of this app for MacOS, Linux and Windows, with them, it will be much easier to find the source of any problem

Hi, seems there is something wrong at my end. The stuttering is gone recently and the stream is absolutely smooth. Will monitor and will report back if that happened again

Thanks again for your good project and efforts. Looking forward to your Mac/Linux ports
 
Release v0.8

What's new:
- Added support for physical mouse and keyboard
- Added Japanese language
- Disabled screen dimming on stream active
- Screen aspect ration support added
- Minor fixes

Work in progress for multiplatform, already able to build for Mac, Linux and Windows, but I have no idea how to build standalone app without dependencies

it supports USB HID keyboard/mouse
That update is specially for you ;)
 
Hey XITRIX, if you want, I can do a Czech translation of the application... ;-) Please let me know if you're interested... Thanks! Roman
 
Hey XITRIX, if you want, I can do a Czech translation of the application... ;-) Please let me know if you're interested... Thanks! Roman
Hi, thanks, I'm interesting in any sort of translation, so you are welcome! ;)
Right now I'm reworking localization stuff, to make localization process easier.
https://poeditor.com/join/project?hash=9kiCIvN0dc
Open the link, create the language and reply me with your username (or better create an Issue on github with localization permissions request), so I could grant you permissions to modify it.
Later I'll create an instruction for localization contribution on main page of github project.
 
Hi, thanks, I'm interesting in any sort of translation, so you are welcome! ;)
Right now I'm reworking localization stuff, to make localization process easier.
https://poeditor.com/join/project?hash=9kiCIvN0dc
Open the link, create the language and reply me with your username (or better create an Issue on github with localization permissions request), so I could grant you permissions to modify it.
Later I'll create an instruction for localization contribution on main page of github project.
I replied on the poeditor page and now it's pending for your approval... ;-)
 
Translation done
You're fast!)
If you'd like to be a contributor, you could download that localization add it into the project and create a pull request, if you're not interested in it, I could add it by myself. If you'd like to test your localization "in action" create an issue on github, I'll attach a build with localization there.
 

Site & Scene News

Popular threads in this forum