Homebrew RELEASE Moonlight-NX - Nvidia Game Stream client

Bloodred217

New Member
Newbie
Joined
Jun 23, 2020
Messages
1
Trophies
0
Age
36
XP
77
Country
Romania
Hello!

First of all, thanks @rock88 for porting Moonlight to Switch. I've been trying to use moonlight-nx but was experiencing frequent freezes. I used the default settings at first (720p 60FPS, 10Mbps, 4 threads, logging disabled) and couldn't get it to work for more than 5 minutes before the video froze, though audio and even controls still worked (looking at the PC's monitor). I tried to find out what was happening so I enabled logging, but after enabling logging the freezes stopped.

I toggled logging on and off multiple times and I get the same behavior every time, if logging is disabled the video freezes within ~5 minutes every single time. If logging is enabled the video freezes don't seem to happen at all (or take much longer), the longest session I played this way was at least 45 minutes and everything worked perfectly, the stream was responsive and smooth, no freezing and not a single stutter. It looks like something is happening and causing the video to freeze a short time after starting the stream if logging is turned off. As I've said it's not immediate, but I never managed to play for more than 5 minutes without logging enabled.

I'm using the Switch on 5GHz WiFi in handheld mode (same room as the router) and running Atmosphere 0.12.0 with HOS 10.0.2, moonlight-nx is v1.1.0. The host PC is connected to the network with a cable.
 

kwall24

Well-Known Member
Member
Joined
Mar 3, 2016
Messages
100
Trophies
0
Age
30
XP
224
Country
Canada
I've been testing this with a wired network connection and strangely it seems to be dropping a lot of frames (15% within about 60 seconds) at 1080p/60/10Mbps, whether I'm on 4 cores or 3. Does anyone else run this wired? What are your settings?
 

Rahkeesh

Well-Known Member
Member
Joined
Apr 3, 2018
Messages
2,178
Trophies
1
Age
42
XP
3,261
Country
United States
I don't think this homebrew has any decoding acceleration, so its likely that 1080/60 is too much for the Switch CPU to consistently decode, no matter what kind of network you have it in.
 

kwall24

Well-Known Member
Member
Joined
Mar 3, 2016
Messages
100
Trophies
0
Age
30
XP
224
Country
Canada
I don't think this homebrew has any decoding acceleration, so its likely that 1080/60 is too much for the Switch CPU to consistently decode, no matter what kind of network you have it in.
Ah, that would make sense then. I figured if the option was there it would work.
 

bawzy

Active Member
Newcomer
Joined
Dec 15, 2014
Messages
44
Trophies
0
Age
44
XP
252
Country
United States
Has anyone tried using CEMU (WiiU emulator) with moonlight? I tried it and it works fine but I cant seem to get the joycon working as the controller. Any help?
Yes, you need to first configure the Input settings in CEMU. Make a gamepad profile and configure the buttons. Save it, and it will be the default controller. When you load moonlight it sends the joycons as Xinput which CEMU interprets directly and it works normally.
 
  • Like
Reactions: vendettared

dantes_victus

Member
Newcomer
Joined
Jul 12, 2020
Messages
16
Trophies
0
Age
37
XP
117
Country
United States
Yes, you need to first configure the Input settings in CEMU. Make a gamepad profile and configure the buttons. Save it, and it will be the default controller. When you load moonlight it sends the joycons as Xinput which CEMU interprets directly and it works normally.
i can see your experience through your enormous signature titles. Astonishing
 

Deaavh

New Member
Newbie
Joined
Jul 21, 2020
Messages
2
Trophies
0
Age
31
XP
50
Country
Canada
Currently, there is not a stable way to use moonlight at 1080p natively on the switch without facing some sort of connection issue. You can however download the homebrew menu forwarder or make a moonlight forwarder and use sysclock to overclock your switch. I have done that and I can boost my connection to as high as 30 megabits at 720p. I then go into windows and manually change my resolution to 4k and I can confirm that it does work at 60fps if you're scaling 4k down to 720, which looks incredible. I played through persona 4 and now im playing through 5 with rpcs3 at 4k resolution with the 60fps patch.

Moonlight works perfectly for me, but I did have your guys problems. The problem is the switch is not clocked high enough to handle the amount of data its requesting, so overclocking and using a forwarder is the best option. You don't have to overclock, but if you run stock you're limited to around 10 to 15 megabits.

Remember, change your resolution in windows AFTER you connect with moonlight.
 
  • Like
Reactions: Dexae

darkfortedx

Well-Known Member
Newcomer
Joined
Jan 18, 2015
Messages
48
Trophies
0
Age
31
Location
Brooklyn, New York
XP
241
Country
United States
Currently, there is not a stable way to use moonlight at 1080p natively on the switch without facing some sort of connection issue. You can however download the homebrew menu forwarder or make a moonlight forwarder and use sysclock to overclock your switch. I have done that and I can boost my connection to as high as 30 megabits at 720p. I then go into windows and manually change my resolution to 4k and I can confirm that it does work at 60fps if you're scaling 4k down to 720, which looks incredible. I played through persona 4 and now im playing through 5 with rpcs3 at 4k resolution with the 60fps patch.

Moonlight works perfectly for me, but I did have your guys problems. The problem is the switch is not clocked high enough to handle the amount of data its requesting, so overclocking and using a forwarder is the best option. You don't have to overclock, but if you run stock you're limited to around 10 to 15 megabits.

Remember, change your resolution in windows AFTER you connect with moonlight.

sorry but whats a homebrew menu forwarder?
and what overclock numbers are you using?
 

mattyxarope

Well-Known Member
Member
Joined
Jan 15, 2019
Messages
544
Trophies
0
XP
1,995
Country
United States
sorry but whats a homebrew menu forwarder?
and what overclock numbers are you using?

A forwarder is achieved in one of two ways - by selecting an installed program and holding R while starting it (and continuing to holding R after you select your profile too). The homebrew menu then pops up and then you can choose Moonlight. This gives it full access to the Switch's RAM.

Alternative you can use Nro2Nsp which is a program that basically creates a shortcut on your homescreen which does the same thing.
 

darkfortedx

Well-Known Member
Newcomer
Joined
Jan 18, 2015
Messages
48
Trophies
0
Age
31
Location
Brooklyn, New York
XP
241
Country
United States
A forwarder is achieved in one of two ways - by selecting an installed program and holding R while starting it (and continuing to holding R after you select your profile too). The homebrew menu then pops up and then you can choose Moonlight. This gives it full access to the Switch's RAM.

Alternative you can use Nro2Nsp which is a program that basically creates a shortcut on your homescreen which does the same thing.


ah ok i see, and what overclock numbers are you using?
 

Nerdtendo

Your friendly neighborhood idiot
Member
Joined
Sep 29, 2016
Messages
1,770
Trophies
1
XP
4,641
Country
United States
Really cool app but I have to ask, what is the benefit to streaming it to your switch if you have to be on the same network?
 

Helidwarf

Well-Known Member
Newcomer
Joined
Sep 24, 2016
Messages
79
Trophies
0
Age
29
XP
651
Country
Italy
Really cool app but I have to ask, what is the benefit to streaming it to your switch if you have to be on the same network?
So I can play DS3 or sekiro while pooping, honestly tho I appreciate being able to play pc games while laying down on the couch
 

jockep

Well-Known Member
Member
Joined
Apr 12, 2017
Messages
191
Trophies
0
Age
33
XP
214
Country
Sweden
Oh I see. The same network thing is just for the initial setup.
Well not really, it's for people who want to play pc games on their switch from other rooms. The internet streaming part is just extra for people who want to play on the go :)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: Not sure current audio codec based sound built in to motherboards can handle the bit depth those...