Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PPSSPP Ad-hoc general info thread
10-16-2020, 03:15 AM (This post was last modified: 10-16-2020 03:52 AM by AdamN.)
Post: #95
RE: PPSSPP Ad-hoc general info thread
Errr i bumped into Adhocctl initialization issue that takes too long on localhost while testing Capcom Puzzle World Sad rare to happen but still happening occasionally, and when it happened it could cause permanent freezes (0/0 FPS/VPS 100%) or unable to see/host any room.
   
Based on the logs:
AdhocServer seems to be taking too long to be ready, not sure why Sad
Code:
48:41:296 HLE\proAdhocServer.cpp:1678 I[SCENET]: AdhocServer: Begin of AdhocServer Thread
.............. <== it tooks 1.6 seconds for AdhocServer to be ready??!
48:42:961 idle0        I[SCENET]: HLE\proAdhocServer.cpp:1693 AdhocServer: Listening for Connections on TCP Port 27312
Normally, takes 1 millisecond like this:
Code:
43:57:662 HLE\proAdhocServer.cpp:1678 I[SCENET]: AdhocServer: Begin of AdhocServer Thread
43:57:663 HLE\proAdhocServer.cpp:1693 I[SCENET]: AdhocServer: Listening for Connections on TCP Port 27312

Adhocctl Init also taking too long to connect to Adhoc Server, not sure why Sad
Code:
48:41:673 user_main    I[SCENET]: HLE\sceNetAdhoc.cpp:1023 sceNetAdhocctlInit(8192, 43, 08a1a7c4) at 08932d18
.............. <== it tooks 3.1 seconds for Adhocctl Init to connect to AdhocServer on localhost??! dafuq
48:44:825 user_main    I[SCENET]: HLE\proAdhocServer.cpp:545 AdhocServer: New Connection from 127.0.0.1
Normally, takes less than 10 milliseconds like this:
Code:
43:57:991 user_main    I[SCENET]: HLE\sceNetAdhoc.cpp:1023 sceNetAdhocctlInit(8192, 43, 08a1a7c4) at 08932d18
43:57:991 idle0        I[SCENET]: HLE\proAdhoc.cpp:1304 FriendFinder: Begin of Friend Finder Thread
43:57:992 idle0        I[SCENET]: HLE\proAdhoc.cpp:1336 FriendFinder: Network [RE]Initialized
43:57:992 idle0        D[SCENET]: HLE\proAdhoc.cpp:1375 FriendFinder: Sending OPCODE_PING (9413387)
43:57:999 idle0        D[SCENET]: HLE\sceNetAdhoc.cpp:264 Returning (WaitID: 1, error: 0) Result (00000000) of sceNetAdhocctl - State: 0
43:57:999 user_main    W[SCENET]: HLE\sceNetAdhoc.cpp:2124 UNTESTED sceNetAdhocctlAddHandler(8932b80, 0): added handler 0
43:58:000 NETWORK_UPDA I[SCENET]: HLE\proAdhocServer.cpp:545 AdhocServer: New Connection from 127.0.0.1

For now i'll just use 5 seconds for Adhocctl timeout as a workaround (with side effects of longer freeze when other players got disconnected or exiting the game), until i can figured out what's taking it too long to connect to Adhoc Server...

My Modified PPSSPP :
==============
Win32&64: https://www.dropbox.com/s/b2mxcsw3w6gb9wq/PPSSPP_1.10.3-testbuild_Win32x64.zip?dl=0
Android(ARMv7): https://www.dropbox.com/s/329379pz4i7g0eo/PPSSPP_1.10.3-testbuild_ARMv7.apk?dl=0
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: PPSSPP Ad-hoc general info thread - AdamN - 10-16-2020 03:15 AM

Forum Jump: