xyzz / vita-moonlight

NVIDIA Gamestream client for PlayStation Vita, based on moonlight-embedded
GNU General Public License v3.0
640 stars 75 forks source link

RTSP handshake (error code 9) (solved?) #33

Closed Crashdummyy closed 8 years ago

Crashdummyy commented 8 years ago

Please provide the following info.

NVidia Geforce Experience version: 2.4.5.28 Moonlight Embedded version: alpha4/alpha3 Moonlight Embedded running on: PSVITA

Output of Moonlight Embedded: Failed to start stream: error code 9. Failed stage: RTSP handshake (error code 9)

What is the expected result? Start of GameStream

What happens instead of that? The Game starts only on the Pc. No Problems with Android so far.

MrSparkle035 commented 8 years ago

Having the same problem here. Windows 10, Geforce Experience version 2.4.1.21, Moonlight Alpha 4 on PsVita. Steam loads up in big picture on my pc, but vita doesn't start the GameStream. "Failed to start stream: error code 9. Failed stage: RTSP handshake (error code 9)"

cgutman commented 8 years ago

Why are you using such an old version of GeForce Experience?

MrSparkle035 commented 8 years ago

I have yet to get Moonlight to work with my Vita. I searched around for my issue (the pair code would come up and I would enter it on the computer, but the vita wouldn't continue the setup). I discovered someone else had a similar issue and after a clean driver install they were able to get Moonlight up and running. So I downloaded the drivers from Nvidia's website and did a clean install now. I got much further this time! I was able to pair and trigger Big Picture mode of Steam but alas, this is as far as I've got...:(

EDIT: Upon further research, I've found that I've downloaded some older drivers...I'm attempting to install new ones right now. I'll update after the clean install and reboot.

EDIT2: After installing the latest drivers I am now on Geforce Experience 2.11.4.1. I'm using a GTX 970, i3-3220 CPU, 16GB RAM on an Ethernet connection running through a 5 port Rosewill RC-504LX Ethernet Switch into my TP-Link N-750 Dual Band Wireless router. My Vita is a PCH1001 WiFi Kiosk Demo Unit I've converted to full retail with Henkaku and the idu.vpk (Don't know if all this makes a difference or not, but I thought I would give as much info as possible). Now it seems I can't get past the pairing screen. The RTSP Handshake error is gone, but I'm back to my original problem where the vita screen doesn't move past the "Please enter the following PIN on the target PC:" screen. I enter the PIN on the PC, and the window requesting the PIN disappears but the Vita stays on the PIN screen.

MrSparkle035 commented 8 years ago

This is interesting. I decided to attempt streaming with my Android Tablet (Galaxy Note 10.1 2014 Edition) and was able to connect no problem on the first try. I then backed out of the app on my tablet and tried to connect with my Vita. I was able to pick up the stream that was started and am getting video, but no button control ability and no audio.

EDIT: Tablet is using Moonlight app from Google Play Store.

MrSparkle035 commented 8 years ago

Update: I killed the Steam app on the tablet to end the stream, and have sucessfully connected now with my vita. Sound, controls, everything is there. I still haven't paired it yet, but somehow I seem to have bypassed the pairing process? Not sure, but glad it's working at least! Keep up the great work guys, this project is AMAZING!

Crashdummyy commented 8 years ago

@cgutman I was using Experience 3.xx before that, but there were some threads telling me it might be a problem with new GFE. Therefore i changed versions. Should i update GFE again ?

About Big Picture Mode: I'm currently using nvidia Stream ( link games inside GFE ). That's why I couldn't use previous builds. I didn't mentioned that because my Android phone worked perfectly, so i thought my Vita should do as well.

Crashdummyy commented 8 years ago

@MrSparkle035 I tried your procedure as well, still getting error 9. Additionally i can't quit the running game from my vita ( Quit -1 )

MrSparkle035 commented 8 years ago

I'm going to try to keep this as short as possible while giving as much info I can. I have a hard time keeping things short, but I'll do my best ;)

When I backed out of the app on my tablet and connected with my Vita, I was resuming the stream where the tablet left off. The pairing option was still available, and when I tried to pair I received an error (pairing -4). I closed the moonlight for vita app and relaunched and wasn't able to reconnect to my PC. The Vita app was giving me the option to pair but was throwing an error (pairing -1) when attempting. Steam Big Picture remained open and I believe the streaming client for Game Stream was still running. I then reconnected with my tablet and quit steam remotely through the tablet.

I then tried to reconnect with the Vita after I deleted my ux0/dat/moonlight folder to clear my settings (I've done this a bunch when trying to get it to work). Same problem as before. I was stuck on the PIN screen on my Vita after entering the code on my PC. I continued to tinker with it, and ended up finally being able to connect after several failed attempts, restarts of my PC, and deleting my /data/moonlight folder.

I continued testing many times to try to narrow down on the bug. Best I can say so far is that when I first attempt to connect (No stream running on PC, Steam closed) it hangs on the "Connecting to...." screen on my Vita. I then close the moonlight app and am able to launch it back up and connect rather quickly after the failed first attempt. I hope some of this info helps, I'm not a skilled programmer, but I can try to give as much info as I can.

Crashdummyy commented 8 years ago

I finally got it to work:

NVidia Geforce Experience version: 3.0.6.48 Geforce GameReady Driver version: 372.70 Moonlight Embedded version: alpha4 Moonlight Embedded running on: PSVITA

I just purged all of it: Graphics Driver inside Windows, GFE, GameReady. After that i loaded and installed the newest version of GFE --> Let it Download GameReady Driver --> install as new. I deleted the moonlight folder inside the vita ( ux0:/data/moonlight )

So now I'm finally able to play :-) As far as I'm concerned you can close this issue ( or leave it open for discussion )

EDIT: There are some Problems with starting the stream at some points but I'm pretty sure they're related to NVidia, further there are no lags whatsoever when starting the stream with Android and just resuming it from your vita ;) works

d3m3vilurr commented 8 years ago

Linus said nvidia, fuck you

totally agree. :/

Crashdummyy commented 8 years ago

@d3m3vilurr Yeah These bastards won't let me play Little Fighter 2 😆