streetpea / chiaki-ng

Next-Generation of Chiaki (the open-source remote play client for PlayStation)
https://streetpea.github.io/chiaki-ng/
GNU Affero General Public License v3.0
1.19k stars 76 forks source link

[BUG]When I set it to 30FPS, running the streaming program crashes, 60FPS is allright #431

Open caron0k opened 1 month ago

caron0k commented 1 month ago

Describe the bug When I set it to 30FPS, running the streaming program crashes, set to 60FPS the program runs exactly right.

Debug Log chiaki_session_2024-10-09_13-35-32-613613.log

MacOS Crash Report.pdf

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Settings'-> 'Stream'
  2. Change Remote FPS to '60 fps'
  3. Return to Steam PS5
  4. See the crash error

Expected behavior none

Screenshots none

Desktop (please complete the following information):

Additional context none

caron0k commented 1 month ago

It's weird, I tried to change the bitrate from 60,000 to 50,000 and everything worked fine:

chiaki_session_2024-10-09_14-23-03-855855.log

streetpea commented 1 month ago

@caron0k it looks like remote play is never becoming available on the console (the server for the remote play stream from the server never comes up for some reason when using the settings you specified) causing this issue and causing chiaki-ng to quit bc it requires the remote play stream on the console to be running.

streetpea commented 1 month ago

I can give you another build that waits longer for the session id to become available and see if that helps but it probably won’t. It seems to be some bug on the remote play server running on the ps console (what the client app chiaki-ng is connecting to) is not launching properly when providing it with settings you specified.

streetpea commented 1 month ago

@caron0k I can't replicate the error, but maybe this build will fix the crash: https://drive.proton.me/urls/NY49QBAKMW#umLh2ynHISmG

caron0k commented 1 month ago

@caron0k I can't replicate the error, but maybe this build will fix the crash: https://drive.proton.me/urls/NY49QBAKMW#umLh2ynHISmG

I have completed testing with the new version and everything is normal now. Thank you very much!

test20241014.ini.pdf chiaki_session_2024-10-14_12-22-07-387387.log

caron0k commented 1 month ago

Although everything is correct, But looking at the logs, there are many more errors than before. I don't know what they mean?

caron0k commented 1 month ago

got the crash again :( chiaki_session_2024-10-14_12-54-04-912912.log

streetpea commented 1 month ago

@caron0k so that confirms you’re getting data that isn’t supported by chiaki-ng. There are greater than the max frame slots present. Ideally, this shouldn’t crash, but it should fail

caron0k commented 1 month ago

@caron0k so that confirms you’re getting data that isn’t supported by chiaki-ng. There are greater than the max frame slots present. Ideally, this shouldn’t crash, but it should fail

Okay, then I'll lower the bitrate to use it. THX again! :D

streetpea commented 1 month ago

@nowrep maybe I'm missing something, can you check this please?