Skip to main content
Up and Coming
July 26, 2014

Oculus Rift DK2 and UE4 4.3:problems with Oculus Runtime 0.4

Hey guys.

As many of you recently figured out DK2 and UE4 4.3 do not work together if Oculus Runtime 0.4 is installed.

We apologize for the mess. I want to confirm that UE4 4.3 is indeed DK2-ready. The problem is the new 0.4 Runtime that unfortunately is incompatible with 0.3-based apps for now. We are working on resolving this issue right now, as well as preparing a new integration of UE4 and Oculus SDK 0.4.

As a workaround for now - you should not install 0.4 Runtime while you use UE4 4.3. Instead, you'll need to install a DK2 camera driver, download link:
http://static.oculus.com/sdk-downloads/Oculus+VR+Camera+Installer.exe
(Note: you will need to uninstall this driver later when you decide to switch to 0.4).

If you already have installed 0.4 Runtime then you may either uninstall it and install the camera driver from above, or you need to disable the OVRService by performing the following steps:
1) Remove or Disable the "Oculus Service Scheduler" from the Windows Task Scheduler: "Start" button -> "Task Scheduler"
2) Switch display mode to Extended mode or uninstall the Oculus Display Driver;
3) Remove "OculusConfigUtil.exe" from Programs -> Startup (For example, C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup).
    This topic has been closed for replies.

    32 replies

    Up and Coming
    July 30, 2014
    Have installed the camera driver and can see both the camera and the DK2 HMD in my device manager.

    I am on Windows 7. The DK2 was in portrait mode when I plugged it in so needed to change to landscape.

    After I launch and then ALT+ENTER into fullscreen mode the DK2 has the stereoscopic display, but there is no head tracking (rotational like the DK1 or positional).

    I did not install the 0.4 Runtime.

    Any ideas?

    EDIT: Just to add, the blue light on the camera that I see on YouTube vids of the DK2 does not come on for me.
    Oculus Hut - A big fat slice of VR A page I made about surfing the virtual reality web! Janus VR Room 45: janus://zion.vrsites.com/1/45 YouTube: https://www.youtube.com/channel/UCj70pq7hA26fvLv832NmboA A little UE4 experience: Virtual Bard
    Up and Coming
    July 30, 2014
    "huttybangbang" wrote:
    Have installed the camera driver and can see both the camera and the DK2 HMD in my device manager.

    I am on Windows 7. The DK2 was in portrait mode when I plugged it in so needed to change to landscape.

    After I launch and then ALT+ENTER into fullscreen mode the DK2 has the stereoscopic display, but there is no head tracking (rotational like the DK1 or positional).

    I did not install the 0.4 Runtime.

    Any ideas?

    EDIT: Just to add, the blue light on the camera that I see on YouTube vids of the DK2 does not come on for me.


    The devices have to be plugged into your USB 2.o ports, make sure the sync connector to the camera is fully seated. Then unplug the power to the Oculus from the outlet. I also unplugged the power source that connects to the Oculus junction connector.
    Up and Coming
    July 30, 2014
    "jwise" wrote:
    "huttybangbang" wrote:
    Have installed the camera driver and can see both the camera and the DK2 HMD in my device manager.

    I am on Windows 7. The DK2 was in portrait mode when I plugged it in so needed to change to landscape.

    After I launch and then ALT+ENTER into fullscreen mode the DK2 has the stereoscopic display, but there is no head tracking (rotational like the DK1 or positional).

    I did not install the 0.4 Runtime.

    Any ideas?

    EDIT: Just to add, the blue light on the camera that I see on YouTube vids of the DK2 does not come on for me.


    The devices have to be plugged into your USB 2.o ports, make sure the sync connector to the camera is fully seated. Then unplug the power to the Oculus from the outlet. I also unplugged the power source that connects to the Oculus junction connector.


    All on USB2 as well now, but no luck... Btw, is your blue light on at all times or only when you access a demo?
    Oculus Hut - A big fat slice of VR A page I made about surfing the virtual reality web! Janus VR Room 45: janus://zion.vrsites.com/1/45 YouTube: https://www.youtube.com/channel/UCj70pq7hA26fvLv832NmboA A little UE4 experience: Virtual Bard
    Up and Coming
    July 30, 2014
    "huttybangbang" wrote:
    The devices have to be plugged into your USB 2.o ports, make sure the sync connector to the camera is fully seated. Then unplug the power to the Oculus from the outlet. I also unplugged the power source that connects to the Oculus junction connector.


    All on USB2 as well now, but no luck... Btw, is your blue light on at all times or only when you access a demo?

    Oh I forgot about that, we needed an Oculus stereo stream being output for the Oculus and camera to fire up. Because we have to avoid the sdk for now, we are not using any demo's and are only relying on our own content we've created in UE4.
    Up and Coming
    July 30, 2014

    Oh I forgot about that, we needed an Oculus stereo stream being output for the Oculus and camera to fire up. Because we have to avoid the sdk for now, we are not using any demo's and are only relying on our own content we've created in UE4.


    I'm also using UE4 and content I created which would work on DK1 when I "Launched" from UE4.

    Just to get this right, are you saying that, for you, the stereo will appear on the headset, but the head tracking does not work at the moment with UE4 (i.e. not runtime 0.4 I guess)?

    Thanks

    EDIT: Just thinking... since I did not install 0.4... I have also not upgraded the firmware on the HMD. Did you upgrade the HMD firmware?
    Oculus Hut - A big fat slice of VR A page I made about surfing the virtual reality web! Janus VR Room 45: janus://zion.vrsites.com/1/45 YouTube: https://www.youtube.com/channel/UCj70pq7hA26fvLv832NmboA A little UE4 experience: Virtual Bard
    Up and Coming
    July 30, 2014
    OK so here's where it is now...

    + New out of the box...
    + Plugged USBs in randomly
    + Installed the camera driver from this post
    + Opened up self made content which works with DK1 - image all strange and no tracking
    + Changed HMD from Portrait to Landscape mode
    + Opened up self made content which works in DK1 - image is now shown properly on DK2, but no tracking
    + Plugged both USBs into USB 2 only ports
    + Behaviour is the same in UE4
    + Uninstalled the camera driver
    + Installed 0.4 runtime
    + Upgraded firmware using software that is part of 0.4 runtime
    + Tried out the desktop demo (which worked!)
    + Uninstalled 0.4 runtime
    + Rebooted
    + Installed camera driver
    + Reseated the USB2 connections
    + Behaviour in UE4 is the same as before (video OK but no tracking and video camera light not on)...

    Will post up something when it works!
    Oculus Hut - A big fat slice of VR A page I made about surfing the virtual reality web! Janus VR Room 45: janus://zion.vrsites.com/1/45 YouTube: https://www.youtube.com/channel/UCj70pq7hA26fvLv832NmboA A little UE4 experience: Virtual Bard
    Up and Coming
    July 30, 2014
    Hello, I was able to get the DK2 working with UE4.3 running my own content with positional tracking. I did the following:


    • Installed the 0.4 runtime, restarted PC

    • set the Rift display mode to "Extend Desktop to the HMD"

    • Updated the Rift firmware to 2.11 (using C:\Program Files(x86)\Oculus\Tools\Firmware\DK2\DK2Firmware_2_11.ovrf)

    • Installed (Oculus+VR+Camera+Installer.exe), restarted PC


    Now the Oculus Config Util will run on start-up but it will not find your Rift. It will also say "the oculus service is not available"


    • load up UE4.3 and open your level.

    • turn off "realtime" in the viewport if its on. Otherwise it will stutter in the Rift.

    • play your level in a new stand alone window

    • press Alt+Enter to go to fullscreen. This will cause your Rift to activate on


    also that last step of pressing Alt+Enter can be skipped if you add the command -fullscreen "additional launch parameters"

    I also noticed, even though you have positional tracking, the camera light does not go on
    Participant
    July 30, 2014
    I also noticed, even though you have positional tracking, the camera light does not go on


    Are you sure that it is camera-positional and not just the headset-abled tracking you are experiencing?
    Up and Coming
    July 30, 2014
    "zwickarr" wrote:
    Hello, I was able to get the DK2 working with UE4.3 running my own content with positional tracking. I did the following:


    • Installed the 0.4 runtime, restarted PC

    • set the Rift display mode to "Extend Desktop to the HMD"

    • Updated the Rift firmware to 2.11 (using C:\Program Files(x86)\Oculus\Tools\Firmware\DK2\DK2Firmware_2_11.ovrf)

    • Installed (Oculus+VR+Camera+Installer.exe), restarted PC


    Now the Oculus Config Util will run on start-up but it will not find your Rift. It will also say "the oculus service is not available"


    • load up UE4.3 and open your level.

    • turn off "realtime" in the viewport if its on. Otherwise it will stutter in the Rift.

    • play your level in a new stand alone window

    • press Alt+Enter to go to fullscreen. This will cause your Rift to activate on


    also that last step of pressing Alt+Enter can be skipped if you add the command -fullscreen "additional launch parameters"

    I also noticed, even though you have positional tracking, the camera light does not go on


    I reinstalled 0.4 runtime, rebooted, changed mode to "Extend Desktop to HMD" and tried again - no change. Video streaming to HMD, but no tracking.

    I reinstalled the camera driver and still the same.
    Oculus Hut - A big fat slice of VR A page I made about surfing the virtual reality web! Janus VR Room 45: janus://zion.vrsites.com/1/45 YouTube: https://www.youtube.com/channel/UCj70pq7hA26fvLv832NmboA A little UE4 experience: Virtual Bard
    Up and Coming
    July 30, 2014
    "Zarkow" wrote:
    I also noticed, even though you have positional tracking, the camera light does not go on


    Are you sure that it is camera-positional and not just the headset-abled tracking you are experiencing?


    Very sure!, everything works great, very smooth tracking, no issues. really odd the light on the camera was not on.