#Problem while streaming with moonlight via sunshine

163 messages · Page 1 of 1 (latest)

reef tendon
#

Hey! looking into everything connected to my problem i still cant get my solution, trying to scale tekken 8 with also streaming my game to moonlight/sunshine the game doesnt scale on my phone, i read tho i should use wgc, but when using it, LS shows 700fps and the game basically stutters into oblivion almost freezing all time,maybe im doing something wrong, any help?

rotund night
#

Moonlight might not be capturing the LS itself though

#

also, it is not a good idea to stream games with LS using moonlgiht or sunshine

#

since those services start the game separately either way

reef tendon
#

actually i stream my whole desktop from moonlight

#

so it always captures my main display

#

it captures LS when wgc capture api is selected

#

but the game becomes unplayable then

rotund night
#

have you tried DXGI

reef tendon
#

yeah, but then moonlight doesnt recognize the scaling and the game just plays as it wasnt scaled

#

even though on my display it scales it to 240fps

rotund night
#

hmmm.

#

youre streaming this to...your phone?

#

which has, how much Hz display? 90Hz? 120? 60?

reef tendon
#

120hz

#

moonlight is also set to stream to my phone to 1080p120hz

rotund night
#

but the games are above that?

#

with LS I mean

reef tendon
#

yeah, they are but this is not the problem you are thinking of

#

to be more specific

#

after clicking the scale button and focusing on the Tekken 8 for example

rotund night
#

maybe moonlight has a setting that lets you capture the whole screen for real

#

not just via the same API that LS uses, which makes it incapturable

reef tendon
#

on my display it scales it to 240fps and shows it with fps counter

rotund night
#

yea I know what your problem is

#

LS isnt being captured

reef tendon
#

but on my phone, it doesnt recognize the scale, doesnt show the fps counter aswell

#

i saw some other posts that its the problem of the capture api

#

changing to wgc

rotund night
#

so moonlight is based on this NVIDIA streaming thing right?

#

I think I know your issue

#

maybe

reef tendon
#

yeah it was, but im using sunshine as a replacement

rotund night
#

its worth a try

reef tendon
#

as it better at performing and nvidia dropped the support altogether with the nvidia app annoucment

rotund night
#

just add the program and dont change any settings

rotund night
rotund night
#

moonlight and sunshine do not work on AMD GPUs do they?

rotund night
reef tendon
rotund night
reef tendon
#

i think sunshine actually supports it

#

will check

rotund night
#

its worth a try though

#

ill be right back got some things to do

#

try it though

reef tendon
reef tendon
rotund night
#

so youre saying WGC doesnt work

#

have you tried limiting the framerate to half 120 (59)?

#

might solve the stuttering and so on

#

also turn off g sync since its streaming

reef tendon
#

yeah, the problem with tekken that its locked by default to 60 fps to i tried to do it to 30 by rivatuner

#

but still same problem

#

fps shown 700

#

game feels like 2fps

rotund night
#

try nvidia control panel limit

#

just do it 1 frame less

#

59

reef tendon
#

for LS or whole?

rotund night
#

for the game

#

only the game

reef tendon
#

okay i didnt tried this yet

#

but got some interesting information

#

moonlight for some reason streamed diffrent display

#

and on my phone it was display 2

#

when i scaled the game with wgc

#

it was not stuttering

#

and game was boosted to 320fps

rotund night
#

so you solved the issue

reef tendon
#

after reconnecting the moonlight on my phone it streamed display 1 and once again broken the frames

rotund night
#

hmmm

#

maybe moonlight has some settings you can change?

#

display wise

reef tendon
#

tried changing max framerate tried changing frame pacing preference

#

still the same

rotund night
#

so you have multi display mode on in LS

#

and screen to Auto?

#

maybe try making it not auto

reef tendon
#

nope, doesnt make any difference

rotund night
#

hold on

#

maybe you need to change the fullscreen settings in the moonlight app

#

or sunshine or both

reef tendon
#

i will get back to it as i need to go out for now

#

will update if i get any progress

#

thanks for the help anyway 😄

random flicker
#

Here's how I use it : I stream at 720p/60hz. Higher resolutions and framerates require more bandwidth and may create stutters

#

And it's not very useful on small screens anyway

#

I don't scale, only FG

#

on Moonlight, I stream through USB using USB modem option on Android settings, WIFI is too unreliable for a stutterless streaming

ember bough
#

Try double buffer

#

And without vsync

#

Off (allow tearing)

random flicker
#

Monnlight settings : resolution 720, 60hz, bitrate around 30/40 Mb (higher bitrate creates stutters). framepacing : prefer quality

random flicker
ember bough
#

Use USB 3.0 minimum for stream that much or USB C port

random flicker
#

With this setup, I get a very smooth result. Not as smooth as the real thing but not bad

random flicker
ember bough
#

For USB C u might need an adapter of high quality

#

USB C is generaly faster than 3.0

random flicker
#

I can reach the maximum moonlight bitrate (150 Mb) for a great image quality but more stutters

ember bough
#

Also use MSI Utility V3 and make sure the compatible Devices are in MSI mode

#

And priority to High

random flicker
#

On Sunlight, depending if the game requires more GPU or CPU power, I use NVENC or Software

ember bough
#

Is better if u have gpu set to MSI mode

random flicker
ember bough
#

Check on guru3d site and take MSI Utility v3

random flicker
ember bough
#

And see if Nvidia gpu is in MSI mode, by default Nvidia dirvers dont enable MSI mode

#

And only this software can enabke it

random flicker
ember bough
#

It gives less cpu overhead and more fps gain also stability

#

But dont check the boxex if that specific device dont have MSI or MSIX

#

If is else dont check the box for that device

#

But u can set all devices on high priority safely

random flicker
#

I guess I can check MSI ?

ember bough
#

Yes

random flicker
#

Yay

ember bough
#

Check for all who said msi or msix

#

But not for linebased

#

Like if is one line that said linebased then is no

#

If is 2 or 3 lines that said linebased but have msi or msix too is good to enable

#

And for all devices set from undefined to high

#

Is safe for all devices

#

Then press Apply and restart PC

#

And your pc will be faster, not only gpu but everyhing

#

Is a featrue for newer devices

#

To comunicate with cpu more eficientely and asyncronius

#

Like individual

wispy rune
#

it always works without any problem on my laptop

ember bough
#

Yea but he could be on pc

#

@random flicker it worked? I hope u did as i said not different

#

Otherwise is not my fault of windows cant boot

wispy rune
ember bough
#

Yes but laptop and pc is a bit different

#

In term of hardware

reef tendon
#

im using a phone

#

as far as i am concerned there isnt any LS on phones Noway

wispy rune
reef tendon
#

Im using LS on my Sunshine Machine (PC) to boost games that are locked to 60fps for example: Tekken 8 (Locked by developer), RPCS3 Emulated games, as they are preffered to be put to 60fps lock, and any games that i put to ultra that doesnt achieve 120fps minimum, then i stream my game to my phone (Iphone 13 Pro Max) as i use it with a controller that basically turns it into a budget Steamdeck so i can play games from my bed with 1080p120hz at 40 Mbps bitrate, latency on moonlight while streaming is near to 0 as i tested it and it was somewhere in the low 3ms and high 5ms

left ridge
#

The only way I’ve gotten lsfg to work with moonlight/sunshine without noticeable latency is to change the VSYNC option in NVCP Global and LS program in NVCP to let 3D application decide, then use WGC api (allow tearing too) while also limiting the fps of LS in RTSS (with reflex instead of async) to -3 of your monitors refresh rate. I found this way gets rid of most latency and artifacting that comes with LSFG.

#

From everything that I’ve seen besides one person, moonlight/sunshine is incapable of picking up the DX api

random flicker
random flicker
#

add to that ls scaling and fg

#

and the wifi packet losses

#

i d start by trying lower resolution and framerate

#

30 fps was the most reliable I found on moonlight

#

60 fps has some stutters

#

and 120 is a stutter hell even on usb

reef tendon
#

with the pc im currently using it really isnt a strugle, same for wifi i can stream in 120fps 1080p easily to my iphone

#

im just gonna stick to not using loseless scaling if i want to play games on my phone

#

its not really a must have

#

was just curious why wasnt it working

#

most of the games work flawlessly on this setup anyways :V

reef tendon
left ridge