Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows 10 Creator's update breaking librealsense #502

Closed
Caopi opened this issue May 17, 2017 · 1 comment
Closed

Windows 10 Creator's update breaking librealsense #502

Caopi opened this issue May 17, 2017 · 1 comment

Comments

@Caopi
Copy link

Caopi commented May 17, 2017

Required Info
Camera Model SR300
Firmware Version 3.21.0.0 (I think, don't know how to check currently)
Operating System & Version Windows 10 Education Creator's Update 1703 15063.296 64 bit
Build System VS2017 and CMake (The C compiler identification is MSVC 19.10.25019.0)

After updating my Windows 10 machine to the Creator's update, I cannot get my Realsense SR300 to work anymore. Neither the official driver/sdk nor librealsense seem to work. Everything was working with this exact setup yesterday on the 1607 update.

I still have librealsense installed (from an earlier cmake build (~March/April) of the master branch) and when I try to run my project, I get the following errors exactly at the moment when the rs::context object is initialized:

Exception thrown at 0x00007FF9C11F9E08 in headposeestimation.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.
Exception thrown at 0x00007FF9C11F9E08 in headposeestimation.exe: Microsoft C++ exception: rs::error at memory location 0x0000001B738FEC60.

I tried reinstalling the official drivers (no change and no update yet) and rebuilding librealsense after pulling the latest master branch changes, but I have a new problem there:

CMake Warning at CMakeLists.txt:276 (message):
  10 source files ignored:
  src/libuvc/ctrl.c;src/libuvc/dev.c;src/libuvc/diag.c;src/libuvc/frame.c;src/libuvc/init.c;src/libuvc/stream.c;src/libuvc/libuvc.h;src/libuvc/libuvc_config.h;src/libuvc/libuvc_internal.h;src/libuvc/utlist.h

Other than that, the build runs through without errors or other warnings, but trying to run the test files in visual studio shows that nothing is working at all:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
offline-test.exe is a Catch v1.2.1 host application.
Run with -? for options

-------------------------------------------------------------------------------
rs_create_context() validates input
-------------------------------------------------------------------------------
D:\Markus\Documents\librealsense\unit-tests\unit-tests-offline.cpp(38)
...............................................................................

d:\markus\documents\librealsense\unit-tests\unit-tests-common.h(63): FAILED:
  REQUIRE( rs_get_error_message(err) == rs_get_error_message(nullptr) )
with expansion:
  "IMFActivate::ActivateObject(...) returned 0x80070490"
  ==
  {null string}

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SR300-live-test.exe is a Catch v1.2.1 host application.
Run with -? for options

-------------------------------------------------------------------------------
Device metadata enumerates correctly
-------------------------------------------------------------------------------
D:\Markus\Documents\librealsense\unit-tests\unit-tests-live.cpp(12)
...............................................................................

d:\markus\documents\librealsense\unit-tests\unit-tests-common.h(63): FAILED:
  REQUIRE( rs_get_error_message(err) == rs_get_error_message(nullptr) )
with expansion:
  "IMFActivate::ActivateObject(...) returned 0x80070490"
  ==
  {null string}

I am not really sure where the problem is coming from and if I or librealsense can fix it. Apparently other cameras also had problems with the Creator's update and the fix is usually a driver update.

I really need this to work as I am in the final weeks of my thesis that relies on it, if you need any more info, I am more than happy to provide it or test something.

Any other suggestions regarding Windows are also appreciated. Regarding downgrading windows: clever as I am, I already deleted the old update files, so either it's this version or a complete reinstallation.

@Caopi
Copy link
Author

Caopi commented May 18, 2017

Update: I managed to get it working again. It wasn't a librealsense problem, so I will close this issue.

For those having similar problems: The problem is that there is a faulty driver in Windows Update and it gets automatically installed and breaks the communication to the camera completely, even for librealsense. What you need to do, is to prevent this automatic update and roll back to the last official realsense dcm 3.3.27 driver if you want librealsense and sdk, or a default driver for just librealsense. I followed these instructions from the official forums to achieve this: https://communities.intel.com/thread/113973

Also note that Intel recognized the problem with the Creator's update, but hasn't released an update and recommends to not update yet... https://communities.intel.com/community/tech/realsense/blog/2017/04/07/windows-10-creators-update-build-15063-is-not-compatible-with-intel-realsense-sr300-camera-driver

@Caopi Caopi closed this as completed May 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant