Homebrew RELEASE Moonlight-Switch - Nvidia Game Stream client

XITRIX

Well-Known Member
OP
Newcomer
Joined
Jul 16, 2021
Messages
55
Trophies
0
Age
27
XP
313
Country
Russia
I have created one another Moonlight port for Nintendo Switch and want to share it with you, so let's get started.

Features:
  • Support for 720p and 1080p resolution
  • Support for 30 and 60 fps modes
  • Configurable streaming bitrate
  • Host searching in local network
  • Ingame overlay with different options, hold "+" button for 3 seconds to open it
  • Onscreen keyboard support, tap 3 fingers on screen to open it, swipe anywhere outside of it to hide
  • Touchscreen mouse support, works like a PC touchpad, while holding a finger on screen, "ZL" and "ZR" will work like right and left mouse buttons
  • Rumble support

Installation:
  • Download the latest build from Moonloght-Switch [release page]
  • Put moonlight.nro to sdcard:/switch/moonlight
  • Launch HBMenu over Title Redirection (for FULL RAM access)
  • Launch Moonlight

My experience:
With stable wifi connection game streaming is very smooth, no freezes or crashes at all. I've already completed Sekiro: Shadows Die Twice on NG+3, and on a halfway of beating CodeVein, I think beating this soulslike games is a good marker of how playable it is. Also I'm playing Genshin Impact a a lot, I love how high end PC image quality looks on my Switch :D

If you'll have any issues or ideas for improvement, feel free to wright them on [issues page] on GitHub.
 
Last edited by XITRIX,

barnhilltrckn

Well-Known Member
Newcomer
Joined
Jan 12, 2016
Messages
90
Trophies
0
Age
39
XP
675
Country
United States
Ok I just want to say I'm happy that I'm not the only one wanting Moonlight on the switch so the more people working on it the better the port gets. That said, like all the ports the input lag kills it for me. My Nvidia Shield doesn't have lag as bad(still there but not bad at all) and that's using Moonlight there as well. I believe it's got to do with the lack of proper hardware acceleration. Other than that the port looks and runs great!! Keep up the good work!
PS: I realized my home network would come in to question so before asking I have a Netgear Nighthawk R8000. Mt PC is connected via ethernet and my switch is obv. connected via 5ghz. My point is I know my network is up to the task. I'm not complaining either as I think this is a great port and not the fault of the dev.
 
Last edited by barnhilltrckn,
  • Like
Reactions: Milad

Rahkeesh

Well-Known Member
Member
Joined
Apr 3, 2018
Messages
2,180
Trophies
1
Age
42
XP
3,269
Country
United States
Haven't tried moonlight-nx in quite a while so I can't compare latest version, but I've been pretty impressed with how smooth this is. Yeah it is a slightly laggy but I don't know much can be done about that, at least without GPU acceleration when decoding seems to be the main hangup.

The default settings work great out of the box for 720p/60fps or 1080p/30fps. If you want 1080p/60, seems like you need to raise the bitrate to at least 15 and overclock the CPU hard, but its a very nice/smooth experience when done.

HBmenu seems very crash-prone once you exit the app so I would close it for now. Also I find it very hard to keep my A's and B's straight when they are reversed on PC vs the Moonlight UI. An option to flip A/B also within moonlight menu would be welcome (or to un-flip A/B while streaming for whoever really wants that.)
 
Last edited by Rahkeesh,

bocky

Member
Newcomer
Joined
Feb 26, 2017
Messages
9
Trophies
0
Age
38
XP
243
Country
Thanks for the port. I actually like this interface better. But how do I exit out of a game on the switch? What button combo?

nevermind found it :)
 
Last edited by bocky,

newkey_sky

Member
Newcomer
Joined
Aug 18, 2019
Messages
8
Trophies
0
Age
32
Location
Santiago, Metropolitana de San
Website
miguelangelg.herokuapp.com
XP
104
Country
Chile
This is amazing, 720p at 20 mbps runs smoothly

E6iziL0WEAMWvB1.jpeg
 
Last edited by newkey_sky,

XITRIX

Well-Known Member
OP
Newcomer
Joined
Jul 16, 2021
Messages
55
Trophies
0
Age
27
XP
313
Country
Russia
HBmenu seems very crash-prone once you exit the app so I would close it for now.
I know about this problem and already fixed it, I'll release a new build with fixes very soon!

An option to flip A/B also within moonlight menu would be welcome (or to un-flip A/B while streaming for whoever really wants that.)
It's a nice idea, I'll try to implement it as soon as possible.

Upd.
Ok, I already implemented button swapping and released it in version 0.4 with fix for app reopening crash. Hope you'll like it ^_^
 
Last edited by XITRIX,
  • Like
Reactions: ganons and Rahkeesh

bad361

Well-Known Member
Member
Joined
Jun 18, 2018
Messages
1,168
Trophies
0
Location
Moscow
XP
2,448
Country
Russia
At least it does not lag or freezes while playing :)
Also it have better cursor control, and have onscreen keyboard
Hm, i haven't used Moonlight-NX a lot, but the times i played games like Witcher 3, GTA4 or streamed RCPS3 or the whole desktop i never experienced any issues almost at all.

Just tried this one and it crashes when attempting to connect to my pc for some reason. Moonlight-nx works fine tho.
 
Last edited by bad361,

barnhilltrckn

Well-Known Member
Newcomer
Joined
Jan 12, 2016
Messages
90
Trophies
0
Age
39
XP
675
Country
United States
What would be required to get full hardware acceleration? I would imagine it has something to do with NVDEC but I honestly don't know. It would have to be available in Libnx correct?? It would be great as it would most likely eliminate most of the problems with streaming.
 

mattyxarope

Well-Known Member
Member
Joined
Jan 15, 2019
Messages
544
Trophies
0
XP
1,995
Country
United States
What would be required to get full hardware acceleration? I would imagine it has something to do with NVDEC but I honestly don't know. It would have to be available in Libnx correct?? It would be great as it would most likely eliminate most of the problems with streaming.

A major miracle of someone getting NVDEC to work. Not happening anytime soon. Hasn't happened yet, at least.
 

barnhilltrckn

Well-Known Member
Newcomer
Joined
Jan 12, 2016
Messages
90
Trophies
0
Age
39
XP
675
Country
United States
A major miracle of someone getting NVDEC to work. Not happening anytime soon. Hasn't happened yet, at least.
Yea I know. It's sad really when you think about it. This hardware was built by Nvidia with this type of use in mind. It was built to stream PC games to it. It's not all it was built for obv but deff a big part of the design.
I remember someone trying to do it a while back but nothing ever came from it. He just kind of fell off the face of the planet lol. Maybe the right dev will come around one day to implement into Libnx. Also as silly as it sounds, streaming to my Nvidia Shield(or others if I want) is one of the reasons I buy Nvidia gpus, they do it so much better than others.
 
Last edited by barnhilltrckn,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • BigOnYa @ BigOnYa:
    Biomutant looks cool tho, may have to try that
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
    K3Nv2 @ K3Nv2: @BigOnYa...