VirtualBox

Ticket #4088 (new defect)

Opened 5 years ago

Last modified 3 months ago

Noticeable audio latency

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

Description

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

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

Change History

comment:1 Changed 3 years ago by twipley

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

Changed 3 years ago by twipley

comment:2 Changed 3 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 3 years ago by twipley

Note: happens in v4.1 Beta1, too.

comment:4 Changed 3 years ago by twipley

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

comment:5 Changed 3 years ago by cortana

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

comment:7 Changed 3 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 3 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 23 months ago by Aren Cambre

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

comment:10 Changed 3 months 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 3 months 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

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use