moonlight-stream / moonlight-android

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

Extreme mouse desync #468

Closed Cur closed 7 years ago

Cur commented 7 years ago

This makes games unplayable. It would be bearable if when i move my mouse to the corner of the screen that it kept going but it's blocked at the border so you cant continue moving the mouse that's lagging behind.

Starting with my mouse from my home PC in the centre of the screen, and the mouse overlay from android in the centre, i can move the android mouse all the way to the border and it's only moved 1CM from the center of the screen.

Not using the Rooted. There has to be a way to have the mouse sync better so it's at least somewhat usable??

Video showing how severe the issue is: https://youtu.be/CJtmM8QB6m0

genmatrix commented 7 years ago

What version of Android are you using?

Cur commented 7 years ago

About section shows: Android Verision 6.0 Security patch level 5 May 2017 Kernel version 3.18.19

Attempting to update shows no updates.

I saw another post about the DPI of a gaming mouse messing with it - so i disconnected my Razor Deathadder and plugged in a generic microsoft mouse thismorning. Issue is still persisting.

Screen rez was 1900 x 1200 but i've tried dropping it down to 1600x1200 and 1280x1204 and the mouse desync still persists then too.

I would try the rooted version, but i do not know how to root my device without using something like Kingroot which will give my device herpes (bloatware that self-reinstalls) after it sends all my details off to china :(

I'm using a bluetooth keyboard and mouse - the microsoft "designer" bluetooth one on the tablet.

cgutman commented 7 years ago

This is a limitation of Android prior to 8.0 Oreo. There was no way to capture the mouse pointer without root access. The rooted version can capture the mouse on earlier versions of Android.

Without mouse capture, there's no way to keep the host and client mouse in sync due to how the GameStream protocol operates.

bdefore commented 7 years ago

i'm experiencing the inverse problem on an asus chromebook flip running the android play version. the on-screen mouse moves much farther than my movements on the touch screen. it may be unrelated, but the cursor also moves relative to the motion following first touch - it does not reposition to where the first touch is before moving.

bdefore commented 7 years ago

related issue: https://github.com/moonlight-stream/moonlight-android/issues/443

r3dcat commented 7 years ago

I am experiencing the same issue mouse pointers out of sync Using rooted android 7.1.2 with moonlight root 5.5 Was not seeing this issue on my old media player running rooted android 4 Any suggestions?

cgutman commented 7 years ago

@r3dcat with what software did you root your device? I think it may depend on the 'su' implementation whether or not you see the bug.

r3dcat commented 7 years ago

I've got a M8S PRO media player that I flashed with a custom rooted 7.1.2 rom/image from Freaktab http://freaktab.com/forum/tv-player-support/amlogic-based-tv-players/s912/mecool/firmware-roms/657555-rom-mecool-m8s-pro-stock-nano-nexus-roms-android-7-1 I'm using the Nano Variant. I have installed other apps that require root access and they all seem to be ok. How do I check the root is ok for moonlight?

cgutman commented 7 years ago

Are you running the root version of Moonlight?

r3dcat commented 7 years ago

"Using rooted android 7.1.2 with moonlight root 5.5" Yes I am running the latest root version of Moonlight :)

cgutman commented 7 years ago

Ah sorry. Did you get a root access prompt when your first tried to stream? Does Moonlight appear in the list of root-approved apps in your root management app?

r3dcat commented 7 years ago

Ok issue fixed for me now. I re flashed an updated 7.1.2 rom in my case M8S_PRO-V0928_Nano-20171116.img and installed SuperSU correctly through recovery menu. Then installed and ran Moonlight root and this time all was as it should be :) mouse in sync :)

Cur commented 7 years ago

Got a new device, this time rootable. Rooted. Installed Moonlight for rooted devices and im in loooove! exactly like im sitting infront of my home pc! thanks guys :D