Sunshine
Sunshine copied to clipboard
Framepacing issues under linux
Describe the Bug
The feeling of motion in games is not fluid under linux.
I did the following experiment. Using sunshine for both windows and linux on the host, I recorded what is shown on the moonlight client with obs.
Please download and watch the videos locally:
Arch Sunshine: https://drive.google.com/file/d/1yE2qGHNKZpGGMNmSHkBt-1gVnw7a8v2T/view?usp=sharing
Windows Sunshine: https://drive.google.com/file/d/1LLhAONqkWMERX52o2Exw1KNs4u5Q1RNi/view?usp=sharing
As you can hopefully focus on and see, the wind mill rotation under windows is really smooth but "stuttering" under linux, it really seams like some kind of frame pacing problem. Frame pacing option in moonlight does nothing for me.
Do you guys have any suggestions on how to fix this? Sunshine is using nvfbc screencast successfully.
thank you
Expected Behavior
No response
Additional Context
No response
Sunshine Host Operating System and Version
Arch
Architecture
64bit
Sunshine Version
0.14
GPU Type
nvidia
GPU Model
3060
GPU Driver/Mesa Version
515.57
Capture Method (Linux Only)
nvfbc
Can't say I've noticed this with the same setup. I'll have to watch more closely for it. When are your settings for nv_preset, nv_rc and nv_coder?
I guess you only see this remotely and not when running on linux normally?
Can't say I've noticed this with the same setup. I'll have to watch more closely for it. When are your settings for nv_preset, nv_rc and nv_coder?
I guess you only see this remotely and not when running on linux normally?

Yes, only remotely and only linux. If you download and play my videos locally it is really easy to see the difference. sunshine from windows is butter smooth, from linux it has that frame pacing jitters.
Can't see the vids (have to request access) but I also have bad stuttering on Linux (Manjaro) host (with AMD card).
Can't see the vids (have to request access) but I also have bad stuttering on Linux (Manjaro) host (with AMD card).
Links should work now, sorry about that.
@ReenigneArcher , @KuleRucket could you have a look at the videos, please?
I already did but I don't have anything else to add.
Try changing your preset from High Performance to one of the ll presets, either ll or llhp. LL in that context stands for low latency. High Performance is meant for encoding videos in general, not for streaming in particular. The low latency presets are designed for streaming so you get less stutter with them.
Try changing your preset from High Performance to one of the ll presets, either ll or llhp. LL in that context stands for low latency. High Performance is meant for encoding videos in general, not for streaming in particular. The low latency presets are designed for streaming so you get less stutter with them.
Hi. I did try the LL profiles and it kinda does seam to help but it does not make it on par with windows
This issue is stale because it has been open for 90 days with no activity. Comment or remove the stale label, otherwise this will be closed in 10 days.
This issue was closed because it has been stalled for 10 days with no activity.
Out of curiosity, has there been any progress on this? exact same situation as OP, and with Windows, on the exact same machine (dual boot), it's perfect. I can't get rid of the stutter when the host is Linux (Sunshine 0.20)
See also: #2286 and #2333