Ticket #4088 (reopened defect)

Opened 13 years ago

Last modified 5 years ago

Noticeable audio latency

Reported by: cortana Owned by:
Component: other Version: VirtualBox 2.2.2
Keywords: Cc:
Guest type: Linux Host type: Windows

Description (last modified by frank) (diff)

There is a noticeable delay between when the guest operating system starts to play a sound, and when it actually becomes audible. Perhaps in the range of 100-200 ms--just a guess though, I'm not sure how to time it.

The host is Vista Home Basic x64 and the guest is Debian running Linux 2.6.26.


entert-2011-06-30-20-13-57.log Download (56.9 KB) - added by twipley 11 years ago.

Change History

comment:1 Changed 11 years ago by twipley

This is about the same than in

-- Here, under Ubuntu 11.04 host, and XP guest, both x86, noticeable audio delays are present. Whether using extensions or not, the experimental accelerated-graphics guest addition or not.

That is a widespread and known bug, is not it? You will tell me also it is necessary for the right functioning of the software that such a "buffer" delay be present, possibly?

If necessary I will return and attach a log file. Anybody reading such old defects -- would I need to open a new bug ticket? Thanks in advance, twipley

Changed 11 years ago by twipley

comment:2 Changed 11 years ago by twipley

It should be noted that the game "Diablo" suffers from only about 100 ms of such latency, while games such as Doom (played through the "Chocolate Doom" emulator) suffers from about 1 whole second of such delay. It therefore seems software dependent.

Note the presence of a dedicated audio card on the relatively strong computer.

comment:3 Changed 11 years ago by twipley

Note: happens in v4.1 Beta1, too.

comment:4 Changed 11 years ago by twipley

Sorry -- should I open a new issue ticket for this one, since its antediluvity?

comment:5 Changed 11 years ago by cortana

I still see this with 4.0.10. Reproduction:

Use youtube-dl to download the movie at

Play it in vlc (I tested with version 1.1.10) in the guest; adjust the audio/video sync with the k and l keys until the video lines up with the audio.

Do the same in the host.

For me, the audio and video line up best when the audio is 150 ms ahead of the video within the guest. In the host, I recon there is less than 50 ms delay (hard to tell because I can only change the sync in 50 ms increments).

comment:6 Changed 11 years ago by twipley

150 ms is not too bad. I am getting much higher on software I have tested that on. Both are problematic, however.

Here is a related forum thread I have just opened:

comment:7 Changed 11 years ago by twipley

cortana: thanks for the report. About 150 ms delay for videos watched through youtube, too.

Would you mind informing us about your guest and host machines? It seems not all people suffer from the bug. I am under Windows XP guest, and Ubuntu host, here. What about you? (Attach a log file if you will for the developers, alternatively.)

comment:8 Changed 11 years ago by twipley

i have just (seemingly) solved all the audio-sync problems i had through switching over to alsa in the guest-machine settings.

FIXED FOR ME -- please report back here if that solution helps you, too.

comment:9 Changed 10 years ago by Aren Cambre

Also happening with Ubuntu 12.04 32-bit guest on Windows 7 x64 host.

comment:10 Changed 8 years ago by twipley

The problem, to my knowledge, is quite omnipresent. It is of wonder why Also is not set in by default. :)

comment:11 Changed 8 years ago by quickbooks

When playing videos the audio goes out of sync even if I chose the ALSA audio driver.

Host: Fedora 20 - Cinnamon Guest: Windows 8.1

comment:12 Changed 6 years ago by frank

  • Description modified (diff)

Should be improved with VBox 5.0. Please try the latest version of VirtualBox (currently 5.0.4). For Windows there was another latency fix in the latest 5.0.x test build (>= 102676).

comment:13 Changed 6 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Fix part of VBox 5.0.6.

comment:14 Changed 5 years ago by shojep

  • Status changed from closed to reopened
  • Resolution fixed deleted

Host: Arch Guest: Windows XP

Happens again on 5.1.8-1. From past experience, the last version that didn't have this problem was 5.1.2-3. Oddly enough this doesn't happen on a Windows 7 guest.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use