VirtualBox

Opened 8 years ago

Last modified 5 years ago

#15802 reopened defect

[Regression] No microphone, Windows Guest, Linux Host.

Reported by: dark_sylinc Owned by: pentagonik
Component: audio Version: VirtualBox 5.1.2
Keywords: microphone, after 5.1 Cc:
Guest type: Windows Host type: Linux

Description

Linux Host

Ubuntu 16.04

Kernel 4.7.0-040700-generic

Guest: Windows 8.1 (also appears to affect any other guest)

Audio Controller: Intel HD Audio

Microphone is enumerated by the guest, but it is always silent. On occasions fiddling with microphone driver enumeration (i.e. toggling "Show unplugged recording devices" several times, going to its properties, etc) can even crash VirtualBox (rare, happened to me only twice).

PulseAudio shows VirtualBox has requested and received microphone and speaker. I've also tried the ALSA driver, same result. Couldn't try OSS driver (immediately aborts VM, didn't look much into it; I assumed either I had a missing dependency or the OSS device couldn't be grabbed)

I tried AC97 audio controller but Windows 8.1 won't install drivers for it.

Useful info:

  • Problem shows in official virtualbox-5.1_5.1.2-108956-Ubuntu-xenial_amd64 (using matching extension pack & Guest additions)
  • Problem persists in test build VirtualBox-5.1.3-110032-Linux_amd64.run (using matching extension pack & Guest additions)
  • It works correctly in virtualbox-5.1_5.1.0-108711-Ubuntu-xenial_amd64.deb

More info:

These users seem to be affected by the same problem: https://forums.virtualbox.org/viewtopic.php?f=7&t=78797

Attachments (10)

VBox.log.zip (27.1 KB ) - added by dark_sylinc 8 years ago.
Logs.zip (137.8 KB ) - added by Galvictor 8 years ago.
Logs.2.zip (58.3 KB ) - added by Galvictor 8 years ago.
Arch Linux with Gnome
VBox.tar.gz (28.3 KB ) - added by gromain 8 years ago.
5.1.2 start and stop, with Manjaro host and Win7 guest
Visicom Windows-2016-08-30-20-21-37.log.zip (27.0 KB ) - added by Selmi 8 years ago.
VBox.log of test session with skype. incoming voice was with skips, recorded voice sounded like robot from old scifi movie
Win764_VBOX.log (139.2 KB ) - added by ChrisMW 8 years ago.
Win764_026.log (105.8 KB ) - added by ChrisMW 8 years ago.
Logs.tar.gz (49.8 KB ) - added by e-cloud 8 years ago.
vbox-log-ubuntu-host-win10-guest
VBox.log.2.zip (56.0 KB ) - added by rickan 6 years ago.
VBox_Win10_Guest_Ubuntu_18.04_Host.log.gz (34.8 KB ) - added by Simon Coleman 6 years ago.
Ubuntu 18.04 Host, VBox 5.2.18 with Ext pack, Windows 10 guest with 5.2.18 guest additions

Download all attachments as: .zip

Change History (51)

by dark_sylinc, 8 years ago

Attachment: VBox.log.zip added

comment:1 by matthewls, 8 years ago

Same here, vb5.1.4, but mic worked in 5.0.26

comment:2 by NachoGomez, 8 years ago

Same issue here! In my case I have openSUSE 13.2 x64 as hosts and Windows 7 as guest (and many other guests, but I only need audio in Win7 for WebEx sessions)

Regards...

comment:3 by ElOjcar, 8 years ago

I also have the problem, with Ubuntu 14.04LTE. Microphone worked well with virtualbox 5.0.xxx, but not with 5.1.xxx

Version 0, edited 8 years ago by ElOjcar (next)

by Galvictor, 8 years ago

Attachment: Logs.zip added

by Galvictor, 8 years ago

Attachment: Logs.2.zip added

Arch Linux with Gnome

comment:4 by Galvictor, 8 years ago

I'm having the same issue after virtualbox update. I'm using Arch Linux and virtualbox guest utils and Windows 10 as Host. If I put Intel HD works, but the sound come oddly like an echo or a little delay (if you are watching an youtube video). In my case if I change back to AC97 works normal with a little delay. (Arch Linux LTS - KDE Plasma 5) Logs.zip

On my Arch Linux Gnome I'm having diferent situations... AC97 not working after reboot Logs.2.zip

comment:5 by karolbe, 8 years ago

Same problem with Ubuntu 16.04.1. Sadly, this issue forced me to downgrade to VB 5.0.26.

comment:6 by gromain, 8 years ago

I do have the same problem here, with Manjaro, testing branch (stable branch is not working either).

VirtualBox version is 5.1.2_OSE r108956.

Guest is Windows 7.

Audio worked with previous (5.0.x) version, but not anymore since 5.1.x.

I will attach my clean log with a complete start and shutdown sequence.

by gromain, 8 years ago

Attachment: VBox.tar.gz added

5.1.2 start and stop, with Manjaro host and Win7 guest

comment:7 by Mone, 8 years ago

I have same audio issue when I use Windows 10 host and run the Linux Guest (Ubuntu 16.04) on Virtualbox 5.0.26 and Virtualbox 5.1.2 (5.1.4).

I have test the the audio emulation settings, AC97 and IntelHD

  1. Audio input and output are both workable, but the guest OS crash (freeze, and one thing I can do is force interrupt by the window close button [X] ) sometimes when I use pyaudio to start record audio. Not every time but randomly happen.
  1. Audio output is workable but the audio input is not, when I test by Ubuntu audio setting, I can not see any sound pressure when I make noise.
Last edited 8 years ago by Mone (previous) (diff)

comment:8 by muli, 8 years ago

Hi All, As posted in - https://forums.virtualbox.org/viewtopic.php?f=7&t=78797&p=369610#p369610

Still experiencing the loss of mic on virtual guest after upgrading to 5.1.4, updated expansion pack, guest pack,

Only workaround is to use a USB mic.

Any reply from VirtualBox support?

Muli

comment:9 by gromain, 8 years ago

I believe this bug should be classified at least as major as this is a major problem for users for whom it doesn't work.

comment:10 by hash42, 8 years ago

Adding another voice to push this as a major issue that needs resolution.

Host: Fedora 22 kernel 4.4.14-200.fc22.x86_64

Guest: Windows 7 (64 bit) The Guest OS does not detect any Audio Input Device!!

Picture worth a thousand words: https://s3.postimg.org/vxk9a9bur/screenshot007.png

comment:11 by skfp, 8 years ago

I'm using Fedora 24 host and Windows 8 guest. In 5.1.4 the mic won't pick up anything. Downgraded to 5.0.26 and the mic works again.

comment:12 by Bob_Stones, 8 years ago

And another. I'm using Adobe Captivate in a windows VM. In VB 5.0 the sound passed through to the application is pretty bad, lots of clicks are heard when sound volume is high. I'll upgrade to 5.1.4 to get rid of all this, I thought. Unfortunately the mic just doesn't work at all now.

Ubuntu 16.04 with all latest patches, VB 5.1.4 r110228

Last edited 8 years ago by Bob_Stones (previous) (diff)

comment:13 by pentagonik, 8 years ago

Owner: set to pentagonik
Status: newassigned

comment:14 by pentagonik, 8 years ago

Reproduced and fixed the issue. A new test build will be available shortly.

comment:15 by pentagonik, 8 years ago

I've uploaded a new test build which hopefully should fix the problem:

The files can be downloaded from the Testbuilds page.

Scroll down to the Latest test builds / 5.1.x builds section and download the build appropriate for your host platform.

This test build is not intended for production use!

Thank you!

comment:16 by sleepwalk3r, 8 years ago

Same issue since updating to VB 5.1.X
Host: Ubuntu 15.10 x64
Guest: Windows 10 Pro

Last edited 8 years ago by sleepwalk3r (previous) (diff)

comment:17 by Frank Mehnert, 8 years ago

sleepwalk3r, which build did you test (exact revision please)?

in reply to:  17 comment:18 by sleepwalk3r, 8 years ago

Replying to frank:

sleepwalk3r, which build did you test (exact revision please)?

Just the standard 5.1.0 and 5.1.2; then I went back to 5.0.26 which works fine

comment:19 by Frank Mehnert, 8 years ago

Ok, then you didn't test a test build from comment 15, your comment "Same issues since updating to VB 5.1.X" was a bit misleading.

comment:20 by Selmi, 8 years ago

with test build microphone works, but not well - without any change in settings or sound levels microphone volume bars in skype setings and gotomeeting sound check showed that I was speaking, but other side was not hearing me. when i touched volume settings in both host and guest it started to work, but my voice sounded like robot with lot of skips

btw sound is not good in general, lot of noise like old vinyl. in linux host everything is clean, from windows 10 guest it is always noisy regardless of volume levels set both in guest and host. but it was like this even in 5.x so it is not directly related to this issue

Last edited 8 years ago by Selmi (previous) (diff)

comment:21 by pentagonik, 8 years ago

Could you please supply the verbose VBox.log file as shown here: Investigating audio problems

Thank you!

by Selmi, 8 years ago

VBox.log of test session with skype. incoming voice was with skips, recorded voice sounded like robot from old scifi movie

by ChrisMW, 8 years ago

Attachment: Win764_VBOX.log added

comment:22 by ChrisMW, 8 years ago

I have similar results. There's indication of sound, but barely. Can't make out words. Used a Skype for Business test call to test. Had Linux mic on full, Skype about 50%. Host is Mint LMDE 64 bit/16GB RAM and client is Win7 64bit with 6GB Ram. Same issue, 5.1.2/.4 no sound, 5.0 was capable of using Skype for Business.

comment:23 by ChrisMW, 8 years ago

I have gone back to 5.0.26 and replayed the exact same sequence. Sound from microphone was perfect. One thing I noticed however, is that the windows start-up tune seems a little longer in duration on 5.0.26 than on 5.1.4. On the latter, it seems almost cut-off, although subsequent sounds sound fine. It is just the start-up tune. This might be related, or due to improved speed of 5.1.4. I can't tell.

by ChrisMW, 8 years ago

Attachment: Win764_026.log added

comment:24 by warcop, 8 years ago

I was having a similar problem with PulseAudio/AC97 on Windows 10. I was able to solve the issue by updating to 5.1.5_110394. There seems to be a noticed delay >300ms.

comment:25 by e-cloud, 8 years ago

virtualbox: 5.1.5 r110394 (Qt5.6.1)
host: ubuntu 16.04
guest: windows 10 latest Enterprise
audio setting: Pulse audio and Intel HD

still unable to detect the microphone.

comment:26 by nixuser, 8 years ago

Tickets #15840 #15804 #15806 #15848 #15859 and probably even #15651 are almost certainly duplicates of this issue.

comment:27 by pentagonik, 8 years ago

@e-cloud Can you please have a look at comment 21 and provide a verbose VBox.log? Thank you!

comment:28 by pentagonik, 8 years ago

@nixuser Thanks for pointing out -- I'll have a look at those tickets.

by e-cloud, 8 years ago

Attachment: Logs.tar.gz added

vbox-log-ubuntu-host-win10-guest

in reply to:  26 comment:29 by ChrisMW, 8 years ago

Replying to nixuser:

Tickets #15840 #15804 #15806 #15848 #15859 and probably even #15651 are almost certainly duplicates of this issue.

15806 is something I have noticed also, but for me started with 5.1.2, the first 5.1 version I tried. The others report a change from 5.1.2 to 5.1.4 in audio out. In my case I have not experienced this at all. VB does sometimes crap up all audio, something I put down to the host process not doing the resume well, something I can remember all the way back to 4 series. So perhaps the same reason microphones almost never make it is the same why speakers sometimes sound really bad. Interesting......

comment:30 by Frank Mehnert, 8 years ago

The "no microphone" issue should be fixed in 5.1.6.

comment:31 by Selmi, 8 years ago

I confirm, microphone works in 5.1.6

comment:32 by Frank Mehnert, 8 years ago

Resolution: fixed
Status: assignedclosed

Thanks! Then I will close this ticket. Please open separate tickets for separate issues.

comment:33 by Raydude, 7 years ago

Resolution: fixed
Status: closedreopened

I'm using VirtualBox 5.1.16 in Gentoo Linux with a Windows 10 Guest and the microphone is present but not functioning within Skype.

It's a bummer because I have to reboot to attend meetings.

I have upped the linux microphone gains to full but the meter in Skype doesn't budge.

What information do you need to debug?

comment:34 by pentagonik, 6 years ago

Does this still happen with 5.1.30 and/or 5.2?

comment:35 by sergwy, 6 years ago

Still the issue in Virtualbox 5.2 on Kubuntu 17.10

comment:36 by pentagonik, 6 years ago

@sergwy: Please supply all data as shown here: Investigating audio problems

Thank you!

by rickan, 6 years ago

Attachment: VBox.log.2.zip added

comment:37 by rickan, 6 years ago

VirtualBox 5.2.12 r122591 (Qt5.6.1) Host: Ubuntu Studio 16.04.4 LTS Guest: Windows 10

My apps which use the mic report there isn't one When I try to set one up the diagnostic thingy comes up and thinks for awhile and finds that the mic is detected (even that it's a headset mic) but not ready and that there are no other issues.

I tried two different setups in the VB GUI for Host Audio Driver: PulseAudio and ALSA. I have attached the audio debugging logs for both cases.

Audio output is working fine and I didn't test it while debugging so all the *.wav files have no content.

comment:38 by Denys Yurchenko, 6 years ago

Ticket #17597 duplicate of this issue.

by Simon Coleman, 6 years ago

Ubuntu 18.04 Host, VBox 5.2.18 with Ext pack, Windows 10 guest with 5.2.18 guest additions

comment:39 by Simon Coleman, 6 years ago

I also have this issue with an HP zbook g3 laptop.

Host is 18.04, onboard audio in/out works on this.

VBox 5.2.18

Guest virtual HW configured as Intel HDA & Pulse Audio driver.

Guest is Win10, audio out works ok (bit choppy at times on headphones). Main issue is that Win10 does not see a mic device presented.

Connecting a USB sound device from Sennheiser to the host & then passing that through to the guest results in sennheiser audio out & new mic device presented, both of which appear ok (not much testing done beyond testing in the device settings). Proves audio in/out presented to guest via USB devices is ok. For native host audio, it would seem that the driver passthrough doesn't present the mic device correctly as an Intel HDA, so windows doesn't try to load/use it.

Attached the logfile VBox_Win10_Guest_Ubuntu_18.04_Host.log.gz

I also tried (briefly) use of Alsa (laggy) & ICH9/Realtek [win10 couldn't identify the hw properly] so reverted back to default (recommended) Pulse/intel HDA.

comment:40 by pentagonik, 6 years ago

Please try the latest test build from the Testbuilds page.

Scroll down to the Latest test builds / 5.2.x builds section and download the build appropriate for your host platform.

Could you please supply the verbose VBox.log file as shown here: Investigating audio problems

Thank you!

comment:41 by Exterminator13, 5 years ago

Hosts:

  • Linux Mint 17/17.2 (Ubuntu 14.04 LTS)
  • Linux Mint 19 (Ubuntu 18.04 LTS).

Guest OS: Windows XP SP3

VirtualBox version: 5.1.x (the latest one in the branch, 5.1.38, didn't work as well)

The problem: audio playback works great, but microphone doesn't! Moreover, USB is not recognized too!

The solution in my case was simple: you have to add the current user to vboxusers:

sudo adduser $USER vboxusers

After this action, USB devices began to be recognized as nothing happened before. And, of course, microphone also began to work!

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use