psmoveservice / PSMoveService

A background service that communicates with the psmove and stores pose and button data.
Apache License 2.0
591 stars 148 forks source link

Delays with 2 controllers, no delay with only one controller #682

Open AgoniXX opened 4 years ago

AgoniXX commented 4 years ago

1-3 seconds delays with 2 controllers at anywhere. Steam VR home and Beat Saber. In PSMoveConfigTool - tracking setting - test tracking pose, even only with 1 controller, it delays.

My CPU is i5-2500 3.3G - 4 cores. The CPU usages around 50%. Is my CPU limiting it? If PSMoveSteamVRBridge only supports 1 or 2 threads.

I tried 2 different brands of Bluetooth adapter, same delay. Tried v1.4, v1.5, v1.6, same.

Tried PSMoveFreepieBridge with script: def update(): freeTrack.pitch = -freePieIO[0].pitch freeTrack.roll = freePieIO[0].roll freeTrack.yaw = freePieIO[0].yaw

#Multiply by 10 for SteamVR use
freeTrack.x = (freePieIO[0].x * 10)
freeTrack.y = (freePieIO[0].y * 10)
freeTrack.z = (freePieIO[0].z * 10)
diagnostics.watch(freePieIO[0].x)
diagnostics.watch(freePieIO[0].y)
diagnostics.watch(freePieIO[0].z)`

if starting: freePieIO[0].update += update Delays with 2 controllers, no delay with only one controller

So it looks like the delay is coming from the PSMoveService

Any idea please? Thx!!

AgoniXX commented 4 years ago

Found the fix. Update win10 to 1909. I disabled win10 auto update for around 2 years. I hate it so much. After the update, many things broken as expected. But the only good thing is the delay gone.