[Mplayer-users] Probable race condition issues preclude Mplayer from working on 1Ghz Tbird Athlon (others?)

Dylan Griffiths Dylan_G at bigfoot.com
Thu Apr 19 00:48:10 CEST 2001


	Hi.  I upgraded my PC recently with a new CPU/mobo to a 1Ghz Tbird.  But
now mplayer goes into an infinite loop of somekind when it attempts to play
video.  Tested the most recent mplayer CVS just to be sure it wasn't fixed
recently.

-=- System info -=-
Kernel version number: Linux shadowgate 2.2.19 #1 Sat Mar 31 19:48:50 CST
2001 i686 unknown
Linux distribution and glibc version: Slackware 7.1 and glibc 2.1.3
gcc and binutils version: gcc version 2.95.2 19991024 (release) and GNU
assembler 2.9.1
X11 version: XFree86 4.0.2
Video card vendor/model: nVidia Riva TNT 1
CPU vendor and type: AMD Thunderbird Athlon at 1,000Mhz
-=- -=-

The infinite loop happens right after the final line in the attached
play.log ('Start playing...').  This affects all media formats, so I think
it's a race condition somewhere in the core.  Very, very annoying, as most
of the software which does video/timing syncing I have has broken at 1Ghz.
The only thing which doesn't break at this speed is Windows Media Player
(tested on another box that my roommate owns, 1.2Ghz Tbird).

Again: mplayer no longer plays all the files it played at 550Mhz, instead
going into an infinite loop.  I suspect a synchronization/race condition. 
Perhaps proper thread interlocking or a more finely grained sleep routine
would solve the issue?
--
    www.kuro5hin.org -- technology and culture, from the trenches.
-------------- next part --------------


MPlayer 0.11cvs-010417-22:45  (C) 2000-2001 Arpad Gereoffy <arpi at thot.banki.hu>

Reading config file: /etc/mplayer.conf: No such file or directory
Reading config file: /home/dylang/.mplayer/config
CommandLine: '-v' 'MonkeyVsRobot300k.asf'
Reading /home/dylang/.mplayer/codecs.conf: 15 audio & 26 video codecs
font: can't open file: /home/dylang/.mplayer/font/font.desc
Detected ASF file format!
ASF: packets: 1430  flags: 2  pack_size: 3750  frame_size: 300000
stream type: guid_audio_stream
stream concealment: guid_audio_conceal_interleave
type: 28 bytes,  stream: 8 bytes  ID: 1
unk1: 0  unk2: 0
FILEPOS=0x102
==> Found audio stream: 1
======= WAVE Format =======
Format Tag: 353 (0x161)
Channels: 1
Samplerate: 16000
avg byte/sec: 2000
Block align: 512
bits/sample: 16
cbSize: 10
ASF: audio scrambling: 1 x 1 x 512
stream type: guid_video_stream
stream concealment: (null)
type: 51 bytes,  stream: 0 bytes  ID: 2
unk1: 0  unk2: 0
FILEPOS=0x174
==> Found video stream: 2
======= VIDEO Format ======
  biSize 40
  biWidth 320
  biHeight 240
  biPlanes 1
  biBitCount 24
  biCompression 859066445='MP43'
  biSizeImage 230400
===========================
Found movie at 0x345 - 0x51D689
stream_seek: WARNING! Can't seek to 0x51DA45 !
Auto-selected ASF audio ID = 1
Auto-selected ASF video ID = 2
ASF: Searching for audio stream (id:1)
VIDEO:  [MP43]  320x240  24bpp
[V] filefmt:6  fourcc:0x3334504D  size:320x240  fps:1000.00  ftime:=0.0010
Found audio codec: [divx] drv:4 (DivX audio (WMA))
Initializing audio codec...
======= Win32 (ACM) AUDIO Codec init =======
Loading DLL: /usr/lib/win32/divxa32.acm  OK
Audio codec opened OK! ;-)
Audio ACM output buffer min. size: 32768
Audio ACM input buffer min. size: 512
AUDIO: samplerate=16000  channels=1  bps=2
Found video codec: [divxds] drv:4 (DivX ;-) (MS MPEG-4 v3))
X11 running at 1152x864 depth: 32
vo_debug: query(0x32595559) returned 0x0
vo_debug: query(0x42475220) returned 0x1
vo_debug1: out_fmt=0x42475220
Loading DLL: /usr/lib/win32/divx_c32.axSharing memory.
X11 color mask:  R:FF0000  G:FF00  B:FF
  OK
DivX setting result = 0
INFO: Win32/DShow video codec init OK!
vo_debug2: out_fmt=0x42475220
VO: [x11] 320x240 => 320x240  BGR32
video_out->init(320x240->320x240,flags=0,'MPlayer',0x42475220)
vo_debug3: out_fmt=0x42475220
INFO: Video OUT driver init OK!
Audio buffer size: 15872 bytes, delay: 0.496s
Start playing...


More information about the MPlayer-users mailing list