xyzz / vita-moonlight

NVIDIA Gamestream client for PlayStation Vita, based on moonlight-embedded
GNU General Public License v3.0
629 stars 74 forks source link

Constant Stutter Every 10-15 Seconds Since v6.1 #195

Closed AlC4pwn closed 3 years ago

AlC4pwn commented 3 years ago

I know this has been quite a while, but a constant stutter every ~10-15 seconds has been bothering me for a while and I went back and did a lot of testing with v6.0 and v6.1 to see if it was related to the "Disable vblank waiting when shown streaming" function. (https://github.com/xyzz/vita-moonlight/commit/f791b3d12ac7aab9319dccbfc6717f86541df55b)

While v6.0 does cause a strange slowdown, it doesn't appear to suffer from this strange stutter. Would it be possible to add the Disable vblank function as a selectable option in the settings?

Originally posted by @AlC4pwn in https://github.com/xyzz/vita-moonlight/issues/152#issuecomment-654633048

AlC4pwn commented 3 years ago

Thank you so much for adding this enhancement and so quickly too, you're awesome. It definitely fixes the strange consistent stutter.

AlC4pwn commented 3 years ago

Wow thank you so very much for adding this enhancement and so quickly too, you're awesome!

Just wanted to put an update here for anyone who has been running into this stuttering issue etc:

My PC has a 240hz monitor (and when I first used moonlight on the vita I had a 120hz monitor), and it seems that having it forced to 60hz greatly decreases the consistent stutter (it's still there although it's really difficult to spot). I just never thought of trying this I always assumed 240hz/120hz would break down nicely @ 60hz.

The VBlank function seems to fix the stuttering completely even at 240hz, and the strange constant slowing down that happened in v6.0 w/ VBlank appears to be fixed; I even went through downgrading GFE and back to v6.0 to make sure the slowdown existed (it did).

So this is a great option for anyone with a high refresh monitor experiencing this problem and would rather not have to change it everytime you want to gamestream. This can be extra annoying if you have to change in-game refresh rate settings. I can now even play fast paced games like Project Cars as previously the stutter made it impossible.