moonlight-ios
moonlight-ios copied to clipboard
Rhythmic/Pattern Stuttering on Vision Pro (iPad app)
While using the Apple Vision Pro I get this sort of consistent rhythmic skipping. It's seemingly a perfect pattern that cuts both the audio and video out at the same time. It was happening more often than it wasn't, but there were periods of time where the issue was non-existent. It would periodically start and stop having the issue.
I tried all the troubleshooting steps and changing my settings, including the notorious location settings for Mac/iOS. I haven't tried another game, since I didn't have much time to test other than on Palworld, but I'd be willing to bet it has the same result.
Can confirm I have this as well.
Yep, I am also experiencing this exact same problem using iPad app on Vision Pro. Despite the stream running perfectly otherwise (no dropped frames, minimal latency) I get a consistent "rhythmic" stutter (stuck video frame and audio dropout) every 80 milliseconds or so, like clockwork.
It's not related to any specific game, it reproduces simply streaming the desktop (and also happens in any games I've tried as well.)
try with bluetooth and airplay off too, these are known for causing hiccups in networking on ios devices. also try with the setting I contributed to turned on, the prefer smooth experience instead of low latency. It will delay one frame which adds a small latency but can work wonders on reducing stutters
Thank you for your response. Unfortunately none of those adjustments fix this issue.
Having the same problem. Is this exclusive to the Vision Pro, though? Moonlight on my iPad seems to be having the same problem.
Chiming in. Same problem, on both iPad and Vision Pro. None of the normal troubleshooting solutions have helped. Latency averaging around 7ms, 0% dropped frames. Metrics suggest everything should be great, but instead there is this consistent choppiness.
Is it happening every second? On macOS it's caused by AWDL taking the wifi card every second and you can make it better by putting your wifi on the same channel as AWDL in your region (149 in the us iirc). On macOS you can disable it entirely but it doesn't seem possible to do so on visionOS. I had this problem on my AVP but switching my wifi channels fixed it.
@alexhaugland Yep, every second for me. Unfortunately, I have one of those wonderful routers with zero configuration options or I'd give changing the channel a shot. Odd, though it's only occurring on the AVP and an iPad Mini 6. Working as expected on an iPhone and wirelessly on a MacBook.
On macOS it's caused by AWDL taking the wifi card every second and you can make it better by putting your wifi on the same channel as AWDL in your region (149 in the us iirc).
Wow, I think this solved it for me. I was having horrible packet loss on Moonlight, and on Game streaming like GeForce Now and Xbox Cloud Gaming. They were impossible to use. But I couldn't replicate this issue on a wired Apple TV nor my laptop on wifi.
For me though, it was showing great FPS and ping time. It was the "Percent of dropped frames" that was ranging from 8% to 25%.
I swapped the AP I was attached to, to channel 149 and it all magically worked.
Unfortunately, I have quite a few access points in my house, so now I don't know what to do. This is kind of a really crappy issue.
Same exact issue here. Running on an ultra fast WiFi 7 network, and encountering the same rhythmic stuttering every second. I've spent the past week configuring network settings, replacing my network adapter, replacing my router, cables, you name it. Still encountering the same issue. Every now and then there's a moment when everything just works, but then after a few minutes it's right back. My gpu is a 4090 so it should handle it. Seems to be any game, even Rayman which uses hardly any resources triggers it. I've tried all the configuration options in Sunshine, and still no luck. When the stutter occurs, lowering the bitrate to even 5 still causes it.
Also, the VisionOS TestFlight version seems to have disabled H264. I can select it in the options, but it's defaulting to HEVC when loaded.
@Razorub did you try changing your router to use channel 149 for 5ghz (if you're in the United States).
I did this and it instantly resolved it.
@Razorub did you try changing your router to use channel 149 for 5ghz (if you're in the United States).
I did this and it instantly resolved it.
How extended was your testing after doing that? I'd find it hard to believe a specific broadcast channel can fix the issue entirely, though I'm no expert.
@Razorub did you try changing your router to use channel 149 for 5ghz (if you're in the United States).
I did this and it instantly resolved it.
My Eero 7 Max automatically configures channels. There is no manual control.
How extended was your testing after doing that?
Over many hours of not using it and trying again.
I'd find it hard to believe a specific broadcast channel can fix the issue entirely, though I'm no expert.
AWDL switches to channel 149 (on 5ghz in the US) in order to query and operate and switches back. This is the cause of the disruption. If your network interface is already on 149, it avoids the chaos.
How extended was your testing after doing that?
Over many hours of not using it and trying again.
I'd find it hard to believe a specific broadcast channel can fix the issue entirely, though I'm no expert.
AWDL switches to channel 149 (on 5ghz in the US) in order to query and operate and switches back. This is the cause of the disruption. If your network interface is already on 149, it avoids the chaos.
Alright I'll give it a try and report back. Thanks for the info 👍
1kuna
Did this fix your situation as well?
1kuna
Did this fix your situation as well?
@TheSpacemanSpliff @maddox I tried it for about an hour last night with zero stuttering. Slightly more latency & variance than usual, 4ms instead of 1ms. Will do more testing today but it seemingly worked for now.
I guess I'm stuck in this situation then, as I have an Eero 7 Max which after discussion with their tech support doesn't allow for manual selection of a channel. Bummer because I love everything about moonlight.
Is it happening every second? On macOS it's caused by AWDL taking the wifi card every second and you can make it better by putting your wifi on the same channel as AWDL in your region (149 in the us iirc). On macOS you can disable it entirely but it doesn't seem possible to do so on visionOS. I had this problem on my AVP but switching my wifi channels fixed it.
I can't believe it's that simple, but changing the wifi channel to 149 fixed the issue instantly
I guess I'm stuck in this situation then, as I have an Eero 7 Max which after discussion with their tech support doesn't allow for manual selection of a channel. Bummer because I love everything about moonlight.
I have the Eero 6 Pro (not 6e) and it does seem to be more specific issue to some apps compared to others.
Some of my test results:
- M1 MBP Wired - 4k 60FPS, no issues
- M1 MBP Wireless - 4k 60fps constant issues. 1080p 30fps, constant issues
- M1 MBP Wireless (awdl off, air drop off, bluetooth off) - 1080p 30 fps constant issues
- Razer Linux Wireless - 4k 60fps, no issues
Even more interestingly is using parsec as a comparison, the M1 MBP on wireless with awdl on, airdrop on, bluetooth on, has no issues with 4k 60fps.
Is it happening every second? On macOS it's caused by AWDL taking the wifi card every second and you can make it better by putting your wifi on the same channel as AWDL in your region (149 in the us iirc). On macOS you can disable it entirely but it doesn't seem possible to do so on visionOS. I had this problem on my AVP but switching my wifi channels fixed it.
I can't believe it's that simple, but changing the wifi channel to 149 fixed the issue instantly
Seems Channel 149 is the solution. Unfortunately my $600 Wifi 7 router doesn't allow me to do something as simple as manually change the channel. Talk about frustrating.
Side note: You don't happen to be the same PureDark who created the DLSS3 mod for Starfield?
Even more interestingly is using parsec as a comparison, the M1 MBP on wireless with awdl on, airdrop on, bluetooth on, has no issues with 4k 60fps.
Yeah, I also use parsec on my other system and it runs with no hiccups. I really want to be able to use Moonlight with the Vision Pro.
It seems strange the wireless hiccups are occurring just on Moonlight compared to Parsec.
@TheSpacemanSpliff I am highly considering switching to a new wireless mesh router system to get away from Eero holding back some of this basic functionality.
Yeah, for me at least, this issue seems to exclusively occur with Moonlight. Steam Link is working just fine. I'll also note, that at least on my iPad Mini, this is a new occurrence and was working fine up until somewhat recently. So, I'd question whether something changed within the iPadOS build or within iPadOS itself that's causing some of us to have issues.
I wonder what is triggering it with Moonlight vs Steamlink? I tried Steamlink and much prefer Moonlight and the higher quality stream.
So testing SteamLink and also Geforce Now, do not see the kind of stuttering and frame drop issues as I do with moonlight on iPad, iOS, Vision Pro, or Mac.
So testing SteamLink and also Geforce Now, do not see the kind of stuttering and frame drop issues as I do with moonlight on iPad, iOS, Vision Pro, or Mac.
Hopefully this is something the moonlight devs can figure out then, because moonlight is so much nicer to use than steamlink or GeForce.
The reason geforce now and steam link are mostly flawless is they use a fat buffer of packets, which of course mean highly perceived latency. particularly I wasn't able to moonlight in my iOS devices as well as I did on x86 linux/windows or even android devices, so I just gave up on ios at some point for this purpose.
The reason geforce now and steam link are mostly flawless is they use a fat buffer of packets, which of course mean highly perceived latency. particularly I wasn't able to moonlight in my iOS devices as well as I did on x86 linux/windows or even android devices, so I just gave up on ios at some point for this purpose.
Do you think it would be possible for Moonlight to offer the option of using a fat buffer, even if it meant facing a higher latency?
The reason geforce now and steam link are mostly flawless is they use a fat buffer of packets, which of course mean highly perceived latency. particularly I wasn't able to moonlight in my iOS devices as well as I did on x86 linux/windows or even android devices, so I just gave up on ios at some point for this purpose.
Do you think it would be possible to for Moonlight to offer the option of using a fat buffer, even if it meant facing the a higher latency?
sure. I contributed to a feature where I introduced one frame as a buffer and this fixed most of my issues on an apple tv wired. you just need to go to settings and choose smoother experience rather than low larency.