VirtualBox

Opened 8 years ago

Last modified 6 years ago

#15924 new defect

Very large audio delay in Windows XP guest while CPU loaded at 100%

Reported by: dinosaur0 Owned by:
Component: audio Version: VirtualBox 5.1.6
Keywords: audio, sound, windows xp, delay Cc:
Guest type: Windows Host type: Linux

Description

I discovered a new bug in VirtualBox v5.1 that did not happen in v5.0 and older versions.

When running a Windows XP SP3 guest on a Linux host (with sound configured for ALSA on the host side and AC97 on the guest side), I get very long delays in games (1 to 3 seconds !) between the moment the sound is triggered and the moment it gets played: the higher the load on the CPU, the longer the delay.

Turning on HPET on the guest doesn't change anything...

I'm attaching a log of a short session when I started the VM and a game in it, clicked on menu items (which produce sounds at each click), got the delays each time, and shut down the game and the VM.

Attachments (2)

VBox.log (116.8 KB ) - added by dinosaur0 8 years ago.
Win7.vbox (23.7 KB ) - added by Kosi 8 years ago.
VBox config file for Win7 VM on Mint/Ubuntu host having audio delay on VB 5.1.6

Download all attachments as: .zip

Change History (8)

by dinosaur0, 8 years ago

Attachment: VBox.log added

comment:2 by Kosi, 8 years ago

I can confirm this behavior with Linux Mint 16 (Ubuntu based) host and Win7x64 guest. When I upgraded from 5.0.26 to 5.1.6 audio suddenly had a ~1.5s delay (both on start and stop) most noticeable on YouTube. The settings on the VM have not been modified. My CPU (neither host nor guest) have to show significant load to cause the issue. Updating the Guest Additions did not resolve the issue.

Downgrading to 5.0.26 removed the delay again (downgrade/reinstall of Guest Additions has NOT been performed after downgrade, still running with 5.1.6 additions).

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

by Kosi, 8 years ago

Attachment: Win7.vbox added

VBox config file for Win7 VM on Mint/Ubuntu host having audio delay on VB 5.1.6

comment:3 by dinosaur0, 8 years ago

The bug still happens with VirtualBox v5.1.8

comment:4 by dinosaur0, 7 years ago

From v5.1.10 changelog:

Audio: fixed a few 5.1.x regressions by using the audio code from 5.0.x until the audio overhaul is completed

This fixed the issue, indeed.

I'll add that v5.0.x audio always worked like a charm for me, so no need to break what's working just fine, don't you think so ?...

in reply to:  4 comment:5 by Frank Mehnert, 7 years ago

Replying to dinosaur0:

I'll add that v5.0.x audio always worked like a charm for me, so no need to break what's working just fine, don't you think so ?...

Even the audio code in 5.0 is far away from working perfectly. There are many known issues and the overhaul in VirtualBox 5.1.x aims to overcome these problems. At the moment there are still too many problems left. But next time before we re-enable the new code we will let more users test and hopefully make more users happy.

comment:6 by pentagonik, 6 years ago

Please have a try with the latest 5.2 test build 120822, which is located here: https://www.virtualbox.org/wikhttps://www.virtualbox.org/wiki/Testbuildsi/Testbuilds. Thank you!

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use