[MPlayer-dev-eng] A/V Sync on SMP

Keith Chew keith.chew at gmail.com
Sat Mar 6 01:31:39 CET 2010


Hi

First, if the mplayer-users mailing-list is more appropriate for this
question, please advise. I am posting this here because I found an old
post on this list "A-V sync tuneup, round 2", which relates to the
problem I am observing.

When the kernel is compiled without SMP support, I can play a video
with 6 channel wav audio (using ALSA as -ao) without any problems. To
check, I ran 4 instances of mplayer playing the video simultaneously,
making the CPU hit 80%. All fine.

When the kernel is compiled with SMP (chip is Intel Core 2 CPU T5600),
1 instance of mplayer fails to play the video, giving the "Your system
is too SLOW to play this!" error within 10 seconds of playback.

Initially, I thought it was a kernel problem, so I tried many
different compile options, eg increase Hz to 1000, disabling/enabling
SMT scheduling, dual core scheduling, using deadline scheduler, using
Ingo Molnar's realtime kernel patch, disabling APIC, but non of them
helped.

After reading the  "A-V sync tuneup, round 2", I am starting to think
the maybe there's something that I can check in mplayer that is giving
the AV Sync problem.

Any advise as to where I can look into code?

Regards
Keith



More information about the MPlayer-dev-eng mailing list