Homebrew RELEASE Moonlight-NX - Nvidia Game Stream client

  • Thread starter Thread starter rock88
  • Start date Start date
  • Views Views 214,864
  • Replies Replies 292
  • Likes Likes 39
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.
 
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?
 
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.
 
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.
 
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?
 
Last edited by vendettared,
  • Like
Reactions: Chrisssj2
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
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
 
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
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?
 
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.
 
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?
 
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?
 
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
 
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