Homebrew RELEASE Moonlight-Switch - Nvidia Game Stream client

NextChallenger

Active Member
Newcomer
Joined
Jul 23, 2019
Messages
38
Trophies
0
Location
In the heart of battle.
XP
199
Country
United States
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.
 

XITRIX

Well-Known Member
OP
Newcomer
Joined
Jul 16, 2021
Messages
46
Trophies
0
Age
24
XP
182
Country
Russia
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.
 

Archival

New Member
Newbie
Joined
Sep 8, 2021
Messages
3
Trophies
0
Age
30
XP
16
Country
Canada
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,

XITRIX

Well-Known Member
OP
Newcomer
Joined
Jul 16, 2021
Messages
46
Trophies
0
Age
24
XP
182
Country
Russia
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,

Parzzival

Member
Newcomer
Joined
Jul 7, 2021
Messages
5
Trophies
0
Age
24
XP
60
Country
Spain
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,

bad361

Well-Known Member
Member
Joined
Jun 18, 2018
Messages
1,000
Trophies
0
Location
Moscow
XP
1,550
Country
Russia
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,

XITRIX

Well-Known Member
OP
Newcomer
Joined
Jul 16, 2021
Messages
46
Trophies
0
Age
24
XP
182
Country
Russia
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)
 

tungan91

Member
Newcomer
Joined
Sep 16, 2021
Messages
6
Trophies
0
Age
27
XP
14
Country
Vietnam
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,

XITRIX

Well-Known Member
OP
Newcomer
Joined
Jul 16, 2021
Messages
46
Trophies
0
Age
24
XP
182
Country
Russia
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

tungan91

Member
Newcomer
Joined
Sep 16, 2021
Messages
6
Trophies
0
Age
27
XP
14
Country
Vietnam
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
 

XITRIX

Well-Known Member
OP
Newcomer
Joined
Jul 16, 2021
Messages
46
Trophies
0
Age
24
XP
182
Country
Russia
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 ;)
 

Roman_Raida

Member
Newcomer
Joined
Jun 2, 2020
Messages
14
Trophies
0
Age
41
XP
144
Country
Czech Republic
Hey XITRIX, if you want, I can do a Czech translation of the application... ;-) Please let me know if you're interested... Thanks! Roman
 

XITRIX

Well-Known Member
OP
Newcomer
Joined
Jul 16, 2021
Messages
46
Trophies
0
Age
24
XP
182
Country
Russia
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.
 

Roman_Raida

Member
Newcomer
Joined
Jun 2, 2020
Messages
14
Trophies
0
Age
41
XP
144
Country
Czech Republic
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... ;-)
 

XITRIX

Well-Known Member
OP
Newcomer
Joined
Jul 16, 2021
Messages
46
Trophies
0
Age
24
XP
182
Country
Russia
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.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • The Real Jdbye @ The Real Jdbye:
    really have to buy the top end model to get a tv that doesnt have any of those compromises and that would've had more dimming zones too but i am not made o money
    Gift
  • The Real Jdbye @ The Real Jdbye:
    @Julie_Pilgrim "very bright" is essentially pure white
    Gift
  • The Real Jdbye @ The Real Jdbye:
    pure white doesn't show up all that much it's mainly when looking at a bright sky
    Gift
  • The Real Jdbye @ The Real Jdbye:
    and if the clouds in the sky have slightly less definition to them because i turned on the contrast enhancer who cares
    Gift
  • The Real Jdbye @ The Real Jdbye:
    that's not important
    Gift
  • The Real Jdbye @ The Real Jdbye:
    i can't tell the difference
    Gift
  • The Real Jdbye @ The Real Jdbye:
    but i can certainly tell the difference with black crush if i'm watching a scifi movie and i can't see wtf is going on
    Gift
  • SG854 @ SG854:
    Human vision is logarithmic, it's not linear. And nits doesn't tell the whole story of perceived brightness. OLED'S look brighter then LCD's even when both are set to the same nit values because of the higher contrast ratio on OLED's
    Gift
  • SG854 @ SG854:
    OLED's have a 3D look
    Gift
  • kenenthk @ kenenthk:
    Charging port is more likely to fry up or battery fail before the display tbh lol
    Gift
  • The Real Jdbye @ The Real Jdbye:
    "And nits doesn't tell the whole story of perceived brightness" it's not about perceived brightness it's about all HDR content in TV and movies being mastered for 1000 nits so it doesn't look right with anything lower, it's also about dynamic range
    Gift
  • The Real Jdbye @ The Real Jdbye:
    "OLED's have a 3D look" no they don't lol
    Gift
  • SG854 @ SG854:
    As an owner of a OLED and you saying that you never seen an OLED I think I know what I'm talking about lol. I'm not talking about 3D as in 3D glasses. I'm talking about depth and pop in the picture
    Gift
  • kenenthk @ kenenthk:
    I mean to be fair og vitas are still kicking and not many have suffered from pixel bleed and they're going on nearly 10 years
    Gift
  • SG854 @ SG854:
    OLED's can get away with a lower peak brightness and still provide punchy HDR because of their contrast ratio. Like I said human vision is logarithmic. The higher the peak brightness the diminishing returns in perceived brightness.
    Gift
  • kenenthk @ kenenthk:
    Just get 5 years enjoyment out of it until Nintendy releases something and everyone forgets about switch games lol
    Gift
  • SG854 @ SG854:
    @The Real Jdbye Oleds hit around 750 nits nowadays. The difference between a 1000 nit and a 750 nit isn't huge. It's only about a 4% increase in perceived brightness. Not huge at all. You'll need at least 2000 nit displays to notice a bigger difference.
    Gift
  • SG854 @ SG854:
    Read this thread it explains it. 1000 nits is not a huge jump from 750 the LG OLEDs can hit. As I said human vision is non linear.
    +2
    Gift
  • Gift
  • mr_switch @ mr_switch:
    Not exactly 3D but the colors does pops out more
    Gift
  • mr_switch @ mr_switch:
    I just want a true dark mode theme
    for OLED Switch
    Gift
  • Julie_Pilgrim @ Julie_Pilgrim:
    yeah honestly i hate how the only two switch theme options are blinding holy light of god or grey
    Gift
  • El_Doot @ El_Doot:
    Kill eyes OR bore eyes to death
    +1
    Gift
  • Julie_Pilgrim @ Julie_Pilgrim:
    switch dark mode is ok i just wish it was a bit darker
    Gift
  • F @ Forseenink3938:
    Can anyone here please help me on how to use TickCrypt 2.0?
    Gift
    F @ Forseenink3938: Can anyone here please help me on how to use TickCrypt 2.0?