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

Occurs a crash with sunshine #204

Open d3m3vilurr opened 3 years ago

d3m3vilurr commented 3 years ago

NVidia Geforce Experience version: sunshine Vita Moonlight version: both of 0.9.0 and 0.9.1 Vita Moonlight running on: PSVita 1000 / 3.60 enso

sunshine printed [2021:05:12:18:19:10]: Info: 192.168.0.165: Ping Timeout

this issue was reported by pnav in the discord.

psp2core-1620986514-0x00030a3135-eboot.bin.psp2dmp.gz

JacekJagosz commented 2 years ago

I found a fix for that, it is about setting in Sunshine and not Moonlight specifically. I needed a combination of 3 settings, force encoder to software, set qp to a high number like 50 or even 70 and set crf to 0 so only qp is used. It got rid of all random crashes for me with Vita, on both Linux and Windows. It could be that only one of those settings was necessary.

CristianPi commented 10 months ago

any change for 2023?

Dunnymeister commented 9 months ago

Encountering the same issue here. Let me know if there’s anything I can do to help!

TheSnowfield commented 1 week ago

Encountering the same issue here. Let me know if there’s anything I can do to help!

After some tests, I found perfect arguments to avoid the crash, and both enabled the encoder hardware acceleration,

If you use Sunshine in Linux, please try to apply these settings:

On the vita side, please keep the bitrate lower than 4000, I have tested the 4000 bitrate, but it still can cause a crash, so I use 3500.

Version information: