MacBook Pro - High CPU when webcam is connected

Discussions about using Mac OS X guests (on Apple hardware) in VirtualBox.
Post Reply
vikas027
Posts: 2
Joined: 8. Nov 2018, 11:42

MacBook Pro - High CPU when webcam is connected

Post by vikas027 »

Hey All,

I am trying to use a webcam in a Win 7 Virtualbox VM. The VM runs perfectly fine but as soon as I turn on the webcam, CPU usage bumped from 13% to 250% :| . I have tried both integrated and an external Logitech web cameras.

These are the software and hardware versions
- 13" MacBook Pro 2018 (2.7 GHz i7 16 GB RAM)
- OSX 10.14 (18A391)
- Virtual Box Version 5.2.20 r125813 (Qt5.6.3)
- Windows 7 SP1 (8 GB RAM, 2 vCPU)

Any ideas to how can I reduce CPU usage when connected to Webcam?

Thanks,
Vikas
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: MacBook Pro - High CPU when webcam is connected

Post by socratis »

vikas027 wrote:Any ideas to how can I reduce CPU usage when connected to Webcam?
Not with that amount of information. For example, there's a key piece missing; the name/version of the software that you're testing the camera in your guest.

BTW, it's not ultra-surprising, video processing does take a lot of CPU...

I would like to see a complete VBox.log, from a complete VM run:
  • Start the VM from cold-boot (not from a paused or saved state) / Observe error / Shutdown the VM (force close it if you have to).
  • With the VM completely shut down (not paused or saved), right-click on the VM in the VirtualBox Manager and select "Show Log".
  • Save only the first "VBox.log", ZIP it and attach it to your response. See the "Upload attachment" tab below the reply form.
I would also like to see the "recipe" of the VM, the ".vbox" file:
  1. Right-click on the VM in the VirtualBox Manager. Select "Show in Finder/Explorer/Whatever".
  2. ZIP the selected ".vbox" file and attach it to your response.
Image
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
vikas027
Posts: 2
Joined: 8. Nov 2018, 11:42

Re: MacBook Pro - High CPU when webcam is connected

Post by vikas027 »

Hello Socratis,

Thanks for your response. Please find the attached Virtual Box config and log files.
Attachments
vbox.log.zip
Virtual Box Log File
(32.56 KiB) Downloaded 22 times
Windows_7.vbox.zip
Virtual Box Zip File
(1.86 KiB) Downloaded 16 times
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: MacBook Pro - High CPU when webcam is connected

Post by mpack »

socratis wrote: BTW, it's not ultra-surprising, video processing does take a lot of CPU...
As does simulated I/O.
Post Reply