Opened 8 years ago
Last modified 8 years ago
#15910 new defect
Sound delay
| Reported by: | Sworddragon | Owned by: | |
|---|---|---|---|
| Component: | other | Version: | VirtualBox 5.1.4 |
| Keywords: | Cc: | ||
| Guest type: | Windows | Host type: | Linux |
Description
After upgrading to VirtualBox 5.1.x and installing the anniversary update of Windows 10 (on the guest) I'm noticing sound delays of about ~1 second and that accessing files on the shared folder causes it often to lock up (seems to be a race condition). The latter causes related applications (like any browser and the Windows explorer) to hang and Windows is mostly not able anymore to cleanly shutdown.
I'm not sure if the issues are caused by Windows (at least a clean reinstall did not solve them) or VirtualBox but to go sure I have created this ticket. In the attachments is the VBox.log of a session where both issues got reproduced. Also there is a testcase for the lockup issue (testcase.css and testcase.html) which needs to be put into a shared folder and testcase.html needs then to be opened with any browser (for example Google Chrome). Keeping F5 pressed to cause Chrome to reload the testcase multiple times should cause the race condition to appear after a few seconds (noticeable by not seeing the green circle on Virtual Box's shared folder symbol anymore and Chrome trying to load the site for an infinite amount of time).
Attachments (2)
Change History (11)
by , 8 years ago
by , 8 years ago
| Attachment: | testcase.html added |
|---|
comment:1 by , 8 years ago
comment:2 by , 8 years ago
I have now downgraded to VirtualBox 5.0.24 and even while keeping the guest additions from version 5.1.4 installed both issues do not appear anymore.
comment:3 by , 8 years ago
I have figured out that the shared folder regression disappears if the paravirtualization interface is changed from Hyper-V to None but it doesn't fix the sound delay.
comment:4 by , 8 years ago
The lockup is fixed in guest additions 5.1.x revision 110849+ from https://www.virtualbox.org/wiki/Testbuilds
See also my last comment in #15662
comment:5 by , 8 years ago
Nice to hear that. In this case the shared folder issue was a duplicate of #15662 and this ticket is now mainly responsible for the sound regression.
comment:6 by , 8 years ago
| Summary: | Sound delay and shared folder lockup → Sound delay |
|---|
comment:7 by , 8 years ago
While the sound issue happens for example on watching videos with any browser in a Windows 10 guest (and I'm seeing this behavior also in a Windows XP guest) it does not appear if testing the sound in the Windows 10 guest with Windows's own utilities in the system control.
But I found a more annoying problem: Whenever any video starts or buffers it plays then often in slow motion and the sound is missing during that time. First I thought it was an issue with Microsoft Edge but it turned out that this happens with any browser in the Windows 10 guest. I couldn't reproduce this in a Windows XP guest but downgrading to VirtualBox 5.0.x did fix this issue also for the Windows 10 guest. I'm not sure if the video playback issue is related to this sound issue or if it is another issue (at least the broken video playback makes developing and testing HTML5 based web applications more difficult here).
comment:8 by , 8 years ago
I have the exact same problem with a Windows XP Guest. Playing a game (like Alpha Centauri) makes the "delayed sound" problem very noticeable Host: Windows 10 64bits
The problem with the sound arise between VB 5.1.2 and VB 5.1.4 As stated here: https://forums.virtualbox.org/viewtopic.php?f=1&t=79262
VB-5.1.2-108956-Win: Sound ok
VB-5.1.4-110228-Win: Sound DELAY problem
...
VB-5.1.8-111374-Win: Sound DELAY problem
comment:9 by , 8 years ago
With VirtualBox 5.1.10 I'm not getting any sound delays anymore. Also the slow motion/missing sound issue seems to not appear anymore too. @SGuardian: Can you check if this issue is fixed for you too with VirtualBox 5.1.10?


Edit: testcase.css is an empty file (and this tracker doesn't allow to upload empty files) so that file needs to be created manually in the same folder where testcase.html gets stored.