moonlight-stream / moonlight-embedded

Gamestream client for embedded systems
https://github.com/moonlight-stream/moonlight-embedded/wiki
GNU General Public License v3.0
1.5k stars 325 forks source link

Analog stick locks itself #730

Open marpet0805 opened 5 years ago

marpet0805 commented 5 years ago

Please provide the following info.

NVidia Geforce Experience version: 3.15.0.164 Moonlight Embedded version: 2.4.7-stretch Moonlight Embedded source: Retromoonlight install.sh file (Installs the latest moonlight embedded which is stretch) Moonlight Embedded running on: Raspberry Pi 3B+ (With Retroflag NESPi case) Moonlight Embedded running on distribution: RetroPie 4.4 Also, Internet connection: 5GHz both Pi and PC. Have also tested with ethernet cable on both. Controller used: 8Bitdo NES30 Pro Bluetooth connection

Verbose output -verbose of Moonlight Embedded: Moonlight Embedded 2.4.7 (PI;ALSA;EMBEDDED) Searching for server... Connect to 192.168.0.3... NVIDIA GeForce GTX 970M, GFE 3.15.0.164 (gs_04_09_24784787, 7.1.409.0) Platform Raspberry Pi (Broadcom) Loading mappingfile /usr/share/moonlight/gamecontrollerdb.txt Detected 8Bitdo NES30 Pro (05000000c82d00002038000000010000) on /dev/input/ev Stream 1280 x 720, 60 fps, 10000 kbps Initializing platform...done Resolving host name...done Starting RTSP handshake...done Initializing control stream...done Initializing video stream...done Initializing audio stream...done Initializing input stream...done Starting control stream...done Starting video stream...done Starting audio stream...done Starting input stream...done

What is the expected result? The analog stick is supposed to only deliever the analog input when moving the stick.

What happens instead of that? Very often locks itself and keeps delievering the input to the pc as if the analog stick is moved, but clearly is not, or in other words, the in-game character moves on it's own when clearly the analog stick is not being moved. This is not just for video games but also for menus, such as steam, etc.

Update: I don't know why or how but, I may or may not figured what causes this but. I completely reinstalled Retropie on 3B+ and installed Moonlight Embedded, and now everything works fine as it should. However, if i restart the PC host while the Moonlight Embedded is running, it will cause some kind of lag-latency-input distortion or some thing, i have no idea. But if the PC is restarted while the Moonlight is running on Pi (Obviously, the Moonlight will quit the stream because the PC Host is no longer available when restarting), it will increase the chance of the Analog stick locking itself.

Why is this a big of a deal? Well, just try imagine playing a game and all of a sudden the game-character moves on its own without you even touching the controller. The only solution to this that i have found is to completely reinstall Retropie, Re-flash the SD Card, i don't know if this happens in the other OS. And i am not entierly sure if it is something with Gamestream itself or something else. I just know that when i reinstalled Retropie and installed Moonlight-Embedded again, the issue was fixed...... until i restarted the pc while the moonlight was running.

I even went so far to see if the ''-debug'' command had anything unusual to say. Well, the only thing i got was:

Returning RTP packet queued for too long Received OOS audio data (expected 35856, but got 35857)

It kept saying that now and then. Not sure if that is the cause.

But as of right now, the only solution i have found to fix this is to reinstall RetroPie. (I have tested everything and nothing works except for reinstalling RetroPie)