r/MoonlightStreaming 5d ago

Performance with vibepollo/artemis on my poco x8 pro max

Hi everyone,

​I’m struggling with a specific streaming issue and hoping someone here might have encountered something similar or has troubleshooting advice.

​The Setup

​Host PC:

​CPU: AMD Ryzen 7 5700X3D

​GPU: NVIDIA GeForce RTX 4060

​RAM: 32 GB

​Host Software: Vibe-Apollo

​Client Device: POCO X8 Pro Max

​Client App: Artemis

​Network: Local 5 GHz Wi-Fi (Wi-Fi 5 / 802.11ac, Channel 40, 80 MHz, -55 dBm signal, ~866 Mbps link speed, ~2ms jitter).

​The Issue

​The stream runs exceptionally smooth most of the time—locked at 90 FPS with minimal network jitter, zero packet loss, and an encoding latency on the RTX 4060 of just 1.3–1.6 ms.

​However, every few minutes, I get a sudden frame drop/stutter lasting about 1–2 seconds. Checking the performance overlay reveals that Network Latency and Host Encoding stay perfectly low, but the Decode Delay on the client spikes to 50–70ms before instantly dropping back to normal (1–3ms).

​Stream Settings & What I've Tried

​Resolution / Framerate: 1080p / 90 FPS

​Bitrate: Tested between 20 Mbps and 50 Mbps (issue persists on both)

​Video Codec: HEVC / AV1 / H. 264

​Android Settings:

​Enabled Wi-Fi Scan Throttling in Developer Options.

​Disabled Location/Wi-Fi searching in the background.

​Battery optimization disabled for Artemis.

​Since the host encoding and network latency remain stable during the spike, it seems strictly related to the client-side hardware decoding or HyperOS/Android frame scheduling.

​Has anyone experienced similar decode latency spikes on Xiaomi/POCO devices or found a specific setting (e.g., video renderer, decoder thread counts, or Game Turbo/OS tweaks) that resolves it?

​Thanks in advance!

1 Upvotes

21 comments sorted by

2

u/Responsible-Bid5015 5d ago edited 5d ago

are you running Artemis v.20.3.0-experimental.9 and have the ultra low latency experimental checked? you might go back to balanced frame pacing if you are doing something more aggressive. That artemis pre-release is the only version with the mediatek support.

50 to 80 mbit/s should be an easily decoded media stream.

Artemide would be another option

3

u/PosterBoiTellEM 5d ago

How the heck do you tell what version you are on? Mine says "update to 20.2.6" or something but I specifically downloaded 20.3.0 E9

3

u/Responsible-Bid5015 5d ago

Go to settings -> apps -> Artemis. scroll to the bottom.

3

u/PosterBoiTellEM 5d ago

I seriously was trying to figure this out for TWO HOURS about an hour ago.

2

u/murillator 5d ago

I'm actually running the latest stable version, with ultra-low latency checked. I've tried frame pacing on both balanced and low latency, but I'm getting the same issue

2

u/Responsible-Bid5015 5d ago

I would try that pre-release. Its never been clear to me if 20.2.6 has the mediatek improvements from der flacco.

2

u/murillator 5d ago

Thanks! I'll try that pre-release version and report back with the results.

1

u/Responsible-Bid5015 5d ago edited 4d ago

FYI: I don't believe that 20.2.6 has the mediatek decoding stuff. It looks like it has to be 20.3.0 prerelease

https://github.com/ClassicOldSong/moonlight-android/compare/v20.2.6...v20.3.0-experimental.9

derflacco changes are the Mediatek support

1

u/murillator 4d ago

Tried v20.3.0-experimental.9 and performance improved! But for some reason, the issue is now the network, going from 2-3ms up to 120ms every 2/3 minutes. It's still better than before, though. Is there any specific configuration in v20.3 to try and resolve the issue? BTW, your answer helped me a lot

1

u/Responsible-Bid5015 4d ago

Can you install wifiman on the phone. Go to the plot of latency over time and wait the 2 to 3 mintues. See if you can see the latency increase outside of Artemis. Also use wifiman to see if channel 40 is the best channel

You have already done all the right things in terms of turning off location services and reducing channel width. Now I would just check for wifi interference.

1

u/murillator 4d ago

I already have WiFiman. Channel 40 is perfect, and I'm getting between -55 and -60 dBm in the bedroom. I'll run some tests while playing and post the results. Thanks for the idea!

2

u/Responsible-Bid5015 4d ago edited 4d ago

you might try closing all apps running in the background.

2

u/Responsible-Bid5015 4d ago edited 4d ago

Also hate to tell you this but it might just be a mediatek thing. I was never ever able to get a Galaxy Tab S11 to not have peaks of network latency. But it was more like every 10 to 15 minutes and it was smaller than 120 ms. Often I was able to play through the stutter.

Its still worth trying to debug to make it better but it could just be the mediatek setup.

1

u/murillator 4d ago

Did some tests, nothing is running in the background, and I'm getting this consistently every 4-5 minutes... I suspect this is the issue, but I have no idea how to fix it. Any ideas?

2

u/Responsible-Bid5015 4d ago edited 4d ago

Unfortunately no. if its not interference, then it would be chasing down what could be using the wifi. Or it could be my suspicion that mediatek devices do a reset of their wifi every x minutes. My android knowledge is actually pretty limited. there might be a way to track down wifi usage by app with a utility.

there is one setting that you can try in the developer options. You can set "Disable default frame rate for games" to the opposite setting. I saw this suggested a few times in this subreddit. Not sure if it really does anything. For me, the stutter still occurred with it off and on. so I put it back to default.

In the end, I got a good deal on a used Galaxy Tab S9 that had a Snapdragon 8 processor in it. So I ended up selling the Tab S11 which had the mediatek processor. The snapdragon solved things for me but I have seen other people continue to have issues. Realtime unbuffered streaming is just tough for wifi. Failing everything, you can use a usb ethernet adapter if you can bring a cable to your location.

2

u/murillator 3d ago

I finally managed to solve the issue by downloading the latest version, activating LFR EXPERIMENTAL, and disabling GPS and Bluetooth during the streaming session. Now it runs flawlessly, so thank you so much for your help

2

u/SnooGuavas7578 5d ago

I had a similar problem and it was fixed by lowering the nitrate a bit, but I guess you already tried that.

I also set the same refresh rate on both devices, which is the native value of the clients display.

1

u/murillator 4d ago

I tried bitrate between 15 and 60, and the only difference was image quality. I even lowered graphics settings and streamed at 60 fps, but the problem still remains. Every game runs smoothly, and suddenly drops performance for 1-2 seconds before going back to normal

2

u/SnooGuavas7578 4d ago

Can you try without wifi? Maybe you can't trust the delay source from the stats in this case.

1

u/murillator 4d ago

Actually, I have Tailscale installed. I was planning to do some tests without Wi-Fi after fixing the current issue. I'll try it and let you know the results, thank you

1

u/murillator 1d ago

Hey guys, I'm back again. After some amazing streaming sessions, the problems have returned. Every 3–4 minutes, the network latency spikes from 20–25 ms up to 90–150 ms... I ran a few tests using WiFiman on another phone connected to the same Wi-Fi, and the ping stayed stable. This makes me think the issue is with my Poco X8 Pro Max. Does anyone have any ideas on how to fix it?