Moonlight/Sunshine Setup Guide - Odin 2, Steam Deck or Any Device

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
[Music] hey everyone and welcome back to Joey's retro handhelds I'm Joey and today I'm going to show you how I've set up my inhome streaming to stream from my gaming PC to any device so my Odin 2 my steam deck uh other devices as well and hopefully I can show you how to set it all up for you as well and get everything all working if you haven't already watched my previous video on why I think that streaming is the future then I suggest you check that out first for some context and just to clarify some points that came out of that video I'm talking about local inhome streaming so not remote streaming where you don't have those games you don't own those games and all of that these are games that you actually own so think of steam think of EA think of Ubisoft games that are on those services that you own and we're going to be streaming those games to any of your devices so my Odin 2 Ste OLED whatever it is that you want you can even do this with emulation too that's the whole idea just stream your gaming PC to a device so check out that video first but for everybody else let's just jump right in because this is what you're here for first and foremost you're going to need a computer of course I have my main PC with an i5 13600 K and an RTX 380 but whatever you have will work as long as you're aware that your PC will be your limitation for how good games will look and play shocking I know the next part is something I'd say is basically mandatory but your computer should be hardwired you can try it with a Wi-Fi connection but I would say that you're going to have a bad time if your host PC isn't wired before you turn off the video let me talk about a few ways you can accomplish that first if you're in a house that's wired for phone lines check to see if they cat f 5e and if they are it's as simple as changing the termination to an Ethernet one and then adding a switch where they all connect usually that's in your basement or mechanical room or wherever your router is anybody can do this there's lots of tutorials online because who uses home phones anymore another alternative is something called mocha adapters and these connect through the coax Jacks that you use for your TV when you used to have cable put one in the room where your computer is and one where it ends so in your basement or where your router is and connect them to your network and boom really good wired internet it won't be as good as straight hardwired but it's much better than power over ethernet adapters Wireless repeaters and all of that please if you're using repeaters or power over ethernet adapters do yourself a favor and just move on they're awful mocha adapters in my experience are second only to actual wired in my opinion I've used them in the past and would highly suggest them even if they're on the more expensive side there's more to these methods of course but that's the gist to help you start your search tangent aside your computer is now hooked up through wired to the internet and I would hope that you have some sort of wireless network coverage as well now the speed from your internet service provider doesn't mean a single thing for inhome streaming nothing it doesn't matter if you have gigabit or 10 megabytes per second inhome streaming utilizes your internal Network you can disconnect your internet service provider and this will all still work so for that if you ended up adding Network drops like I mentioned before I would add an access point somewhere if you live in a larger house or a multifloor house they're not that expensive the TPL link EAP 245 or the EAP 650 are two examples of models that I personally use at different price points in my house and that will give you full Network signal at the part of the house that you put it in it doesn't repeat the signal it gets the full signal since you're wired and broadcasts it as if you had a router at that spot or if you have one router that covers you use that but if you're in a mult level home one won't be good enough depending on the area you're in and where you usually play honestly you should just have good internet coverage in your house it's 2023 just do it skip a handheld purchase and just fix your Internet okay so all of that aside you have your computer connected through Ethernet and you have good Wi-Fi signal in your house let's move on to software we're going to need a few things but let's start simple and download a program called sunshine shine this is going to be the program that creates the connection between your PC and the device that you want to stream to head to the GitHub Link in my description and click show all assets on the latest post then click the sunshine Windows installer exe file to download it go through the entire setup process with everything as default and just click next until you finish once it's all installed open a browser and type in Local Host colon 47990 or you can find it in the taskbar and right click and open Sunshine it might say that your connection isn't private click Advanced and you can proceed to Local Host it's all fine now you can set up a username and password and log in don't forget to say save the login information you're going to need it so now we're in the interface and right now there isn't anything we need to do at this moment but your connection should work already an easy way to check is head to the Play Store on the device you're streaming to and download and install Moonlight I'm assuming an Android device here but the steam deck uses the same thing and I can't speak to other operating systems but I'm pretty sure that Moonlight is everywhere now open Moonlight and you should see your PC with a lock icon on it click it and it'll give you a pin back in sunshine under the pin tab you want to enter the pin there that syncs the two and creates a connection back out to the main menu of Moonlight and click the settings Cog top left for video resolution and frame rate you want to make sure both match the device you're using so I have an Odin 2 and that's 1080P and 60 htz so I'm going to set both this part is important as not doing this will just cause stutters and bad input lag issues next up is video bit rate and this is going to completely depend on your connection I can usually set mine to Max as my network has that capability but you're going to have to play around with this on your end see how far you can push it and test for right now you can leave it at the default 20 mbes per second but your picture might be a little bit grainy when you first test so you'll want to change this at some point a lot of the rest of these options are personal preference like if you have a speaker system connected and all of that however one setting that I recommend you toggle especially if you're using a device that uses the Nintendo layout is fitface buttons this makes it so that it flips the buttons so it'll act as an Xbox controller for streaming which for a lot of people is likely a lot better than the Nintendo layout especially if you're playing a lot of PC games I would turn off optimized game settings if that's on here we don't use GeForce experience at all and we don't want it changing anything if you're using a device that supports higher refresh rates you can check to allow that here as well make sure the codec is set to automatic and if you're using a device that supports HDR you can check that here too just be aware that it's experimental lastly to test your setup and probably for the first few days or so you use this program I'd suggest turning on show performance stats while streaming it'll give you good information about what's happening during the stream so you know we to make adjustments now in case you've just tuned me out and went to go play games games let me mention a few things first you want your monitor to match your device's resolution and frame rate meaning if you're playing on an Odin 2 you want the monitor to do 1080p 60 this can be pretty annoying if you're playing on a higher refresh rate monitor or a higher resolution like I normally do or I assume that most people watching will do the best and easiest solution is a dummy HDMI I'll leave a link in the description to the one I bought it was like $5 and it's set up as perfect 1080p60 which is exactly what we want here a dummy HDMI is exactly as it sounds it plugs into the HDMI of your video card and it mimics being a monitor that you just can't see for people that want 4K 120 you can find one of those dummy hdmis instead you're going to want to buy this before starting the guide however if you're running dual monitors already skip to that section of my guide and watch that part first before doing this as I did run into a lot of issues when I was using dual monitors plus a dummy HDMI but either way the dummy HDMI is cheap enough that it might be worth a shot we'll talk about setting all of this up in just a little bit now if you head back into Moonlight and you click your computer you'll notice that I have different icons here but you likely have desktop and maybe Steam for the most part you're basically set up from a working perspective you could go in manually click and open games as if it was a remote desktop and it all should work so the next parts of this guide will just focus on tweaks and getting the dummy HDMI set up properly now you might notice that your monitors aren't turning off while you're using sunshine and Moonlight and on top of that your games and everything aren't aren't using the dummy HDMI monitor it's only using the main monitor you normally use or vice versa this is where things get a bit more tricky like I mentioned before when I was running dual monitors this setup didn't work properly so this part of the guide is going to be very Advanced and expert there were many times where my monitors would just not turn back on and I had to remote into my PC to reenable the monitor otherwise sometimes unplugging the dummy HDMI would work so if that scares you I'm going to say it again if you're not experienced in computers at all stay away from this part or at the very least set up remote desktop before attempting it if you're choosing not to use a dummy HDMI and plan on leaving your main monitor on while gaming you can skip to the resolution automation section however I will say that since swapping to a single Monitor and using the dummy HDMI I've had zero issues at all but again your mileage might vary now the dummy HDMI is completely necessary for this entire guide as I mentioned before it's super necessary in this section too as your monitor just won't turn off if a game is playing so that's why we're going to be offloading the games to the dummy HDMI so your monitor can turn off and Save power as well as just not cause burnning if you happen to use an OLED monitor like I do plus the dummy HDMI gives us perfect 1080p60 which is what you want for most devices like the Odin 2 so let's go ahead you want to head to the monitor swap automation GitHub page and that's in the description and you can follow the read me instructions there it's extremely easy to follow and it has everything you would need need I'm not going to be showing this part as I literally just followed it exactly word for word on that page so I expect anybody can do this here however if you are using the dual monitors and a dummy HDMI I would pay attention to the troubleshooting section with the work round method as that's what I had to do like I said it still didn't work for me but it might work for you so what happens after you do all of this well while streaming it disables your main Monitor and it enables your dummy HDMI so it's perfect exactly what we want when you exit streaming it disables your dummy HDMI so you can't move Windows accidentally over and it enables your main monitor again so back to your normal setup and so that's great and all but what if you have devices with different resolutions and frame rates for example my Odin 2 does 1080p60 but my steam deck OLED does 800p 90 so how do we account for different use cases like that because right now the steam deck would have a very bad time under this setup for that we want the resolution and monitor refresh rate to automatically swap when a device connects to it and it's going to swap to whatever we set on the device and then swap back to our default monitor resolution and refresh fresh rate as if nothing happened and we're done streaming for this we're going to need to head to GitHub again and this time the resolution automation page which again is in my description same as before follow the steps to the letter as it's extremely easy instructions here this is going to be a must for anybody using multiple devices for moonlight otherwise if you're just doing one device at 1080p60 you can basically skip this as the D HDMI has that resolution already next up on tweaks is giving you that console experience for example when I click to load in through the play night shortcut play night pops up automatically and now it's just like I'm using a console device I click my game and it launches and I never have to see the Windows desktop to exit a play night stream I personally use the swipe up from the bottom to get to the three button navigation and touch the back button then you want to tap on the shortcut that you use to jump into your PC so the play night icon and you can click quit session to properly exit the session the other option is the hotkey of start select lb and RB and that should work too so that's the workflow and how it all works you might have noticed a few things first since you don't have play night using the desktop sucks for launching games and streaming stats don't show you the frame rate of the game at all only the streaming information so let's tackle these two things let's start with play night first so as you saw play night Auto loads when streaming starts it won't close when streaming ends but you can close it manually with only using the controller and then exit Moonlight like I showed before I'll leave a link in the description to how to install Play night and all of that which is an awesome front end but for those that want the same functionality we're going to be heading to applications in sunshine and we're going to add new and call it play night then under detached commands you want to enter the path to the full screen app and then make sure to click the plus sign on the right mine is on the E drive so you can see what the path looks like here it all depends on where you installed play night you can leave the rest as default and click save save now when you boot into Moonlight you'll see an option for play night and when you boot into it it'll launch Play night for you it's pretty awesome and it's necessary for a conso like streaming experience but we can take this a step further as well let's say you wanted to stream but you also wanted to see the onscreen Reva tuner display to show your frame rate and all of that but sometimes you don't want that either there's tons of ways to do this but here's one that I do and again I'm not going to go over how to install After Burner or Reva tuner as that's outside of this guide but you're going to need both of those to proceed in this section download Auto hotkey version 2.0 I'll have a link in my description then just open notepad and you want to input the following then save that file as showcore os. ahk then do the exact same thing again and this time enter the following this time save it as hidore os. ahk what we're doing here is setting up hotkeys to show and hide the onscreen display which we can call from moonlight open up Reva tuner head to setup plugins hotkey Handler and set on screen display to alt plus insert and hide onscreen display to alt plus home click okay and okay and make sure the check mark is enabled next to hotkey Handler if you pull up the main Reva tuner page and try both hot Keys you can see the toggle swap on and off to make sure it works now let's head back to Sunshine and we're going to be doing the exact same thing we did for play night so same detached command and everything but we're going to add a do and undo command as well I'm going to call this application show OSD then for the do Command put the full path in quotes to your show OSD ahk file and then the same for the undo command for the hide OSD ahk file do all of this over again and name it hide OSD then for the do Command put the hide OSD ahk path and for undo put the hide OSD ahk path save now boot up Moonlight and you can test them both try show OSD and boot up a game and you should see the display pop up top right back out of Moonlight and try the hide OSD and it should disappear it's handy for easily swapping between the two as a last bit of information I'm going to just show you the settings that I have in sunshine I'm almost certain that everything is default still except for maybe two pass mode which I set to slower and I don't even remember the reason why honestly you can leave everything as default also the settings for the Nvidia encoder Intel encoder AMD encoder and software encoder all depend on what type of graphics card you're using I'm using an Nvidia RTX 380 so the Nvidia encoder is the only tab that matters to me if you're using a different brand or a different model or no card at all the other tabs would be where your settings would be but just to help you you can basically ignore every tab unless you run into a specific issue as that's what I've done that's going to be it for this one this was a very long video but I'm hoping that it helped you set up sunshine and Moonlight and gave you some tweaks to help make that experience a bit better don't forget to like and sub to help the channel grow and hope you all have a good one [Music]
Info
Channel: Joey's Retro Handhelds
Views: 18,195
Rating: undefined out of 5
Keywords:
Id: cJQ7Qi6BFGw
Channel Id: undefined
Length: 21min 37sec (1297 seconds)
Published: Sat Dec 09 2023
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.