Homebrew RELEASE Moonlight-NX - Nvidia Game Stream client

rock88

Well-Known Member
OP
Newcomer
Joined
May 19, 2018
Messages
81
Trophies
0
Age
35
XP
900
Country
Russia
DUodETg.jpg


I think port already done for public release, so let's get started :yayswitch:

Features
  • 720/1080p&30/60fps streaming;
  • Rumble support :toot:
  • Good audio;
  • Mouse/scroll support;
  • Customizable button mapping and combo keys for each game.
Installing
  1. Download latest Moonlight-NX release or automatic build (require github login for artifacts link appear);
  2. Put moonlight.nro to sdcard:/switch/moonlight;
  3. Launch hbmenu over Title Redirection (for FULL RAM access);
  4. Launch moonlight.
Setup Guide
  1. Firstly check official Setup Guide;
  2. Connect your PC and Switch to same WiFi network (Use 5GHz for best performance);
  3. In Moonlight-NX push 'Add new host' button and enter your PC IP address;
  4. Pair Moonlight-NX with your PC.
Controls (Defaults)
  1. Move cursor with move finger on touch screen;
  2. Scroll with two fingers;
  3. L/R + tap on screen - Left/Right mouse click (allow to move cursor);
  4. ZL/ZR + tap on screen - Left/Right mouse click (without move cursor);
  5. L+R+Down - exit from stream (and close current app);
  6. L+R+Up - exit from stream (without closing current app);
  7. L+R+Left - Alt+Enter (for enable/disable fullscreen mode);
  8. L+R+Right - ESC key;
  9. ZL+ZR+Left - show video decoder/render stats;
  10. ZL+ZR+Right - hide video decoder/render stats;
  11. Minus+Plus - Guide button;
Known bugs
  1. Partial gamepad input in UI (Doesn't work with combobox popups, alerts can close by press B button);
  2. Audio can freezes/crashes and app can freezes on a stream exit;
  3. Mouse/scroll doesn't work in docked mode (because required interaction with touch screen).

Sources and Build Instructions:
https://github.com/rock88/moonlight-nx
 
Last edited by rock88,

rock88

Well-Known Member
OP
Newcomer
Joined
May 19, 2018
Messages
81
Trophies
0
Age
35
XP
900
Country
Russia
I released new update 1.0.5 :toot:

Changelog:
  • Stop rumble after stream will terminate;
  • Allow to select audio driver in Settings (Audren is better, but not always working);
  • Allow to select audio delay (for some reason Audren driver start working with value 50, but sometime work with lower value);
 
  • Like
Reactions: hippy dave

rock88

Well-Known Member
OP
Newcomer
Joined
May 19, 2018
Messages
81
Trophies
0
Age
35
XP
900
Country
Russia
How performance looks like with different clocks?
I don't use overclock (or underclock). With default clocks in handheld mode average decoding time is 10ms (720p, instead of 3-4ms in Lakka-Switch), so, in theory, with default clocks Switch can decode 100 frames per one second.
 
  • Like
Reactions: masagrator

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,231
Trophies
3
XP
11,937
Country
Poland
I don't use overclock (or underclock). With default clocks in handheld mode average decoding time is 10ms (720p, instead of 3-4ms in Lakka-Switch), so, in theory, with default clocks Switch can decode 100 frames per one second.
Well, so it's the same as moonlight on Switchroot android in decode time.
Good job in handling this.
 
Last edited by masagrator,
  • Like
Reactions: Broduskii

Lexyn

Member
Newcomer
Joined
May 26, 2018
Messages
9
Trophies
0
Age
36
XP
268
Country
Spain
Yes

EDIT: I cant make it work with atmosphere neither so maybe is just me, im in 10.0.0 i dont think is that
 
Last edited by Lexyn,

Alvsar

Member
Newcomer
Joined
May 3, 2020
Messages
7
Trophies
0
Age
41
XP
325
Country
United Kingdom
I have tested with Sxos and I confirm it works great. 720p and 60fps (real ones), also rumble works. The only issue is the audio which has lag and I had to select the other option (I don't recall the name) because the one suggested didn't work for me.
I tested Resident Evil 2, RE 7, Street Fighter V and emulators like dolphin and citra. All good.
It is great. Thanks!!!
 
  • Like
Reactions: Deleted User

Rigle

Well-Known Member
Member
Joined
Apr 15, 2008
Messages
169
Trophies
1
XP
610
Country
Spain
I'm using 9.2.0 and 0.12.0 and I found some stuff:
  • If you connect it in the Dock, you can't do anything until you undock it (because you can't touch it). Maybe it would be nice to have some popup to advise you to undock it.
  • I was able to connect once, but the screen got frozen and I couldn't do anything. After that, I couldn't reconnect to the same PC until I rebooted it.
Is there a way to send you logs or better information about errors?

Thanks in advance for the job done!
 
  • Like
Reactions: pOOB73

pOOB73

Well-Known Member
Newcomer
Joined
May 27, 2018
Messages
46
Trophies
0
Age
51
XP
927
Country
Germany
Managed to set it up easily and connect to Nvidia Experience, too. Only when going into Steam and trying to start a game it got stuck.
Quitting the app on Switch made it crash. After restarting the Switch client I could connect to PC host, but not stream anything.
Will try again today with maybe restarting host PC and different games.

9.2.0 and 0.12.0 here.
 

ZeroFX

why?
Member
Joined
Jun 18, 2018
Messages
1,070
Trophies
1
Location
napaJ
XP
2,903
Country
Japan
Checked, and it is on par with Moonlight qt on Ubuntu (video wise), noticed an typo on "Applications", and as soon as I paired my PC the app crashed, but then worked fine, I liked the control scheme and the ability to toggle performance overlay on the fly.

Talking about it, my first test with default settings only: video is awesome, 4ms average on decoding and rendering at 720p60fps 10mbps.

Audio was a nope using audren, but audout is working, with noticable delay (I expected by looking on settings page) and hiccups, lowering to 10 wasnt bad, and it had same occasional hiccups as default (I have a somehow beefy router.).

H265 was a glitchy mess, with a lot of drops and huge ms. But I reckon it is probably there as experimental.

Upping the res to 1080p40mbps (bit too much of bitrate ik) got me 6ms of decoding, and 2ms of receive time (I was getting 0.6ms).

Hope you keep maintaining this project, good job.

Edit: forgot to mention that I was plugged on the wall and with OC at max, you need some OC to make it playable.
 
Last edited by ZeroFX,
  • Like
Reactions: lordelan and rock88

rock88

Well-Known Member
OP
Newcomer
Joined
May 19, 2018
Messages
81
Trophies
0
Age
35
XP
900
Country
Russia
  • If you connect it in the Dock, you can't do anything until you undock it (because you can't touch it). Maybe it would be nice to have some popup to advise you to undock it.
Currently UI don't handle gamepad input, but I work on this. Also UI not optimised for docked mode (hardcoded internal resolution to 1280x720), I'll fix it in next releases.

Is there a way to send you logs or better information about errors?
You can run Moonlight-NX over nxlink (but needs install pacman and switch-tools firstly), see run.sh (only line 5).

Quitting the app on Switch made it crash.
Yep, normal quit is a PLUS button press in main menu, but currently it crashed app, I just move to Home menu and close app by press X. Will try to fixed it in next releases.

My Switch on a latest firmware (10.0.2) and Atmosphere 0.12.0.
 
  • Like
Reactions: pOOB73

zniel0

Well-Known Member
Newcomer
Joined
Aug 13, 2018
Messages
83
Trophies
0
Age
39
XP
419
Country
United States
Does not allow you to connect to an offline router:( only an online router will work. This limitation needs to be bypassed.
 
  • Like
Reactions: Alvsar

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    straferz @ straferz: Anybody know why this is happening to my ACWW town...