VirtualBox

Opened 15 years ago

Last modified 7 years ago

#4088 reopened defect

Noticeable audio latency

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

Description (last modified by Frank Mehnert)

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.

Attachments (1)

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

Download all attachments as: .zip

Change History (15)

comment:1 by twipley, 13 years ago

This is about the same than in http://www.virtualbox.org/ticket/6026

-- 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

by twipley, 13 years ago

comment:2 by twipley, 13 years ago

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 by twipley, 13 years ago

Note: happens in v4.1 Beta1, too.

comment:4 by twipley, 13 years ago

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

comment:5 by Sam Morris, 13 years ago

I still see this with 4.0.10. Reproduction:

Use youtube-dl to download the movie at http://www.youtube.com/watch?v=szoOsG9137U&feature=related

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 by twipley, 13 years ago

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: http://forums.virtualbox.org/viewtopic.php?f=1&t=42860

comment:7 by twipley, 13 years ago

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 by twipley, 13 years ago

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 by Aren Cambre, 12 years ago

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

comment:10 by twipley, 10 years ago

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

comment:11 by Quickbooks Office, 10 years ago

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 by Frank Mehnert, 9 years ago

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 by Frank Mehnert, 8 years ago

Resolution: fixed
Status: newclosed

Fix part of VBox 5.0.6.

comment:14 by shojep, 7 years ago

Resolution: fixed
Status: closedreopened

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.

© 2023 Oracle
ContactPrivacy policyTerms of Use