Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue]: Slow decoding and large latency spikes on Orange Pi 5 (rk3588s) #1473

Open
coffeebird opened this issue Feb 13, 2025 · 0 comments
Open
Labels

Comments

@coffeebird
Copy link

Describe the bug

Testing Orange Pi 5 as a moonlight client but seeing slow decoding and massive latency spikes

screencap showing latency

I've tried a few different tests using both linux and windows hosts with nvidia and amd gpus, all over gigabit ethernet. Tried various bitrates and codecs. There were dropped frames and massive spikes like in the photo above in each test.

Windows Sunshine host nvidia gtx 750 / Orange Pi 5 Android 12 Moonlight client h.264: 5-7ms (dropped frames and 100ms+ spikes)
Linux Sunshine host amd rx580 / Orange Pi 5 Android 12 Moonlight client hvec: 9-12ms (dropped frames and 100ms+ spikes)
Linux Sunshine host amd rx580 /Orange Pi 5 Android 12 Moonlight client h.264: 6-8ms (dropped frames and 100ms+ spikes)

By comparison, I tested the same windows host and orange pi android 12 client using parsec, and the performance was night and day,
Windows Parsec host nvidie gtx 750 / Orange Pi 5 Android 12 Parsec client h.264: 2ms (no dropped frames and no spikes)

Finally, after compiling moonlight-qt and ffmpeg-rockchip for armbian with a vendor kernel, I was able to get almost identical smooth performance as parsec.

Linux Sunshine host amd rx580 / Orange pi 5 Armbian moonlight-qt client hvec: 2ms (no dropped frames and no spikes)

I don't know what else to test. It's great that moonlight works well on the Rockchip rk3588s in linux, but it would be better for my needs if worked just as well in Android.

Could this be an issue with the moonlight android client? Appreciate any help or insight.

Steps to reproduce

Stream games to orange pi 5 or similar rk3588s board running moonlight client for android

Affected games

Any game.

Other Moonlight clients

PC

Moonlight adjusted settings

Yes

Moonlight adjusted settings (please complete the following information)

Tried various bitrates, codecs, and frame pacing. Similar results each time.

Moonlight default settings

Yes

Gamepad-related connection issue

Yes

Gamepad-related input issue

Yes

Gamepad-related streaming issue

Yes

Android version

12

Device model

Orange Pi 5

Server PC OS version

Windows 10

Server PC GeForce Experience version

11.0.2.312

Server PC Nvidia GPU driver version

572.42

Server PC antivirus and firewall software

Windows Defender and Firewall. tried without both

Screenshots

Image

Relevant log output

Additional context

No response

@coffeebird coffeebird added the bug label Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant