VirtualBox

Ticket #15925 (new defect)

Opened 11 months ago

Last modified 4 weeks ago

Crackling sound with Windows 10 anniversary update

Reported by: olem Owned by:
Priority: major Component: other
Version: VirtualBox 5.1.6 Keywords: sound
Cc: Guest type: Windows
Host type: Linux

Description

Since latest Windows 10 update ("anniversary update") on my guest VM, sound is very crackling.

This seems to be pretty common with people having updated their Windows 10 guest:  https://forums.virtualbox.org/viewtopic.php?f=7&t=79129

I was using VirtualBox 5.0.26, I've update to VirtualBox 5.1.6 with no change.

I'm using Linux host (Fedora), but in the forum thread, one user was using Windows host.

Attachments

VBox.log Download (244.8 KB) - added by olem 11 months ago.
VBox.2.log Download (200.0 KB) - added by jms 11 months ago.
vboxlog.zip Download (193.4 KB) - added by jones23 11 months ago.
VBox - audio logs.zip Download (227.8 KB) - added by thedavix 10 months ago.
VBox.log with audio outputs
VBox.zip Download (244.8 KB) - added by BSmith 10 months ago.
Vbox.log file

Change History

Changed 11 months ago by olem

comment:1 Changed 11 months ago by olem

I've followed the instructions on https://www.virtualbox.org/wiki/AudioDebug.

When I enter

env | grep VBOX_RELEASE_LOG

result is:

VBOX_RELEASE_LOG=drv_host_audio.e.l.l2.l3.f+drv_audio.e.l.l2.l3.f+audio_mixer.e.l.l2.l3.f+dev_hda_codec.e.l.l2.l3.f+dev_hda.e.l.l2.l3.f+dev_ac97.e.l.l2.l3.f

However, message "Audio: Verbose logging enabled" does not appear in VBox.log. I've uploaded the log file anyway.

comment:2 follow-ups: ↓ 5 ↓ 6 Changed 11 months ago by klassikmann

I have a very similar VBox.log containing many repeated "Audio: Guest stream '[LUN#1] Front (Guest)' full, expect stuttering audio output"

comment:3 Changed 11 months ago by clintZ28

Suddenly started experiencing this after the latest windows 10 update I uninstalled all updates windows allowed me too...I'm unable to uninstall KB3176936 which was installed on the day this started

Last edited 11 months ago by clintZ28 (previous) (diff)

Changed 11 months ago by jms

comment:4 Changed 11 months ago by jms

I have this issue too and I would say that it started after Windows 10 anniversary update for me as well. Log file is attached.

comment:5 in reply to: ↑ 2 Changed 11 months ago by jones23

Last edited 11 months ago by jones23 (previous) (diff)

Changed 11 months ago by jones23

comment:6 in reply to: ↑ 2 Changed 11 months ago by jones23

Replying to klassikmann:

I have a very similar VBox.log containing many repeated "Audio: Guest stream '[LUN#1] Front (Guest)' full, expect stuttering audio output"

added another log file. same here, but i also get the same behavior (audio crackling) with win 8.1 guest (both fresh iso and with latest updates). with win 7 guest everything is fine. host is win 7. in comparison vmware player works fine as far as the sound is concerned.

comment:7 Changed 10 months ago by thedavix

Hi,

I am using a Windows 7 64 Bits host with a Windows 10 64 Bits VM and I am experiencing the same problem of sounds crackling and sometimes not working since the Windows 10 anniversary update.

I've followed the instructions on https://www.virtualbox.org/wiki/AudioDebug but like "olem" I do not have the "Audio: Verbose logging enabled" line in the logs, however, I see a lot of logging lines with audio information so I am posting my log file as well

Edit: Tried today with nightly build version 5.1.7 (111231) still same issue

Last edited 10 months ago by thedavix (previous) (diff)

Changed 10 months ago by thedavix

VBox.log with audio outputs

comment:8 Changed 10 months ago by junktext

I'm also having the same issue with a crackling/popping sound in a Windows 10 (64-bit) guest VM. I've posted my details to the forum the OP linked in this bug's summary heading. I'm adding this comment so I can receive any updates on this bug report.

Changed 10 months ago by BSmith

Vbox.log file

comment:9 Changed 10 months ago by BSmith

Finally signed up for an account to add my two cents in as well. I've been dealing with the same issue with a Windows 10 host and Windows 10 Guest for quite some time now. Seemingly all started after the Anniversary Update - like most others have mentioned. I've tried every combination of troubleshooting in the book to resolve the issue. Changed every setting remotely related to hardware usage and/or virtualization, changed guest audio drivers, changed host audio/video drivers and settings throughout the OS, even did a clean install of a Windows 10 guest and the same issues occurred.

I notice crackling of audio when just playing audio streams. It's faint, but it's there. When more than one audio source opens up (such as streaming audio from a player and then audio starts on a web browser) the audio starts crackling worse - sometimes it gets so bad that the streams become unrecognizable and you can't actually tell what is being played. Also, I'm not sure if others have mentioned, audio and video sync is lost very badly. Videos (YouTube, Netflix, etc) start out acceptable for the first 30-60 seconds or so and then the audio/video falls out of sync. Eventually video will lag behind the audio by 2-5 seconds.

I'm attaching my Logfile, however, like Olem mentioned above: I followed all the instructions for Audio Debug but the "Audio: Verbose logging enabled" does not appear in my Vbox.log file either. I'm not sure if I did something wrong but I followed instructions carefully and didn't notice any blatant errors.

I'm happy to help further if need be. Thank you for the support.

comment:10 Changed 10 months ago by Technologov

+1. Similar issue here.

Host: Windows 10, x64, VBox 5.0.26

Guest 1: Windows 10, original (works fine)

Guest 2: Windows 10 LTSB 2016 (broken audio input, I get lots of noise in microphone input)

Both are using same settings; Intel HD Audio via Windows DirectSound.

-Technologov, 16.10.2016.

Last edited 10 months ago by Technologov (previous) (diff)

comment:11 Changed 10 months ago by nursoda

+1. Same here. Host: Linux Mint 18, Kernel 4.4.0-43, VBox 5.1.6 r110634 (Qt5.5.1) Guest: Windows 10 Pro 64bit all Updates, Intel HD Audio via PulseAudio

comment:12 Changed 10 months ago by JaimeSchettini

Same here. Host: Ubuntu 16.04, Kernel 4.4.0-43-generic Guest: Windows 10 VBox: 5.0.24

comment:13 Changed 10 months ago by Selmi

still not good in 5.1.8 incoming sound is crackling, outcoming sound (using skype) sounds as robot

comment:14 Changed 10 months ago by thedavix

Still not ok in latest 5.1.9 (111432) :-( Host: Windows 7 64bits, Guest: Windows 10 64 Bits

Sound is crackling and even stopping from time to time when listening to videos via a browser (ie: youtube) or spotify or anything else.

Last edited 10 months ago by thedavix (previous) (diff)

comment:15 Changed 10 months ago by adaugherity

I can confirm the problem on a macOS X host and Windows 10 guest:

  • Windows 10 version 1511 is OK
  • Windows 10 anniversary (version 1607) has crackling sound

The problem is very noticeable with the freeware fan game "Mega Man Endless":  http://blyka.legends-station.com/?page=game_megamanendless

In addition to the sound crackling (in both sound effects and music), the music plays at a sped-up rate. I don't know if 44.1 to 48kHz resampling would explain the speed-up, but that may be a possible cause. This game plays sound correctly in Windows 10 v1607 on physical hardware (and also in v1511, of course).

VM is configured for Intel HD Audio; I tried AC97 but Win10 does not have drivers. I also tried to enable verbose audio debugging but did not see the expected output -- I think the wiki must be out of date there.

comment:16 Changed 10 months ago by naniid

Same here.

Guest: Windows 10 Host: MacOSX

I upgraded Windows 10 and started getting crackling sound. It gets worse progressively. Along with adaugherity's issues my youtube video and audio go out of sync.

Using Intel HD Audio.

comment:17 Changed 9 months ago by klassikmann

Nothing changed with 5.1.10 (2016-11-21).

comment:18 Changed 9 months ago by 111MilesToGo

Changelog for VB v 5.1.10 / Windows 10 guest says "audio overhaul ongoing", "re-used audio code from 5.0.x now". Strong reminder: I run VB 5.0.24 under Linux Mint 18.0 host, and I do experience the audio misery in Windows 10 64-bit Pro with the Anniversary Upgrade. Hope for a comprehensive audio overhaul!

Last edited 9 months ago by 111MilesToGo (previous) (diff)

comment:19 Changed 9 months ago by naniid

In the same boat. It hasn't changed in version 5.1.10. VB5.1.0 works alright though (even with windows anniversary edition)

comment:20 Changed 9 months ago by shek

A couple of people have reported above about 5.1.10 not working with Win10 Anniversary edition. Reaffirming the same.

comment:21 Changed 8 months ago by Artem Astafiev

I can confirm that there are no issues with Windows XP guest and distorted sound on the same VB 5.1.10 with Windows 10 guest. It looks like sound is played with higher speed, maybe it tries to play 44.1 kHz audio directly at 48 kHz without any conversion.

comment:22 Changed 8 months ago by klassikmann

Retested with VB 5.1.12 on Ubuntu 16.10 (host) and Win10 Anniversary edition (guest): Same problem.

comment:23 Changed 8 months ago by mickyching

Retested with virtualbox 5.1.12:

host: Linux debian 4.8.0-2-amd64 #1 SMP Debian 4.8.11-1 (2016-12-02) x86_64 GNU/Linux

guest: win10

same problem.

comment:24 Changed 7 months ago by hpetitti

Same problem, tested on

host: Ubuntu 16.04.1 LTS (Kernel 4.4.0-57-generic) x86_64, pulse audio

VirtualBox: Version 5.1.12

guest: windows 10,version 1604, OS build 14393.576

Last edited 7 months ago by hpetitti (previous) (diff)

comment:25 Changed 7 months ago by klassikmann

Retested with VB 5.1.14 on Ubuntu 16.10 (host) and Win10 Anniversary edition (guest): Same problem.

comment:26 Changed 6 months ago by wb4alm

Sound is very bad.

(host) VirtualBox 5.0.32 on Ubuntu 16.04.1 (guest) WIN10 Home (automatic upgrade from Win 7)

sound choppy and unusable. Guest application runs Amateur Radio software modems (via external soundcard) which requires sample rate of 48000. Because of chop (sample rate conversion maybe?) totally unable to run applications.

Applications run fine on a different computer running WIN 10 home natively. Other apps run under Linux just fine -- but will not run under linux -> VirtualBox -> WIN10 home.

comment:27 Changed 6 months ago by richardeson

Hi there.

Same problem using on:

VirtualBox: Version 5.1.14 Host: Debian 3.16.0-4-amd64 #1 SMP Debian 3.16.39-1 (2016-12-30) x86_64 GNU/Linux Guest: Windows 10 Professional 64 bit

comment:28 Changed 6 months ago by hazimish

Problem persists -
Host OS: Ubuntu 16.04
VirtualBox guest: Windows 10
Symptoms: crackling and out-of-sync audio on video playback.

comment:29 Changed 6 months ago by hpetitti

Problem persist on host: Ubuntu 16.04.2 LTS (Kernel 4.4.0-64-generic) x86_64, pulse audio VirtualBox: Version 5.1.16 r113841 guest: windows 10,version 1604, OS build 14393.576

comment:30 Changed 6 months ago by p2gass

will this ever get fixed?

comment:31 Changed 6 months ago by frank

Yes, it will, but not with 5.1.16. There is a fix in the queue but it's still not working 100% reliably, therefore we decided to not include it into 5.1.16.

comment:32 Changed 5 months ago by p2gass

just upgraded to 5.1.18 problem persists. Host: fedora 25 Guest: windows 10

comment:33 Changed 5 months ago by Sven

Same issue here: guest Windows 10, host Linux, virtualbox 5.1.18, pulseaudio 10.0

comment:34 Changed 5 months ago by hpetitti

Problem persist on
host: Ubuntu 16.04.2 LTS (Kernel 4.4.0-66-generic) x86_64
pulse audio 1.8.0
VirtualBox 5.1.18-114002~Ubuntu~xenial
guest: windows 10,version 1604, OS build 14393.576

comment:35 follow-up: ↓ 39 Changed 5 months ago by billikumar

I am finally able to get the audio working by doing the following, Looks like the problem resides in the HD Audio Driver.

  1. Shut down the windows 10 VM. Open the Settings navigate to Audio section
  2. Change the "Host Audio Driver" to "ALSA Audio Driver". (Pulse Audio also works but it still had stutters)
  3. Change the "Audio Controller" to "ICH AC97".
  4. Boot to windows 10. Windows will show as audio device missing which is expected.
  5. Install the ac97 driver as specified in the stack overflow link  http://stackoverflow.com/questions/28134018/microphone-in-windows-10-in-virtualbox
  6. Restart the VM.

HOST: Linux 4.10.4-1-MANJARO #1 SMP PREEMPT x86_64 GNU/Linux
ALSA: Advanced Linux Sound Architecture Driver Version k4.10.4-1-MANJARO.
PULSE: pulseaudio 10.0
Virtual Box: 5.1.18 r114002
Guest: Windows 10 Enterprise N LTSB.

comment:36 Changed 5 months ago by talanor

Hello,

same problem here.

Host OS: Archlinux (4.10.6-1-ARCH) VirtualBox guest: Windows 10, 64b

Used with: Oracle VM VirtualBox Manager 5.1.18

comment:37 Changed 4 months ago by p2gass

Problem persist in Version 5.1.20 r114628 (Qt5.7.1)

comment:38 Changed 4 months ago by klaus

Expected (unfortunately). There were no significant audio code changes recently in 5.1. We're still fighting with the behavior of the audio code. Right now the best option is to work hard until it is meeting our expectations, not bothering the users with frequently changing behavior (moving the problem from one place to another).

comment:39 in reply to: ↑ 35 ; follow-up: ↓ 40 Changed 4 months ago by thedavix

This "temp" (which might be long term ;-) ) solution works! Thanks a lot billikumar

Host: Windows 7, Virtual box 5.1.20, Guest: Windows 10 Pro

Replying to billikumar:

I am finally able to get the audio working by doing the following, Looks like the problem resides in the HD Audio Driver.

  1. Shut down the windows 10 VM. Open the Settings navigate to Audio section
  2. Change the "Host Audio Driver" to "ALSA Audio Driver". (Pulse Audio also works but it still had stutters)
  3. Change the "Audio Controller" to "ICH AC97".
  4. Boot to windows 10. Windows will show as audio device missing which is expected.
  5. Install the ac97 driver as specified in the stack overflow link  http://stackoverflow.com/questions/28134018/microphone-in-windows-10-in-virtualbox
  6. Restart the VM.

HOST: Linux 4.10.4-1-MANJARO #1 SMP PREEMPT x86_64 GNU/Linux
ALSA: Advanced Linux Sound Architecture Driver Version k4.10.4-1-MANJARO.
PULSE: pulseaudio 10.0
Virtual Box: 5.1.18 r114002
Guest: Windows 10 Enterprise N LTSB.

comment:40 in reply to: ↑ 39 Changed 4 months ago by darkman97i

The solution proposed by billikumar has also worked for me. thanks a lot.

Replying to thedavix:

This "temp" (which might be long term ;-) ) solution works! Thanks a lot billikumar

Host: Windows 7, Virtual box 5.1.20, Guest: Windows 10 Pro

Replying to billikumar:

I am finally able to get the audio working by doing the following, Looks like the problem resides in the HD Audio Driver.

  1. Shut down the windows 10 VM. Open the Settings navigate to Audio section
  2. Change the "Host Audio Driver" to "ALSA Audio Driver". (Pulse Audio also works but it still had stutters)
  3. Change the "Audio Controller" to "ICH AC97".
  4. Boot to windows 10. Windows will show as audio device missing which is expected.
  5. Install the ac97 driver as specified in the stack overflow link  http://stackoverflow.com/questions/28134018/microphone-in-windows-10-in-virtualbox
  6. Restart the VM.

HOST: Linux 4.10.4-1-MANJARO #1 SMP PREEMPT x86_64 GNU/Linux
ALSA: Advanced Linux Sound Architecture Driver Version k4.10.4-1-MANJARO.
PULSE: pulseaudio 10.0
Virtual Box: 5.1.18 r114002
Guest: Windows 10 Enterprise N LTSB.

comment:41 follow-ups: ↓ 44 ↓ 45 Changed 3 months ago by pentagonik

There's a new 5.1 test build on the Testbuilds page (r115730) which should have audio improvements regarding HDA emulation in combination with Windows 10 AU (Anniversary Update) + CU (Creators Update) guests.

comment:42 Changed 3 months ago by jms

Testbuild r115730 fixed the problem in my case, guest is Windows 10 CU

comment:43 Changed 3 months ago by pentagonik

Great, thanks for the feedback!

comment:44 in reply to: ↑ 41 Changed 3 months ago by thedavix

Just tried testbuild r115786 and it fixed the problem on my side as well, host windows 7 64 bits, and guest Windows 10 Pro 64 Bits.

Thanks!

Replying to pentagonik:

There's a new 5.1 test build on the Testbuilds page (r115730) which should have audio improvements regarding HDA emulation in combination with Windows 10 AU (Anniversary Update) + CU (Creators Update) guests.

comment:45 in reply to: ↑ 41 Changed 3 months ago by markku

The test build seem to work for my Lenovo T460P internal soundcard, but the problem persists with my USB headset.

My host is Kubuntu 17.04, Guest is Win10 Pro.

The headset (Jabra UV Voice 550 MS) works fine from Kubuntu, but there are crackling sounds when used from Windows guest. My main use case is Skype for business.

Replying to pentagonik:

There's a new 5.1 test build on the Testbuilds page (r115730) which should have audio improvements regarding HDA emulation in combination with Windows 10 AU (Anniversary Update) + CU (Creators Update) guests.

comment:46 Changed 7 weeks ago by kenberland

Linux 64-bit. 5.1.x revision 116680. Ubuntu 16.04 host with Windows 10 guest. Also having crackling with USB headset and *not* with host's soundcard.

comment:47 Changed 7 weeks ago by pentagonik

@kenberland Just to clarify: Sound works (e.g. audio is fine) on your Windows 10 guest when using the device emulation but not when an external USB headset is being used?

comment:48 follow-up: ↓ 49 Changed 4 weeks ago by frank

Fix is part of 5.1.24. Could you re-test?

comment:49 in reply to: ↑ 48 Changed 4 weeks ago by thedavix

Replying to frank:

Fix is part of 5.1.24. Could you re-test?

Hi Frank,

So the sound is still ok but video/sound not in sync anymore.. was working fine in r115786 just updated to 5.1.26 :-/

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use