Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
eppodepeppo's avatar
eppodepeppo
Honored Guest
2 years ago

xrCreateSession() slow to create a session

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