Skip to main content
Participant
February 24, 2014

Supporting multiple Rifts on same machine

Does the current SDK support connecting to multiple Oculus Rift HMDs on the same machine?

I currently have two Rift DKs connected, but when I enumerate the HMDs using the SDK, it only reports that 1 HMD is detected. Here is the code I'm using to detect HMDs:
OVR::System::Init();

// Create device manager
OVR::Ptr<OVR::DeviceManager> deviceManager = *OVR::DeviceManager::Create();

// Enumerate and save HMD devices
int count = 0;
OVR::DeviceEnumerator<OVR::HMDDevice> itr = deviceManager->EnumerateDevices<OVR::HMDDevice>();
while(itr) {
OVR::Ptr<OVR::HMDDevice> pHMD = *itr.CreateDevice();
if(pHMD) {
++count;
}
itr.Next();
}


Is my code incorrect or is this just not currently supported?

I'm running this code on a Windows 7 64-bit machine. Both HMDs are detected in the "Screen Resolution" control panel.

    11 replies

    Up and Coming
    September 1, 2014
    "flashk" wrote:
    Does the current SDK support connecting to multiple Oculus Rift HMDs on the same machine?

    I currently have two Rift DKs connected, but when I enumerate the HMDs using the SDK, it only reports that 1 HMD is detected. Here is the code I'm using to detect HMDs:
    OVR::System::Init();

    // Create device manager
    OVR::Ptr<OVR::DeviceManager> deviceManager = *OVR::DeviceManager::Create();

    // Enumerate and save HMD devices
    int count = 0;
    OVR::DeviceEnumerator<OVR::HMDDevice> itr = deviceManager->EnumerateDevices<OVR::HMDDevice>();
    while(itr) {
    OVR::Ptr<OVR::HMDDevice> pHMD = *itr.CreateDevice();
    if(pHMD) {
    ++count;
    }
    itr.Next();
    }


    Is my code incorrect or is this just not currently supported?

    I'm running this code on a Windows 7 64-bit machine. Both HMDs are detected in the "Screen Resolution" control panel.


    obviously because it can only track one of the HMDs for head tracking

    unless they can make it where one is master one the rest are slave then it would work maybe

    can just clone the displays that are monitors a lot on same pc so it would work but requires some driver level coding

    maybe can even daisy chain the rifts together