TheElixZammuto / moonlight-xbox

Moonlight port for Xbox One/Series Family of Console
GNU General Public License v3.0
372 stars 26 forks source link

Lag spike if left idle #103

Closed Pafounapa closed 9 months ago

Pafounapa commented 10 months ago

On Xbox Series S, if I don't touch the controller for about 10sec, the stream begin to lag significantly. I see in the statistics that the queue size goes up to 1 or 2, and it's normally at 0. The moment that I press a button/move a joystick, the lag stop.

This problem occurs no matter my stream quality or bitrate/encoder. I also tried it with Sunshine or Gamestream on my pc, same result.

If I use the Moonlight application directly on my smart TV, or any other device, I don't have this problem. It also not game related, I see this behaviour even not in game (with a youtube video for example). Doing an input on the computer also doesn't solve anything, it must be done on the Xbox itself.

Nothing changes in the task manager for the GPU/CPU and Ethernet when the behaviour occurs.

My normal settings on Moonlight are:

1440p stream 40000 bit rate 60fps

Pafounapa commented 9 months ago

1.15.3 seems to have fix this issue. I can also now stream in 4k60hz without crashing, which was impossible to do before.