Moonlight-Switch icon indicating copy to clipboard operation
Moonlight-Switch copied to clipboard

I hope the switch version can include an option called "Smoothest Video."

Open qqjp opened this issue 1 year ago • 1 comments

I hope the switch version can include an option called "Smoothest Video." The ios and android version has a similar feature, though under a different name, which gives you the choice between low latency and smoother video quality. It's very useful. Once you turn this option on and have a good internet connection, the video becomes very smooth, with no frame drops. Thank you.

qqjp avatar Sep 05 '24 17:09 qqjp

+1

Wontell avatar Sep 29 '24 19:09 Wontell

Implemented in v1.3.0

XITRIX avatar Mar 31 '25 17:03 XITRIX

Is this feature supported in the latest version? I didn't find any settings @XITRIX

Zhuwenxue2002 avatar May 14 '25 09:05 Zhuwenxue2002

It's permanently on, there is no way to disable it

XITRIX avatar May 14 '25 16:05 XITRIX

In other versions of Moonlight, this should be an option

Image

Image

Zhuwenxue2002 avatar May 15 '25 04:05 Zhuwenxue2002

The way how Moonlight-Switch's graphical pipeline implemented it's not possible to make it optional. Other platforms has a dedicated graphical layer to render frames and it could be updated immediately without need to sync it with the rest of the app. Switch has no such layer and app cannot push frames on screen any time and frame has dedicated amount of time when it can update itself. With this limitation, "Smoothest Video" option is the only possible way to render frames (because it literally how it work, it sync frame's updates with screen refresh rate). Probably it could be solved by implementation of Deko3D but I had no luck with it, app performs really badly with my implementation of it and I was not able to understand the reason

P.S. before it worked the same way, but there was no frame buffer, so app could just drop every third frame in worst case scenario, now it's not

XITRIX avatar May 15 '25 07:05 XITRIX

I see, no wonder I felt smooth running Moonlight on HOS, but I felt high latency when the network jittered. In the Android system, network jitter will bring Caton, but the latency is low, it turns out that this is the reason, thank you very much for answering questions

Zhuwenxue2002 avatar May 15 '25 08:05 Zhuwenxue2002

There is a way to hack frame queue size, it has exposed setting "frames_queue_size" in /switch/Moonlight-Switch/settings.json file, by default it's 5 frames if I remember properly. If you feel discomfort with this number, you can try manually modify this value, I decided to not expose it in Settings UI because I was not sure in this setting

XITRIX avatar May 15 '25 13:05 XITRIX