moonlight-qt icon indicating copy to clipboard operation
moonlight-qt copied to clipboard

Cannot >60FPS without V-sync enabled on MacOS (rendered frames above 60FPS are dropped)

Open Foul-Tarnished opened this issue 1 year ago • 1 comments

Describe the bug If you disable v-sync and frame pacing and choose 120fps : Rendering frames will be capped at 60FPS (incoming and decoding frames are still 120FPS though)

Moonlight thinks there's 50% frame dropped by network jitter (wrong)

Steps to reproduce

  • Have a 120Hz monitor or virtual display driver on host
  • Set Moonlight to 120FPS, fullscreen, disable v-sync and disable frame pacing.
  • Launch an app/desktop (and display something with movement) and open menu for stats
  • rendering framerate will not go over 60fps

then test with v-sync on and see the expected result (120fps decoding frames and not 60fps)

Screenshots image

Affected games All

Moonlight settings (please complete the following information) Forced H265, HDR, fullscreen

Client PC details

  • OS: MacOS Sonoma
  • Moonlight Version: latest stable
  • GPU: Mac M3
  • Monitor: Internal display Apple (Retina 120Hz ProMotion)

Server PC details

  • OS: Win11 23H2
  • Sunshine latest stable
  • GPU: RTX 4090
  • GPU driver: latest

Moonlight Logs (please attach) Moonlight-1711593779.log

Foul-Tarnished avatar Mar 28 '24 04:03 Foul-Tarnished

Can you try the latest nightly build? It has a completely new Metal renderer.

https://ci.appveyor.com/project/cgutman/moonlight-qt/builds/49560740/job/t0g4r8qyjxnlovm7/artifacts

cgutman avatar Apr 06 '24 20:04 cgutman

This should be fixed by the new Metal renderer in v6.0.0

cgutman avatar Jun 06 '24 06:06 cgutman

I'm still encountering this one with 6.0.1 on MacOS Sonoma 14.5... Enabling VSync allows the framerate to go up to 120hz, but if I leave it off, the render framerate is 60.61fps.

zacbre avatar Jul 03 '24 00:07 zacbre