moonlight-stream / moonlight-android

GameStream client for Android
GNU General Public License v3.0
3.94k stars 621 forks source link

High decode latency Minix Neo U1 #269

Closed txusramone closed 6 years ago

txusramone commented 8 years ago

Hi

I have: HOST: i7-4790 16gb ram gtx960 gigabyte ethernet (1-3 ms to tvbox)

tvbox minix neo u1 cpu: AMLogic S905 Cortex-A53 Quad Core gpu: Mali-450MP5 gigabyte ethernet (1-3ms to host)

I have > 100 ms hardware decode latency with: 720p 30fps 1mbs

I tried h.265 and no h.265 with same result I tried gfe beta and no beta with same result

Can my tvbox run correctly moonlight with games?

Waht can i do? any idea?

Sorry for my english

Thx!!

dan83sama commented 8 years ago

Use older app (need install old gfe also) and select software decoder. I guess is the same error https://github.com/moonlight-stream/moonlight-android/issues/142

txusramone commented 8 years ago

Many Thx :)

Have U idea what a version i need? There are many versions

https://github.com/moonlight-stream/moonlight-android/releases

dan83sama commented 8 years ago

moonlight 3.1.13 gfe 2.8

Kernotmdl commented 7 years ago

Hi, I do have the same Issue with an MXIII-S box. It does have the same CPU as Minix Neo U1. AMLogic S905. I tried older versions as suggested by dan83sama but it works just ok at 720p.

cgutman commented 7 years ago

I have some APKs for you to test on your AMLogic devices. Let me know if any of them improve performance.

https://1drv.ms/u/s!AlafYXCXvxUMifMfRkQo3DSrnTq60w https://1drv.ms/u/s!AlafYXCXvxUMifMgsViVx3LdgmUTXA https://1drv.ms/u/s!AlafYXCXvxUMifMeXBxVx1xj959Scg

dan83sama commented 7 years ago

I tested these apks in my device https://github.com/moonlight-stream/moonlight-android/issues/142 , and still the same, if you need logs let me know.

Kernotmdl commented 7 years ago

Hi! Just tried them and those are the results all at 720p 60, 1Gb Ethernet and with H265. 1st BS: Gives about 72ms. 2nd CONST: Gives about 270ms. 3rd NOLEVEL: Gives about 340ms.

Just want to clarify that my box is not a Amlogic S905, it is a Amlogic S812. With a Note 4 over 5Ghz wifi I get about 15ms on 1080p 60.

FuzzyYetiX commented 7 years ago

Thought I'd chime in here as I have the exact same box (Minix U1)

My host specs are:

i7 2600K 32GB RAM EVGA 1060 GTX SC Wired connection from PC to router and wired from Minix U1 to router as well.

I'm running an Apple Airport Extreme 4th Gen which at first was thinking was the cause since it's a bit older, but I'm not too sure. But yeah, same 100ms delay. I also tried installing older software both for Moonlight and GFE, but GFE couldn't detect my GPU which is needed to enable the streaming feature. So I'm running the latest Moonlight and latest GFE so it's at least detected.

I'm not as knowledgeable as you guys on here, but can try to troubleshoot if needed. I did try all the links that cgutman posted but all of them gave me a black screen when attempting to stream anything.

Also I tried the app on my Nexus 5 and I get 15ms on 1080p 60fps 20mbps

Update: I downgraded GFE to 3.0.6.48 and the posted links for the alternate version of Moonlight provided by cgutman worked, but also had same results like dan83sama. No difference in delay.

chrirauch commented 7 years ago

Hi

I have a xiaomi mi box with a similiar processor & graphics chip and I'm facing similiar issues. I tried the apks and the bs version seems to do best... strange thing is that i'm getting higher latency with h264 decoding than with h265. Even stranger is that the sometimes latency decreases when i increase the resolution and bitrate.

Current Play Store Version: Latency of 29ms with 4k60 and 80Mbits - h265 Latency of 29ms with 1080p60 and 45Mbits - h265 Latency of 30ms with 1080p60 and 20Mbits - h265 Latency of 70ms with 1080p60 and 45Mbits - h264

BS Latency of 31ms with 4k60 and 80Mbits - h265 Latency of 30ms with 1080p60 and 45Mbits - h265 Latency of 30ms with 1080p60 and 45Mbits - h265 Latency of 50ms with 720p30 and 20Mbits - h265

Latency of 63ms with 720p60 and 20Mbits - h264 Latency of 65ms with 1080p60 and 45Mbits - h264

CONST Latency of 65ms with 1080p60 and 45Mbits - h265 Latency of 32ms with 4k60 and 80Mbits - h265

Latency of 70ms with 1080p60 and 45Mbits - h264 Latency of 112ms with 4k60 and 80Mbits - h264 processing av data to slowly

NOLEVEL Latency of 96ms with 1080p60 and 45Mbits - h265 Latency of 30ms with 4kp60 and 80Mbits - h265

HOST I5 6600K Geforce gtx 970 ...

Client: Xiaomi Mi Box Processor Quad-core Cortex-A53 2.0GHz GPU Mali 450 750MHz

joh9 commented 7 years ago

I have some APKs for you to test on your AMLogic devices. Let me know if any of them improve performance

Hey, first: thank you cgutman for your excellent work and donating time on moonlight!!!

Host: Win10 Chipset: i5-4200M GPU: GTX 850M

Client: Android Chipset: Amlogic S905 Quad Core Cortex-A53 at 2.0GHz GPU: Penta-Core Mali-450 at 600MHz+ All Devices are wired via Ethernet.

AMlogic Android Box works with latency, but my Pi2 is running perfect.

Test:: 720p 30FPS - 5Mbps v3.1.13 - root: Gives about 11ms. / Software Decoding / GFE 2.9.1.35 v4.8.3 - root: Gives about 172ms. / Always H.265 / GFE 3.4.0.70 1st BS: Gives about 176ms. / Always H.265 / GFE 3.4.0.70 2nd CONST: Gives about 172ms. / Always H.265 / GFE 3.4.0.70 3rd NOLEVEL: Gives about 175ms. / Always H.265 / GFE 3.4.0.70

Have you some root-apks to test, too? Why is the latency with software decoding low or why is there no option selectable in higher moonlight versions?

dan83sama commented on 25 Aug 2016 moonlight 3.1.13 gfe 2.8

v3.1.13 - root: Gives about 11ms. / Software Decoding / GFE 2.9.1.35 (Xbox360/Controller not detectable + higher GFE v. ==> Incorrect PIN on pair)

kkdeperro commented 7 years ago

Hello my setup is:

Mi Box Android TV with AC router

PC: i7 3770K 16Gb RAM GTX 680

and when i change decoder options to always use H.265, when exits moonlight and shows de decoder latency always shows H.264 68ms, why if change to H.265 always shows H.264?

it's for my setup?

Thanks!

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.