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.05k stars 62 forks source link

[BUG] Remote Play via PSN failed type field wasn’t LOCAL or STATIC #328

Closed L0WR1D3Rz closed 3 months ago

L0WR1D3Rz commented 4 months ago

Describe the bug I followed the process of getting the PSN tokens correctly. I connect on a remote network and chiaki sees my PS5 and says "Remote Connection Via PSN". I click connect and it says for a few seconds establishing connection with console over PSN and then it says Connection over PSN failed closing. For the record, remote play from local network works correctly with chiaki4deck for the same console.

Debug Log [2024-05-13 11:58:45:846846] [I] Logging to file /home/deck/.var/app/io.github.streetpea.Chiaki4deck/data/Chiaki/Chiaki/log/chiaki_session_2024-05-13_11-58-45-846846.log [2024-05-13 11:58:45:846846] [I] Chiaki Version 1.7.0 [2024-05-13 11:58:45:847847] [I] Trying to use hardware decoder "vaapi" [2024-05-13 11:58:45:859859] [I] Using hardware decoder "vaapi" with pix_fmt=vaapi [2024-05-13 11:58:45:860860] [V] Holepunch session state: 0 = [ ] [2024-05-13 11:58:45:860860] [I] ChiakiOpusEncoder initialized [2024-05-13 11:58:45:867867] [I] Connected Steam Deck ... gyro online

[2024-05-13 11:58:45:867867] [I] Controller 0 opened: "Microsoft X-Box 360 pad 0 (030079f6de280000ff11000001000000)" [2024-05-13 11:58:47:039039] [V] chiaki_holepunch_session_create: Created websocket thread [2024-05-13 11:58:47:039039] [V] chiaki_holepunch_session_create: Waiting for websocket to open... [2024-05-13 11:58:48:317317] [V] websocket_thread_func: Connected to push notification WebSocket wss://44-234-164-247-pushcl.np.communication.playstation.net/np/pushNotification [2024-05-13 11:58:48:317317] [V] Holepunch session state: 1 = [ WS_OPEN ] [2024-05-13 11:58:48:318318] [V] http_create_session: Sending JSON: {"remotePlaySessions":[{"members":[{"accountId":"me","deviceUniqueId":"me","platform":"me","pushContexts":[{"pushContextId":7XXXXMASKINGTHISTOPROTECT MY DATA"}]}]}]} [2024-05-13 11:58:48:318318] [V] websocket_thread_func: PING. [2024-05-13 11:58:48:632632] [V] websocket_thread_func: Received WebSocket frame of length 0 with flags 64 [2024-05-13 11:58:48:632632] [V] websocket_thread_func: Received PONG. [2024-05-13 11:58:49:062062] [V] websocket_thread_func: Received WebSocket frame of length 568 with flags 1 [2024-05-13 11:58:49:062062] [V] websocket_thread_func: Received WebSocket frame with 568 bytes of payload. [2024-05-13 11:58:49:062062] [V] { "version":"2.1", "method":3001, "dataType":"psn:sessionManager:sys:remotePlaySession:created", "to":{ "accountId":XXXXMASKINGTHISTOPROTECT MY DATA, "onlineId":"XXXXMASKINGTHISTOPROTECT MY DATA", "platform":[ "REMOTE_PLAY" ], "isSystemOnly":false, "toSystem":false }, "body":{ "data":{ "customProperties":{ "from":{ "accountId":"XXXXMASKINGTHISTOPROTECT MY DATA", "deviceUniqueId":"XXXXMASKINGTHISTOPROTECT MY DATA", "onlineId":XXXXMASKINGTHISTOPROTECT MY DATA", "platform":"REMOTE_PLAY" } }, "sessionId":"XXXXMASKINGTHISTOPROTECT MY DATA" } }, "contexts":[ { "contextId":"XXXXMASKINGTHISTOPROTECT MY DATA", "sequenceNumber":1 } ] } [2024-05-13 11:58:49:062062] [V] Received notification of type 1 [2024-05-13 11:58:49:067067] [V] websocket_thread_func: Received WebSocket frame of length 763 with flags 1 [2024-05-13 11:58:49:067067] [V] websocket_thread_func: Received WebSocket frame with 763 bytes of payload. [2024-05-13 11:58:49:067067] [V] { "version":"2.1", "method":3001, "dataType":"psn:sessionManager:sys:rps:members:created", "to":{ "accountId":XXXXMASKINGTHISTOPROTECT MY DATA, "onlineId":"XXXXMASKINGTHISTOPROTECT MY DATA", "platform":[ "REMOTE_PLAY" ], "isSystemOnly":false, "toSystem":false }, "body":{ "data":{ "customProperties":{ "from":{ "accountId":"XXXXMASKINGTHISTOPROTECT MY DATA", "deviceUniqueId":"XXXXMASKINGTHISTOPROTECT MY DATA", "onlineId":"XXXXMASKINGTHISTOPROTECT MY DATA", "platform":"REMOTE_PLAY" } }, "members":[ { "accountId":"XXXXMASKINGTHISTOPROTECT MY DATA", "deviceUniqueId":"XXXXMASKINGTHISTOPROTECT MY DATA", "joinTimestamp":1715594328891, "onlineId":"XXXXMASKINGTHISTOPROTECT MY DATA", "platform":"REMOTE_PLAY" } ], "sessionId":"XXXXMASKINGTHISTOPROTECT MY DATA" } }, "contexts":[ { "contextId":"XXXXMASKINGTHISTOPROTECT MY DATA9", "sequenceNumber":2 } ] } [2024-05-13 11:58:49:067067] [V] Received notification of type 2 [2024-05-13 11:58:49:073073] [V] http_create_session: Received JSON: {"remotePlaySessions":[{"sessionId":"XXXXMASKINGTHISTOPROTECT MY DATA","members":[{"accountId":"XXXXMASKINGTHISTOPROTECT MY DATA","platform":"REMOTE_PLAY","deviceUniqueId":"XXXXMASKINGTHISTOPROTECT MY DATA"}]}]} [2024-05-13 11:58:49:075075] [V] chiaki_holepunch_session_create: Sent holepunch session creation request [2024-05-13 11:58:49:075075] [V] wait_for_notification: Found notification of type 1 [2024-05-13 11:58:49:075075] [V] chiaki_holepunch_session_create: Holepunch session created. [2024-05-13 11:58:49:075075] [V] Holepunch session state: 3 = [ WS_OPEN CREATED ] [2024-05-13 11:58:49:075075] [V] wait_for_notification: Found notification of type 2 [2024-05-13 11:58:49:075075] [V] chiaki_holepunch_session_create: Client joined. [2024-05-13 11:58:49:075075] [V] Holepunch session state: 11 = [ WS_OPEN CREATED CLIENT_JOINED ] [2024-05-13 11:58:49:075075] [I] >> Created session [2024-05-13 11:58:49:075075] [I] Duid: XXXXMASKINGTHISTOPROTECT MY DATA [2024-05-13 11:58:49:075075] [V] chiaki_holepunch_session_start: Starting holepunch session XXXXMASKINGTHISTOPROTECT MY DATA for device XXXXMASKINGTHISTOPROTECT MY DATA [2024-05-13 11:58:49:075075] [V] http_start_session: Sending JSON: {"commandDetail":{"commandType":"remotePlay","duid":"XXXXMASKINGTHISTOPROTECT MY DATA8","messageDestination":"SQS","parameters":{"initialParams":"{"accountId":6XXXXMASKINGTHISTOPROTECT MY DATA,"roomId":0,"sessionId":"5bfd9bce-c153-4586-a9ea-7d73f7c256fb","clientType":"Windows","data1":"tgWPf3dAP/ZYS08diW3FHw==","data2":"usNIsY4O3zWVv17NI2cTSg=="}"},"platform":"PS5"}} [2024-05-13 11:58:50:037037] [V] websocket_thread_func: Received WebSocket frame of length 789 with flags 1 [2024-05-13 11:58:50:037037] [V] http_start_session: Received JSON: {"commandId":"XXXXMASKINGTHISTOPROTECT MY DATA"} [2024-05-13 11:58:50:037037] [V] websocket_thread_func: Received WebSocket frame with 789 bytes of payload. [2024-05-13 11:58:50:037037] [V] Holepunch session state: 27 = [ WS_OPEN CREATED CLIENT_JOINED DATA_SENT ] [2024-05-13 11:58:50:037037] [V] { "version":"2.1", "method":3001, "dataType":"psn:sessionManager:sys:rps:members:created", "to":{ "accountId":XXXXMASKINGTHISTOPROTECT MY DATA, "onlineId":"XXXXMASKINGTHISTOPROTECT MY DATA", "platform":[ "REMOTE_PLAY" ], "isSystemOnly":false, "toSystem":false }, "body":{ "data":{ "customProperties":{ "from":{ "accountId":"XXXXMASKINGTHISTOPROTECT MY DATA", "deviceUniqueId":"XXXXMASKINGTHISTOPROTECT MY DATA", "onlineId":"XXXXMASKINGTHISTOPROTECT MY DATA", "platform":"PROSPERO" } }, "members":[ { "accountId":"XXXXMASKINGTHISTOPROTECT MY DATA", "deviceUniqueId":"XXXXMASKINGTHISTOPROTECT MY DATA", "joinTimestamp":1715594329754, "onlineId":"XXXXMASKINGTHISTOPROTECT MY DATA", "platform":"PROSPERO" } ], "sessionId":"XXXXMASKINGTHISTOPROTECT MY DATA" } }, "contexts":[ { "contextId":"XXXXMASKINGTHISTOPROTECT MY DATA, "sequenceNumber":3 } ] } [2024-05-13 11:58:50:037037] [V] Received notification of type 2 [2024-05-13 11:58:50:038038] [V] wait_for_notification: Found notification of type 2 [2024-05-13 11:58:50:038038] [V] Holepunch session state: 59 = [ WS_OPEN CREATED CLIENT_JOINED DATA_SENT CONSOLE_JOINED ] [2024-05-13 11:58:50:475475] [V] websocket_thread_func: Received WebSocket frame of length 543 with flags 1 [2024-05-13 11:58:50:475475] [V] websocket_thread_func: Received WebSocket frame with 543 bytes of payload. [2024-05-13 11:58:50:475475] [V] { "version":"2.1", "method":3001, "dataType":"psn:sessionManager:sys:rps:customData1:updated", "to":{ "accountId"XXXXMASKINGTHISTOPROTECT MY DATA, "onlineId":"XXXXMASKINGTHISTOPROTECT MY DATA, "platform":[ "REMOTE_PLAY" ], "isSystemOnly":false, "toSystem":false }, "body":{ "data":{ "customData1":"XXXXMASKINGTHISTOPROTECT MY DATA", "customProperties":{ "from":{ "accountId":"XXXXMASKINGTHISTOPROTECT MY DATA", "deviceUniqueId":XXXXMASKINGTHISTOPROTECT MY DATA8", "onlineId":"XXXXMASKINGTHISTOPROTECT MY DATA", "platform":"PROSPERO" } }, "sessionId":"XXXXMASKINGTHISTOPROTECT MY DATA } } } [2024-05-13 11:58:50:475475] [V] Received notification of type 8 [2024-05-13 11:58:50:475475] [V] wait_for_notification: Found notification of type 8 [2024-05-13 11:58:50:475475] [V] Holepunch session state: 123 = [ WS_OPEN CREATED CLIENT_JOINED DATA_SENT CONSOLE_JOINED CUSTOMDATA1_RECEIVED ] [2024-05-13 11:58:50:475475] [I] >> Started session [2024-05-13 11:58:55:478478] [V] websocket_thread_func: PING. [2024-05-13 11:58:55:792792] [V] websocket_thread_func: Received WebSocket frame of length 0 with flags 64 [2024-05-13 11:58:55:792792] [V] websocket_thread_func: Received PONG. [2024-05-13 11:58:56:519519] [V] websocket_thread_func: Received WebSocket frame of length 1239 with flags 1 [2024-05-13 11:58:56:519519] [V] websocket_thread_func: Received WebSocket frame with 1239 bytes of payload. [2024-05-13 11:58:56:520520] [V] { "version":"2.1", "method":3001, "dataType":"psn:sessionManager:sys:rps:sessionMessage:created", "to":{ "accountId":XXXXMASKINGTHISTOPROTECT MY DATA "onlineId":"XXXXMASKINGTHISTOPROTECT MY DATA", "platform":[ "REMOTE_PLAY" ], "isSystemOnly":false, "toSystem":false }, "body":{ "data":{ "customProperties":{ "from":{ "accountId":"XXXXMASKINGTHISTOPROTECT MY DATA", "deviceUniqueId":"XXXXMASKINGTHISTOPROTECT MY DATA", "onlineId":"XXXXMASKINGTHISTOPROTECT MY DATA", "platform":"PROSPERO" } }, "sessionId":"XXXXMASKINGTHISTOPROTECT MY DATA", "sessionMessage":{ "channel":"remote_play:1", "payload":"ver=1.0, type=text, body={"action":"OFFER","reqId":9,"error":0,"connRequest":{"sid":7022,"peerSid":0,"skey":"CkHgbyc+Bo8KWAVOzShnHQ==","natType":2,"candidate":[{"type":"STUN","addr":"213.55.240.170","mappedAddr":"0.0.0.0","port":56830,"mappedPort":0},{"type":"STATIC","addr":"213.55.240.170","mappedAddr":"0.0.0.0","port":9303,"mappedPort":0},{"type":"LOCAL","addr":"192.168.1.7","mappedAddr":"0.0.0.0","port":9303,"mappedPort":0}],"defaultRouteMacAddr":"XXXXMASKINGTHISTOPROTECT MY DATA","localPeerAddr":{"accountId":"XXXXMASKINGTHISTOPROTECT MY DATA","platform":"PROSPERO"},"localHashedId":"XXXXMASKINGTHISTOPROTECT MY DATA="}}" } } } } [2024-05-13 11:58:56:520520] [V] Received notification of type 16 [2024-05-13 11:58:56:520520] [V] wait_for_notification: Found notification of type 16 [2024-05-13 11:58:56:520520] [E] Type field wasn't LOCAL or STATIC. [2024-05-13 11:58:56:520520] [E] session_message_parse: Unexpected JSON schema for holepunch session message. [2024-05-13 11:58:56:520520] [V] { "action":"OFFER", "reqId":9, "error":0, "connRequest":{ "sid":7022, "peerSid":0, "skey":"XXXXMASKINGTHISTOPROTECT MY DATA==", "natType":2, "candidate":[ { "type":"STUN", "addr":"XXXXMASKINGTHISTOPROTECT MY DATA", "mappedAddr":"0.0.0.0", "port":56830, "mappedPort":0 }, { "type":"STATIC", "addr":"XXXXMASKINGTHISTOPROTECT MY DATA", "mappedAddr":"0.0.0.0", "port":9303, "mappedPort":0 }, { "type":"LOCAL", "addr":"XXXXMASKINGTHISTOPROTECT MY DATA", "mappedAddr":"0.0.0.0", "port":9303, "mappedPort":0 } ], "defaultRouteMacAddr":"XXXXMASKINGTHISTOPROTECT MY DATA", "localPeerAddr":{ "accountId":"XXXXMASKINGTHISTOPROTECT MY DATA", "platform":"PROSPERO" }, "localHashedId":"XXXXMASKINGTHISTOPROTECT MY DATA=" } } [2024-05-13 11:58:56:520520] [E] Failed to parse holepunch session message [2024-05-13 11:58:56:520520] [E] chiaki_holepunch_session_punch_holes: Failed to wait for OFFER holepunch session message. [2024-05-13 11:58:56:520520] [E] !! Failed to punch hole for control connection. [2024-05-13 11:58:57:112112] [V] websocket_thread_func: Received WebSocket frame of length 733 with flags 1 [2024-05-13 11:58:57:112112] [V] websocket_thread_func: Received WebSocket frame with 733 bytes of payload. [2024-05-13 11:58:57:112112] [V] { "version":"2.1", "method":3001, "dataType":"psn:sessionManager:sys:rps:members:deleted", "to":{ "accountId":XXXXMASKINGTHISTOPROTECT MY DATA, "onlineId":"XXXXMASKINGTHISTOPROTECT MY DATA", "platform":[ "REMOTE_PLAY" ], "isSystemOnly":false, "toSystem":false }, "body":{ "data":{ "customProperties":{ "from":{ "accountId":"XXXXMASKINGTHISTOPROTECT MY DATA", "deviceUniqueId":XXXXMASKINGTHISTOPROTECT MY DATA", "onlineId":"XXXXMASKINGTHISTOPROTECT MY DATA", "platform":"REMOTE_PLAY" } }, "members":[ { "accountId":"XXXXMASKINGTHISTOPROTECT MY DATA", "deviceUniqueId":"XXXXMASKINGTHISTOPROTECT MY DATA", "onlineId":"XXXXMASKINGTHISTOPROTECT MY DATA, "platform":"REMOTE_PLAY" } ], "sessionId":"XXXXMASKINGTHISTOPROTECT MY DATA" } }, "contexts":[ { "contextId":"XXXXMASKINGTHISTOPROTECT MY DATA", "sequenceNumber":4 } ] } [2024-05-13 11:58:57:112112] [V] Received notification of type 4 [2024-05-13 11:58:57:119119] [V] wait_for_notification: Found notification of type 4 [2024-05-13 11:58:57:119119] [V] Holepunch session state: 131195 = [ WS_OPEN DELETED CREATED CLIENT_JOINED DATA_SENT CONSOLE_JOINED CUSTOMDATA1_RECEIVED ] [2024-05-13 11:58:57:119119] [I] chiaki_holepunch_session_fini: Holepunch session deleted. [2024-05-13 11:58:57:119119] [E] websocket_thread_func: Select canceled.

To Reproduce Steps to reproduce the behavior: Basically what I wrote in the description

Expected behavior It should be connecting since I followed the instructions

Screenshots don't have screenshots

Desktop (please complete the following information):

OS: SteamOS 3.6 latest Beta Candidate/Preview build as of 13 May Version SteamOS 3.6 Device Steam Deck Oled 1TB Chiaki4deck Version 1.7.0Describe the bug I followed the process of getting the PSN tokens correctly. I connect on a remote network and chiaki sees my PS5 and says "Remote Connection Via PSN". I click connect and it says for a few seconds establishing connection with console over PSN and then it says Connection over PSN failed closing. For the record, remote play from local network works correctly with chiaki4deck for the same console.

Debug Log [2024-05-13 11:58:45:846846] [I] Logging to file /home/deck/.var/app/io.github.streetpea.Chiaki4deck/data/Chiaki/Chiaki/log/chiaki_session_2024-05-13_11-58-45-846846.log [2024-05-13 11:58:45:846846] [I] Chiaki Version 1.7.0 [2024-05-13 11:58:45:847847] [I] Trying to use hardware decoder "vaapi" [2024-05-13 11:58:45:859859] [I] Using hardware decoder "vaapi" with pix_fmt=vaapi [2024-05-13 11:58:45:860860] [V] Holepunch session state: 0 = [ ] [2024-05-13 11:58:45:860860] [I] ChiakiOpusEncoder initialized [2024-05-13 11:58:45:867867] [I] Connected Steam Deck ... gyro online

[2024-05-13 11:58:45:867867] [I] Controller 0 opened: "Microsoft X-Box 360 pad 0 (030079f6de280000ff11000001000000)" [2024-05-13 11:58:47:039039] [V] chiaki_holepunch_session_create: Created websocket thread [2024-05-13 11:58:47:039039] [V] chiaki_holepunch_session_create: Waiting for websocket to open... [2024-05-13 11:58:48:317317] [V] websocket_thread_func: Connected to push notification WebSocket wss://44-234-164-247-pushcl.np.communication.playstation.net/np/pushNotification [2024-05-13 11:58:48:317317] [V] Holepunch session state: 1 = [ WS_OPEN ] [2024-05-13 11:58:48:318318] [V] http_create_session: Sending JSON: {"remotePlaySessions":[{"members":[{"accountId":"me","deviceUniqueId":"me","platform":"me","pushContexts":[{"pushContextId":7XXXXMASKINGTHISTOPROTECT MY DATA"}]}]}]} [2024-05-13 11:58:48:318318] [V] websocket_thread_func: PING. [2024-05-13 11:58:48:632632] [V] websocket_thread_func: Received WebSocket frame of length 0 with flags 64 [2024-05-13 11:58:48:632632] [V] websocket_thread_func: Received PONG. [2024-05-13 11:58:49:062062] [V] websocket_thread_func: Received WebSocket frame of length 568 with flags 1 [2024-05-13 11:58:49:062062] [V] websocket_thread_func: Received WebSocket frame with 568 bytes of payload. [2024-05-13 11:58:49:062062] [V] { "version":"2.1", "method":3001, "dataType":"psn:sessionManager:sys:remotePlaySession:created", "to":{ "accountId":XXXXMASKINGTHISTOPROTECT MY DATA, "onlineId":"XXXXMASKINGTHISTOPROTECT MY DATA", "platform":[ "REMOTE_PLAY" ], "isSystemOnly":false, "toSystem":false }, "body":{ "data":{ "customProperties":{ "from":{ "accountId":"XXXXMASKINGTHISTOPROTECT MY DATA", "deviceUniqueId":"XXXXMASKINGTHISTOPROTECT MY DATA", "onlineId":XXXXMASKINGTHISTOPROTECT MY DATA", "platform":"REMOTE_PLAY" } }, "sessionId":"XXXXMASKINGTHISTOPROTECT MY DATA" } }, "contexts":[ { "contextId":"XXXXMASKINGTHISTOPROTECT MY DATA", "sequenceNumber":1 } ] } [2024-05-13 11:58:49:062062] [V] Received notification of type 1 [2024-05-13 11:58:49:067067] [V] websocket_thread_func: Received WebSocket frame of length 763 with flags 1 [2024-05-13 11:58:49:067067] [V] websocket_thread_func: Received WebSocket frame with 763 bytes of payload. [2024-05-13 11:58:49:067067] [V] { "version":"2.1", "method":3001, "dataType":"psn:sessionManager:sys:rps:members:created", "to":{ "accountId":XXXXMASKINGTHISTOPROTECT MY DATA, "onlineId":"XXXXMASKINGTHISTOPROTECT MY DATA", "platform":[ "REMOTE_PLAY" ], "isSystemOnly":false, "toSystem":false }, "body":{ "data":{ "customProperties":{ "from":{ "accountId":"XXXXMASKINGTHISTOPROTECT MY DATA", "deviceUniqueId":"XXXXMASKINGTHISTOPROTECT MY DATA", "onlineId":"XXXXMASKINGTHISTOPROTECT MY DATA", "platform":"REMOTE_PLAY" } }, "members":[ { "accountId":"XXXXMASKINGTHISTOPROTECT MY DATA", "deviceUniqueId":"XXXXMASKINGTHISTOPROTECT MY DATA", "joinTimestamp":1715594328891, "onlineId":"XXXXMASKINGTHISTOPROTECT MY DATA", "platform":"REMOTE_PLAY" } ], "sessionId":"XXXXMASKINGTHISTOPROTECT MY DATA" } }, "contexts":[ { "contextId":"XXXXMASKINGTHISTOPROTECT MY DATA9", "sequenceNumber":2 } ] } [2024-05-13 11:58:49:067067] [V] Received notification of type 2 [2024-05-13 11:58:49:073073] [V] http_create_session: Received JSON: {"remotePlaySessions":[{"sessionId":"XXXXMASKINGTHISTOPROTECT MY DATA","members":[{"accountId":"XXXXMASKINGTHISTOPROTECT MY DATA","platform":"REMOTE_PLAY","deviceUniqueId":"XXXXMASKINGTHISTOPROTECT MY DATA"}]}]} [2024-05-13 11:58:49:075075] [V] chiaki_holepunch_session_create: Sent holepunch session creation request [2024-05-13 11:58:49:075075] [V] wait_for_notification: Found notification of type 1 [2024-05-13 11:58:49:075075] [V] chiaki_holepunch_session_create: Holepunch session created. [2024-05-13 11:58:49:075075] [V] Holepunch session state: 3 = [ WS_OPEN CREATED ] [2024-05-13 11:58:49:075075] [V] wait_for_notification: Found notification of type 2 [2024-05-13 11:58:49:075075] [V] chiaki_holepunch_session_create: Client joined. [2024-05-13 11:58:49:075075] [V] Holepunch session state: 11 = [ WS_OPEN CREATED CLIENT_JOINED ] [2024-05-13 11:58:49:075075] [I] >> Created session [2024-05-13 11:58:49:075075] [I] Duid: XXXXMASKINGTHISTOPROTECT MY DATA [2024-05-13 11:58:49:075075] [V] chiaki_holepunch_session_start: Starting holepunch session XXXXMASKINGTHISTOPROTECT MY DATA for device XXXXMASKINGTHISTOPROTECT MY DATA [2024-05-13 11:58:49:075075] [V] http_start_session: Sending JSON: {"commandDetail":{"commandType":"remotePlay","duid":"XXXXMASKINGTHISTOPROTECT MY DATA8","messageDestination":"SQS","parameters":{"initialParams":"{"accountId":6XXXXMASKINGTHISTOPROTECT MY DATA,"roomId":0,"sessionId":"5bfd9bce-c153-4586-a9ea-7d73f7c256fb","clientType":"Windows","data1":"tgWPf3dAP/ZYS08diW3FHw==","data2":"usNIsY4O3zWVv17NI2cTSg=="}"},"platform":"PS5"}} [2024-05-13 11:58:50:037037] [V] websocket_thread_func: Received WebSocket frame of length 789 with flags 1 [2024-05-13 11:58:50:037037] [V] http_start_session: Received JSON: {"commandId":"XXXXMASKINGTHISTOPROTECT MY DATA"} [2024-05-13 11:58:50:037037] [V] websocket_thread_func: Received WebSocket frame with 789 bytes of payload. [2024-05-13 11:58:50:037037] [V] Holepunch session state: 27 = [ WS_OPEN CREATED CLIENT_JOINED DATA_SENT ] [2024-05-13 11:58:50:037037] [V] { "version":"2.1", "method":3001, "dataType":"psn:sessionManager:sys:rps:members:created", "to":{ "accountId":XXXXMASKINGTHISTOPROTECT MY DATA, "onlineId":"XXXXMASKINGTHISTOPROTECT MY DATA", "platform":[ "REMOTE_PLAY" ], "isSystemOnly":false, "toSystem":false }, "body":{ "data":{ "customProperties":{ "from":{ "accountId":"XXXXMASKINGTHISTOPROTECT MY DATA", "deviceUniqueId":"XXXXMASKINGTHISTOPROTECT MY DATA", "onlineId":"XXXXMASKINGTHISTOPROTECT MY DATA", "platform":"PROSPERO" } }, "members":[ { "accountId":"XXXXMASKINGTHISTOPROTECT MY DATA", "deviceUniqueId":"XXXXMASKINGTHISTOPROTECT MY DATA", "joinTimestamp":1715594329754, "onlineId":"XXXXMASKINGTHISTOPROTECT MY DATA", "platform":"PROSPERO" } ], "sessionId":"XXXXMASKINGTHISTOPROTECT MY DATA" } }, "contexts":[ { "contextId":"XXXXMASKINGTHISTOPROTECT MY DATA, "sequenceNumber":3 } ] } [2024-05-13 11:58:50:037037] [V] Received notification of type 2 [2024-05-13 11:58:50:038038] [V] wait_for_notification: Found notification of type 2 [2024-05-13 11:58:50:038038] [V] Holepunch session state: 59 = [ WS_OPEN CREATED CLIENT_JOINED DATA_SENT CONSOLE_JOINED ] [2024-05-13 11:58:50:475475] [V] websocket_thread_func: Received WebSocket frame of length 543 with flags 1 [2024-05-13 11:58:50:475475] [V] websocket_thread_func: Received WebSocket frame with 543 bytes of payload. [2024-05-13 11:58:50:475475] [V] { "version":"2.1", "method":3001, "dataType":"psn:sessionManager:sys:rps:customData1:updated", "to":{ "accountId"XXXXMASKINGTHISTOPROTECT MY DATA, "onlineId":"XXXXMASKINGTHISTOPROTECT MY DATA, "platform":[ "REMOTE_PLAY" ], "isSystemOnly":false, "toSystem":false }, "body":{ "data":{ "customData1":"XXXXMASKINGTHISTOPROTECT MY DATA", "customProperties":{ "from":{ "accountId":"XXXXMASKINGTHISTOPROTECT MY DATA", "deviceUniqueId":XXXXMASKINGTHISTOPROTECT MY DATA8", "onlineId":"XXXXMASKINGTHISTOPROTECT MY DATA", "platform":"PROSPERO" } }, "sessionId":"XXXXMASKINGTHISTOPROTECT MY DATA } } } [2024-05-13 11:58:50:475475] [V] Received notification of type 8 [2024-05-13 11:58:50:475475] [V] wait_for_notification: Found notification of type 8 [2024-05-13 11:58:50:475475] [V] Holepunch session state: 123 = [ WS_OPEN CREATED CLIENT_JOINED DATA_SENT CONSOLE_JOINED CUSTOMDATA1_RECEIVED ] [2024-05-13 11:58:50:475475] [I] >> Started session [2024-05-13 11:58:55:478478] [V] websocket_thread_func: PING. [2024-05-13 11:58:55:792792] [V] websocket_thread_func: Received WebSocket frame of length 0 with flags 64 [2024-05-13 11:58:55:792792] [V] websocket_thread_func: Received PONG. [2024-05-13 11:58:56:519519] [V] websocket_thread_func: Received WebSocket frame of length 1239 with flags 1 [2024-05-13 11:58:56:519519] [V] websocket_thread_func: Received WebSocket frame with 1239 bytes of payload. [2024-05-13 11:58:56:520520] [V] { "version":"2.1", "method":3001, "dataType":"psn:sessionManager:sys:rps:sessionMessage:created", "to":{ "accountId":XXXXMASKINGTHISTOPROTECT MY DATA "onlineId":"XXXXMASKINGTHISTOPROTECT MY DATA", "platform":[ "REMOTE_PLAY" ], "isSystemOnly":false, "toSystem":false }, "body":{ "data":{ "customProperties":{ "from":{ "accountId":"XXXXMASKINGTHISTOPROTECT MY DATA", "deviceUniqueId":"XXXXMASKINGTHISTOPROTECT MY DATA", "onlineId":"XXXXMASKINGTHISTOPROTECT MY DATA", "platform":"PROSPERO" } }, "sessionId":"XXXXMASKINGTHISTOPROTECT MY DATA", "sessionMessage":{ "channel":"remote_play:1", "payload":"ver=1.0, type=text, body={"action":"OFFER","reqId":9,"error":0,"connRequest":{"sid":7022,"peerSid":0,"skey":"CkHgbyc+Bo8KWAVOzShnHQ==","natType":2,"candidate":[{"type":"STUN","addr":"213.55.240.170","mappedAddr":"0.0.0.0","port":56830,"mappedPort":0},{"type":"STATIC","addr":"213.55.240.170","mappedAddr":"0.0.0.0","port":9303,"mappedPort":0},{"type":"LOCAL","addr":"192.168.1.7","mappedAddr":"0.0.0.0","port":9303,"mappedPort":0}],"defaultRouteMacAddr":"XXXXMASKINGTHISTOPROTECT MY DATA","localPeerAddr":{"accountId":"XXXXMASKINGTHISTOPROTECT MY DATA","platform":"PROSPERO"},"localHashedId":"XXXXMASKINGTHISTOPROTECT MY DATA="}}" } } } } [2024-05-13 11:58:56:520520] [V] Received notification of type 16 [2024-05-13 11:58:56:520520] [V] wait_for_notification: Found notification of type 16 [2024-05-13 11:58:56:520520] [E] Type field wasn't LOCAL or STATIC. [2024-05-13 11:58:56:520520] [E] session_message_parse: Unexpected JSON schema for holepunch session message. [2024-05-13 11:58:56:520520] [V] { "action":"OFFER", "reqId":9, "error":0, "connRequest":{ "sid":7022, "peerSid":0, "skey":"XXXXMASKINGTHISTOPROTECT MY DATA==", "natType":2, "candidate":[ { "type":"STUN", "addr":"XXXXMASKINGTHISTOPROTECT MY DATA", "mappedAddr":"0.0.0.0", "port":56830, "mappedPort":0 }, { "type":"STATIC", "addr":"XXXXMASKINGTHISTOPROTECT MY DATA", "mappedAddr":"0.0.0.0", "port":9303, "mappedPort":0 }, { "type":"LOCAL", "addr":"XXXXMASKINGTHISTOPROTECT MY DATA", "mappedAddr":"0.0.0.0", "port":9303, "mappedPort":0 } ], "defaultRouteMacAddr":"XXXXMASKINGTHISTOPROTECT MY DATA", "localPeerAddr":{ "accountId":"XXXXMASKINGTHISTOPROTECT MY DATA", "platform":"PROSPERO" }, "localHashedId":"XXXXMASKINGTHISTOPROTECT MY DATA=" } } [2024-05-13 11:58:56:520520] [E] Failed to parse holepunch session message [2024-05-13 11:58:56:520520] [E] chiaki_holepunch_session_punch_holes: Failed to wait for OFFER holepunch session message. [2024-05-13 11:58:56:520520] [E] !! Failed to punch hole for control connection. [2024-05-13 11:58:57:112112] [V] websocket_thread_func: Received WebSocket frame of length 733 with flags 1 [2024-05-13 11:58:57:112112] [V] websocket_thread_func: Received WebSocket frame with 733 bytes of payload. [2024-05-13 11:58:57:112112] [V] { "version":"2.1", "method":3001, "dataType":"psn:sessionManager:sys:rps:members:deleted", "to":{ "accountId":XXXXMASKINGTHISTOPROTECT MY DATA, "onlineId":"XXXXMASKINGTHISTOPROTECT MY DATA", "platform":[ "REMOTE_PLAY" ], "isSystemOnly":false, "toSystem":false }, "body":{ "data":{ "customProperties":{ "from":{ "accountId":"XXXXMASKINGTHISTOPROTECT MY DATA", "deviceUniqueId":XXXXMASKINGTHISTOPROTECT MY DATA", "onlineId":"XXXXMASKINGTHISTOPROTECT MY DATA", "platform":"REMOTE_PLAY" } }, "members":[ { "accountId":"XXXXMASKINGTHISTOPROTECT MY DATA", "deviceUniqueId":"XXXXMASKINGTHISTOPROTECT MY DATA", "onlineId":"XXXXMASKINGTHISTOPROTECT MY DATA, "platform":"REMOTE_PLAY" } ], "sessionId":"XXXXMASKINGTHISTOPROTECT MY DATA" } }, "contexts":[ { "contextId":"XXXXMASKINGTHISTOPROTECT MY DATA", "sequenceNumber":4 } ] } [2024-05-13 11:58:57:112112] [V] Received notification of type 4 [2024-05-13 11:58:57:119119] [V] wait_for_notification: Found notification of type 4 [2024-05-13 11:58:57:119119] [V] Holepunch session state: 131195 = [ WS_OPEN DELETED CREATED CLIENT_JOINED DATA_SENT CONSOLE_JOINED CUSTOMDATA1_RECEIVED ] [2024-05-13 11:58:57:119119] [I] chiaki_holepunch_session_fini: Holepunch session deleted. [2024-05-13 11:58:57:119119] [E] websocket_thread_func: Select canceled.

To Reproduce Steps to reproduce the behavior: Basically what I wrote in the description

Expected behavior It should be connecting since I followed the instructions

Screenshots don't have screenshots

Desktop (please complete the following information):

OS: SteamOS 3.6 latest Beta Candidate/Preview build as of 13 May Version SteamOS 3.6 Device Steam Deck Oled 1TB Chiaki4deck Version 1.7.0

streetpea commented 4 months ago

The issue is you're getting a candidate type of stun and that's not being handled .. I'll post a patch you can try soon, should be an easy fix

L0WR1D3Rz commented 4 months ago

The issue is you're getting a candidate type of stun and that's not being handled .. I'll post a patch you can try soon, should be an easy fix

Thanks look forward to testing. Can you please completely delete the "closed" copy of this issue report from the "closed" list? I accidentally made a double post.

streetpea commented 4 months ago

Can you try this build: https://github.com/streetpea/chiaki4deck/actions/runs/9064712027/artifacts/1497483392 .. please download, then make executable with chmod +x filepath where filepath is the path to the downloaded appiamge and then run

L0WR1D3Rz commented 4 months ago

Sure, though excuse my ignorance, i've never done this before so I'm not sure what you mean by "make executable with chmod +x filepath". Is this something I need to simply input in Konsole?

On Mon, May 13, 2024 at 4:50 PM streetpea @.***> wrote:

Can you try this build: https://github.com/streetpea/chiaki4deck/actions/runs/9064712027/artifacts/1497483392 .. please download, then make executable with chmod +x filepath where filepath is the path to the downloaded appiamge and then run

— Reply to this email directly, view it on GitHub https://github.com/streetpea/chiaki4deck/issues/328#issuecomment-2107841649, or unsubscribe https://github.com/notifications/unsubscribe-auth/AZMEWPX3MLQLNDEECNGE4PTZCDHJ3AVCNFSM6AAAAABHUAJDHWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBXHA2DCNRUHE . You are receiving this because you authored the thread.Message ID: @.***>

-- Angelo Karaiannis Mob: +41 79 278 00 25 email: @.***

streetpea commented 4 months ago

Yea you need to input chmod +x and then the path to the file in console and then you can launch it. It makes the file executable

L0WR1D3Rz commented 4 months ago

I probably am doing something wrong. Downloaded the file you linked, extracted it in my downloads folder, then I opened console and wrote chmod +x /home/deck/downloads/Chiaki4deck.AppImage the command doesn't work I get an error....apologies I've not done this before. Also, must I uninstall the existing version first? Ideally I'd like to avoid this so I don't have to setup everything again from scratch.

streetpea commented 4 months ago

What error do you get?

streetpea commented 4 months ago

What you'll want to do is open up the appimage ... then close it (this will populate the folders for Chiaki4deck) .. then copy over the config file from the flatpak so cp ~/.var/app/io.github.streetpea.Chiaki4deck/config/Chiaki/Chiaki.conf ~/.config/Chiaki/Chiaki.conf .. everything from the flatpak should then be imported and work with the appimage

L0WR1D3Rz commented 4 months ago

As if the command is wrong. Then what I tried was to open console with right click in the folder where the appimage is, and did simply "chmod - x Chiaki4deck.AppImage and it didn't give an error but didn't seem to do anything. I then run the appimage, hit continue when I get the prompt on whether I'm sure i want to open it and then nothing happens.

streetpea commented 4 months ago

Can you try launching from the konsole with ~/Downloads/Chiaki4deck.Appimage?

L0WR1D3Rz commented 4 months ago

If you mean this string with chmod +x in front, i did it.... Nothing visible happened upon hitting enter. Then i double clicked the appimage and nothing happens.

streetpea commented 4 months ago

no i mean typing ~/Downloads/Chiaki4deck.Appimage in konsole and hitting enter

L0WR1D3Rz commented 4 months ago

I did so, it opens and closes after a split second. In konsole in the end it says Aborted (core dumped)

streetpea commented 4 months ago

That’s weird it runs fine on my Steam Deck

streetpea commented 4 months ago

Did you already copy over the config or no bc it wouldn’t open the first time?

L0WR1D3Rz commented 4 months ago

i ran copy pasted exactly the string you shared above to copy the config on Konsole (did it just now again for a second time). Nothing visible happens in konsole so I'm not sure it worked, however even after running it, the appimage opens, I see the main window of chiaki4deck and within 1 second it shuts itself

streetpea commented 4 months ago

If there is no output it means it’s successful

streetpea commented 4 months ago

Can you try rm ~/.config/Chiaki/Chiaki.conf and try opening again?

L0WR1D3Rz commented 4 months ago

ok now it opened, looks like it cleared all the config. Should I try copying it again? i believe that's the issue. If I run your command that copies the config , then it crashes. Any other way I can copy over the config without having to set up from scratch my PS5? I really don't want to do that!

streetpea commented 4 months ago

Are you sure you are using the latest appimage version and not a previous version? Do you have multiple ps consoles? Am I asking bc there was a bug that was patched that can cause this when using multiple ps consoles

L0WR1D3Rz commented 4 months ago

Are you sure you are using the latest appimage version and not a previous version? Do you have multiple ps consoles? Am I asking bc there was a bug that was patched that can cause this when using multiple ps consoles

I don't have another version of the appimage aside from what you asked me to download earlier. The other version I have is the one installed from the discover store. I don't have multiple PS5s. Just 1.

streetpea commented 4 months ago

Can you download this version instead (it has debug info) https://github.com/streetpea/chiaki4deck/actions/runs/9068307719/artifacts/1498405799 replace your other appimage with it in the downloads folder, make it executable (chmod +x ~/Downloads/Chiaki4deck.Appimage) and launch with gdb ~/Downloads/Chiaki4deck.Appimage and then run ... it should crash (given you copied your settings file over) .. at that point run bt and paste the output here

L0WR1D3Rz commented 4 months ago

ok i'll try...just clarify run bt? how do I do that? :)

streetpea commented 4 months ago

type bt in the konsole while in the gdb session you started with gdb ~/Downloads/Chiaki4deck.Appimage .. when you are done type quit to exit gdb

L0WR1D3Rz commented 4 months ago

So I:

1)downloaded and replaced appimage 2)ran the chmod string above correctly 3)ran the gdb string above cotrrectly 4)double clicked the appimage to run it, it opened and crashed/closed 5)went back to konsole window and typed bt and hit enter, i got the following, with a question asking if I wanted to enable debugging to which I replied y

For help, type "help". --Type for more, q to quit, c to continue without paging--bt Type "apropos word" to search for commands related to "word"... Reading symbols from /home/deck/Downloads/Chiaki4deck.Appimage...

This GDB supports auto-downloading debuginfo from the following URLs: https://debuginfod.archlinux.org Enable debuginfod for this session? (y or [n]) y Debuginfod has been enabled. To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit. (No debugging symbols found in /home/deck/Downloads/Chiaki4deck.Appimage)
(gdb) Quit (gdb)

streetpea commented 4 months ago

You want to use no there .. then type run. After the crash type bt.. after getting the output type quit

L0WR1D3Rz commented 4 months ago

Ok now it did something, (1)(deck@steamdeck Downloads)$ gdb ~/Downloads/Chiaki4deck.Appimage GNU gdb (GDB) 14.1 Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: https://www.gnu.org/software/gdb/bugs/. Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/.

For help, type "help". --Type for more, q to quit, c to continue without paging--bt Type "apropos word" to search for commands related to "word"... Reading symbols from /home/deck/Downloads/Chiaki4deck.Appimage...

This GDB supports auto-downloading debuginfo from the following URLs: https://debuginfod.archlinux.org Enable debuginfod for this session? (y or [n]) n Debuginfod has been disabled. To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. (No debugging symbols found in /home/deck/Downloads/Chiaki4deck.Appimage) (gdb) run Starting program: /home/deck/Downloads/Chiaki4deck.Appimage [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [Detaching after fork from child process 13341] process 13338 is executing new program: /usr/bin/env [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". process 13338 is executing new program: /usr/bin/bash [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [Detaching after fork from child process 13347] process 13338 is executing new program: /tmp/.mount_Chiaki5gVfFM/usr/bin/chiaki [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0x7ffff198d6c0 (LWP 13353)] [New Thread 0x7ffff118c6c0 (LWP 13354)] [New Thread 0x7fffeb7ff6c0 (LWP 13355)] [New Thread 0x7fffeaffe6c0 (LWP 13356)] [New Thread 0x7fffe8dff6c0 (LWP 13357)] [New Thread 0x7fffe21ff6c0 (LWP 13358)] [New Thread 0x7fffe19fe6c0 (LWP 13359)] [New Thread 0x7fffe11fd6c0 (LWP 13360)] [New Thread 0x7fffe09fc6c0 (LWP 13361)] [New Thread 0x7fffd3bff6c0 (LWP 13362)] [New Thread 0x7fffd33fe6c0 (LWP 13363)] [New Thread 0x7fffd2bfd6c0 (LWP 13364)] [New Thread 0x7fffd23fc6c0 (LWP 13365)] chiaki.gui: [libplacebo] Initialized libplacebo v6.338.0-70-gc320f61e-dirty (API v342) chiaki.gui: [libplacebo] Spent 45.358 ms enumerating instance extensions chiaki.gui: [libplacebo] Creating vulkan instance with extensions: chiaki.gui: [libplacebo] VK_KHR_get_physical_device_properties2 chiaki.gui: [libplacebo] VK_KHR_surface chiaki.gui: [libplacebo] VK_EXT_swapchain_colorspace chiaki.gui: [libplacebo] VK_KHR_external_memory_capabilities chiaki.gui: [libplacebo] VK_KHR_external_semaphore_capabilities chiaki.gui: [libplacebo] VK_KHR_get_surface_capabilities2 chiaki.gui: [libplacebo] VK_KHR_portability_enumeration chiaki.gui: [libplacebo] VK_KHR_xcb_surface chiaki.gui: [libplacebo] VK_KHR_surface chiaki.gui: [libplacebo] Probing for vulkan devices: [New Thread 0x7fffd0dff6c0 (LWP 13366)] chiaki.gui: [libplacebo] GPU 0: AMD Radeon Graphics (RADV VANGOGH) v1.3.278 (integrated) chiaki.gui: [libplacebo] uuid: 00:00:00:00:04:00:00:00:00:00:00:00:00:00:00:00 chiaki.gui: [libplacebo] Vulkan device properties: chiaki.gui: [libplacebo] Device Name: AMD Radeon Graphics (RADV VANGOGH) chiaki.gui: [libplacebo] Device ID: 1002:1435 chiaki.gui: [libplacebo] Device UUID: 00:00:00:00:04:00:00:00:00:00:00:00:00:00:00:00 chiaki.gui: [libplacebo] Driver version: 6000063 chiaki.gui: [libplacebo] API version: 1.3.278 chiaki.gui: [libplacebo] Using async transfer (queue 1) chiaki.gui: [libplacebo] Using async compute (queue 1) chiaki.gui: [libplacebo] Creating vulkan device with extensions: chiaki.gui: [libplacebo] VK_KHR_swapchain chiaki.gui: [libplacebo] VK_KHR_push_descriptor chiaki.gui: [libplacebo] VK_KHR_external_memory_fd chiaki.gui: [libplacebo] VK_EXT_external_memory_dma_buf chiaki.gui: [libplacebo] VK_EXT_external_memory_host chiaki.gui: [libplacebo] VK_KHR_external_semaphore_fd chiaki.gui: [libplacebo] VK_EXT_pci_bus_info chiaki.gui: [libplacebo] VK_EXT_image_drm_format_modifier chiaki.gui: [libplacebo] Spent 16.231 ms creating vulkan device chiaki.gui: [libplacebo] Memory heaps supported by device: chiaki.gui: [libplacebo] 0: flags 0x0 size 3050M chiaki.gui: [libplacebo] 1: flags 0x1 size 6101M chiaki.gui: [libplacebo] Memory summary: 0 used 0 res 0 alloc, efficiency 100.00%, utilization 100.00%, max page: 381M chiaki.gui: [libplacebo] glslang version: 13.1.1 chiaki.gui: [libplacebo] Initialized SPIR-V compiler 'glslang' chiaki.gui: [libplacebo] GPU information: chiaki.gui: [libplacebo] GLSL version: 450 (vulkan) chiaki.gui: [libplacebo] max_shmem_size: 65536 chiaki.gui: [libplacebo] max_group_threads: 1024 chiaki.gui: [libplacebo] max_group_size[0]: 1024 chiaki.gui: [libplacebo] max_group_size[1]: 1024 chiaki.gui: [libplacebo] max_group_size[2]: 1024 chiaki.gui: [libplacebo] subgroup_size: 64 chiaki.gui: [libplacebo] min_gather_offset: -32 chiaki.gui: [libplacebo] max_gather_offset: 31 chiaki.gui: [libplacebo] Limits: chiaki.gui: [libplacebo] thread_safe: 1 chiaki.gui: [libplacebo] callbacks: 1 chiaki.gui: [libplacebo] max_buf_size: 6397714432 chiaki.gui: [libplacebo] max_ubo_size: 4294967295 chiaki.gui: [libplacebo] max_ssbo_size: 4294967295 chiaki.gui: [libplacebo] max_vbo_size: 6397714432 chiaki.gui: [libplacebo] max_mapped_size: 6397714432 chiaki.gui: [libplacebo] max_buffer_texels: 4294967295 chiaki.gui: [libplacebo] align_host_ptr: 4096 chiaki.gui: [libplacebo] host_cached: 1 chiaki.gui: [libplacebo] max_tex_1d_dim: 16384 chiaki.gui: [libplacebo] max_tex_2d_dim: 16384 chiaki.gui: [libplacebo] max_tex_3d_dim: 2048 chiaki.gui: [libplacebo] blittable_1d_3d: 1 chiaki.gui: [libplacebo] buf_transfer: 1 chiaki.gui: [libplacebo] align_tex_xfer_pitch: 1 chiaki.gui: [libplacebo] align_tex_xfer_offset: 4 chiaki.gui: [libplacebo] max_variable_comps: 0 chiaki.gui: [libplacebo] max_constants: 18446744073709551615 chiaki.gui: [libplacebo] max_pushc_size: 256 chiaki.gui: [libplacebo] align_vertex_stride: 1 chiaki.gui: [libplacebo] max_dispatch[0]: 65535 chiaki.gui: [libplacebo] max_dispatch[1]: 65535 chiaki.gui: [libplacebo] max_dispatch[2]: 65535 chiaki.gui: [libplacebo] fragment_queues: 1 chiaki.gui: [libplacebo] compute_queues: 1 chiaki.gui: [libplacebo] External API interop: chiaki.gui: [libplacebo] UUID: 00:00:00:00:04:00:00:00:00:00:00:00:00:00:00:00 chiaki.gui: [libplacebo] PCI: 0000:04:00:0 chiaki.gui: [libplacebo] buf export caps: 0x9 chiaki.gui: [libplacebo] buf import caps: 0x19 chiaki.gui: [libplacebo] tex export caps: 0x9 chiaki.gui: [libplacebo] tex import caps: 0x19 chiaki.gui: [libplacebo] sync export caps: 0x1 chiaki.gui: [libplacebo] sync import caps: 0x0 [New Thread 0x7fffabfff6c0 (LWP 13367)] [New Thread 0x7fffab1fc6c0 (LWP 13368)] [New Thread 0x7fffaa9fb6c0 (LWP 13369)] [New Thread 0x7fffaa1fa6c0 (LWP 13370)] [New Thread 0x7fffa99f96c0 (LWP 13371)] [New Thread 0x7fffa8bff6c0 (LWP 13372)] [New Thread 0x7fff8ffff6c0 (LWP 13373)] [New Thread 0x7fff8f7fe6c0 (LWP 13374)] [New Thread 0x7fff8effd6c0 (LWP 13375)] [New Thread 0x7fff8e3ff6c0 (LWP 13376)] [New Thread 0x7fff8dbfe6c0 (LWP 13377)] [New Thread 0x7fff8d3fd6c0 (LWP 13378)] [New Thread 0x7fff8cbfc6c0 (LWP 13379)] [New Thread 0x7fff6ffff6c0 (LWP 13380)] [New Thread 0x7fff6f7fe6c0 (LWP 13381)] chiaki.gui: [libplacebo] Available surface configurations: chiaki.gui: [libplacebo] 0: VK_FORMAT_B8G8R8A8_SRGB VK_COLOR_SPACE_SRGB_NONLINEAR_KHR chiaki.gui: [libplacebo] 1: VK_FORMAT_B8G8R8A8_UNORM VK_COLOR_SPACE_SRGB_NONLINEAR_KHR chiaki.gui: [libplacebo] Picked surface configuration 1: VK_FORMAT_B8G8R8A8_UNORM + VK_COLOR_SPACE_SRGB_NONLINEAR_KHR [New Thread 0x7fff6effd6c0 (LWP 13382)] [New Thread 0x7fff6e7fc6c0 (LWP 13383)] chiaki.gui: PSN Remote Connection Tokens Refreshed. [New Thread 0x7fff6dffb6c0 (LWP 13384)] [Thread 0x7fff6dffb6c0 (LWP 13384) exited] free(): invalid next size (fast)

Thread 1 "AppRun.wrapped" received signal SIGABRT, Aborted. 0x00007ffff4eab32c in ?? () from /usr/lib/libc.so.6 (gdb)

streetpea commented 4 months ago

Can you type by after getting that crash please?

L0WR1D3Rz commented 4 months ago

Ok i'm doing it again.

L0WR1D3Rz commented 4 months ago

Here, is this now ok? (1)(deck@steamdeck Downloads)$ gdb ~/Downloads/Chiaki4deck.Appimage GNU gdb (GDB) 14.1 Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: https://www.gnu.org/software/gdb/bugs/. Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/.

For help, type "help". --Type for more, q to quit, c to continue without paging--bt Type "apropos word" to search for commands related to "word"... Reading symbols from /home/deck/Downloads/Chiaki4deck.Appimage...

This GDB supports auto-downloading debuginfo from the following URLs: https://debuginfod.archlinux.org Enable debuginfod for this session? (y or [n]) n Debuginfod has been disabled. To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. (No debugging symbols found in /home/deck/Downloads/Chiaki4deck.Appimage) (gdb) run Starting program: /home/deck/Downloads/Chiaki4deck.Appimage [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [Detaching after fork from child process 14111] process 14108 is executing new program: /usr/bin/env [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". process 14108 is executing new program: /usr/bin/bash [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [Detaching after fork from child process 14116] process 14108 is executing new program: /tmp/.mount_ChiakiYuNJlt/usr/bin/chiaki [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0x7ffff198d6c0 (LWP 14118)] [New Thread 0x7ffff118c6c0 (LWP 14119)] [New Thread 0x7fffeb7ff6c0 (LWP 14120)] [New Thread 0x7fffeaffe6c0 (LWP 14121)] [New Thread 0x7fffe8dff6c0 (LWP 14122)] [New Thread 0x7fffe21ff6c0 (LWP 14123)] [New Thread 0x7fffe19fe6c0 (LWP 14124)] [New Thread 0x7fffe11fd6c0 (LWP 14125)] [New Thread 0x7fffe09fc6c0 (LWP 14126)] [New Thread 0x7fffd3bff6c0 (LWP 14127)] [New Thread 0x7fffd33fe6c0 (LWP 14128)] [New Thread 0x7fffd2bfd6c0 (LWP 14129)] [New Thread 0x7fffd23fc6c0 (LWP 14130)] chiaki.gui: [libplacebo] Initialized libplacebo v6.338.0-70-gc320f61e-dirty (API v342) chiaki.gui: [libplacebo] Spent 44.471 ms enumerating instance extensions chiaki.gui: [libplacebo] Creating vulkan instance with extensions: chiaki.gui: [libplacebo] VK_KHR_get_physical_device_properties2 chiaki.gui: [libplacebo] VK_KHR_surface chiaki.gui: [libplacebo] VK_EXT_swapchain_colorspace chiaki.gui: [libplacebo] VK_KHR_external_memory_capabilities chiaki.gui: [libplacebo] VK_KHR_external_semaphore_capabilities chiaki.gui: [libplacebo] VK_KHR_get_surface_capabilities2 chiaki.gui: [libplacebo] VK_KHR_portability_enumeration chiaki.gui: [libplacebo] VK_KHR_xcb_surface chiaki.gui: [libplacebo] VK_KHR_surface chiaki.gui: [libplacebo] Probing for vulkan devices: [New Thread 0x7fffd0dff6c0 (LWP 14131)] chiaki.gui: [libplacebo] GPU 0: AMD Radeon Graphics (RADV VANGOGH) v1.3.278 (integrated) chiaki.gui: [libplacebo] uuid: 00:00:00:00:04:00:00:00:00:00:00:00:00:00:00:00 chiaki.gui: [libplacebo] Vulkan device properties: chiaki.gui: [libplacebo] Device Name: AMD Radeon Graphics (RADV VANGOGH) chiaki.gui: [libplacebo] Device ID: 1002:1435 chiaki.gui: [libplacebo] Device UUID: 00:00:00:00:04:00:00:00:00:00:00:00:00:00:00:00 chiaki.gui: [libplacebo] Driver version: 6000063 chiaki.gui: [libplacebo] API version: 1.3.278 chiaki.gui: [libplacebo] Using async transfer (queue 1) chiaki.gui: [libplacebo] Using async compute (queue 1) chiaki.gui: [libplacebo] Creating vulkan device with extensions: chiaki.gui: [libplacebo] VK_KHR_swapchain chiaki.gui: [libplacebo] VK_KHR_push_descriptor chiaki.gui: [libplacebo] VK_KHR_external_memory_fd chiaki.gui: [libplacebo] VK_EXT_external_memory_dma_buf chiaki.gui: [libplacebo] VK_EXT_external_memory_host chiaki.gui: [libplacebo] VK_KHR_external_semaphore_fd chiaki.gui: [libplacebo] VK_EXT_pci_bus_info chiaki.gui: [libplacebo] VK_EXT_image_drm_format_modifier chiaki.gui: [libplacebo] Spent 15.474 ms creating vulkan device chiaki.gui: [libplacebo] Memory heaps supported by device: chiaki.gui: [libplacebo] 0: flags 0x0 size 3050M chiaki.gui: [libplacebo] 1: flags 0x1 size 6101M chiaki.gui: [libplacebo] Memory summary: 0 used 0 res 0 alloc, efficiency 100.00%, utilization 100.00%, max page: 381M chiaki.gui: [libplacebo] glslang version: 13.1.1 chiaki.gui: [libplacebo] Initialized SPIR-V compiler 'glslang' chiaki.gui: [libplacebo] GPU information: chiaki.gui: [libplacebo] GLSL version: 450 (vulkan) chiaki.gui: [libplacebo] max_shmem_size: 65536 chiaki.gui: [libplacebo] max_group_threads: 1024 chiaki.gui: [libplacebo] max_group_size[0]: 1024 chiaki.gui: [libplacebo] max_group_size[1]: 1024 chiaki.gui: [libplacebo] max_group_size[2]: 1024 chiaki.gui: [libplacebo] subgroup_size: 64 chiaki.gui: [libplacebo] min_gather_offset: -32 chiaki.gui: [libplacebo] max_gather_offset: 31 chiaki.gui: [libplacebo] Limits: chiaki.gui: [libplacebo] thread_safe: 1 chiaki.gui: [libplacebo] callbacks: 1 chiaki.gui: [libplacebo] max_buf_size: 6397714432 chiaki.gui: [libplacebo] max_ubo_size: 4294967295 chiaki.gui: [libplacebo] max_ssbo_size: 4294967295 chiaki.gui: [libplacebo] max_vbo_size: 6397714432 chiaki.gui: [libplacebo] max_mapped_size: 6397714432 chiaki.gui: [libplacebo] max_buffer_texels: 4294967295 chiaki.gui: [libplacebo] align_host_ptr: 4096 chiaki.gui: [libplacebo] host_cached: 1 chiaki.gui: [libplacebo] max_tex_1d_dim: 16384 chiaki.gui: [libplacebo] max_tex_2d_dim: 16384 chiaki.gui: [libplacebo] max_tex_3d_dim: 2048 chiaki.gui: [libplacebo] blittable_1d_3d: 1 chiaki.gui: [libplacebo] buf_transfer: 1 chiaki.gui: [libplacebo] align_tex_xfer_pitch: 1 chiaki.gui: [libplacebo] align_tex_xfer_offset: 4 chiaki.gui: [libplacebo] max_variable_comps: 0 chiaki.gui: [libplacebo] max_constants: 18446744073709551615 chiaki.gui: [libplacebo] max_pushc_size: 256 chiaki.gui: [libplacebo] align_vertex_stride: 1 chiaki.gui: [libplacebo] max_dispatch[0]: 65535 chiaki.gui: [libplacebo] max_dispatch[1]: 65535 chiaki.gui: [libplacebo] max_dispatch[2]: 65535 chiaki.gui: [libplacebo] fragment_queues: 1 chiaki.gui: [libplacebo] compute_queues: 1 chiaki.gui: [libplacebo] External API interop: chiaki.gui: [libplacebo] UUID: 00:00:00:00:04:00:00:00:00:00:00:00:00:00:00:00 chiaki.gui: [libplacebo] PCI: 0000:04:00:0 chiaki.gui: [libplacebo] buf export caps: 0x9 chiaki.gui: [libplacebo] buf import caps: 0x19 chiaki.gui: [libplacebo] tex export caps: 0x9 chiaki.gui: [libplacebo] tex import caps: 0x19 chiaki.gui: [libplacebo] sync export caps: 0x1 chiaki.gui: [libplacebo] sync import caps: 0x0 [New Thread 0x7fffabfff6c0 (LWP 14132)] [New Thread 0x7fffab1fc6c0 (LWP 14133)] [New Thread 0x7fffaa9fb6c0 (LWP 14134)] [New Thread 0x7fffaa1fa6c0 (LWP 14135)] [New Thread 0x7fffa99f96c0 (LWP 14136)] [New Thread 0x7fffa8bff6c0 (LWP 14137)] [New Thread 0x7fff8ffff6c0 (LWP 14138)] [New Thread 0x7fff87fff6c0 (LWP 14139)] [New Thread 0x7fff8f7fe6c0 (LWP 14140)] [New Thread 0x7fff8ebff6c0 (LWP 14141)] [New Thread 0x7fff8e3fe6c0 (LWP 14142)] [New Thread 0x7fff8dbfd6c0 (LWP 14143)] [New Thread 0x7fff8d3fc6c0 (LWP 14144)] [New Thread 0x7fff8cbfb6c0 (LWP 14145)] [New Thread 0x7fff877fe6c0 (LWP 14146)] [New Thread 0x7fff86ffd6c0 (LWP 14147)] chiaki.gui: [libplacebo] Available surface configurations: chiaki.gui: [libplacebo] 0: VK_FORMAT_B8G8R8A8_SRGB VK_COLOR_SPACE_SRGB_NONLINEAR_KHR chiaki.gui: [libplacebo] 1: VK_FORMAT_B8G8R8A8_UNORM VK_COLOR_SPACE_SRGB_NONLINEAR_KHR chiaki.gui: [libplacebo] Picked surface configuration 1: VK_FORMAT_B8G8R8A8_UNORM + VK_COLOR_SPACE_SRGB_NONLINEAR_KHR [New Thread 0x7fff867fc6c0 (LWP 14148)] [New Thread 0x7fff85ffb6c0 (LWP 14149)] chiaki.gui: PSN Remote Connection Tokens Refreshed. [New Thread 0x7fff857fa6c0 (LWP 14150)] [Thread 0x7fff857fa6c0 (LWP 14150) exited] free(): invalid next size (fast)

Thread 1 "AppRun.wrapped" received signal SIGABRT, Aborted. 0x00007ffff4eab32c in ?? () from /usr/lib/libc.so.6 (gdb) bt

0 0x00007ffff4eab32c in ?? () from /usr/lib/libc.so.6

1 0x00007ffff4e5a6c8 in raise () from /usr/lib/libc.so.6

2 0x00007ffff4e424b8 in abort () from /usr/lib/libc.so.6

3 0x00007ffff4e43395 in ?? () from /usr/lib/libc.so.6

4 0x00007ffff4eb52a7 in ?? () from /usr/lib/libc.so.6

5 0x00007ffff4eb7614 in ?? () from /usr/lib/libc.so.6

6 0x00007ffff4eb9e93 in free () from /usr/lib/libc.so.6

7 0x00007ffff7292e8d in ?? ()

from /tmp/.mount_ChiakiYuNJlt/usr/bin/../lib/libcrypto.so.1.1

8 0x00007ffff729d10a in ?? ()

from /tmp/.mount_ChiakiYuNJlt/usr/bin/../lib/libcrypto.so.1.1

9 0x00007ffff729d578 in ?? ()

from /tmp/.mount_ChiakiYuNJlt/usr/bin/../lib/libcrypto.so.1.1

10 0x00007ffff729d23f in ?? ()

--Type for more, q to quit, c to continue without paging--Quit (gdb)

streetpea commented 4 months ago

That’s what I wanted but can you get back to that screen and type enter it hasn’t gotten to the part referencing Chiaki4deck where the free actually occurs yet (it’s just showing the libraries for free which in this case isn’t helpful since the problem is in the code that calls free not free)

L0WR1D3Rz commented 4 months ago

Ok so i did the same process, and in the end I wrote "enter" and hit enter. Here is what I got

((1)(deck@steamdeck Downloads)$ gdb ~/Downloads/Chiaki4deck.Appimage GNU gdb (GDB) 14.1 Copyright (C) 2023 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: https://www.gnu.org/software/gdb/bugs/. Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/.

For help, type "help". --Type for more, q to quit, c to continue without paging-- Type "apropos word" to search for commands related to "word"... Reading symbols from /home/deck/Downloads/Chiaki4deck.Appimage...

This GDB supports auto-downloading debuginfo from the following URLs: https://debuginfod.archlinux.org Enable debuginfod for this session? (y or [n]) n Debuginfod has been disabled. To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit. (No debugging symbols found in /home/deck/Downloads/Chiaki4deck.Appimage) (gdb) run Starting program: /home/deck/Downloads/Chiaki4deck.Appimage [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [Detaching after fork from child process 5554] process 5551 is executing new program: /usr/bin/env [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". process 5551 is executing new program: /usr/bin/bash [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [Detaching after fork from child process 5560] process 5551 is executing new program: /tmp/.mount_ChiakiaWVmk9/usr/bin/chiaki [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". [New Thread 0x7ffff198d6c0 (LWP 5562)] [New Thread 0x7ffff118c6c0 (LWP 5563)] [New Thread 0x7fffeb7ff6c0 (LWP 5564)] [New Thread 0x7fffeaffe6c0 (LWP 5565)] [New Thread 0x7fffe8dff6c0 (LWP 5566)] [New Thread 0x7fffe21ff6c0 (LWP 5567)] [New Thread 0x7fffe19fe6c0 (LWP 5568)] [New Thread 0x7fffe11fd6c0 (LWP 5569)] [New Thread 0x7fffe09fc6c0 (LWP 5570)] [New Thread 0x7fffd3bff6c0 (LWP 5571)] [New Thread 0x7fffd33fe6c0 (LWP 5572)] [New Thread 0x7fffd2bfd6c0 (LWP 5573)] [New Thread 0x7fffd23fc6c0 (LWP 5574)] chiaki.gui: [libplacebo] Initialized libplacebo v6.338.0-70-gc320f61e-dirty (API v342) chiaki.gui: [libplacebo] Spent 44.529 ms enumerating instance extensions chiaki.gui: [libplacebo] Creating vulkan instance with extensions: chiaki.gui: [libplacebo] VK_KHR_get_physical_device_properties2 chiaki.gui: [libplacebo] VK_KHR_surface chiaki.gui: [libplacebo] VK_EXT_swapchain_colorspace chiaki.gui: [libplacebo] VK_KHR_external_memory_capabilities chiaki.gui: [libplacebo] VK_KHR_external_semaphore_capabilities chiaki.gui: [libplacebo] VK_KHR_get_surface_capabilities2 chiaki.gui: [libplacebo] VK_KHR_portability_enumeration chiaki.gui: [libplacebo] VK_KHR_xcb_surface chiaki.gui: [libplacebo] VK_KHR_surface chiaki.gui: [libplacebo] Probing for vulkan devices: [New Thread 0x7fffd0dff6c0 (LWP 5575)] chiaki.gui: [libplacebo] GPU 0: AMD Radeon Graphics (RADV VANGOGH) v1.3.278 (integrated) chiaki.gui: [libplacebo] uuid: 00:00:00:00:04:00:00:00:00:00:00:00:00:00:00:00 chiaki.gui: [libplacebo] Vulkan device properties: chiaki.gui: [libplacebo] Device Name: AMD Radeon Graphics (RADV VANGOGH) chiaki.gui: [libplacebo] Device ID: 1002:1435 chiaki.gui: [libplacebo] Device UUID: 00:00:00:00:04:00:00:00:00:00:00:00:00:00:00:00 chiaki.gui: [libplacebo] Driver version: 6000063 chiaki.gui: [libplacebo] API version: 1.3.278 chiaki.gui: [libplacebo] Using async transfer (queue 1) chiaki.gui: [libplacebo] Using async compute (queue 1) chiaki.gui: [libplacebo] Creating vulkan device with extensions: chiaki.gui: [libplacebo] VK_KHR_swapchain chiaki.gui: [libplacebo] VK_KHR_push_descriptor chiaki.gui: [libplacebo] VK_KHR_external_memory_fd chiaki.gui: [libplacebo] VK_EXT_external_memory_dma_buf chiaki.gui: [libplacebo] VK_EXT_external_memory_host chiaki.gui: [libplacebo] VK_KHR_external_semaphore_fd chiaki.gui: [libplacebo] VK_EXT_pci_bus_info chiaki.gui: [libplacebo] VK_EXT_image_drm_format_modifier chiaki.gui: [libplacebo] Spent 15.466 ms creating vulkan device chiaki.gui: [libplacebo] Memory heaps supported by device: chiaki.gui: [libplacebo] 0: flags 0x0 size 3050M chiaki.gui: [libplacebo] 1: flags 0x1 size 6101M chiaki.gui: [libplacebo] Memory summary: 0 used 0 res 0 alloc, efficiency 100.00%, utilization 100.00%, max page: 381M chiaki.gui: [libplacebo] glslang version: 13.1.1 chiaki.gui: [libplacebo] Initialized SPIR-V compiler 'glslang' chiaki.gui: [libplacebo] GPU information: chiaki.gui: [libplacebo] GLSL version: 450 (vulkan) chiaki.gui: [libplacebo] max_shmem_size: 65536 chiaki.gui: [libplacebo] max_group_threads: 1024 chiaki.gui: [libplacebo] max_group_size[0]: 1024 chiaki.gui: [libplacebo] max_group_size[1]: 1024 chiaki.gui: [libplacebo] max_group_size[2]: 1024 chiaki.gui: [libplacebo] subgroup_size: 64 chiaki.gui: [libplacebo] min_gather_offset: -32 chiaki.gui: [libplacebo] max_gather_offset: 31 chiaki.gui: [libplacebo] Limits: chiaki.gui: [libplacebo] thread_safe: 1 chiaki.gui: [libplacebo] callbacks: 1 chiaki.gui: [libplacebo] max_buf_size: 6397714432 chiaki.gui: [libplacebo] max_ubo_size: 4294967295 chiaki.gui: [libplacebo] max_ssbo_size: 4294967295 chiaki.gui: [libplacebo] max_vbo_size: 6397714432 chiaki.gui: [libplacebo] max_mapped_size: 6397714432 chiaki.gui: [libplacebo] max_buffer_texels: 4294967295 chiaki.gui: [libplacebo] align_host_ptr: 4096 chiaki.gui: [libplacebo] host_cached: 1 chiaki.gui: [libplacebo] max_tex_1d_dim: 16384 chiaki.gui: [libplacebo] max_tex_2d_dim: 16384 chiaki.gui: [libplacebo] max_tex_3d_dim: 2048 chiaki.gui: [libplacebo] blittable_1d_3d: 1 chiaki.gui: [libplacebo] buf_transfer: 1 chiaki.gui: [libplacebo] align_tex_xfer_pitch: 1 chiaki.gui: [libplacebo] align_tex_xfer_offset: 4 chiaki.gui: [libplacebo] max_variable_comps: 0 chiaki.gui: [libplacebo] max_constants: 18446744073709551615 chiaki.gui: [libplacebo] max_pushc_size: 256 chiaki.gui: [libplacebo] align_vertex_stride: 1 chiaki.gui: [libplacebo] max_dispatch[0]: 65535 chiaki.gui: [libplacebo] max_dispatch[1]: 65535 chiaki.gui: [libplacebo] max_dispatch[2]: 65535 chiaki.gui: [libplacebo] fragment_queues: 1 chiaki.gui: [libplacebo] compute_queues: 1 chiaki.gui: [libplacebo] External API interop: chiaki.gui: [libplacebo] UUID: 00:00:00:00:04:00:00:00:00:00:00:00:00:00:00:00 chiaki.gui: [libplacebo] PCI: 0000:04:00:0 chiaki.gui: [libplacebo] buf export caps: 0x9 chiaki.gui: [libplacebo] buf import caps: 0x19 chiaki.gui: [libplacebo] tex export caps: 0x9 chiaki.gui: [libplacebo] tex import caps: 0x19 chiaki.gui: [libplacebo] sync export caps: 0x1 chiaki.gui: [libplacebo] sync import caps: 0x0 [New Thread 0x7fffabfff6c0 (LWP 5576)] [New Thread 0x7fffab1fc6c0 (LWP 5577)] [New Thread 0x7fffaa9fb6c0 (LWP 5578)] [New Thread 0x7fffaa1fa6c0 (LWP 5579)] [New Thread 0x7fffa99f96c0 (LWP 5580)] [I] Discovery Service detected new host with id 78C881AE7C0B [New Thread 0x7fffa8bff6c0 (LWP 5581)] [New Thread 0x7fff8ffff6c0 (LWP 5582)] [New Thread 0x7fff8f7fe6c0 (LWP 5583)] [New Thread 0x7fff8effd6c0 (LWP 5584)] [New Thread 0x7fff8e3ff6c0 (LWP 5585)] [New Thread 0x7fff8dbfe6c0 (LWP 5586)] [New Thread 0x7fff8d3fd6c0 (LWP 5587)] [New Thread 0x7fff8cbfc6c0 (LWP 5588)] [New Thread 0x7fff6bfff6c0 (LWP 5589)] [New Thread 0x7fff6b7fe6c0 (LWP 5590)] chiaki.gui: [libplacebo] Available surface configurations: chiaki.gui: [libplacebo] 0: VK_FORMAT_B8G8R8A8_SRGB VK_COLOR_SPACE_SRGB_NONLINEAR_KHR chiaki.gui: [libplacebo] 1: VK_FORMAT_B8G8R8A8_UNORM VK_COLOR_SPACE_SRGB_NONLINEAR_KHR chiaki.gui: [libplacebo] Picked surface configuration 1: VK_FORMAT_B8G8R8A8_UNORM + VK_COLOR_SPACE_SRGB_NONLINEAR_KHR [New Thread 0x7fff6affd6c0 (LWP 5591)] [New Thread 0x7fff6a7fc6c0 (LWP 5592)] chiaki.gui: PSN Remote Connection Tokens Refreshed. [New Thread 0x7fff69ffb6c0 (LWP 5597)] [Thread 0x7fff69ffb6c0 (LWP 5597) exited] free(): invalid next size (fast)

Thread 1 "AppRun.wrapped" received signal SIGABRT, Aborted. 0x00007ffff4eab32c in ?? () from /usr/lib/libc.so.6 (gdb) bt

0 0x00007ffff4eab32c in ?? () from /usr/lib/libc.so.6

1 0x00007ffff4e5a6c8 in raise () from /usr/lib/libc.so.6

2 0x00007ffff4e424b8 in abort () from /usr/lib/libc.so.6

3 0x00007ffff4e43395 in ?? () from /usr/lib/libc.so.6

4 0x00007ffff4eb52a7 in ?? () from /usr/lib/libc.so.6

5 0x00007ffff4eb7614 in ?? () from /usr/lib/libc.so.6

6 0x00007ffff4eb9e93 in free () from /usr/lib/libc.so.6

7 0x00007ffff7292e8d in ?? ()

from /tmp/.mount_ChiakiaWVmk9/usr/bin/../lib/libcrypto.so.1.1

8 0x00007ffff729d10a in ?? ()

from /tmp/.mount_ChiakiaWVmk9/usr/bin/../lib/libcrypto.so.1.1

9 0x00007ffff729d578 in ?? ()

from /tmp/.mount_ChiakiaWVmk9/usr/bin/../lib/libcrypto.so.1.1

10 0x00007ffff729d23f in ?? ()

--Type for more, q to quit, c to continue without paging--enter from /tmp/.mount_ChiakiaWVmk9/usr/bin/../lib/libcrypto.so.1.1

11 0x00007ffff729d499 in ASN1_item_free ()

from /tmp/.mount_ChiakiaWVmk9/usr/bin/../lib/libcrypto.so.1.1

12 0x00007ffff73dfb00 in OPENSSL_sk_pop_free ()

from /tmp/.mount_ChiakiaWVmk9/usr/bin/../lib/libcrypto.so.1.1

13 0x00007ffff73fe233 in ?? ()

from /tmp/.mount_ChiakiaWVmk9/usr/bin/../lib/libcrypto.so.1.1

14 0x00007ffff729d578 in ?? ()

from /tmp/.mount_ChiakiaWVmk9/usr/bin/../lib/libcrypto.so.1.1

15 0x00007ffff729d23f in ?? ()

from /tmp/.mount_ChiakiaWVmk9/usr/bin/../lib/libcrypto.so.1.1

16 0x00007ffff729d578 in ?? ()

from /tmp/.mount_ChiakiaWVmk9/usr/bin/../lib/libcrypto.so.1.1

17 0x00007ffff729d23f in ?? ()

--Type for more, q to quit, c to continue without paging--

streetpea commented 4 months ago

@L0WR1D3Rz can you try this test flatpak? ... install with

flatpak install -y --user https://dl.flathub.org/build-repo/103620/io.github.streetpea.Chiaki4deck.flatpakref

in the konsole

L0WR1D3Rz commented 4 months ago

it says I have stable already installed...does this mean I need to uninstall? I'd rather avoid having to do all the setup from scratch with game mode etc...was a pain!

streetpea commented 4 months ago

Do you have the --user in the command?

L0WR1D3Rz commented 4 months ago

i copy pasted directly from your message

streetpea commented 4 months ago

That’s weird if you downloaded from the discover store it shouldn’t be as user … anyway you can type

flatpak uninstall --user io.github.streetpea.Chiaki4deck

And then re run the install command … don’t worry it won’t erase your settings or game mode configuration … it is a drop and drag replacement.

L0WR1D3Rz commented 4 months ago

I did it and it crashes after a split second. Not working.

L0WR1D3Rz commented 4 months ago

After restart it works. I'm trying to connect via PSN again using my hotspot but it doesn't seem to work still...

streetpea commented 4 months ago

Can you post an updated log?

L0WR1D3Rz commented 4 months ago

You mean enable verbose and post that log?

streetpea commented 4 months ago

yes

Adagium42 commented 4 months ago

I faced the same problem... Captura de tela de 2024-05-14 18-36-32

... and I solved it with: https://github.com/streetpea/chiaki4deck/issues/328#issuecomment-2110845396

@L0WR1D3Rz can you try this test flatpak? ... install with

flatpak install -y --user https://dl.flathub.org/build-repo/103620/io.github.streetpea.Chiaki4deck.flatpakref

It seemed to be solved, ... Captura de tela de 2024-05-14 18-54-22

... however, it later failed with two different errors: Captura de tela de 2024-05-14 18-54-59 "Unknown"

and... Captura de tela de 2024-05-14 18-56-56 "Ctrl failed to connect"

I was testing in another network from the same ISP. I can connect with Android official PS Remote Play app, and I can use both PS Remote Play and Chiaki on my home local network. Here's the log, I [REDACTED] every id and some things I don't know if it's necessary to identify the issue:

$ flatpak run io.github.streetpea.Chiaki4deck
chiaki.gui: [libplacebo] Initialized libplacebo v6.338.0-70-gc320f61e-dirty (API v342)
chiaki.gui: [libplacebo] Spent 64,616 ms enumerating instance extensions
chiaki.gui: [libplacebo] Creating vulkan instance with extensions:
chiaki.gui: [libplacebo]     VK_KHR_get_physical_device_properties2
chiaki.gui: [libplacebo]     VK_KHR_surface
chiaki.gui: [libplacebo]     VK_EXT_swapchain_colorspace
chiaki.gui: [libplacebo]     VK_KHR_external_memory_capabilities
chiaki.gui: [libplacebo]     VK_KHR_external_semaphore_capabilities
chiaki.gui: [libplacebo]     VK_KHR_get_surface_capabilities2
chiaki.gui: [libplacebo]     VK_KHR_portability_enumeration
chiaki.gui: [libplacebo]     VK_KHR_wayland_surface
chiaki.gui: [libplacebo]     VK_KHR_surface
chiaki.gui: [libplacebo] Probing for vulkan devices:
MESA-INTEL: warning: Ivy Bridge Vulkan support is incomplete
chiaki.gui: [libplacebo]     GPU 0: Intel(R) HD Graphics 4000 (IVB GT2) v1.2.274 (integrated)
chiaki.gui: [libplacebo]            uuid: [REDACTED]
chiaki.gui: [libplacebo]     GPU 1: llvmpipe (LLVM 17.0.6, 256 bits) v1.3.274 (software)
chiaki.gui: [libplacebo]            uuid: [REDACTED]
chiaki.gui: [libplacebo] Vulkan device properties:
chiaki.gui: [libplacebo]     Device Name: Intel(R) HD Graphics 4000 (IVB GT2)
chiaki.gui: [libplacebo]     Device ID: 8086:166
chiaki.gui: [libplacebo]     Device UUID: [REDACTED]
chiaki.gui: [libplacebo]     Driver version: 6000006
chiaki.gui: [libplacebo]     API version: 1.2.274
chiaki.gui: [libplacebo] Creating vulkan device with extensions:
chiaki.gui: [libplacebo]     VK_KHR_swapchain
chiaki.gui: [libplacebo]     VK_KHR_push_descriptor
chiaki.gui: [libplacebo]     VK_KHR_external_memory_fd
chiaki.gui: [libplacebo]     VK_EXT_external_memory_dma_buf
chiaki.gui: [libplacebo]     VK_EXT_external_memory_host
chiaki.gui: [libplacebo]     VK_KHR_external_semaphore_fd
chiaki.gui: [libplacebo]     VK_EXT_pci_bus_info
chiaki.gui: [libplacebo]     VK_EXT_image_drm_format_modifier
chiaki.gui: [libplacebo]     VK_KHR_synchronization2
chiaki.gui: [libplacebo] Memory heaps supported by device:
chiaki.gui: [libplacebo]     0: flags 0x1 size 1536M
chiaki.gui: [libplacebo] Memory summary:     0 used     0 res     0 alloc, efficiency 100,00%, utilization 100,00%, max page:   96M
chiaki.gui: [libplacebo] shaderc SPIR-V version 1.6 rev 1
chiaki.gui: [libplacebo] Initialized SPIR-V compiler 'shaderc'
MESA-INTEL: warning: ../src/intel/vulkan_hasvk/anv_formats.c:783: FINISHME: support more multi-planar formats with DRM modifiers
chiaki.gui: [libplacebo] GPU information:
chiaki.gui: [libplacebo]     GLSL version: 450 (vulkan)
chiaki.gui: [libplacebo]       max_shmem_size:            65536
chiaki.gui: [libplacebo]       max_group_threads:         1024
chiaki.gui: [libplacebo]       max_group_size[0]:         1024
chiaki.gui: [libplacebo]       max_group_size[1]:         1024
chiaki.gui: [libplacebo]       max_group_size[2]:         1024
chiaki.gui: [libplacebo]       subgroup_size:             0
chiaki.gui: [libplacebo]       min_gather_offset:         -32
chiaki.gui: [libplacebo]       max_gather_offset:         31
chiaki.gui: [libplacebo]     Limits:
chiaki.gui: [libplacebo]       thread_safe:               1
chiaki.gui: [libplacebo]       callbacks:                 1
chiaki.gui: [libplacebo]       max_buf_size:              1610612736
chiaki.gui: [libplacebo]       max_ubo_size:              134217728
chiaki.gui: [libplacebo]       max_ssbo_size:             1073741824
chiaki.gui: [libplacebo]       max_vbo_size:              1610612736
chiaki.gui: [libplacebo]       max_mapped_size:           1610612736
chiaki.gui: [libplacebo]       max_buffer_texels:         134217728
chiaki.gui: [libplacebo]       align_host_ptr:            4096
chiaki.gui: [libplacebo]       host_cached:               1
chiaki.gui: [libplacebo]       max_tex_1d_dim:            16384
chiaki.gui: [libplacebo]       max_tex_2d_dim:            8192
chiaki.gui: [libplacebo]       max_tex_3d_dim:            2048
chiaki.gui: [libplacebo]       blittable_1d_3d:           1
chiaki.gui: [libplacebo]       buf_transfer:              1
chiaki.gui: [libplacebo]       align_tex_xfer_pitch:      128
chiaki.gui: [libplacebo]       align_tex_xfer_offset:     128
chiaki.gui: [libplacebo]       max_variable_comps:        0
chiaki.gui: [libplacebo]       max_constants:             18446744073709551615
chiaki.gui: [libplacebo]       max_pushc_size:            128
chiaki.gui: [libplacebo]       align_vertex_stride:       1
chiaki.gui: [libplacebo]       max_dispatch[0]:           65535
chiaki.gui: [libplacebo]       max_dispatch[1]:           65535
chiaki.gui: [libplacebo]       max_dispatch[2]:           65535
chiaki.gui: [libplacebo]       fragment_queues:           1
chiaki.gui: [libplacebo]       compute_queues:            1
chiaki.gui: [libplacebo]     External API interop:
chiaki.gui: [libplacebo]       UUID: [REDACTED]
chiaki.gui: [libplacebo]       PCI: 0000:00:02:0
chiaki.gui: [libplacebo]       buf export caps: 0x9
chiaki.gui: [libplacebo]       buf import caps: 0x19
chiaki.gui: [libplacebo]       tex export caps: 0x9
chiaki.gui: [libplacebo]       tex import caps: 0x9
chiaki.gui: [libplacebo]       sync export caps: 0x1
chiaki.gui: [libplacebo]       sync import caps: 0x0
chiaki.gui: Updated PSN hosts
chiaki.gui: [libplacebo] Available surface configurations:
chiaki.gui: [libplacebo]     0: VK_FORMAT_R5G6B5_UNORM_PACK16            VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
chiaki.gui: [libplacebo]     1: VK_FORMAT_B8G8R8A8_SRGB                  VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
chiaki.gui: [libplacebo]     2: VK_FORMAT_B8G8R8A8_UNORM                 VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
chiaki.gui: [libplacebo]     3: VK_FORMAT_R8G8B8A8_SRGB                  VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
chiaki.gui: [libplacebo]     4: VK_FORMAT_R8G8B8A8_UNORM                 VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
chiaki.gui: [libplacebo]     5: VK_FORMAT_A2R10G10B10_UNORM_PACK32       VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
chiaki.gui: [libplacebo]     6: VK_FORMAT_R16G16B16A16_SFLOAT            VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
chiaki.gui: [libplacebo] Picked surface configuration 5: VK_FORMAT_A2R10G10B10_UNORM_PACK32 + VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
chiaki.gui: [libplacebo] Requested alpha compositing mode: VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR
chiaki.gui: [libplacebo] Requested surface transform: VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR
chiaki.gui: [libplacebo] Requested image count: 2 (min 4 max 0)
chiaki.gui: [libplacebo] Requested image size: 1280x696 (min 1x1 < cur -1x-1 < max 8192x8192)
chiaki.gui: [libplacebo] (Re)creating swapchain of size 1280x696
chiaki.gui: [libplacebo] (Re)creating 1280x696x0 texture with format rgba8: unknown
chiaki.gui: [libplacebo] Allocating 14467072 memory of type 0x1 (id 0) in heap 0: unknown
chiaki.gui: [libplacebo] Spent 0,012 ms allocating slab
chiaki.gui: [libplacebo] vertex shader source:
chiaki.gui: [libplacebo] [  1] #version 450
chiaki.gui: [libplacebo] [  2] #extension GL_ARB_texture_gather : enable
chiaki.gui: [libplacebo] [  3] layout(std430, push_constant) uniform PushC {
chiaki.gui: [libplacebo] [  4]     layout(offset=0) mat3 _5;
chiaki.gui: [libplacebo] [  5]     layout(offset=48) mat3 _6;
chiaki.gui: [libplacebo] [  6] };
chiaki.gui: [libplacebo] [  7] layout(constant_id=0) const float _3 = 1; 
chiaki.gui: [libplacebo] [  8] layout(constant_id=1) const float _4 = 1; 
chiaki.gui: [libplacebo] [  9] layout(constant_id=2) const float _7 = 1; 
chiaki.gui: [libplacebo] [ 10] layout(constant_id=3) const float _8 = 1; 
chiaki.gui: [libplacebo] [ 11] layout(binding=0) uniform  sampler2D _2;
chiaki.gui: [libplacebo] [ 12] layout(location=0) in vec2 _d;
chiaki.gui: [libplacebo] [ 13] layout(location=1) in vec2 _e;
chiaki.gui: [libplacebo] [ 14] layout(location=1) out vec2 _b;
chiaki.gui: [libplacebo] [ 15] void main() {
chiaki.gui: [libplacebo] [ 16] vec2 va_pos = _d; 
chiaki.gui: [libplacebo] [ 17] gl_Position = vec4(va_pos, 0.0, 1.0); 
chiaki.gui: [libplacebo] [ 18] _b = _e;
chiaki.gui: [libplacebo] [ 19] }
chiaki.gui: [libplacebo] fragment shader source:
chiaki.gui: [libplacebo] [  1] #version 450
chiaki.gui: [libplacebo] [  2] #extension GL_ARB_texture_gather : enable
chiaki.gui: [libplacebo] [  3] layout(std430, push_constant) uniform PushC {
chiaki.gui: [libplacebo] [  4]     layout(offset=0) mat3 _5;
chiaki.gui: [libplacebo] [  5]     layout(offset=48) mat3 _6;
chiaki.gui: [libplacebo] [  6] };
chiaki.gui: [libplacebo] [  7] layout(constant_id=0) const float _3 = 1; 
chiaki.gui: [libplacebo] [  8] layout(constant_id=1) const float _4 = 1; 
chiaki.gui: [libplacebo] [  9] layout(constant_id=2) const float _7 = 1; 
chiaki.gui: [libplacebo] [ 10] layout(constant_id=3) const float _8 = 1; 
chiaki.gui: [libplacebo] [ 11] layout(binding=0) uniform  sampler2D _2;
chiaki.gui: [libplacebo] [ 12] layout(location=1) in vec2 _b;
chiaki.gui: [libplacebo] [ 13] layout(location=0) out vec4 out_color;
chiaki.gui: [libplacebo] [ 14] #define pos _a
chiaki.gui: [libplacebo] [ 15] #define coord _b
chiaki.gui: [libplacebo] [ 16] 
chiaki.gui: [libplacebo] [ 17] vec4 _1() {
chiaki.gui: [libplacebo] [ 18] // overlay 
chiaki.gui: [libplacebo] [ 19] vec4 color = textureLod(_2, coord, 0.0); 
chiaki.gui: [libplacebo] [ 20] // pl_shader_decode_color 
chiaki.gui: [libplacebo] [ 21] { 
chiaki.gui: [libplacebo] [ 22] }
chiaki.gui: [libplacebo] [ 23] // pl_shader_color_map 
chiaki.gui: [libplacebo] [ 24] {                      
chiaki.gui: [libplacebo] [ 25] // pl_shader_linearize           
chiaki.gui: [libplacebo] [ 26] color.rgb = max(color.rgb, 0.0); 
chiaki.gui: [libplacebo] [ 27] color.rgb = mix(color.rgb * vec3(1.0/12.92),               
chiaki.gui: [libplacebo] [ 28]                 pow((color.rgb + vec3(0.055))/vec3(1.055), 
chiaki.gui: [libplacebo] [ 29]                     vec3(2.4)),                            
chiaki.gui: [libplacebo] [ 30]                 lessThan(vec3(0.04045), color.rgb));       
chiaki.gui: [libplacebo] [ 31] color.rgb = _4 * color.rgb + vec3(_3); 
chiaki.gui: [libplacebo] [ 32] // pl_shader_delinearize 
chiaki.gui: [libplacebo] [ 33] color.rgb = max(color.rgb, 0.0); 
chiaki.gui: [libplacebo] [ 34] color.rgb = pow(_8 * color.rgb, vec3(1.0/2.4)) - vec3(_7); 
chiaki.gui: [libplacebo] [ 35] }
chiaki.gui: [libplacebo] [ 36] // pl_shader_encode_color 
chiaki.gui: [libplacebo] [ 37] { 
chiaki.gui: [libplacebo] [ 38] color.rgb *= vec3(color.a); 
chiaki.gui: [libplacebo] [ 39] }
chiaki.gui: [libplacebo] [ 40] vec4 _9 = color;                 
chiaki.gui: [libplacebo] [ 41] color = vec4(0.0, 0.0, 0.0, 1.0); 
chiaki.gui: [libplacebo] [ 42] color[0] = _9[0]; 
chiaki.gui: [libplacebo] [ 43] color[1] = _9[1]; 
chiaki.gui: [libplacebo] [ 44] color[2] = _9[2]; 
chiaki.gui: [libplacebo] [ 45] color[3] = _9[3]; 
chiaki.gui: [libplacebo] [ 46] color.a = _9.a; 
chiaki.gui: [libplacebo] [ 47] return color;
chiaki.gui: [libplacebo] [ 48] }
chiaki.gui: [libplacebo] [ 49] 
chiaki.gui: [libplacebo] [ 50] void main() {
chiaki.gui: [libplacebo] [ 51] out_color = _1();
chiaki.gui: [libplacebo] [ 52] }
chiaki.gui: [libplacebo] Specialization constant values:
chiaki.gui: [libplacebo]   constant_id=0: 0,001000
chiaki.gui: [libplacebo]   constant_id=1: 0,999000
chiaki.gui: [libplacebo]   constant_id=2: 0,059585
chiaki.gui: [libplacebo]   constant_id=3: 1,149015
chiaki.gui: [libplacebo] Re-using cached SPIR-V object 0x81045ea02363ccb6
chiaki.gui: [libplacebo] Re-using cached SPIR-V object 0x2635b3a80d6db59d
chiaki.gui: [libplacebo] Spent 0,019 ms compiling shader
chiaki.gui: [libplacebo] Spent 0,059 ms creating pipeline
chiaki.gui: [libplacebo] Pass statistics: size 0, SPIR-V: vert 0 frag 0 comp 0
chiaki.gui: [libplacebo] Allocating 261888 memory of type 0xf (id 1) in heap 0: ../src/gpu/utils.c:1160
chiaki.gui: [libplacebo] Spent 0,035 ms allocating slab
chiaki.gui: [libplacebo] Requested alpha compositing mode: VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR
chiaki.gui: [libplacebo] Requested surface transform: VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR
chiaki.gui: [libplacebo] Requested image count: 4 (min 4 max 0)
chiaki.gui: [libplacebo] Requested image size: 1366x698 (min 1x1 < cur -1x-1 < max 8192x8192)
chiaki.gui: [libplacebo] (Re)creating swapchain of size 1366x698
chiaki.gui: [libplacebo] (Re)creating 1366x698x0 texture with format rgba8: unknown
chiaki.gui: [libplacebo] Allocating 15548416 memory of type 0x1 (id 0) in heap 0: unknown
chiaki.gui: [libplacebo] Spent 0,010 ms allocating slab
chiaki.gui: [libplacebo] Garbage collected slab of size   13M from pool 0
chiaki.gui: [libplacebo] Freeing slab of size   13M
[I] Logging to file /home/adagium/.var/app/io.github.streetpea.Chiaki4deck/data/Chiaki/Chiaki/log/chiaki_session_2024-05-14_18-56-22-916916.log
[I] Chiaki Version 1.7.0
[V] Holepunch session state: 0 = [ ]
[I] ChiakiOpusEncoder initialized
Could not connect to Steam Deck...Steam Deck native gyro & haptics offline
[I] Steam Deck not found ... Steam Deck native features disabled

[D] [libplacebo] Requested alpha compositing mode: VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR
[D] [libplacebo] Requested surface transform: VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR
[D] [libplacebo] Requested image count: 4 (min 4 max 0)
[D] [libplacebo] Requested image size: 1920x1080 (min 1x1 < cur -1x-1 < max 8192x8192)
[D] [libplacebo] (Re)creating swapchain of size 1920x1080
[D] [libplacebo] (Re)creating 1920x1080x0 texture with format rgba8: unknown
[D] [libplacebo] Allocating 33505280 memory of type 0x1 (id 0) in heap 0: unknown
[D] [libplacebo] Spent 0,019 ms allocating slab
[D] [libplacebo] Requested alpha compositing mode: VK_COMPOSITE_ALPHA_PRE_MULTIPLIED_BIT_KHR
[D] [libplacebo] Requested surface transform: VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR
[D] [libplacebo] Requested image count: 4 (min 4 max 0)
[D] [libplacebo] Requested image size: 1366x698 (min 1x1 < cur -1x-1 < max 8192x8192)
[D] [libplacebo] (Re)creating swapchain of size 1366x698
[D] [libplacebo] (Re)creating 1366x698x0 texture with format rgba8: unknown
[D] [libplacebo] Garbage collected slab of size   31M from pool 0
[D] [libplacebo] Freeing slab of size   31M
[V] chiaki_holepunch_session_create: Created websocket thread
[V] chiaki_holepunch_session_create: Waiting for websocket to open...
[V] websocket_thread_func: Connected to push notification WebSocket wss://[REDACTED].playstation.net/np/pushNotification
[V] Holepunch session state: 1 = [ ✅WS_OPEN ]
[V] http_create_session: Sending JSON:
{"remotePlaySessions":[{"members":[{"accountId":"me","deviceUniqueId":"me","platform":"me","pushContexts":[{"pushContextId":"[REDACTED]"}]}]}]}
[V] websocket_thread_func: PING.
[V] websocket_thread_func: Received WebSocket frame of length 0 with flags 64
[V] websocket_thread_func: Received PONG.
[V] websocket_thread_func: Received WebSocket frame of length 742 with flags 1
[V] websocket_thread_func: Received WebSocket frame with 742 bytes of payload.
[V] {
  "version":"2.1",
  "method":3001,
  "dataType":"psn:sessionManager:sys:rps:members:created",
  "to":{
    "accountId":[REDACTED],
    "onlineId":"[REDACTED]",
    "platform":[
      "REMOTE_PLAY"
    ],
    "isSystemOnly":false,
    "toSystem":false
  },
  "body":{
    "data":{
      "customProperties":{
        "from":{
          "accountId":"[REDACTED]",
          "deviceUniqueId":"[REDACTED]",
          "onlineId":"[REDACTED]",
          "platform":"REMOTE_PLAY"
        }
      },
      "members":[
        {
          "accountId":"[REDACTED]",
          "deviceUniqueId":"[REDACTED]",
          "joinTimestamp":1715723785031,
          "onlineId":"[REDACTED]",
          "platform":"REMOTE_PLAY"
        }
      ],
      "sessionId":"[REDACTED]"
    }
  },
  "contexts":[
    {
      "contextId":"[REDACTED]",
      "sequenceNumber":2
    }
  ]
}
[V] Received notification of type 2
[V] websocket_thread_func: Received WebSocket frame of length 554 with flags 1
[V] websocket_thread_func: Received WebSocket frame with 554 bytes of payload.
[V] {
  "version":"2.1",
  "method":3001,
  "dataType":"psn:sessionManager:sys:remotePlaySession:created",
  "to":{
    "accountId":[REDACTED],
    "onlineId":"[REDACTED]",
    "platform":[
      "REMOTE_PLAY"
    ],
    "isSystemOnly":false,
    "toSystem":false
  },
  "body":{
    "data":{
      "customProperties":{
        "from":{
          "accountId":"[REDACTED]",
          "deviceUniqueId":"[REDACTED]",
          "onlineId":"[REDACTED]",
          "platform":"REMOTE_PLAY"
        }
      },
      "sessionId":"[REDACTED]"
    }
  },
  "contexts":[
    {
      "contextId":"[REDACTED]",
      "sequenceNumber":1
    }
  ]
}
[V] Received notification of type 1
[V] http_create_session: Received JSON:
{"remotePlaySessions":[{"sessionId":"[REDACTED]","members":[{"accountId":"[REDACTED]","platform":"REMOTE_PLAY","deviceUniqueId":"[REDACTED]"}]}]}
[V] chiaki_holepunch_session_create: Sent holepunch session creation request
[V] wait_for_notification: Found notification of type 2
[V] chiaki_holepunch_session_create: Client joined.
[V] Holepunch session state: 9 = [ ✅WS_OPEN ✅CLIENT_JOINED ]
[V] wait_for_notification: Found notification of type 1
[V] chiaki_holepunch_session_create: Holepunch session created.
[V] Holepunch session state: 11 = [ ✅WS_OPEN ✅CREATED ✅CLIENT_JOINED ]
[I] >> Created session
[I] Duid: [REDACTED]
[V] chiaki_holepunch_session_start: Starting holepunch session [REDACTED] for device [REDACTED]
[V] http_start_session: Sending JSON:
{"commandDetail":{"commandType":"remotePlay","duid":"[REDACTED]","messageDestination":"SQS","parameters":{"initialParams":"{\"accountId\":[REDACTED],\"roomId\":0,\"sessionId\":\"[REDACTED]\",\"clientType\":\"Windows\",\"data1\":\"[REDACTED]",\"data2\":\"[REDACTED]\"}"},"platform":"PS5"}}
[V] http_start_session: Received JSON:
{"commandId":"[REDACTED]"}
[V] Holepunch session state: 27 = [ ✅WS_OPEN ✅CREATED ✅CLIENT_JOINED ✅DATA_SENT ]
[V] websocket_thread_func: Received WebSocket frame of length 768 with flags 1
[V] websocket_thread_func: Received WebSocket frame with 768 bytes of payload.
[V] {
  "version":"2.1",
  "method":3001,
  "dataType":"psn:sessionManager:sys:rps:members:created",
  "to":{
    "accountId":[REDACTED],
    "onlineId":"[REDACTED]",
    "platform":[
      "REMOTE_PLAY"
    ],
    "isSystemOnly":false,
    "toSystem":false
  },
  "body":{
    "data":{
      "customProperties":{
        "from":{
          "accountId":"[REDACTED]",
          "deviceUniqueId":"[REDACTED]",
          "onlineId":"[REDACTED]",
          "platform":"PROSPERO"
        }
      },
      "members":[
        {
          "accountId":"[REDACTED]",
          "deviceUniqueId":"[REDACTED]",
          "joinTimestamp":[REDACTED],
          "onlineId":"[REDACTED]",
          "platform":"PROSPERO"
        }
      ],
      "sessionId":"[REDACTED]"
    }
  },
  "contexts":[
    {
      "contextId":"[REDACTED]",
      "sequenceNumber":3
    }
  ]
}
[V] Received notification of type 2
[V] wait_for_notification: Found notification of type 2
[V] Holepunch session state: 59 = [ ✅WS_OPEN ✅CREATED ✅CLIENT_JOINED ✅DATA_SENT ✅CONSOLE_JOINED ]
[V] websocket_thread_func: Received WebSocket frame of length 529 with flags 1
[V] websocket_thread_func: Received WebSocket frame with 529 bytes of payload.
[V] {
  "version":"2.1",
  "method":3001,
  "dataType":"psn:sessionManager:sys:rps:customData1:updated",
  "to":{
    "accountId":[REDACTED],
    "onlineId":"[REDACTED]",
    "platform":[
      "REMOTE_PLAY"
    ],
    "isSystemOnly":false,
    "toSystem":false
  },
  "body":{
    "data":{
      "customData1":"UGVZazcwcW5WZy9FNldLaHlTS1JXdz09",
      "customProperties":{
        "from":{
          "accountId":"[REDACTED]",
          "deviceUniqueId":"[REDACTED]",
          "onlineId":"[REDACTED]",
          "platform":"PROSPERO"
        }
      },
      "sessionId":"[REDACTED]"
    }
  }
}
[V] Received notification of type 8
[V] wait_for_notification: Found notification of type 8
[V] Holepunch session state: 123 = [ ✅WS_OPEN ✅CREATED ✅CLIENT_JOINED ✅DATA_SENT ✅CONSOLE_JOINED ✅CUSTOMDATA1_RECEIVED ]
[I] >> Started session
[V] websocket_thread_func: Received WebSocket frame of length 1225 with flags 1
[V] websocket_thread_func: Received WebSocket frame with 1225 bytes of payload.
[V] {
  "version":"2.1",
  "method":3001,
  "dataType":"psn:sessionManager:sys:rps:sessionMessage:created",
  "to":{
    "accountId":[REDACTED],
    "onlineId":"[REDACTED]",
    "platform":[
      "REMOTE_PLAY"
    ],
    "isSystemOnly":false,
    "toSystem":false
  },
  "body":{
    "data":{
      "customProperties":{
        "from":{
          "accountId":"[REDACTED]",
          "deviceUniqueId":"[REDACTED]",
          "onlineId":"[REDACTED]",
          "platform":"PROSPERO"
        }
      },
      "sessionId":"[REDACTED]",
      "sessionMessage":{
        "channel":"remote_play:1",
        "payload":"ver=1.0, type=text, body={\"action\":\"OFFER\",\"reqId\":9,\"error\":0,\"connRequest\":{\"sid\":36977,\"peerSid\":0,\"skey\":\"[REDACTED]\",\"natType\":2,\"candidate\":[{\"type\":\"STATIC\",\"addr\":\"[REDACTED]\",\"mappedAddr\":\"0.0.0.0\",\"port\":9303,\"mappedPort\":0},{\"type\":\"STATIC\",\"addr\":\"192.168.0.30\",\"mappedAddr\":\"0.0.0.0\",\"port\":9303,\"mappedPort\":0},{\"type\":\"LOCAL\",\"addr\":\"192.168.1.10\",\"mappedAddr\":\"0.0.0.0\",\"port\":9303,\"mappedPort\":0}],\"defaultRouteMacAddr\":\"[REDACTED]\",\"localPeerAddr\":{\"accountId\":\"[REDACTED]\",\"platform\":\"PROSPERO\"},\"localHashedId\":\"[REDACTED]"}}"
      }
    }
  }
}
[V] Received notification of type 16
[V] wait_for_notification: Found notification of type 16
[V] Message to send: {"channel":"remote_play:1","payload":"ver=1.0, type=text, body={\"action\":\"RESULT\",\"reqId\":9,\"error\":0,\"connRequest\":{}}","to":[{"accountId":"[REDACTED]","deviceUniqueId":"[REDACTED]","platform":"PS5"}]}
[I] Failed to discover internet gateway via UPnP: err=0
[V] -----------------CONNECTION REQUEST---------------------
[V] sid: 36900
[V] peer_sid: 36977
[V] skey: [REDACTED]
[V] nat type 2
[V] local hashed id [REDACTED]
[V] Message to send: {"channel":"remote_play:1","payload":"ver=1.0, type=text, body={\"action\":\"OFFER\",\"reqId\":1,\"error\":0,\"connRequest\":{\"sid\":36900,\"peerSid\":36977,\"skey\":\"[REDACTED]",\"natType\":2,\"candidate\":[{\"type\":\"STATIC\",\"addr\":\"[REDACTED]\",\"mappedAddr\":\"0.0.0.0\",\"port\":54599,\"mappedPort\":0},{\"type\":\"LOCAL\",\"addr\":\"10.0.0.136\",\"mappedAddr\":\"0.0.0.0\",\"port\":54599,\"mappedPort\":0}],\"defaultRouteMacAddr\":\"\",\"localPeerAddr\":{\"accountId\":\"[REDACTED]\",\"platform\":\"REMOTE_PLAY\"},\"localHashedId\":\"[REDACTED]"}}","to":[{"accountId":"[REDACTED]","deviceUniqueId":"[REDACTED]","platform":"PS5"}]}
[V] wait_for_notification: Found notification of type 16
[V] Ignoring holepunch session message with action 1
[V] websocket_thread_func: PING.
[V] websocket_thread_func: Received WebSocket frame of length 1225 with flags 1
[V] websocket_thread_func: Received WebSocket frame with 1225 bytes of payload.
[V] {
  "version":"2.1",
  "method":3001,
  "dataType":"psn:sessionManager:sys:rps:sessionMessage:created",
  "to":{
    "accountId":[REDACTED],
    "onlineId":"[REDACTED]",
    "platform":[
      "REMOTE_PLAY"
    ],
    "isSystemOnly":false,
    "toSystem":false
  },
  "body":{
    "data":{
      "customProperties":{
        "from":{
          "accountId":"[REDACTED]",
          "deviceUniqueId":"[REDACTED]",
          "onlineId":"[REDACTED]",
          "platform":"PROSPERO"
        }
      },
      "sessionId":"[REDACTED]",
      "sessionMessage":{
        "channel":"remote_play:1",
        "payload":"ver=1.0, type=text, body={\"action\":\"OFFER\",\"reqId\":9,\"error\":0,\"connRequest\":{\"sid\":36977,\"peerSid\":0,\"skey\":\"[REDACTED]\",\"natType\":2,\"candidate\":[{\"type\":\"STATIC\",\"addr\":\"[REDACTED]\",\"mappedAddr\":\"0.0.0.0\",\"port\":9303,\"mappedPort\":0},{\"type\":\"STATIC\",\"addr\":\"192.168.0.30\",\"mappedAddr\":\"0.0.0.0\",\"port\":9303,\"mappedPort\":0},{\"type\":\"LOCAL\",\"addr\":\"192.168.1.10\",\"mappedAddr\":\"0.0.0.0\",\"port\":9303,\"mappedPort\":0}],\"defaultRouteMacAddr\":\"[REDACTED]\",\"localPeerAddr\":{\"accountId\":\"[REDACTED]\",\"platform\":\"PROSPERO\"},\"localHashedId\":\"[REDACTED]"}}"
      }
    }
  }
}
[V] Received notification of type 16
[V] Message to send: {"channel":"remote_play:1","payload":"ver=1.0, type=text, body={\"action\":\"RESULT\",\"reqId\":9,\"error\":0,\"connRequest\":{}}","to":[{"accountId":"[REDACTED]","deviceUniqueId":"[REDACTED]","platform":"PS5"}]}
[V] wait_for_notification: Found notification of type 16
[V] Ignoring holepunch session message with action 1
[V] websocket_thread_func: Received WebSocket frame of length 0 with flags 64
[V] websocket_thread_func: Received PONG.
[V] websocket_thread_func: Received WebSocket frame of length 632 with flags 1
[V] websocket_thread_func: Received WebSocket frame with 632 bytes of payload.
[V] {
  "version":"2.1",
  "method":3001,
  "dataType":"psn:sessionManager:sys:rps:sessionMessage:created",
  "to":{
    "accountId":[REDACTED],
    "onlineId":"[REDACTED]",
    "platform":[
      "REMOTE_PLAY"
    ],
    "isSystemOnly":false,
    "toSystem":false
  },
  "body":{
    "data":{
      "customProperties":{
        "from":{
          "accountId":"[REDACTED]",
          "deviceUniqueId":"[REDACTED]",
          "onlineId":"[REDACTED]",
          "platform":"PROSPERO"
        }
      },
      "sessionId":"[REDACTED]",
      "sessionMessage":{
        "channel":"remote_play:1",
        "payload":"ver=1.0, type=text, body={\"action\":\"RESULT\",\"reqId\":1,\"error\":0,\"connRequest\":{}}"
      }
    }
  }
}
[V] Received notification of type 16
[V] wait_for_notification: Found notification of type 16
[V] --------------REMOTE CANDIDATE--------------------
[V] Address: [REDACTED]
[V] Mapped Address: 0.0.0.0
[V] Port: 9303
[V] Mapped Port: 0
[V] --------------REMOTE CANDIDATE--------------------
[V] Address: 192.168.0.30
[V] Mapped Address: 0.0.0.0
[V] Port: 9303
[V] Mapped Port: 0
[V] --------------LOCAL CANDIDATE---------------------
[V] Address: 192.168.1.10
[V] Mapped Address: 0.0.0.0
[V] Port: 9303
[V] Mapped Port: 0
[V] check_candidate: Receiving data from [REDACTED]:9303
[V] check_candidate: Receiving data from [REDACTED]:9303
[V] check_candidate: Receiving data from [REDACTED]:9303
[V] Selected Candidate
[V] --------------REMOTE CANDIDATE--------------------
[V] Address: [REDACTED]
[V] Mapped Address: 0.0.0.0
[V] Port: 9303
[V] Mapped Port: 0
[I] Sent response to [REDACTED]:9303
[I] Sent response to [REDACTED]:9303
[I] Sent response to [REDACTED]:9303
[V] websocket_thread_func: Received WebSocket frame of length 921 with flags 1
[V] websocket_thread_func: Received WebSocket frame with 921 bytes of payload.
[V] {
  "version":"2.1",
  "method":3001,
  "dataType":"psn:sessionManager:sys:rps:sessionMessage:created",
  "to":{
    "accountId":[REDACTED],
    "onlineId":"[REDACTED]",
    "platform":[
      "REMOTE_PLAY"
    ],
    "isSystemOnly":false,
    "toSystem":false
  },
  "body":{
    "data":{
      "customProperties":{
        "from":{
          "accountId":"[REDACTED]",
          "deviceUniqueId":"[REDACTED]",
          "onlineId":"[REDACTED]",
          "platform":"PROSPERO"
        }
      },
      "sessionId":"[REDACTED]",
      "sessionMessage":{
        "channel":"remote_play:1",
        "payload":"ver=1.0, type=text, body={\"action\":\"ACCEPT\",\"reqId\":10,\"error\":0,\"connRequest\":{\"sid\":36977,\"peerSid\":36900,\"skey\":\"[REDACTED]\",\"natType\":0,\"candidate\":[{\"type\":\"DERIVED\",\"addr\":\"[REDACTED]\",\"mappedAddr\":\"[REDACTED]\",\"port\":18844,\"mappedPort\":9303}],\"defaultRouteMacAddr\":\"\",\"localPeerAddr\":,\"localHashedId\":\"\"}}"
      }
    }
  }
}
[V] Received notification of type 16
[V] Message to send: {"channel":"remote_play:1","payload":"ver=1.0, type=text, body={\"action\":\"ACCEPT\",\"reqId\":2,\"error\":0,\"connRequest\":{\"sid\":36900,\"peerSid\":36977,\"skey\":\"[REDACTED]",\"natType\":0,\"candidate\":[{\"type\":\"STATIC\",\"addr\":\"[REDACTED]\",\"mappedAddr\":\"[REDACTED]\",\"port\":9303,\"mappedPort\":54599}],\"defaultRouteMacAddr\":\"\",\"localPeerAddr\":{\"accountId\":\"[REDACTED]\",\"platform\":\"REMOTE_PLAY\"},\"localHashedId\":\"\"}}","to":[{"accountId":"[REDACTED]","deviceUniqueId":"[REDACTED]","platform":"PS5"}]}
[V] wait_for_notification: Found notification of type 16
[V] Ignoring holepunch session message with action 4
[V] wait_for_notification: Found notification of type 16
[V] Message to send: {"channel":"remote_play:1","payload":"ver=1.0, type=text, body={\"action\":\"RESULT\",\"reqId\":10,\"error\":0,\"connRequest\":{}}","to":[{"accountId":"[REDACTED]","deviceUniqueId":"[REDACTED]","platform":"PS5"}]}
[V] websocket_thread_func: Received WebSocket frame of length 632 with flags 1
[V] websocket_thread_func: Received WebSocket frame with 632 bytes of payload.
[V] {
  "version":"2.1",
  "method":3001,
  "dataType":"psn:sessionManager:sys:rps:sessionMessage:created",
  "to":{
    "accountId":[REDACTED],
    "onlineId":"[REDACTED]",
    "platform":[
      "REMOTE_PLAY"
    ],
    "isSystemOnly":false,
    "toSystem":false
  },
  "body":{
    "data":{
      "customProperties":{
        "from":{
          "accountId":"[REDACTED]",
          "deviceUniqueId":"[REDACTED]",
          "onlineId":"[REDACTED]",
          "platform":"PROSPERO"
        }
      },
      "sessionId":"[REDACTED]",
      "sessionMessage":{
        "channel":"remote_play:1",
        "payload":"ver=1.0, type=text, body={\"action\":\"RESULT\",\"reqId\":2,\"error\":0,\"connRequest\":{}}"
      }
    }
  }
}
[V] Received notification of type 16
[V] chiaki_holepunch_session_punch_holes: Control connection established.
[V] Holepunch session state: 2299 = [ ✅WS_OPEN ✅CREATED ✅CLIENT_JOINED ✅DATA_SENT ✅CONSOLE_JOINED ✅CUSTOMDATA1_RECEIVED ✅CTRL_OFFER_RECEIVED ✅CTRL_ESTABLISHED ]
[I] >> Punched hole for control connection!
[V] Regist formatted request header:
[V] offset 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f  0123456789abcdef
                                    0..             
                   [REDACTED]
                   [REDACTED]
                   [REDACTED]
[I] RP-Support Cmd: 0
[I] Regist successfully received response
[I] PS5-857 successfully registered for Remote Play
[I] Starting session request for PS5
[I] SESSION START THREAD - Starting RUDP session
[V] Sending Message:
[V] offset 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f  0123456789abcdef
                   [REDACTED]
                   [REDACTED]
                   [REDACTED]

[V]    100 6d 64 3a 20 30 39 32 30 30 30 0d 0a 0d 0a       md:.092000....  
[I] Ctrl received ctrl request http response
[I] Ctrl got Server Type: 2
[I] Ctrl connected
[V] Receiving message:
[V] offset 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f  0123456789abcdef
[V]      0 c0 13 24 4f 24 4f 02 30 0c 35 00 00 00 01 00 05 ..$O$O.0.5......
                   [REDACTED]

[V] Acked seq num 0 from Rudp Send Buffer
[V] Sending Message:
[V] offset 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f  0123456789abcdef
[V]      0 c0 0e 24 4f 24 4f 24 30 12 1c 0c 36 00 92       ..$O$O$0...6..  
[V] Acked seq num 0x121c from Rudp Send Buffer
[V] Ctrl received message of type 0x5, size 0x1
[V] offset 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f  0123456789abcdef
[V]      0 00                                              .               
[I] Ctrl received Login message: success
[V] websocket_thread_func: PING.
[V] websocket_thread_func: Received WebSocket frame of length 1332 with flags 1
[V] websocket_thread_func: Received WebSocket frame with 1332 bytes of payload.
[V] {
  "version":"2.1",
  "method":3001,
  "dataType":"psn:sessionManager:sys:rps:sessionMessage:created",
  "to":{
    "accountId":[REDACTED],
    "onlineId":"[REDACTED]",
    "platform":[
      "REMOTE_PLAY"
    ],
    "isSystemOnly":false,
    "toSystem":false
  },
  "body":{
    "data":{
      "customProperties":{
        "from":{
          "accountId":"[REDACTED]",
          "deviceUniqueId":"[REDACTED]",
          "onlineId":"[REDACTED]",
          "platform":"PROSPERO"
        }
      },
      "sessionId":"[REDACTED]",
      "sessionMessage":{
        "channel":"remote_play:1",
        "payload":"ver=1.0, type=text, body={\"action\":\"OFFER\",\"reqId\":11,\"error\":0,\"connRequest\":{\"sid\":36978,\"peerSid\":0,\"skey\":\"[REDACTED]\",\"natType\":2,\"candidate\":[{\"type\":\"STUN\",\"addr\":\"[REDACTED]\",\"mappedAddr\":\"0.0.0.0\",\"port\":44184,\"mappedPort\":0},{\"type\":\"STATIC\",\"addr\":\"[REDACTED]\",\"mappedAddr\":\"0.0.0.0\",\"port\":9297,\"mappedPort\":0},{\"type\":\"STATIC\",\"addr\":\"192.168.0.30\",\"mappedAddr\":\"0.0.0.0\",\"port\":9297,\"mappedPort\":0},{\"type\":\"LOCAL\",\"addr\":\"192.168.1.10\",\"mappedAddr\":\"0.0.0.0\",\"port\":9297,\"mappedPort\":0}],\"defaultRouteMacAddr\":\"[REDACTED]\",\"localPeerAddr\":{\"accountId\":\"[REDACTED]\",\"platform\":\"PROSPERO\"},\"localHashedId\":\"[REDACTED]"}}"
      }
    }
  }
}
[V] Received notification of type 16
[V] websocket_thread_func: Received WebSocket frame of length 0 with flags 64
[V] websocket_thread_func: Received PONG.
[I] Punching hole for data connection
[V] wait_for_notification: Found notification of type 16
[V] Ignoring holepunch session message with action 8
[V] wait_for_notification: Found notification of type 16
[V] Ignoring holepunch session message with action 4
[V] wait_for_notification: Found notification of type 16
[V] Message to send: {"channel":"remote_play:1","payload":"ver=1.0, type=text, body={\"action\":\"RESULT\",\"reqId\":11,\"error\":0,\"connRequest\":{}}","to":[{"accountId":"[REDACTED]","deviceUniqueId":"[REDACTED]","platform":"PS5"}]}
[V] Receiving message:
[V] offset 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f  0123456789abcdef
[V]      0 c0 12 24 4f 24 4f 02 30 0c 36 00 00 00 00 00 fe ..$O$O.0.6......
[V]     10 00 00                                           ..              
[V] Acked seq num 0 from Rudp Send Buffer
[V] Sending Message:
[V] offset 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f  0123456789abcdef
[V]      0 c0 0e 24 4f 24 4f 24 30 12 1c 0c 37 00 92       ..$O$O$0...7..  
[V] Ctrl received message of type 0xfe, size 0
[I] Ctrl received Heartbeat, sending reply
[V] Ctrl sending message type 1fe, size 0

[V] Sending Message:
[V] offset 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f  0123456789abcdef
[V]      0 c0 12 24 4f 24 4f 02 30 12 1c 00 00 00 00 01 fe ..$O$O.0........
[V]     10 00 00                                           ..              
[V] Pushed seq num 0x121d into Rudp Send Buffer
[V] Receiving message:
[V] offset 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f  0123456789abcdef
[V]      0 c0 0e 24 4f 24 4f 24 30 0c 37 12 1d 00 a8       ..$O$O$0.7....  
[V] Acked seq num 0x121d from Rudp Send Buffer
[V] websocket_thread_func: PING.
[V] websocket_thread_func: Received WebSocket frame of length 0 with flags 64
[V] websocket_thread_func: Received PONG.
[I] Failed to discover internet gateway via UPnP: err=0
[V] -----------------CONNECTION REQUEST---------------------
[V] sid: 36900
[V] peer_sid: 36978
[V] skey: [REDACTED]
[V] nat type 2
[V] local hashed id [REDACTED]
[V] Message to send: {"channel":"remote_play:1","payload":"ver=1.0, type=text, body={\"action\":\"OFFER\",\"reqId\":3,\"error\":0,\"connRequest\":{\"sid\":36900,\"peerSid\":36978,\"skey\":\"[REDACTED]",\"natType\":2,\"candidate\":[{\"type\":\"STATIC\",\"addr\":\"[REDACTED]\",\"mappedAddr\":\"0.0.0.0\",\"port\":37670,\"mappedPort\":0},{\"type\":\"LOCAL\",\"addr\":\"10.0.0.136\",\"mappedAddr\":\"0.0.0.0\",\"port\":37670,\"mappedPort\":0}],\"defaultRouteMacAddr\":\"\",\"localPeerAddr\":{\"accountId\":\"[REDACTED]\",\"platform\":\"REMOTE_PLAY\"},\"localHashedId\":\"[REDACTED]"}}","to":[{"accountId":"[REDACTED]","deviceUniqueId":"[REDACTED]","platform":"PS5"}]}
[V] wait_for_notification: Found notification of type 16
[V] Ignoring holepunch session message with action 1
[V] websocket_thread_func: Received WebSocket frame of length 1332 with flags 1
[V] websocket_thread_func: Received WebSocket frame with 1332 bytes of payload.
[V] {
  "version":"2.1",
  "method":3001,
  "dataType":"psn:sessionManager:sys:rps:sessionMessage:created",
  "to":{
    "accountId":[REDACTED],
    "onlineId":"[REDACTED]",
    "platform":[
      "REMOTE_PLAY"
    ],
    "isSystemOnly":false,
    "toSystem":false
  },
  "body":{
    "data":{
      "customProperties":{
        "from":{
          "accountId":"[REDACTED]",
          "deviceUniqueId":"[REDACTED]",
          "onlineId":"[REDACTED]",
          "platform":"PROSPERO"
        }
      },
      "sessionId":"[REDACTED]",
      "sessionMessage":{
        "channel":"remote_play:1",
        "payload":"ver=1.0, type=text, body={\"action\":\"OFFER\",\"reqId\":11,\"error\":0,\"connRequest\":{\"sid\":36978,\"peerSid\":0,\"skey\":\"[REDACTED]\",\"natType\":2,\"candidate\":[{\"type\":\"STUN\",\"addr\":\"[REDACTED]\",\"mappedAddr\":\"0.0.0.0\",\"port\":44184,\"mappedPort\":0},{\"type\":\"STATIC\",\"addr\":\"[REDACTED]\",\"mappedAddr\":\"0.0.0.0\",\"port\":9297,\"mappedPort\":0},{\"type\":\"STATIC\",\"addr\":\"192.168.0.30\",\"mappedAddr\":\"0.0.0.0\",\"port\":9297,\"mappedPort\":0},{\"type\":\"LOCAL\",\"addr\":\"192.168.1.10\",\"mappedAddr\":\"0.0.0.0\",\"port\":9297,\"mappedPort\":0}],\"defaultRouteMacAddr\":\"[REDACTED]\",\"localPeerAddr\":{\"accountId\":\"[REDACTED]\",\"platform\":\"PROSPERO\"},\"localHashedId\":\"[REDACTED]"}}"
      }
    }
  }
}
[V] Received notification of type 16
[V] Message to send: {"channel":"remote_play:1","payload":"ver=1.0, type=text, body={\"action\":\"RESULT\",\"reqId\":11,\"error\":0,\"connRequest\":{}}","to":[{"accountId":"[REDACTED]","deviceUniqueId":"[REDACTED]","platform":"PS5"}]}
[V] wait_for_notification: Found notification of type 16
[V] websocket_thread_func: Received WebSocket frame of length 632 with flags 1
[V] websocket_thread_func: Received WebSocket frame with 632 bytes of payload.
[V] Ignoring holepunch session message with action 1
[V] {
  "version":"2.1",
  "method":3001,
  "dataType":"psn:sessionManager:sys:rps:sessionMessage:created",
  "to":{
    "accountId":[REDACTED],
    "onlineId":"[REDACTED]",
    "platform":[
      "REMOTE_PLAY"
    ],
    "isSystemOnly":false,
    "toSystem":false
  },
  "body":{
    "data":{
      "customProperties":{
        "from":{
          "accountId":"[REDACTED]",
          "deviceUniqueId":"[REDACTED]",
          "onlineId":"[REDACTED]",
          "platform":"PROSPERO"
        }
      },
      "sessionId":"[REDACTED]",
      "sessionMessage":{
        "channel":"remote_play:1",
        "payload":"ver=1.0, type=text, body={\"action\":\"RESULT\",\"reqId\":3,\"error\":0,\"connRequest\":{}}"
      }
    }
  }
}
[V] Received notification of type 16
[V] wait_for_notification: Found notification of type 16
[V] --------------REMOTE CANDIDATE--------------------
[V] Address: [REDACTED]
[V] Mapped Address: 0.0.0.0
[V] Port: 44184
[V] Mapped Port: 0
[V] --------------REMOTE CANDIDATE--------------------
[V] Address: [REDACTED]
[V] Mapped Address: 0.0.0.0
[V] Port: 9297
[V] Mapped Port: 0
[V] --------------REMOTE CANDIDATE--------------------
[V] Address: 192.168.0.30
[V] Mapped Address: 0.0.0.0
[V] Port: 9297
[V] Mapped Port: 0
[V] --------------LOCAL CANDIDATE---------------------
[V] Address: 192.168.1.10
[V] Mapped Address: 0.0.0.0
[V] Port: 9297
[V] Mapped Port: 0
[V] Receiving message:
[V] offset 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f  0123456789abcdef
[V]      0 c0 12 24 4f 24 4f 02 30 0c 37 00 00 00 00 00 fe ..$O$O.0.7......
[V]     10 00 00                                           ..              
[V] Acked seq num 0 from Rudp Send Buffer
[V] Sending Message:
[V] offset 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f  0123456789abcdef
[V]      0 c0 0e 24 4f 24 4f 24 30 12 1d 0c 38 00 92       ..$O$O$0...8..  
[V] Ctrl received message of type 0xfe, size 0
[I] Ctrl received Heartbeat, sending reply
[V] Ctrl sending message type 1fe, size 0

[V] Sending Message:
[V] offset 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f  0123456789abcdef
[V]      0 c0 12 24 4f 24 4f 02 30 12 1d 00 00 00 00 01 fe ..$O$O.0........
[V]     10 00 00                                           ..              
[V] Pushed seq num 0x121e into Rudp Send Buffer
[V] Receiving message:
[V] offset 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f  0123456789abcdef
[V]      0 c0 0e 24 4f 24 4f 24 30 0c 38 12 1e 00 eb       ..$O$O$0.8....  
[V] Acked seq num 0x121e from Rudp Send Buffer
[V] websocket_thread_func: PING.
[V] websocket_thread_func: Received WebSocket frame of length 0 with flags 64
[V] websocket_thread_func: Received PONG.
[V] Receiving message:
[V] offset 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f  0123456789abcdef
[V]      0 c0 12 24 4f 24 4f 02 30 0c 38 00 00 00 00 00 fe ..$O$O.0.8......
[V]     10 00 00                                           ..              
[V] Acked seq num 0 from Rudp Send Buffer
[V] Sending Message:
[V] offset 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f  0123456789abcdef
[V]      0 c0 0e 24 4f 24 4f 24 30 12 1e 0c 39 00 92       ..$O$O$0...9..  
[V] Ctrl received message of type 0xfe, size 0
[I] Ctrl received Heartbeat, sending reply
[V] Ctrl sending message type 1fe, size 0

[V] Sending Message:
[V] offset 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f  0123456789abcdef
[V]      0 c0 12 24 4f 24 4f 02 30 12 1e 00 00 00 00 01 fe ..$O$O.0........
[V]     10 00 00                                           ..              
[V] Pushed seq num 0x121f into Rudp Send Buffer
[V] Receiving message:
[V] offset 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f  0123456789abcdef
[V]      0 c0 0e 24 4f 24 4f 24 30 0c 39 12 1f 00 a7       ..$O$O$0.9....  
[V] Acked seq num 0x121f from Rudp Send Buffer
[V] Receiving message:
[V] offset 0  1  2  3  4  5  6  7  8  9  a  b  c  d  e  f  0123456789abcdef
[V]      0 c0 10 24 4f 24 4f c0 00 00 00 00 00 a2 47 f7 19 ..$O$O.......G..
[I] Received rudp finish message, stopping ctrl.
[V] websocket_thread_func: Received WebSocket frame of length 807 with flags 1
[V] websocket_thread_func: Received WebSocket frame with 807 bytes of payload.
[V] {
  "version":"2.1",
  "method":3001,
  "dataType":"psn:sessionManager:sys:rps:sessionMessage:created",
  "to":{
    "accountId":[REDACTED],
    "onlineId":"[REDACTED]",
    "platform":[
      "REMOTE_PLAY"
    ],
    "isSystemOnly":false,
    "toSystem":false
  },
  "body":{
    "data":{
      "customProperties":{
        "from":{
          "accountId":"[REDACTED]",
          "deviceUniqueId":"[REDACTED]",
          "onlineId":"[REDACTED]",
          "platform":"PROSPERO"
        }
      },
      "sessionId":"[REDACTED]",
      "sessionMessage":{
        "channel":"remote_play:1",
        "payload":"ver=1.0, type=text, body={\"action\":\"TERMINATE\",\"reqId\":12,\"error\":0,\"connRequest\":{\"sid\":36978,\"peerSid\":36900,\"skey\":\"[REDACTED]\",\"natType\":0,\"candidate\":[],\"defaultRouteMacAddr\":\"\",\"localPeerAddr\":,\"localHashedId\":\"\"}}"
      }
    }
  }
}
[V] Received notification of type 16
[E] check_candidate: Select timed out
[E] chiaki_holepunch_session_punch_holes: Failed to find reachable candidate for data connection.
[E] !! Failed to punch hole for data connection.
[I] Ctrl requested to stop
[I] Ctrl stopped
[I] Session has quit
[V] websocket_thread_func: PING.
[V] websocket_thread_func: Received WebSocket frame of length 712 with flags 1
[V] websocket_thread_func: Received WebSocket frame with 712 bytes of payload.
[V] {
  "version":"2.1",
  "method":3001,
  "dataType":"psn:sessionManager:sys:rps:members:deleted",
  "to":{
    "accountId":[REDACTED],
    "onlineId":"[REDACTED]",
    "platform":[
      "REMOTE_PLAY"
    ],
    "isSystemOnly":false,
    "toSystem":false
  },
  "body":{
    "data":{
      "customProperties":{
        "from":{
          "accountId":"[REDACTED]",
          "deviceUniqueId":"[REDACTED]",
          "onlineId":"[REDACTED]",
          "platform":"REMOTE_PLAY"
        }
      },
      "members":[
        {
          "accountId":"[REDACTED]",
          "deviceUniqueId":"[REDACTED]",
          "onlineId":"[REDACTED]",
          "platform":"REMOTE_PLAY"
        }
      ],
      "sessionId":"[REDACTED]"
    }
  },
  "contexts":[
    {
      "contextId":"[REDACTED]",
      "sequenceNumber":4
    }
  ]
}
[V] Received notification of type 4
[V] wait_for_notification: Found notification of type 4
[V] Holepunch session state: 137467 = [ ✅WS_OPEN ✅DELETED ✅CREATED ✅CLIENT_JOINED ✅DATA_SENT ✅CONSOLE_JOINED ✅CUSTOMDATA1_RECEIVED ✅CTRL_OFFER_RECEIVED ✅CTRL_ESTABLISHED ✅DATA_OFFER_RECEIVED ]
[I] chiaki_holepunch_session_fini: Holepunch session deleted.
[E] websocket_thread_func: Select canceled.
streetpea commented 4 months ago

@Adagium42 so you are able to go through the hole punch successfully now but is seems that some error occurs with the rudp session causing a finish message and no response from the data port. Are you using a ps5 Or ps4?

streetpea commented 4 months ago

@Adagium42 can you create a new issue with something like remote play via psn failing at data connection since this is a separate problem from the issues posted here

L0WR1D3Rz commented 4 months ago

Hi Streetpea, apologies for the delay below I paste the log. One more issue that presented itself since yesterday, and I don't know if it's connected with the tampering we've been doing to troubleshoot, is that my L4 (PS button long and short press) L5 (suspend session) R4 (mic mute unmute) R5 (stretch/unstretch) started misbehaving. Initially they work as intended and after a while they go crazy, I may be pressing R4 and it will act as L4 for example. Or it won't register short/long presses. Sometimes they don't react at all. I've no idea what's causing this. Have you experienced something similar? Any ideas how I can fix it?

[2024-05-15 07:25:31:317317] [I] Logging to file /home/deck/.var/app/io.github.streetpea.Chiaki4deck/data/Chiaki/Chiaki/log/chiaki_session_2024-05-15_07-25-31-317317.log [2024-05-15 07:25:31:317317] [I] Chiaki Version 1.7.0 [2024-05-15 07:25:31:318318] [I] Trying to use hardware decoder "vaapi" [2024-05-15 07:25:31:335335] [I] Using hardware decoder "vaapi" with pix_fmt=vaapi [2024-05-15 07:25:31:335335] [V] Holepunch session state: 0 = [ ] [2024-05-15 07:25:31:336336] [I] ChiakiOpusEncoder initialized [2024-05-15 07:25:31:342342] [I] Connected Steam Deck ... gyro online

[2024-05-15 07:25:31:342342] [I] Controller 0 opened: "Microsoft X-Box 360 pad 0 (REDACTED)" [2024-05-15 07:25:31:381381] [D] [libplacebo] Requested alpha compositing mode: VK_COMPOSITE_ALPHA_OPAQUE_BIT_KHR [2024-05-15 07:25:31:381381] [D] [libplacebo] Requested surface transform: VK_SURFACE_TRANSFORM_IDENTITY_BIT_KHR [2024-05-15 07:25:31:381381] [D] [libplacebo] Requested image count: 3 (min 3 max 0) [2024-05-15 07:25:31:381381] [D] [libplacebo] Requested image size: 1280x800 (min 1280x800 < cur 1280x800 < max 1280x800) [2024-05-15 07:25:31:381381] [D] [libplacebo] (Re)creating swapchain of size 1280x800 [2024-05-15 07:25:31:392392] [D] [libplacebo] (Re)creating 1280x800x0 texture with format rgba8: unknown [2024-05-15 07:25:31:392392] [D] [libplacebo] Allocating 18612224 memory of type 0x1 (id 0) in heap 1: unknown [2024-05-15 07:25:31:392392] [D] [libplacebo] Spent 0.041 ms allocating slab [2024-05-15 07:25:31:747747] [D] [libplacebo] Garbage collected slab of size 15M from pool 0 [2024-05-15 07:25:31:747747] [D] [libplacebo] Freeing slab of size 15M [2024-05-15 07:25:32:289289] [V] chiaki_holepunch_session_create: Created websocket thread [2024-05-15 07:25:32:289289] [V] chiaki_holepunch_session_create: Waiting for websocket to open... [2024-05-15 07:25:33:413413] [V] websocket_thread_func: Connected to push notification WebSocket wss://44-234-165-41-pushcl.np.communication.playstation.net/np/pushNotification [2024-05-15 07:25:33:413413] [V] Holepunch session state: 1 = [ ✅WS_OPEN ] [2024-05-15 07:25:33:413413] [V] http_create_session: Sending JSON: {"remotePlaySessions":[{"members":[{"accountId":"me","deviceUniqueId":"me","platform":"me","pushContexts":[{"pushContextId":"REDACTED"}]}]}]} [2024-05-15 07:25:33:413413] [V] websocket_thread_func: PING. [2024-05-15 07:25:33:615615] [V] websocket_thread_func: Received WebSocket frame of length 0 with flags 64 [2024-05-15 07:25:33:615615] [V] websocket_thread_func: Received PONG. [2024-05-15 07:25:34:090090] [V] http_create_session: Received JSON: {"remotePlaySessions":[{"sessionId":"REDACTED","members":[{"accountId":"REDACTED","platform":"REMOTE_PLAY","deviceUniqueId":"REDACTED"}]}]} [2024-05-15 07:25:34:092092] [V] chiaki_holepunch_session_create: Sent holepunch session creation request [2024-05-15 07:25:34:096096] [V] websocket_thread_func: Received WebSocket frame of length 763 with flags 1 [2024-05-15 07:25:34:096096] [V] websocket_thread_func: Received WebSocket frame with 763 bytes of payload. [2024-05-15 07:25:34:096096] [V] { "version":"2.1", "method":3001, "dataType":"psn:sessionManager:sys:rps:members:created", "to":{ "accountId":REDACTED, "onlineId":"REDACTEDREDACTED "REMOTE_PLAY" ], "isSystemOnly":false, "toSystem":false }, "body":{ "data":{ "customProperties":{ "from":{ "accountId":"REDACTED", "deviceUniqueId":"REDACTED", "onlineId":"REDACTED", "platform":"REMOTE_PLAY" } }, "members":[ { "accountId":"REDACTEDId":"REDACTED1", "joinTimestamp":REDACTED, "onlineId":"REDACTED", "platform":"REMOTE_PLAY" } ], "sessionId":"REDACTED" } }, "contexts":[ { "contextId":"REDACTED, "sequenceNumber":2 } ] } [2024-05-15 07:25:34:096096] [V] Received notification of type 2 [2024-05-15 07:25:34:096096] [V] websocket_thread_func: Received WebSocket frame of length 568 with flags 1 [2024-05-15 07:25:34:096096] [V] websocket_thread_func: Received WebSocket frame with 568 bytes of payload. [2024-05-15 07:25:34:096096] [V] wait_for_notification: Found notification of type 2 [2024-05-15 07:25:34:096096] [V] { "version":"2.1", "method":3001, "dataType":"psn:sessionManager:sys:remotePlaySession:created", "to":{ "accountId":REDACTED, "onlineId":"REDACTED, "platform":[ "REMOTE_PLAY" ], "isSystemOnly":false, "toSystem":false }, "body":{ "data":{ "customProperties":{ "from":{ "accountId":"REDACTED", "deviceUniqueId":"REDACTED, "onlineId":"REDACTED", "platform":"REMOTE_PLAY" } }, "sessionId":"REDACTED" } }, "contexts":[ { "contextId":"REDACTED", "sequenceNumber":1 } ] } [2024-05-15 07:25:34:096096] [V] chiaki_holepunch_session_create: Client joined. [2024-05-15 07:25:34:096096] [V] Received notification of type 1 [2024-05-15 07:25:34:096096] [V] Holepunch session state: 9 = [ ✅WS_OPEN ✅CLIENT_JOINED ] [2024-05-15 07:25:34:096096] [V] wait_for_notification: Found notification of type 1 [2024-05-15 07:25:34:096096] [V] chiaki_holepunch_session_create: Holepunch session created. [2024-05-15 07:25:34:096096] [V] Holepunch session state: 11 = [ ✅WS_OPEN ✅CREATED ✅CLIENT_JOINED ] [2024-05-15 07:25:34:096096] [I] >> Created session [2024-05-15 07:25:34:096096] [I] Duid: REDACTED [2024-05-15 07:25:34:097097] [V] chiaki_holepunch_session_start: Starting holepunch session REDACTED for device REDACTED [2024-05-15 07:25:34:097097] [V] http_start_session: Sending JSON: {"commandDetail":{"commandType":"remotePlay","duid":"REDACTED","messageDestination":"SQS","parameters":{"initialParams":"{\"accountId\":REDACTED,\"roomId\":0,\"sessionId\":\"REDACTED\",\"clientType\":\"Windows\",\"data1\":\"tjkc8CwnwluNAPlfP+syhg==\",\"data2\":\"cB2qEdzz34dHgjSedxIPaQ==\"}"},"platform":"PS5"}} [2024-05-15 07:25:34:443443] [V] http_start_session: Received JSON: {"commandId":"REDACTED"} [2024-05-15 07:25:34:443443] [V] Holepunch session state: 27 = [ ✅WS_OPEN ✅CREATED ✅CLIENT_JOINED ✅DATA_SENT ] [2024-05-15 07:25:34:933933] [V] websocket_thread_func: Received WebSocket frame of length 789 with flags 1 [2024-05-15 07:25:34:933933] [V] websocket_thread_func: Received WebSocket frame with 789 bytes of payload. [2024-05-15 07:25:34:933933] [V] { "version":"2.1", "method":3001, "dataType":"psn:sessionManager:sys:rps:members:created", "to":{ "accountId":REDACTED "onlineId":"REDACTED", "platform":[ "REMOTE_PLAY" ], "isSystemOnly":false, "toSystem":false }, "body":{ "data":{ "customProperties":{ "from":{ "accountId":"REDACTED", "deviceUniqueId":"REDACTED", "onlineId":"REDACTED", "platform":"PROSPERO" } }, "members":[ { "accountId":"REDACTED", "deviceUniqueId":"REDACTED", "joinTimestamp":REDACTED, "onlineId":"REDACTED", "platform":"PROSPERO" } ], "sessionId":"REDACTED" } }, "contexts":[ { "contextId":"REDACTED, "sequenceNumber":3 } ] } [2024-05-15 07:25:34:933933] [V] Received notification of type 2 [2024-05-15 07:25:34:933933] [V] wait_for_notification: Found notification of type 2 [2024-05-15 07:25:34:933933] [V] Holepunch session state: 59 = [ ✅WS_OPEN ✅CREATED ✅CLIENT_JOINED ✅DATA_SENT ✅CONSOLE_JOINED ] [2024-05-15 07:25:35:505505] [V] websocket_thread_func: Received WebSocket frame of length 543 with flags 1 [2024-05-15 07:25:35:506506] [V] websocket_thread_func: Received WebSocket frame with 543 bytes of payload. [2024-05-15 07:25:35:506506] [V] { "version":"2.1", "method":3001, "dataType":"psn:sessionManager:sys:rps:customData1:updated", "to":{ "accountId":REDACTED, "onlineId":"REDACTED, "platform":[ "REMOTE_PLAY" ], "isSystemOnly":false, "toSystem":false }, "body":{ "data":{ "customData1":"REDACTED", "customProperties":{ "from":{ "accountId":"REDACTED", "deviceUniqueId":"REDACTED", "onlineId":"REDACTED", "platform":"PROSPERO" } }, "sessionId":"REDACTED } } } [2024-05-15 07:25:35:506506] [V] Received notification of type 8 [2024-05-15 07:25:35:506506] [V] wait_for_notification: Found notification of type 8 [2024-05-15 07:25:35:506506] [V] Holepunch session state: 123 = [ ✅WS_OPEN ✅CREATED ✅CLIENT_JOINED ✅DATA_SENT ✅CONSOLE_JOINED ✅CUSTOMDATA1_RECEIVED ] [2024-05-15 07:25:35:506506] [I] >> Started session [2024-05-15 07:25:40:510510] [V] websocket_thread_func: PING. [2024-05-15 07:25:40:734734] [V] websocket_thread_func: Received WebSocket frame of length 0 with flags 64 [2024-05-15 07:25:40:734734] [V] websocket_thread_func: Received PONG. [2024-05-15 07:25:41:473473] [V] websocket_thread_func: Received WebSocket frame of length 1240 with flags 1 [2024-05-15 07:25:41:473473] [V] websocket_thread_func: Received WebSocket frame with 1240 bytes of payload. [2024-05-15 07:25:41:473473] [V] { "version":"2.1", "method":3001, "dataType":"psn:sessionManager:sys:rps:sessionMessage:created", "to":{ "accountId":REDACTED, "onlineId":REDACTED", "platform":[ "REMOTE_PLAY" ], "isSystemOnly":false, "toSystem":false }, "body":{ "data":{ "customProperties":{ "from":{ "accountId":"REDACTED", "deviceUniqueId":"REDACTED", "onlineId":"REDACTED", "platform":"PROSPERO" } }, "sessionId":"REDACTED", "sessionMessage":{ "channel":"remote_play:1", "payload":"ver=1.0, type=text, body={\"action\":\"OFFER\",\"reqId\":3,\"error\":0,\"connRequest\":{\"sid\":REDACTED,\"peerSid\":0,\"skey\":\"REDACTED==\",\"natType\":2,\"candidate\":[{\"type\":\"STUN\",\"addr\":\"REDACTED\",\"mappedAddr\":\"0.0.0.0\",\"port\":REDACTED,\"mappedPort\":0},{\"type\":\"STATIC\",\"addr\":\"REDACTED\",\"mappedAddr\":\"0.0.0.0\",\"port\":9303,\"mappedPort\":0},{\"type\":\"LOCAL\",\"addr\":\"192.168.1.7\",\"mappedAddr\":\"0.0.0.0\",\"port\":9303,\"mappedPort\":0}],\"defaultRouteMacAddr\":\"ec:6c:9a:28:ff:1b\",\"localPeerAddr\":{\"accountId\":\"REDACTED\",\"platform\":\"PROSPERO\"},\"localHashedId\":\"REDACTED"}}" } } } } [2024-05-15 07:25:41:473473] [V] Received notification of type 16 [2024-05-15 07:25:41:473473] [V] wait_for_notification: Found notification of type 16 [2024-05-15 07:25:41:474474] [V] Message to send: {"channel":"remote_play:1","payload":"ver=1.0, type=text, body={\"action\":\"RESULT\",\"reqId\":3,\"error\":0,\"connRequest\":{}}","to":[{"accountId":"6REDACTED","deviceUniqueId":"REDACTED","platform":"PS5"}]} [2024-05-15 07:25:46:477477] [V] websocket_thread_func: PING. [2024-05-15 07:25:46:734734] [V] websocket_thread_func: Received WebSocket frame of length 0 with flags 64 [2024-05-15 07:25:46:734734] [V] websocket_thread_func: Received PONG. [2024-05-15 07:25:49:802802] [I] Failed to UPnP-capable devices on network: err=0 [2024-05-15 07:25:49:987987] [V] -----------------CONNECTION REQUEST--------------------- [2024-05-15 07:25:49:987987] [V] sid: REDACTED [2024-05-15 07:25:49:987987] [V] peer_sid: REDACTED [2024-05-15 07:25:49:987987] [V] skey: AAAAAAAAAAAAAAAAAAAAAA== [2024-05-15 07:25:49:988988] [V] nat type 2 [2024-05-15 07:25:49:988988] [V] local hashed id REDACTED [2024-05-15 07:25:49:988988] [V] Message to send: {"channel":"remote_play:1","payload":"ver=1.0, type=text, body={\"action\":\"OFFER\",\"reqId\":1,\"error\":0,\"connRequest\":{\"sid\":REDACTED,\"peerSid\":REDACTED,\"skey\":\"AAAAAAAAAAAAAAAAAAAAAA==\",\"natType\":2,\"candidate\":[{\"type\":\"STATIC\",\"addr\":\"213.55.220.8\",\"mappedAddr\":\"0.0.0.0\",\"port\":34970,\"mappedPort\":0},{\"type\":\"LOCAL\",\"addr\":\"192.168.69.247\",\"mappedAddr\":\"0.0.0.0\",\"port\":34970,\"mappedPort\":0}],\"defaultRouteMacAddr\":\"\",\"localPeerAddr\":{\"accountId\":\"REDACTED\",\"platform\":\"REMOTE_PLAY\"},\"localHashedId\":\"REDACTED\"}}","to":[{"accountId":"REDACTED","deviceUniqueId":"REDACTED","platform":"PS5"}]} [2024-05-15 07:25:50:323323] [V] wait_for_notification: Found notification of type 16 [2024-05-15 07:25:50:323323] [V] Ignoring holepunch session message with action 1 [2024-05-15 07:25:50:533533] [V] websocket_thread_func: Received WebSocket frame of length 1240 with flags 1 [2024-05-15 07:25:50:533533] [V] websocket_thread_func: Received WebSocket frame with 1240 bytes of payload. [2024-05-15 07:25:50:534534] [V] { "version":"2.1", "method":3001, "dataType":"psn:sessionManager:sys:rps:sessionMessage:created", "to":{ "accountId":REDACTED, "onlineId":"REDACTED", "platform":[ "REMOTE_PLAY" ], "isSystemOnly":false, "toSystem":false }, "body":{ "data":{ "customProperties":{ "from":{ "accountId":"REDACTED", "deviceUniqueId":"REDACTED", "onlineId":"REDACTED", "platform":"PROSPERO" } }, "sessionId":"REDACTED", "sessionMessage":{ "channel":"remote_play:1", "payload":"ver=1.0, type=text, body={\"action\":\"OFFER\",\"reqId\":3,\"error\":0,\"connRequest\":{\"sid\":35063,\"peerSid\":0,\"skey\":\"REDACTED=\",\"natType\":2,\"candidate\":[{\"type\":\"STUN\",\"addr\":\"REDACTED\",\"mappedAddr\":\"0.0.0.0\",\"port\":61295,\"mappedPort\":0},{\"type\":\"STATIC\",\"addr\":\"REDACTED\",\"mappedAddr\":\"0.0.0.0\",\"port\":9303,\"mappedPort\":0},{\"type\":\"LOCAL\",\"addr\":\"192.168.1.7\",\"mappedAddr\":\"0.0.0.0\",\"port\":9303,\"mappedPort\":0}],\"defaultRouteMacAddr\":\"ec:6c:9a:28:ff:1b\",\"localPeerAddr\":{\"accountId\":\"REDACTED } } } } [2024-05-15 07:25:50:534534] [V] Received notification of type 16 [2024-05-15 07:25:50:534534] [V] Message to send: {"channel":"remote_play:1","payload":"ver=1.0, type=text, body={\"action\":\"RESULT\",\"reqId\":3,\"error\":0,\"connRequest\":{}}","to":[{"accountId":"REDACTED","deviceUniqueId":"0REDACTED","platform":"PS5"}]} [2024-05-15 07:25:50:869869] [V] wait_for_notification: Found notification of type 16 [2024-05-15 07:25:50:869869] [V] Ignoring holepunch session message with action 1 [2024-05-15 07:25:50:870870] [V] websocket_thread_func: Received WebSocket frame of length 646 with flags 1 [2024-05-15 07:25:50:870870] [V] websocket_thread_func: Received WebSocket frame with 646 bytes of payload. [2024-05-15 07:25:50:870870] [V] { "version":"2.1", "method":3001, "dataType":"psn:sessionManager:sys:rps:sessionMessage:created", "to":{ "accountId":REDACTED, "onlineId":"REDACTED", "platform":[ "REMOTE_PLAY" ], "isSystemOnly":false, "toSystem":false }, "body":{ "data":{ "customProperties":{ "from":{ "accountId":"REDACTED", "deviceUniqueId":"REDACTED", "onlineId":"REDACTED", "platform":"PROSPERO" } }, "sessionId":"REDACTED", "sessionMessage":{ "channel":"remote_play:1", "payload":"ver=1.0, type=text, body={\"action\":\"RESULT\",\"reqId\":1,\"error\":0,\"connRequest\":{}}" } } } } [2024-05-15 07:25:50:870870] [V] Received notification of type 16 [2024-05-15 07:25:50:870870] [V] wait_for_notification: Found notification of type 16 [2024-05-15 07:25:50:870870] [V] --------------REMOTE CANDIDATE-------------------- [2024-05-15 07:25:50:870870] [V] Address: REDACTED [2024-05-15 07:25:50:870870] [V] Mapped Address: 0.0.0.0 [2024-05-15 07:25:50:870870] [V] Port: 61295 [2024-05-15 07:25:50:870870] [V] Mapped Port: 0 [2024-05-15 07:25:50:870870] [V] --------------REMOTE CANDIDATE-------------------- [2024-05-15 07:25:50:870870] [V] Address: REDACTED [2024-05-15 07:25:50:870870] [V] Mapped Address: 0.0.0.0 [2024-05-15 07:25:50:870870] [V] Port: 9303 [2024-05-15 07:25:50:870870] [V] Mapped Port: 0 [2024-05-15 07:25:50:870870] [V] --------------LOCAL CANDIDATE--------------------- [2024-05-15 07:25:50:870870] [V] Address: REDACTED [2024-05-15 07:25:50:870870] [V] Mapped Address: 0.0.0.0 [2024-05-15 07:25:50:870870] [V] Port: 9303 [2024-05-15 07:25:50:870870] [V] Mapped Port: 0 [2024-05-15 07:25:55:875875] [V] websocket_thread_func: PING. [2024-05-15 07:25:56:490490] [V] websocket_thread_func: Received WebSocket frame of length 0 with flags 64 [2024-05-15 07:25:56:490490] [V] websocket_thread_func: Received PONG. [2024-05-15 07:26:00:880880] [E] check_candidate: Select timed out [2024-05-15 07:26:00:880880] [E] chiaki_holepunch_session_punch_holes: Failed to find reachable candidate for control connection. [2024-05-15 07:26:00:881881] [E] !! Failed to punch hole for control connection. [2024-05-15 07:26:01:188188] [V] websocket_thread_func: PING. [2024-05-15 07:26:01:188188] [V] websocket_thread_func: Received WebSocket frame of length 820 with flags 1 [2024-05-15 07:26:01:188188] [V] websocket_thread_func: Received WebSocket frame with 820 bytes of payload. [2024-05-15 07:26:01:188188] [V] { "version":"2.1", "method":3001, "dataType":"psn:sessionManager:sys:rps:sessionMessage:created", "to":{ "accountId":REDACTED, "onlineId":"REDACTED", "platform":[ "REMOTE_PLAY" ], "isSystemOnly":false, "toSystem":false }, "body":{ "data":{ "customProperties":{ "from":{ "accountId":"REDACTED", "deviceUniqueId":"REDACTED", "onlineId":"REDACTED", "platform":"PROSPERO" } }, "sessionId":"REDACTED", "sessionMessage":{ "channel":"remote_play:1", "payload":"ver=1.0, type=text, body={\"action\":\"TERMINATE\",\"reqId\":4,\"error\":0,\"connRequest\":{\"sid\":35063,\"peerSid\":52187,\"skey\":\"REDACTED==\",\"natType\":0,\"candidate\":[],\"defaultRouteMacAddr\":\"\",\"localPeerAddr\":,\"localHashedId\":\"\"}}" } } } } [2024-05-15 07:26:01:188188] [V] Received notification of type 16 [2024-05-15 07:26:01:399399] [V] websocket_thread_func: Received WebSocket frame of length 0 with flags 64 [2024-05-15 07:26:01:399399] [V] websocket_thread_func: Received PONG. [2024-05-15 07:26:01:462462] [V] websocket_thread_func: Received WebSocket frame of length 733 with flags 1 [2024-05-15 07:26:01:463463] [V] websocket_thread_func: Received WebSocket frame with 733 bytes of payload. [2024-05-15 07:26:01:463463] [V] { "version":"2.1", "method":3001, "dataType":"psn:sessionManager:sys:rps:members:deleted", "to":{ "accountId"REDACTED, "onlineId":"REDACTED", "platform":[ "REMOTE_PLAY" ], "isSystemOnly":false, "toSystem":false }, "body":{ "data":{ "customProperties":{ "from":{ "accountId":"REDACTED", "deviceUniqueId":"REDACTED", "onlineId":"REDACTED", "platform":"REMOTE_PLAY" } }, "members":[ { "accountId":"REDACTED", "deviceUniqueId":"REDACTED", "onlineId":"REDACTED", "platform":"REMOTE_PLAY" } ], "sessionId":"REDACTED" } }, "contexts":[ { "contextId":"REDACTED", "sequenceNumber":4 } ] } [2024-05-15 07:26:01:463463] [V] Received notification of type 4 [2024-05-15 07:26:01:463463] [V] wait_for_notification: Found notification of type 4 [2024-05-15 07:26:01:463463] [V] Holepunch session state: 131323 = [ ✅WS_OPEN ✅DELETED ✅CREATED ✅CLIENT_JOINED ✅DATA_SENT ✅CONSOLE_JOINED ✅CUSTOMDATA1_RECEIVED ✅CTRL_OFFER_RECEIVED ] [2024-05-15 07:26:01:463463] [I] chiaki_holepunch_session_fini: Holepunch session deleted. [2024-05-15 07:26:01:463463] [E] websocket_thread_func: Select canceled.

streetpea commented 4 months ago

@L0WR1D3Rz your original issue is now solved … now you are getting #332. Are you able to connect via the official remote play app on the same network?

L0WR1D3Rz commented 4 months ago

yes just tried with official remote play app on same network with my phone and it connects without issues. Also chiaki works fine on same network.

streetpea commented 4 months ago

@L0WR1D3Rz On your phone are you connected to a remote network (I.e., using data) rather than your local wifi network (i.e., did you ensure that it’s making a remote connection and not a local connection)

L0WR1D3Rz commented 4 months ago

Ah apologies I thought you meant same network as in local network. Just tried with mobile network with the phone and it worked indeed.