VirtualBox

Ticket #4391 (closed defect: fixed)

Opened 5 years ago

Last modified 4 years ago

Choppy/skippy/stuttering audio and video playback

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

Description

Since upgrading to VirtualBox 3.0.0, audio and video playback have become unusable with mplayer. Audio will stutter and skip constantly; video will pause for a moment and then catch up, repeatedly.

This does not happen to such a great degree with other audio/video playback programs, but all exhibit the behaviour to a noticeable degree.

My host is 64-bit Vista Home Basic and my guest is Debian using Linux versions 2.6.26 and 2.6.30.

My underlying CPU is a Core i7 920, I've tried changing the number of CPUs in the guest system from 8, to 4, to 1, but it doesn't seem to make a difference.

You may consider this a duplicate of #2580; I'm not sure since I didn't have this problem with any prior version of VirtualBox.

Attachments

wintermute-2009-07-04-11-19-48.log Download (54.3 KB) - added by cortana 5 years ago.
log file
VBox-triode-20090709-1.log.gz Download (120.8 KB) - added by ionosphere80 5 years ago.
VirtualBox log from Windows guest.

Change History

Changed 5 years ago by cortana

log file

comment:1 Changed 5 years ago by cortana

mplayer doesn't output any relevant messages save the following when the stuttering gets particularly bad:

Your system is too SLOW to play this!

Possible reasons, problems, workarounds:

  • Most common: broken/buggy _audio_ driver
    • Try -ao sdl or use the OSS emulation of ALSA.
    • Experiment with different values for -autosync, 30 is a good start.
  • Slow video output
    • Try a different -vo driver (-vo help for a list) or try -framedrop!
  • Slow CPU
    • Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts, e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
  • Broken file
    • Try various combinations of -nobps -ni -forceidx -mc 0.
  • Slow media (NFS/SMB mounts, DVD, VCD etc)
    • Try -cache 8192.
  • Are you using -cache to play a non-interleaved AVI file?
    • Try -nocache.

Read DOCS/HTML/en/video.html for tuning/speedup tips. If none of this helps you, read DOCS/HTML/en/bugreports.html.

I also noticed, while experimenting with jackd, that it will regularly complain in burst like this:

alsa_pcm: xrun of at least 46.007 msecs alsa_pcm: xrun of at least 5.333 msecs alsa_pcm: xrun of at least 0.985 msecs alsa_pcm: xrun of at least 0.829 msecs alsa_pcm: xrun of at least 0.041 msecs alsa_pcm: xrun of at least 0.086 msecs

corresponding with choppy periods.

comment:2 Changed 5 years ago by ionosphere80

I'm also experiencing this problem but in a Windows (XP SP3/32-bit) guest on a Linux (Debian Lenny/64-bit) host. Rebooting the guest seems to fix the issue temporarily. Guest log (attached) contains thousands of messages similar to this:

TM: Giving up catch-up attempt at a 60 001 891 972 ns lag; new total: 52 861 249 165 838 ns

Changed 5 years ago by ionosphere80

VirtualBox log from Windows guest.

comment:3 Changed 5 years ago by cortana

This is fixed for me in 3.0.2. Thanks!

comment:4 Changed 5 years ago by sandervl73

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

Thanks for the feedback.

comment:5 Changed 5 years ago by ionosphere80

  • Status changed from closed to reopened
  • Resolution fixed deleted

I'm still experiencing this problem with 3.0.2 in a Windows XP guest on a Linux host. VirtualBox log contains same error messages about giving up on catch-up attempts.

comment:6 Changed 4 years ago by cortana

ionosphere80, are you still seeing this with current releases (3.0.12)?

comment:7 Changed 4 years ago by ionosphere80

Just upgraded to 3.1.4... still seeing the issue.

comment:8 Changed 4 years ago by sandervl73

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

Retry with 3.2.10 please.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use