xyzz / vita-moonlight

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

Video stream start failed: -2147418110 #196

Closed StrawberryBrains closed 3 years ago

StrawberryBrains commented 3 years ago

NVidia Geforce Experience version: 3.20.5.70 Vita Moonlight version: v0.8.0 Vita Moonlight running on: PSTV

Output of Vita Moonlight: 20201219 11:59:49.360797 Initializing platform... 20201219 11:59:49.361179 connection_stage_starting - stage: 1 20201219 11:59:49.361444 connection_stage_complate - stage: 1 20201219 11:59:49.361700 done 20201219 11:59:49.361951 Resolving host name... 20201219 11:59:49.362200 connection_stage_starting - stage: 2 20201219 11:59:49.362463 connection_stage_complate - stage: 2 20201219 11:59:49.375160 done 20201219 11:59:49.384923 Starting RTSP handshake... 20201219 11:59:49.395614 connection_stage_starting - stage: 3 20201219 11:59:49.404377 setsockopt(TCP_MAXSEG, 536) failed: 22 20201219 11:59:49.423279 setsockopt(TCP_MAXSEG, 536) failed: 22 20201219 11:59:49.452277 setsockopt(TCP_MAXSEG, 536) failed: 22 20201219 11:59:49.472006 setsockopt(TCP_MAXSEG, 536) failed: 22 20201219 11:59:49.488888 setsockopt(TCP_MAXSEG, 536) failed: 22 20201219 11:59:49.507894 setsockopt(TCP_MAXSEG, 536) failed: 22 20201219 11:59:49.546776 setsockopt(TCP_MAXSEG, 536) failed: 22 20201219 11:59:49.564944 setsockopt(TCP_MAXSEG, 536) failed: 22 20201219 11:59:49.580393 connection_stage_complate - stage: 3 20201219 11:59:49.591258 done 20201219 11:59:49.599911 Initializing control stream... 20201219 11:59:49.610371 connection_stage_starting - stage: 4 20201219 11:59:49.619263 connection_stage_complate - stage: 4 20201219 11:59:49.629779 done 20201219 11:59:49.638434 Initializing video stream... 20201219 11:59:49.648940 connection_stage_starting - stage: 5 20201219 11:59:49.671101 connection_stage_complate - stage: 5 20201219 11:59:49.681738 done 20201219 11:59:49.690382 Initializing audio stream... 20201219 11:59:49.700996 connection_stage_starting - stage: 6 20201219 11:59:49.709632 connection_stage_complate - stage: 6 20201219 11:59:49.720132 done 20201219 11:59:49.728697 Initializing input stream... 20201219 11:59:49.739283 connection_stage_starting - stage: 7 20201219 11:59:49.747936 connection_stage_complate - stage: 7 20201219 11:59:49.758471 done 20201219 11:59:49.767009 Starting control stream... 20201219 11:59:49.785540 connection_stage_starting - stage: 8 20201219 11:59:49.799281 connection_stage_complate - stage: 8 20201219 11:59:49.809801 done 20201219 11:59:49.818310 Starting video stream... 20201219 11:59:49.828913 connection_stage_starting - stage: 9 20201219 11:59:49.844823 Video stream start failed: -2147418110 20201219 11:59:49.855292 connection_stage_failed - stage: 9, -2147418110 20201219 11:59:49.863930 Stopping control stream... 20201219 11:59:49.869159 ENet wait interrupted 20201219 11:59:49.882931 Control stream connection failed: -1 20201219 11:59:49.906030 done 20201219 11:59:49.914593 Cleaning up input stream... 20201219 11:59:49.925147 done 20201219 11:59:49.933686 Cleaning up audio stream... 20201219 11:59:49.944182 done 20201219 11:59:49.952770 Cleaning up video stream... 20201219 11:59:49.963248 done 20201219 11:59:49.971815 Cleaning up control stream... 20201219 11:59:49.982331 done 20201219 11:59:49.990938 Cleaning up platform... 20201219 11:59:50.001445 done

Streaming 1080p on the PSTV at 60fps 20000 bitrate doesn't work, it results in the error seen above. Streaming at 720p with all the other settings the same does work however.

I saw some closed posts about this issue in 2018, but seeing as the error is still present I thought I should upload the log anyway. Sorry if this adds nothing. Thank you for your hard work :)

bamhm182 commented 3 years ago

I'm having the same issue. It was working great, and then I found something about using the wifi on my W10 box to create a hotspot, and ever since then, I can't connect, with or without the hotspot. I'll let you know if I get it figured out, otherwise, I'm posting to track this. I'm having this issue with the Vita, even at lower res.

StrawberryBrains commented 3 years ago

Thank you for looking into it! I'm very curious as to the result of your research.

bamhm182 commented 3 years ago

So, I think I got it working again, but then my computer BSOD'd. Either way, figured I'd provide an update before I forget. I set up my wifi 6 NIC as a mobile hotspot and connected my Vita and my Pixel 2 to it. The Pixel 2 worked flawlessly all the time, but I was getting this error while on the Vita. I switched my Vita to the following settings and it worked, but then, as I said, my computer BSOD'd. I'll check it out more extensively later.

Resolution: 960x544 (Native Vita Resolution) (Default: 1920x1080) FPS: 60 Bitrate: 8000 (Default: 10000) Change graphical game settings for performance: yes Enable reference frame invalidation: no Enable stream optimization: no Enable frame pacer: no Enable debug log: yes Disable power save: yes Swap X and O for moonlight: no Display streaming FPS: no Mouse acceleration: 150 Enable mapping file: no Back touchscreen deadzone: 0,0,0,0

The only two things I played with were the res and the bitrate, the res seemed to make the biggest difference.

EDIT: Just thought I'd note that it will likely be a few days before I get the chance to check it out again. I'm busy with a bunch of stuff, and my computer just happened to boot into Windows, so I figured I'd test it real quick.

StrawberryBrains commented 3 years ago

Yeah resolutions below 1920x1080 seem to work fine. Thanks for testing and don't worry about not being able to work on it immediately, there is no hurry, especially not this time of year :)

d3m3vilurr commented 3 years ago

in my invest, vita doesn't support 1920x1080 resolution. so I removed it via #193 (actually it would detect supporting resolutions)