View my account

Installing D400 UWP driver disables Infrared streams on D435

Comments

21 comments

  • Duppy Proctor

    Not only are the streams not available from Intel.RealSense.Viewer, also when I try to open the streams from code I get an error.

     

     

    0
    Comment actions Permalink
  • MartyG

    Hi Duppy Proctor  It is not necessary to install the RealSense UWP driver to add support for hardware metadata.  This can be done through the RealSense Viewer tool.

    The UWP driver is also not required to use RealSense cameras with Windows unless you need to interface the camera with a product that supports the Microsoft Universal Windows Platform (UWP), such as the HoloLens headset.

    I was able to confirm that installing the current version of the UWP driver (6.1.160.22) caused the Infrared channels to become inaccessible.  I have highlighted the issue to Intel to seek feedback.  Thanks very much for your patience.

    0
    Comment actions Permalink
  • MartyG

    Hi again.  I consulted with Intel and received a solution that I was able to test as successful on two separate Windows PCs.

     

    1.  Open the Windows Device Manager interface.  You can find this by typing device into the text box at the bottom of your Windows screen, next to the button in the bottom corner where you shut down the PC.

     

    2.  Insert your RealSense camera if it is not already inserted and expand open the Cameras category of the Device Manager.  There should be two RealSense drivers listed there, Depth and RGB, for the particular RealSense camera models that are currently attached.

     

     

    3.  Right-click on the Depth driver and select the Uninstall device menu option.

     

     

    4.  The next step is vital to the success of the procedure.  A pop-up panel will request confirmation that you wish to uninstall the driver.  There is also a small tick-box on the pop-up panel with the message "Delete the driver software for this device" beside it.  This box must be ticked by left-clicking on it to place a tick in the box, otherwise the issue with the missing infrared streams will not be corrected.

     

    5.  Click the Uninstall confirmation panel on the pop-up panel to confirm that you want to uninstall the depth driver.  The depth driver will disappear from the Cameras section of the Device Manager.

     

    6.  Now repeat the above process for the RGB driver by right-clicking on it and selecting Uninstall, and again ticking the box before clicking Uninstall

     

    7.  There should now be no RealSense drivers listed in the Cameras section.  Unplug the camera from the USB port, wait a couple of seconds and plug the camera back in.  The Depth and RGB drivers should now automatically re-install and reappear in the Cameras section.

     

    8. Finally, launch the RealSense Viewer program and check the Stereo Module options.  The Infrared and Infrared 2 streams should now be listed and able to be enabled.

     

    0
    Comment actions Permalink
  • Nicola Ariutti

    Hi MartyG,
    I have a very similar issue with my C++ code: I'm not able to get any infrared stream and also my RealSense viewer doesn't show any infrared stream available.

    I followed your procedure but after connecting the camera back the driver did not install themselves automatically and I had to install them back manually (from this link).

    I then reopened the RealsenseViewer but I still don't see the infrared streams checkboxes available.

    What am I doing wrong?
    Thanks fro your support

    0
    Comment actions Permalink
  • MartyG

    Please repeat the driver uninstall process above, making sure to complete point 4 or the drivers will not uninstall completely and the missing infrared issue will remain.

     

    After the drivers have been removed and the camera has been unplugged, wait at least a couple of seconds before re-inserting it to make sure that the camera has been fully disconnected.

     

    Do not reinstall the UWP driver after removing the Depth and RGB drivers.  The UWP driver is not required to use RealSense cameras with Windows.  It is only needed if using the camera with hardware or software that supports the Universal Windows Platform, such as the Microsoft Hololens headset.

     

    Also check please that permission for the camera to access the camera hardware and permission for applications to access the camera are both set to 'On' in the Windows privacy settings using the instructions at the link below.

    https://github.com/IntelRealSense/librealsense/issues/3381#issuecomment-503424789

    0
    Comment actions Permalink
  • Nicola Ariutti

    Thank you MartyG,
    I've followed the steps.
    I've succesfully completed the uninstallation for the depth driver (clicking on the "checkbox")

    but I dont see the same "checkbox" when it cames to the RGB driver uninstallation

    I continue with the uninstallation and discossione of the camera from the PC.
    When I connect the camera back to the PC (after waitin for, say, 10 secs) I don't see any camera connected to the PC

    I also made sure that the privacy settings were set as shown in the issue you are referring to



    it was for this reason that I had the doubt that, probably, I would have to install some additional drivers.
    What is going wrong?

    0
    Comment actions Permalink
  • MartyG

    If the camera does not automatically re-install the Depth and RGB drivers after they have been removed, please try clicking on the Scan for hardware changes option on the Device Manager window to see whether installation of the drivers then commences.

     

    0
    Comment actions Permalink
  • Nicola Ariutti

    I've eventually find them listed under USB devices

    but the RealsenseViewer is unable to discover them.

    0
    Comment actions Permalink
  • MartyG

    The drivers should not be under that section.  It indicates a problem if they are.  Please uninstall those two drivers from that location and then repeat the unplug, wait, replug to see if they correctly install to the Cameras section of the Device Manager.

    0
    Comment actions Permalink
  • Nicola Ariutti

    Thank you so much MartyG,
    removing these drivers and connecting back the camera to the PC, I was eventually able to see them in "the correct position" inside the device tree.
    Now the RealsenseViewer is showing me also the IR streams.
    And I'm able to use the infrared stream inside my code!
    Thank you so mush for your patience and support

    0
    Comment actions Permalink
  • MartyG

    You are very welcome, Nicola Ariutti - it's excellent to hear that your problem was resolved.  Thanks very much for the update   :)

    0
    Comment actions Permalink
  • Ofri

    Hello,

    I experienced a problem with disabled access to the infrared streams on RealSense D435, and gladly found this Q&A chain to assist.  I read the discussion carefully, and followed the directions.  The removal of the installed device driver and reconnection of the camera indeed enabled the infrared streams, as suggested here.

    However, this downgraded the device driver version to a fairly old one, apparently from ca. 2006.  It turned out that my colleagues attempted to upgrade the driver, and the version they used disabled the IR streams.  Product-wise, driver update is usually the right thing to do, except in this case the newest driver might have been faulty.

    So I have several goals to ask about:

    1. Does the latest RealSense device driver (6.1.160.22, ca. 2021-03-30) support the IR streams?
    2. If there is a known (or maybe unknown) fault, how can I access earlier device driver versions which may not be faulty?
    3. Perhaps the driver itself is not faulty, but the installation procedure was.  Other than following the installation instructions , should any action be taken, like firmware update, reconnection, or so?

     

    Thanks

     

    0
    Comment actions Permalink
  • MartyG

    Hi Ofri  As mentioned earlier in this discussion, it is not necessary to install the RealSense UWP driver unless using a product with UWP support such as the Microsoft Hololens headset.  The driver is not required for using a RealSense camera with Windows, as its Depth and RGB operating drivers are installed automatically into the Windows Device Manager when the camera is inserted into the USB port if they have not been installed already on a previous insertion. 

    https://support.intelrealsense.com/hc/en-us/community/posts/4419989666323/comments/4420831726611

     

    Regarding your questions:

     

    1.  The UWP driver should not interfere with the IR streams, though a previous version did, necessitating the camera Depth and RGB drivers to be removed and reinstalled to solve the problem.    The RealSense UWP driver is no longer supported or updated.

     

    2.  Earlier versions of the UWP driver are not available, only the latest version.

     

    3.  As stated above, the UWP driver is not a compulsory requirement and does not need to be installed unless you need to interface the camera with products that support UWP.  Applying a very old firmware to more recent camera models such as D457 could also cause the camera to become inoperable.

    0
    Comment actions Permalink
  • Ofri

    My colleagues claim that the old driver, from 2006, collided with other hardware controllers on our system, and made them crash.  After installing this driver, the crashes stopped occurring.

    We don't use anything near Microsoft Hololens headset, but we do have specialized hardware controllers in the system.

    If we don't need the UWP driver, is there any other driver version that we might be able to download?  I only found the UWP version out there.

    This is what we have in RealSense Viewer.  Notice the firmware version and the absence of IR streams.

     

    0
    Comment actions Permalink
  • MartyG

    Some drivers (drivers in general, not RealSense specifically) do display a very old date such as 2006 even though they were recently created.  So the driver's displayed date is typically not an accurate indicator of its true age.  The RealSense D435i camera model was introduced in 2018.

     

    Installing the UWP driver alters the RealSense Depth and RGB drivers, which is why uninstalling these drivers and then freshly reinstalling them clears problems caused by installing the UWP driver.

     

    The only two Windows drivers required for the camera to be accessed are installed automatically when the camera is inserted into the USB port if they are not present already.  Once the Depth and RGB drivers are auto-installed, you only need to download and install the RealSense SDK or the RealSense Viewer tool (which you have installed already).

     

    You do not need to update the camera's firmware driver at this time as the 5.14.0.0 one that you already have installed in the camera is the correct firmware for the 2.53.1 Viewer version that you are using.

     

    Going back to the instructions for uninstalling the Depth and RGB drivers posted earlier in this discussion:

    https://support.intelrealsense.com/hc/en-us/community/posts/4419989666323/comments/4431239847443

     

    Step 4 of the instructions refers to ticking a small tick-box to ensure that the Depth and RGB are completely uninstalled from the computer.  The missing infrared problem may still be present after a driver reinstall if this box has not been ticked.  Do you have such a tick-box present when uninstalling the drivers on your Device Manager?

     

    0
    Comment actions Permalink
  • Ofri

    Thanks, Marty.

    I was not present when the UWP drivers were installed, so I cannot testify whether the said checkbox was ticked at the time.

    I will try to install the UWP driver after removing and ticking the checkbox for the old driver.  I will continue the report afterwards.

    0
    Comment actions Permalink
  • MartyG

    You are very welcome.  I look forward to your next report.  Good luck!

    0
    Comment actions Permalink
  • Ofri

    This is what I did:

    1. Removed the current drivers of Inter RealSense Depth Camera + ticked the checkbox.
    2. Disconnected the USB cable.
    3. Downloaded the UWP driver.
    4. Installed the UWP driver.
    5. Reconnected the USB cable.

    Still, I RealSense Viewer cannot detect or use the IR streams.

    For the next step, I can try to upgrade the Viewer software.

    0
    Comment actions Permalink
  • MartyG

    If you are not using products with UWP interfaces then you do not need to install the UWP driver.  After ticking the check-box to remove the drivers, re-installing the UWP driver is likely re-applying the changes to the drivers that are making the IR streams go missing.  So the Depth and RGB drivers will need to undergo the removal with the tick-box again. 

     

    Then once they have been auto-reinstalled when the camera is unplugged and re-inserted, please do not reinstall the UWP driver but instead check in the Viewer to see whether the IR streams have returned.

    0
    Comment actions Permalink
  • Ofri

    If I fully remove the drivers, disconnect and then reconnect the camera, everything goes back to normal.

    When I update the driver for the depth camera, I get the following message.  Notice the popup window at the bottom right of the screen. 

     

    I think it's quite weird, considering that the installed FW is 5.14, and it suggests what seems to be an older FW version as the new version.  After the driver update, there is no more access to the IR streams.

    Why is this message showing up?  Is it related to the problem?  Should I install another FW version?  Maybe the existing FW was installed in some "incorrect" way and I should update the FW in a more correct way?

    My colleagues insist that:

    * The other HW controllers do not need UWP drivers (so, supposedly, there is no driver collision)

    * The new RS Driver (UWP) dramatically reduces crashes of other device controllers.

    I don't know how these statements work together.  Anyhow, maybe the new information can somehow help.

     

    0
    Comment actions Permalink
  • MartyG

    It is suggesting an old firmware version because 5.12.12.100 is bundled with the UWP driver installer.  Because the UWP driver installer has not been updated for a while, it cannot offer a newer firmware version.

     

    Click on the cross in the top corner of the pop-up to dismiss it if you see it again and do not click the buttons on it, as you do not want to change 5.14.0.0 for an older firmware version.

    0
    Comment actions Permalink

Please sign in to leave a comment.