none
cant run Kinect demos or code: Microsoft.Research.Kinect.Nui.Runtime.Initialize(...) fail RRS feed

  • Question

  • short:

    I installed kinectsdk64.msi. Upon plugging in the Kinect to my computer initially, there was an error that the device driver install was not sucessful for Microsoft Kinect Audio Device (Device Unplugged). But all 4 drivers were found in device manager, green light binks on camera.  Still I cant get any kinect demo running on my computer.


    symptomes:

    Skeletal Viewer give me: NuiInitialize failed

    Shape Game give me: Plug in Kinect and try again

    I have Kinect references in Visual studio: Microsoft.Research.Kinect and INuiInstanceHelper

    Running Skeletal Viewer from source in vs give me: Runtime initialization failed. Please make sure Kinect device is plugged in.

     

    I alsow tested the channel9.quickstart. Debugging always give there is always an exception at

    Runtime nui = new Runtime();

    nui.Initialize(RuntimeOptions.UseDepthAndPlayerIndex | RuntimeOptions.UseSkeletalTracking)

    ---------------------------
    System.InvalidOperationException: Failed in native DLL. HRESULT=0x80080014.

       at Microsoft.Research.Kinect.Nui.Runtime.Initialize(RuntimeOptions options)

       at WorkingWithDepthData.MainWindow.Window_Loaded(Object sender, RoutedEventArgs e) in F:\Downloads\kinect\channel9.quickstart\KinectForWindowsSDKQuickstarts\4.Working With Depth Data\WorkingWithDepthData\WorkingWithDepthData\WorkingWithDepthData\MainWindow.xaml.cs:line 48
    ---------------------------

    System:
    this is a standalone kinect that came with a power adapter.

    system is dell xps 420 with Windows 7 x64 and latest DirectX installed, speech libs also installed

    Troubleshooting:

    I restarted computer a couple of times, since other say that could help. i have also tried to switch usb port on computer.

    Without the power adapter i would only get the Microsoft Kinect Device driver... I get all 4 working properly in the Device Manager . but i think the location properti on the drivers look strange:

    Microsoft Kinect Audio Array Control : 0000.001a.0007.003.001.000.000.000.000

    Microsoft Kinect Camera : Port_#0003.Hub_#0011

    Microsoft Kinect Device: Port_#0002.Hub_#0011

    Microsoft USB Audio: 0000.001a.0007.003.001.000.000.000.000


    Q: Do you folks have the same kind om location on your drivers?

    Q: Is there any diagnostic tool for kinect? This error message is not helping


    student



    • Edited by jimstein Saturday, June 18, 2011 8:19 AM
    Saturday, June 18, 2011 3:58 AM

Answers

  • I searched the register and found referenses to %SystemPath%\system32\DRIVERS\psdrv3.sys. Removing this from the register and removing that file, that solves my problems. Dont know its source but some uninstaller did not clean up after itself.

    At last. The Kinect plugged into my PC, Fun times ahead!


    student
    • Marked as answer by jimstein Saturday, June 18, 2011 8:31 AM
    • Unmarked as answer by jimstein Saturday, June 18, 2011 1:48 PM
    • Marked as answer by jimstein Saturday, June 18, 2011 2:59 PM
    Saturday, June 18, 2011 8:30 AM

All replies

  • which Visual Studio edition do you have installed?

    What video card do you have?

    Saturday, June 18, 2011 5:01 AM
  • Visual Studio 2010 Express

    ATI Radeion HD 5770

    Just dont tell me i need to update the drivers for the graphicboard, newer ati drivers dont support Wacom 12wx Clintiq device (newer ati drivers will make both screens go black :( )

     


    student
    Saturday, June 18, 2011 5:49 AM
  • hmmm the video card/driver should be fine. You can verify by running a D3D sample on it. There was an issue with only having VS Express installed, but I think that was fixed. I have no idea about the "Wacom Tablet". What is that? Is it a USB device?
    Saturday, June 18, 2011 5:59 AM
  • No. D3D is not a problem for me to run.

    wacom clintiq is a digitizer, both a usb and a screen decvice. I have run kinect demo both with it connected and disconnected so it is probably not the problem.

     

    If only could run a diagnostics, generate some log...

     


    student
    Saturday, June 18, 2011 6:32 AM
  • I searched the register and found referenses to %SystemPath%\system32\DRIVERS\psdrv3.sys. Removing this from the register and removing that file, that solves my problems. Dont know its source but some uninstaller did not clean up after itself.

    At last. The Kinect plugged into my PC, Fun times ahead!


    student
    • Marked as answer by jimstein Saturday, June 18, 2011 8:31 AM
    • Unmarked as answer by jimstein Saturday, June 18, 2011 1:48 PM
    • Marked as answer by jimstein Saturday, June 18, 2011 2:59 PM
    Saturday, June 18, 2011 8:30 AM
  • I searched the register and found referenses to %SystemPath%\system32\DRIVERS\psdrv3.sys. Removing this from the register and removing that file, that solves my problems. Dont know its source but some uninstaller did not clean up after itself.

    At last. The Kinect plugged into my PC, Fun times ahead!


    student


    Hi, I tried what you mentioned and I did find some references to that driver in my registry. Although, even after removing those references and deleting the file from the disk, I still cannot run the ShapeGame app or the SkeletalViewer where I still get the same errors I had before (to connect the Kinect and try again).

    I verified several times and in Device Manager I have the Drivers from the beta SDK.

    Any ideas on what could be happening here?

     

    Thanks

    Saturday, June 18, 2011 11:03 AM
  •  

    I have an idea. Perhaps you have some software that installed Prime Sense. In that case try this:

    uninstall microsoft kinect sdk (perhaps you need to reboot)

    install that other software that installs Prime Sense, then uninstall it.

    clean up the registry like I did above, and remove the file.

    install microsft kinect sdk and reboot.

    probably something went wrong if you had Prime Sense installed several times from different vendors.

     


    student
    Saturday, June 18, 2011 1:58 PM
  • Hi,

    I have the same problem,  (same error 0x80080014) . There are no Prime Sense or other 3rd party drivers installed.

    My system: Win7 pro 64Bit, Core I5-2400 with internal intel HD2000 graphics. Latest DirectX, Visual Studio 2010 SP1.

    All 4 devices where shown in device manager. Green LED on Kinect is blinking. Power supply is ok.

    Any suggestions?


    Saturday, June 18, 2011 7:36 PM
  • I feel kind of stupid but this happened to me when only the usb cable was plugged in and not the power supply...   I also only got one of the drivers installed and visible in device manager.
    Monday, June 20, 2011 12:17 AM
  • Yes, I got the same error message when the power supply is not plugged in. But this is not the cause here. I deinstalled the Kinect SDK and installed the CL NUI drivers instead. That works for me ;-)
    Monday, June 20, 2011 8:10 AM
  • Thanks for the tip jimstein.

    I tried something similar but it didn't work.

    I will try what you suggest and post here the results.

    Thanks

    Monday, June 20, 2011 2:32 PM
  • Hi, I had the same error. I exited all the messenger apps like AIM, Skype, etc. and everything started working. Close any apps that use cameras.
    Tuesday, June 21, 2011 5:42 AM
  • Hi, Girish thanks but I do not have any of that kind of apps running.

    I also tried jimstein's suggestion but did not work either (although I found some other entries in the registry to PrimeSense).

    I will keep trying, if I can make it work, I will post it here :)


    Tuesday, June 21, 2011 8:06 AM
  • My problem is that other usb devices interfered with the kinect. As soon as I disconnected the wire between my flatscreen and my computer (the screen is also a usb hub), it worked.

    Basically, unplug any usb device other than the mouse, the keyboard and the kinect.


    Sylvain Boissé, Software Architect, Noesis Innovation, www.noesisinnovation.net
    Wednesday, August 3, 2011 3:44 AM
  • I have the same error as Pete62.

    Were you able to solve the issue?

     

    I never installed other Kinect drivers.


    Tuesday, August 23, 2011 5:36 AM
  • In my case the issue also was in power supply. Somehow my power adaptor wasn't working correctly. Until I figured it out I could enjoy only exceptions.

    BTW, I had to reinstall (repair, remove and install again) SDK. and green LED is still flashing, though Skeleton Viewer application works fine. 

    Thursday, September 1, 2011 12:04 AM