Webcam on Hyper-V VM - 100% CPU - and no picture

Running latest Windows 10 Pro on host and Hyper-V VM.
* Host = i7 CPU and 36GB RAM
* VM = 3 virtual CPUs and 10GB RAM allocated

Downloaded and ran the Windows version VirtualHere server and client.
NOTE:
Although the server download page says "Installation is automatic and immediate" - it appears that the server "install" is the same as the client - no actual install - just save it and run.

I did not install Bonjour. I was easily able to find and connect to the server manually.

I was able to pick the webcam and the VirtualHere client showed it as connected.

I tried multiple video applications in the VM:
* No picture
* 100% CPU utilization in both host and VM

Is there anything different that I should try?

Thanks!
CBruce

#3

Oops! - As soon as I tried VLC or a couple of other apps the system was back to 100% CPU again.

The host CPU utilization is split between vhusbdwin64.exe and the Hyper-V Vmmem process.

After this happens - when I choose (in the VirtualHere client) to quit using the webcam device - the VH server closes.

2019-08-08 13:59:02 INFO :>>> Starting VirtualHere USB Server v4.0.0 (Built: Jul 29 2019, 20:56:50)<<<
2019-08-08 13:59:02 INFO :Using configuration C:\Users\bruce\Desktop\config.ini
2019-08-08 13:59:02 INFO :Server licensed to=unlicensed max_devices=1
2019-08-08 13:59:03 INFO :Listening on all network interfaces at TCP port 7575 (IPv6 dual-stack)
2019-08-08 13:59:03 INFO :Found High speed device [058f:6362] "Generic, Mass Storage Device" at address 1
2019-08-08 13:59:03 INFO :Found High speed device [2084:0805] "Sunplus IT Co , Full HD 1080p Web Camera" at address 2
2019-08-08 13:59:03 INFO :Found Low speed device [093a:2510] "PixArt, USB Optical Mouse" at address 3
2019-08-08 13:59:03 INFO :Found Low speed device [0461:4d98] " , USB Gaming Keyboard" at address 4
2019-08-08 13:59:10 ERROR :Registration returned an error
2019-08-08 14:28:17 INFO :fe80::8d08:84:81c9:f94b connected as connection 1
2019-08-08 14:28:43 INFO :Device 2 [2084:0805] BOUND to connection 1
2019-08-08 15:34:48 INFO :Device 2 [2084:0805] UNBOUND from connection 1
2019-08-08 15:38:14 INFO :Device 2 [2084:0805] BOUND to connection 1
(VH Server died at this point)

(Closed VH client and relaunched VH Server and VH client)
2019-08-08 15:53:53 INFO :>>> Starting VirtualHere USB Server v4.0.0 (Built: Jul 29 2019, 20:56:50)<<<
2019-08-08 15:53:53 INFO :Using configuration C:\Users\bruce\Desktop\config.ini
2019-08-08 15:53:53 INFO :Server licensed to=unlicensed max_devices=1
2019-08-08 15:53:53 INFO :Listening on all network interfaces at TCP port 7575 (IPv6 dual-stack)
2019-08-08 15:53:53 INFO :Found High speed device [058f:6362] "Generic, Mass Storage Device" at address 1
2019-08-08 15:53:53 INFO :Found High speed device [2084:0805] "Sunplus IT Co , Full HD 1080p Web Camera" at address 2
2019-08-08 15:53:53 INFO :Found Low speed device [093a:2510] "PixArt, USB Optical Mouse" at address 3
2019-08-08 15:53:53 INFO :Found Low speed device [0461:4d98] " , USB Gaming Keyboard" at address 4
2019-08-08 15:54:21 INFO :fe80::8d08:84:81c9:f94b connected as connection 1

CBruce

#4

I dont think your computer is powerful enough for this. Try putting the webcam on some other box as the server (ideally linux) and try that

#5

Hi Michael,

I'm trying to run the webcam that is attached to my Win10 host from inside a Hyper-V VM on that same host box. Not across a physical network.

So an Intel i7-3770 4-Core (8-Threads) 3.4 GHz CPU and 36GB RAM is not enough?
Or is the problem that the VirtualHere server does not run well on Windows 10?
Or does the VirtualHere server have problems with Hyper-V VMs?

Note:
Linux does not have Hyper-V, so it would be hard to run my Hyper-V VM on that.
[smile]
(Also, I don't even have a hardware Linux machine to try that on.)

Are you saying the VirtualHere software USB server is only for use with server-level CPUs like Intel Xeon and AMD Ryzen, Epyc?

Because your server page says... "The VirtualHere USB Server software runs on the Synology, QNAP, ASUSTOR, ReadyNAS and MyCloud NAS Devices, as well as Raspberry Pi, AMD64, x86, MIPS, ARM, PowerPC, ARM64 etc running ANY version of Linux, and now runs on OSX, Android and Windows."

I figured that if a Raspberry Pi could run the VH server, my i7 CPU should be more than enough to handle it.

Thanks!
CBruce

#6

Yeah its nothing to do with memory its entirely the cpu its not powerful enough. Windows is not a good USB server because windows is was not written to support USB sharing nicely. (The virtualhere Client is fine on windows and works very well as microsoft supports it well)

You should be running the high bandwidth isochronous devices like a webcam on a separate server like the pi or something linux based. If you are running everything on the same Windows box and trying to stream a high bandwidth isochronous device at a high resolution you will likely have trouble especially with an older cpu like you have.