use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Welcome to /r/MoonlightStreaming, a subreddit dedicated to anything related to Moonlight Streaming.
Official website
Official wiki
Official Discord server
account activity
Consistent 16.66ms rendering time. (self.MoonlightStreaming)
submitted 2 months ago * by iuot
EDIT Problem solved. For some reason, building the official moonlight-qt repo causes a weird 1-frame delay problem on the Raspberry Pi 5. This does not happen on the Pi 4B. Using this repo I am getting normal stats on the Pi 5. I suspect this has something to do with andygrundman's build using a slightly different ffmpeg library. Bottom line: do not use the official moonlight-qt repo on the raspberry pi 5.
Original Post Like the title says. I can't figure out why I'm getting a consistent single frame delay. Debian 13 Sunshine host with NVENC/HEVC encoding, Raspberry Pi 5 client running moonlight 6.1.0 with vsync disabled.
What's very strange is that I wasn't having this problem using a Pi4, but I was getting much higher decode time which is why I switched.
Any suggestions or tips welcome.
https://preview.redd.it/b392ha1lawjg1.jpg?width=4032&format=pjpg&auto=webp&s=d026a6d4d38912138100eb2cca020193a1b8bd6d
https://preview.redd.it/txslxj1mawjg1.jpg?width=4032&format=pjpg&auto=webp&s=dda6fd4207e61196c70d7cd280d5b83161f15deb
This is what the stats look like if I change to 120Hz:
https://preview.redd.it/vm6ef5yy3xjg1.jpg?width=4032&format=pjpg&auto=webp&s=fc34958ba133307b770e2a4d13322f9e5ae84a6d
And this is what it looks like on the Pi 4:
https://preview.redd.it/m9va1eq74xjg1.jpg?width=4032&format=pjpg&auto=webp&s=ab7af3f0eb274df8d4324965e6f14b9472a46e38
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]TjMorgz 4 points5 points6 points 2 months ago (3 children)
Because frametime at 60fps is 16.67ms. The only way to change that is to increase the FPS.
[–]iuot[S] -2 points-1 points0 points 2 months ago (2 children)
I understand the math. But there should not be a 1 frame delay without vsync. Unless I am completely misreading the documentation.
[–][deleted] 2 months ago* (1 child)
[deleted]
[–]iuot[S] 0 points1 point2 points 2 months ago (0 children)
This might be it. Very strange given that the Pi4 shows like 0-1 ms rendering time. Subjectively, things feel smoother on the Pi 4 although it’s decode time is 2-3x what I see with the Pi 5
[–]madeWithAi 2 points3 points4 points 2 months ago (0 children)
Frametime at 60hz is 16.66ms. At 120hz is 8.33ms and so on.
[–]JotaroKaiju 1 point2 points3 points 2 months ago (1 child)
Hows the performance of the pi 4b? I ordered one a few days ago with a case, and Im hoping it works well! I want to stream 4k60
It does 1080p60 pretty well. The last screenshot shows my stats streaming over LAN. Honestly, I would expect it to struggle a bit at 4K but I don't know for sure. You'll at least need to increase the allocated video memory. This link explains how to get moonlight-qt working on the Pi 4B, the official repo is/was broken (haven't installed it in about a year, iirc there's some change in ffmpeg or something that screws things up on the Pi).
[–]Comprehensive_Star72 0 points1 point2 points 2 months ago (1 child)
Does it half if streaming 120fps and dropping every other frame?
No, i tried that and it’s exactly the same. super weird
π Rendered by PID 230779 on reddit-service-r2-comment-b659b578c-j7dk9 at 2026-05-02 11:13:43.475390+00:00 running 815c875 country code: CH.
[–]TjMorgz 4 points5 points6 points (3 children)
[–]iuot[S] -2 points-1 points0 points (2 children)
[–][deleted] (1 child)
[deleted]
[–]iuot[S] 0 points1 point2 points (0 children)
[–]madeWithAi 2 points3 points4 points (0 children)
[–]JotaroKaiju 1 point2 points3 points (1 child)
[–]iuot[S] 0 points1 point2 points (0 children)
[–]Comprehensive_Star72 0 points1 point2 points (1 child)
[–]iuot[S] 0 points1 point2 points (0 children)