Can not select the camera mode after install windows10 64bit Anniversary Update.
269 views
Skip to first unread message
Norio Sato
unread,
Sep 9, 2016, 9:58:14 PM9/9/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Open PHD Guiding
Hi everyone
I have problem PHD2 2.6.2 using WDM camera. After install windws10 Anniversary Update,i could not select camera mode. pop up window appear but there are no words(1280×960,etc) So i can not connect WDM camera. PHD2 shows the error massage "error actvating video mode()". My camera use usbvideo.sys(microsoft 10.0.14393.82) Logfile is here. https://onedrive.live.com/?id=728ECE1BCA5C7382%21105&cid=728ECE1BCA5C7382#id=728ECE1BCA5C7382%212271&cid=728ECE1BCA5C7382 How do i fix this? I know that PHD2 can get image by using OPENCV2,but i want to connect using WDM driver.
Thanks
Andy Galasso
unread,
Sep 10, 2016, 1:25:30 AM9/10/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Open PHD Guiding
Hello Norio,
Sorry to hear you ran into the problem after the Windows upgrade. Unfortunately there is nothing we can do to fix it in the application level in PHD2. I suspect you will find that the camera no longer works in any app that accesses it through WDM, not just PHD2.
One option might be to check with the camera manufacturer to see if there is any updated camera driver available.
If that does not work, your best option might be to revert the Windows update that stopped the camera driver from functioning properly. Sorry I do not know enough about Windows 10 updates to say how to uninstall specific updates (or if it is even possible.)
Andy
Patrick Chevalley
unread,
Sep 10, 2016, 4:03:33 AM9/10/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Open PHD Guiding
Hi,
I install a new Windows 10 laptop to test one of my application I develop on Linux just to find this problem.
Do you try with OpenCV? because for my DMK-21 it is also broken.
It look like the only solution for now is to revert the Windows update.
Patrick
Norio Sato
unread,
Sep 10, 2016, 9:21:46 AM9/10/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Open PHD Guiding
Dear Patrick
Thank you for very useful Link,I read the thread. and understood why PHD2 can not get image. I will return to previous build 10586. Adding registry entry method does not work on my PC.
My camera work on PHD2 using OpenCV1 webcam. It work easily but not enough for me.
Thank you again
2016年9月10日土曜日 17時03分33秒 UTC+9 Patrick Chevalley:
Norio Sato
unread,
Oct 1, 2016, 4:06:45 AM10/1/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Open PHD Guiding
Hi everyone
Good news. Microsoft corrected this issue. I installed KB3194496. All my cameras can connect to PHD2. Thank you.
2016年9月10日土曜日 10時58分14秒 UTC+9 Norio Sato:
Andy Galasso
unread,
Oct 1, 2016, 12:50:55 PM10/1/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Open PHD Guiding
Hi Norio,
That is good news! Thanks for the update.
Andy
Dave partridge
unread,
Oct 3, 2016, 7:00:04 PM10/3/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Open PHD Guiding
I could wish... I have KB3194496 installed, but when I select the Webcam (lifecam studio) it doesn't disply that available modes.
However, I think there is some hope of an application level fix Sharpcap works just fine and it too is driving the camera as WDM.
The interesting part of the debug log is this:
23:55:32.408 04.768 6716 Status Line: Connecting to Camera ... 23:55:32.410 00.002 6716 GetString("/profile/1/cam_hash/962ec88d/whichCamera", "") returns "" 23:55:32.411 00.001 6716 Connecting to camera id = [] 23:55:32.411 00.000 6716 GetInt("/profile/1/camera/WDM/deviceNumber", -1) returns -1 23:55:32.411 00.000 6716 GetInt("/profile/1/camera/WDM/deviceMode", -1) returns -1
But I would have expected the device number *not* to be -1 as when asked to select the WDM camera I selected nmber 0 in the list, and I'd have though that a return of -1 would indicate no selection made?
Or have I not understood? Dave
Dave partridge
unread,
Oct 3, 2016, 7:03:30 PM10/3/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Open PHD Guiding
More on this: Selecting the "other" webcam (built in to the screen on this laptop) worked as expected.
Dave partridge
unread,
Oct 7, 2016, 4:48:30 AM10/7/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Open PHD Guiding
More information: Both Sharpcap and (quietly now) Metaguide work fine.
MS claim that KB3194496 should have fixed it, but it may be that you are looking for a specific mode type that they still don't expose even after the fix.
However as I indicated in an earlier post Sharpcap is managing 30fps at 1920x1080 from the Lifecam Studio in YUY2 mode.
So I really think that PHD2 can provide a solution ...
Patrick Chevalley
unread,
Oct 7, 2016, 12:16:44 PM10/7/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Open PHD Guiding
I finally get KB3194496 today on my Win10 testing system. Now my DMK-21 work without problem with PHD2 using WDM or OpenCV.
Maybe you have an unrelated problem because the debuglog before KB3194496 was:
13:37:30.575 00.000 3368 Created new camera of type Windows WDM-style webcam camera = 00E0C6E0 13:37:33.903 03.328 3368 wxMessageBoxProxy(Error initializing WDM services) 13:37:36.329 02.426 3368 Error thrown from C:\cygwin\home\agalasso\projects\phd2\cam_wdm.cpp:133->CVFAILED(VidCap->Init()) 13:37:37.844 01.515 3368 Status Line: Connecting to Camera ... 13:37:37.860 00.016 3368 GetString("/profile/2/cam_hash/962ec88d/whichCamera", "") returns "" 13:37:37.860 00.000 3368 Connecting to camera id = [] 13:37:37.860 00.000 3368 GetInt("/profile/2/camera/WDM/deviceNumber", -1) returns -1 13:37:37.860 00.000 3368 GetInt("/profile/2/camera/WDM/deviceMode", -1) returns -1 13:37:37.922 00.062 3368 wxMessageBoxProxy(Error initializing WDM services) 13:37:39.814 01.892 3368 Error thrown from C:\cygwin\home\agalasso\projects\phd2\cam_wdm.cpp:133->CVFAILED(VidCap->Init()) 13:37:39.814 00.000 3368 Error thrown from C:\cygwin\home\agalasso\projects\phd2\cam_wdm.cpp:249->SelectDeviceAndMode failed 13:37:39.814 00.000 3368 Throw from C:\cygwin\home\agalasso\projects\phd2\gear_dialog.cpp:970->DoConnectCamera: connect failed 13:37:39.814 00.000 3368 Status Line: Camera Connect Failed
Dave partridge
unread,
Oct 10, 2016, 11:52:14 AM10/10/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Open PHD Guiding
Bonjour Patrick,
I can try again, but so far every time I have tried the selection list for what resolution to use has been empty and therefore I cannot connect.
There must be a solution for this (even if it is in the OpenCV code) because both Sharpcap and Metaguide connect to the camera just fine (and display what it is seeing).
Ever hopeful Dave Partridge
Message has been deleted
Dave partridge
unread,
Oct 10, 2016, 1:34:30 PM10/10/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Open PHD Guiding
For Andy G.
Can you confirm that the class library you are using is Mike Ellison's Vidcapture 0.3 from SourceForge? If so, I'll try to dig into this using a debugger.
Dave
Andy Galasso
unread,
Oct 10, 2016, 1:47:36 PM10/10/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Open PHD Guiding
Dave,
That is correct, PHD2 uses Ellison's Vidcapture 0.3.
It is very straightforward to debug PHD2 in Visual Studio ... here are the Windows build instructions if you have not seen them already.
Thanks for digging into it!
Andy
Dave partridge
unread,
Oct 11, 2016, 4:16:33 PM10/11/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Open PHD Guiding
Thanks Andy,
The build page doesn't mention Vidcapture, just OpenCV - are they related, or do you use/need both?
Thanks again Dave
Andy Galasso
unread,
Oct 11, 2016, 6:24:23 PM10/11/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Open PHD Guiding
Dave,
A bunch of libraries including Vidcapture are checked-in as binaries (library + .h), so it's already included when you do the git pull to get the phd2 source tree. You'll have to hack the cmake rules if you want to build Vidcapture from source.
(Vidcapture and OpenCV are unrelated and phd2 uses both, though the former is in the source tree and the latter is not hence the instructions for downloading and building it.)
Andy
Dave partridge
unread,
Oct 12, 2016, 9:42:46 AM10/12/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Open PHD Guiding
OK I think I'm missing something with this new (to me) release of Visual Studio.
I built the VidCapture debug lib file and copied the following files:
VidCapLib_db.lib vc120.idb vc120.pdb
to D:\phd2\cameras\VidCapture.
I then added D:\VidCapture\Source\CVCommon and D:\phd2\cameras\VidCapture to the "Debug Source Files" in the common properties for the phd2.sln project.
However when I try to step into CVPlatform::AcquireVideoCapture()
I get a nastygram saying:
Source not available: Source information is missing from the debug information for this module.
What did I not do that I needed to?
PS If you prefer we can take this offline ...
Dave
Andy Galasso
unread,
Oct 12, 2016, 3:52:54 PM10/12/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Open PHD Guiding
Dave,
Yeah, let's take this offline for now. Let me see if I can get it working on my pc and I'll get back to you directly.
Andy
Dave partridge
unread,
Oct 16, 2016, 1:01:03 PM10/16/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Open PHD Guiding
I'm pleased to report that I've managed to fix the VidCapture code to work on Windows 10 Anniversary Edition (which it wasn't for my MS Lifecam Studio).
I've tested the changes against the 2.6.2Dev4 codebase for PHD2 and I'm sure that Andy will release a new build with these fixes incorporated in the near future
Cheers Dave Partridge
Andy Galasso
unread,
Oct 28, 2016, 5:17:56 PM10/28/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Open PHD Guiding
The latest development build of PHD2, v2.6.2dev5, now incorporates Dave's changes fixing the Windows 10 WDM webcam problem.
Many thanks to Dave for stepping up and developing the fix. It turned out to be more work than we expected due to not having access to some required source code, but Dave was able to re-implement the code that was needed, and this will allow us to be better able to support WDM webcams going forward.
Andy
Norio Sato
unread,
Oct 28, 2016, 6:43:20 PM10/28/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Open PHD Guiding
Thanks new build. It work well on win10( 14393.351). I can choice any mode of webcam(YUY or MJPG,1280*960,1280*720,etc).