-
-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Weird disconnection every once in a while only on a specific PC #449
Comments
@Morgawr it looks like you are using remote connection via psn. Is there a reason you aren’t using a local connection? Anyway, it looks like like you’re ps5 is shutting down or going into rest mode and that is causing the stream to end. Do you have hdmi cec enabled and something connected to your ps5 via hdmi? If that’s the case it could be getting signals to turn from a connected tv for instance. |
Ah yes sorry I forgot to mention it, my PS5 is on a different network from my PC. They are two sub-LANs from the same home connection. It's because I work from home and have two networks separated but the PS5 has to be on the other network (because it's wired to a different router). This shouldn't be an issue though as it works the same way on my steam deck which does not present this behaviour.
It's not going into rest mode, that's the problem. I have also a capture card connected to my PC so I can see the screen in real-time (also I can hear the audio from my wireless headphones), it just says "remote play has disconnected". And for the reason why I use remote play is because I get better quality/framerate using it than my capture card, funnily enough.
I mentioned my capture card, but most of the time when I play it's not connected to anything at all (I only connect it to the capture card to debug stuff in case the connection drops, like in this situation, but it happens even without it). Other than that, it's not connected to anything. |
@Morgawr can you post a full log with debug logging enabled? In the logs you posted it says: “Remote disconnected from StreamConnection with reason "Server shutting down" this will only happen if the console sends a protobuf message with the quit reason of “server shutting down”. Chiaki-ng is then terminating the session because it is being told to by the PlayStation because it says it’s shutting down (going into sleep mode or turning off). If this log is from a session that exhibits the behavior you described then it seems the ps is initiating the disconnection. If it’s not actually turning off or going into rest mode that is strange indeed. |
Yeah I can 100% confirm the PS is not shutting down/going to sleep. My suspicion is that maybe since I am playing on a secondary (local) account and the "main" account connected via remote is "idle", the PS5 decides to stop the remote connection. However what I cannot explain is why it is so inconsistent, sometimes I can go for hours just fine and sometimes it disconnects every few minutes. I even tried making sure to hit a random button in chiaki (remote connection) just to signal that it's still active but it still happens anyway. As for the debug logs, how do I do that? I am running in flatpak with the command: $ /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=chiaki io.github.streetpea.Chiaki4deck |
@Morgawr there is a checkbox on the first tab of the settings for verbose logging. |
I have attached my chiaki session verbose logs, I scrubbed them of any identifiable information/strings (let me know if I missed something). This is a full session of about 12 minutes until the problem presented itself. |
@Morgawr I did notice a small error. Not sure if it has anything to do with your issue though. Anyway here is a new build with that change: https://github.com/streetpea/chiaki-ng/actions/runs/11699190530/artifacts/2150830593 You can first unzip it to your downloads folder and then make it executable with:
and then open it with:
Then, close it and you can copy settings from the flatpak with
Then you can launch it again and use it. |
Describe the bug
On my Linux PC, I play with chiaki-ng connected to my PS5, however I only use chiaki as a "monitor", as I have my PS5 next to me and use the controller directly connected to it (I cannot set up the PS5 controller to work well via chiaki on linux so I prefer to use it straight up to the PS5).
To do this, I log into the PS5 from chiaki-ng using my secondary account, and then I swap to my primary account via the controller. (not sure if this is relevant).
Every once in a while, during a play session, chiaki just straight up disconnects and I have to re-connect to continue playing. This seems very inconsistent as sometimes it happens multiple times in a short timespan (like maybe 10 or so times in 30 minutes) and some other times it never happens (I just had a 3-hour long playing session with 0 disconnects).
I also play on this PS5 using my steam deck with chiaki-ng (but without the double account setup), same network connection and everything, and it never happens. This only happens when I play with the dual account set up on Linux.
Debug Log
To Reproduce
Steps to reproduce the behavior:
Expected behavior
To not disconnect
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: