Skip to main content
eppodepeppo
New Participant
February 16, 2024

xrCreateSession() slow to create a session

  • February 16, 2024
  • 1 reply
  • 979 views

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

    eppodepeppo
    New Participant
    February 17, 2024

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