cancel
Showing results for 
Search instead for 
Did you mean: 

xrCreateSession() slow to create a session

eppodepeppo
Honored Guest

Hi,

Whenever I try to create a session using xrCreateSession(), it takes about ten to fifteen seconds for the function to return. During that time it outputs the following messages:

16/02 13:59:46.100 {INFO}    [RuntimeIPCClient [RUNTIMEIPC]] Event buffer size (client): 8192
16/02 13:59:46.100 {INFO}    [RuntimeIPCClient [RUNTIMEIPC]] TryToGetIPCResourcesFromServer: RPC_CONNECTOR_CONNECT_TO_SERVER SUCCESS: Client: WindowsPackage:WindowsProcess:8528, Server: WindowsPackage:WindowsProcess (HapticsServer)
16/02 13:59:46.100 {WARNING} [RuntimeIPCClient [RUNTIMEIPC]] GetClientStateHandle: Failed to find entry: Client: WindowsPackage:WindowsProcess:8528, Server: WindowsPackage:WindowsProcess (HapticsServer), State: __IsRemoteClientInitialized
16/02 13:59:46.202 {INFO}    [RuntimeIPCClient [RUNTIMEIPC]] InitServerStateBuffer: SUCCESS. 0, Client: WindowsPackage:WindowsProcess:8528, Server: WindowsPackage:WindowsProcess (HapticsServer)
16/02 13:59:46.204 {INFO}    [RuntimeIPCClient [RUNTIMEIPC]] EnsureServerConnection: SUCCESS. Client: WindowsPackage:WindowsProcess:8528, Server: WindowsPackage:WindowsProcess (HapticsServer)
16/02 13:59:46.204 {INFO}    [RuntimeIPCClient [RUNTIMEIPC]] ConnectToServer: SUCCESS: Client: WindowsPackage:WindowsProcess:8528, Server: WindowsPackage:WindowsProcess (HapticsServer)
After this everything functions properly. I'm not sure if it's a telemetry thing or why it would mention a `HapticsServer' when I haven't created any input devices yet. 

I'm wondering if there's a way to circumvent this wait.

Thanks
1 REPLY 1

eppodepeppo
Honored Guest

Appears it's the same issue as mentioned here: OpenXR Hanging after v62 update - Meta Community Forums - 1149376