[MPlayer-users] atiixp alsa problems - playback skipping - spent two weeks on this - NEED YOUR HELP

dave_mplayer-users at fruzz.com dave_mplayer-users at fruzz.com
Wed Dec 29 23:46:31 CET 2004


Help please - have spent a couple of weeks on this - and the wife wants me to 
get sky+ instead!..

I am trying to setup a mythtv installation in the lounge using a Shuttle 
ST61G4 machine. (ATI RS300 + IXP150 chipset - Intel P4 3Gz)

Apart from trying and failing to get the fglrx driver working for the graphics 
card and using the vesa for now - it's the sound problem that is the show 
stopper.

mplayer playback skips around - giving xrun errors at the point of the 
skipping (see below).  Using oss emulation gives bigger skips but no 
messages.

Note also - the startup messages in the syslogs.

I have run out of things to try and would really welcome some guidance - even 
if you don't know how to solve - if you have a suggestion of something to try 
- please let me know.

I have tried the following:-

1.      Proved hardware is ok - working in Windoze XP
2.      Recompiled kernal and installed alsa 1.0.6/7 and the latest 1.08 - all 
the 
same
3.      run mplayer with -nosound - and no skipping
4.      tried other players - like xine - same problems
5.      recompiled kernel for oss - but could not get support for the ixp 
hardware
6.      turned off apm in kernel - same
7.      played arround with many settings in bios for interupts etc - same
8.      tried switching off hyperthreading and apci in bios - same
9.      made deal with wife - if not running by next xmas - we'll get sky+ 
- !!
10.     tried files local and nfs mounted - same
11.     installed a different video card and switched off on board - same (but 
got 
drivers working ok on this card)
12.     removed the pvr350 card - same

am considering trying a different package of linux (red hat?) is this worth 
it?
am considering ebay-ing the machine and getting an nvidea based one!

am curious that other people are not appearing to have these problems - what 
am I doing wrong?

Looking forward to anyones suggestions 
Thanks
D

------------------- syslog

Dec 28 20:21:33 larry kernel: 
ALSA /export/tmp/Downloads/alsa/alsa-driver-1.0.7/kbuild/../pci/../alsa-kernel/pci/atiixp.c:458: 
atiixp: codec read timeout (reg 0)
Dec 28 20:21:33 larry kernel: 
ALSA /export/tmp/Downloads/alsa/alsa-driver-1.0.7/kbuild/../pci/../alsa-kernel/pci/atiixp.c:458: 
atiixp: codec read timeout (reg 1c)
Dec 28 20:21:33 larry kernel: 
ALSA /export/tmp/Downloads/alsa/alsa-driver-1.0.7/kbuild/../pci/../alsa-kernel/pci/atiixp.c:458: 
atiixp: codec read timeout (reg 0)
Dec 28 20:21:33 larry kernel: 
ALSA /export/tmp/Downloads/alsa/alsa-driver-1.0.7/kbuild/../pci/../alsa-kernel/pci/atiixp.c:458: 
atiixp: codec read timeout (reg 1c)

-snip (repeats)

Dec 28 20:21:34 larry kernel: 
ALSA /export/tmp/Downloads/alsa/alsa-driver-1.0.7/kbuild/../pci/../alsa-kernel/pci/atiixp.c:458: 
atiixp: codec read timeout (reg 3c)
Dec 28 20:21:34 larry kernel: 
ALSA /export/tmp/Downloads/alsa/alsa-driver-1.0.7/kbuild/../pci/../alsa-kernel/pci/atiixp.c:458: 
atiixp: codec read timeout (reg 1c)
Dec 28 20:21:34 larry kernel: 
ALSA /export/tmp/Downloads/alsa/alsa-driver-1.0.7/kbuild/../pci/ac97/../../alsa-kernel/pci/ac97/ac97_codec.c:1964: 
AC'97 1 does not respond - RESET
Dec 28 20:21:34 larry kernel: 
ALSA /export/tmp/Downloads/alsa/alsa-driver-1.0.7/kbuild/../pci/ac97/../../alsa-kernel/pci/ac97/ac97_codec.c:1972: 
AC'97 1 access is not valid [0xffffffff], removing mixer.
Dec 28 20:21:34 larry kernel: 
ALSA /export/tmp/Downloads/alsa/alsa-driver-1.0.7/kbuild/../pci/../alsa-kernel/pci/atiixp.c:458: 
atiixp: codec read timeout (reg 0)
Dec 28 20:21:34 larry kernel: 
ALSA /export/tmp/Downloads/alsa/alsa-driver-1.0.7/kbuild/../pci/../alsa-kernel/pci/atiixp.c:458: 
atiixp: codec read timeout (reg 1c)
Dec 28 20:21:34 larry kernel: 
ALSA /export/tmp/Downloads/alsa/alsa-driver-1.0.7/kbuild/../pci/../alsa-kernel/pci/atiixp.c:458: 
atiixp: codec read timeout (reg 0)


-snip (repeats)

Dec 28 20:21:35 larry kernel: 
ALSA /export/tmp/Downloads/alsa/alsa-driver-1.0.7/kbuild/../pci/../alsa-kernel/pci/atiixp.c:458: 
atiixp: codec read timeout (reg 1c)
Dec 28 20:21:35 larry kernel: 
ALSA /export/tmp/Downloads/alsa/alsa-driver-1.0.7/kbuild/../pci/ac97/../../alsa-kernel/pci/ac97/ac97_codec.c:1964: 
AC'97 2 does not respond - RESET
Dec 28 20:21:35 larry kernel: 
ALSA /export/tmp/Downloads/alsa/alsa-driver-1.0.7/kbuild/../pci/ac97/../../alsa-kernel/pci/ac97/ac97_codec.c:1972: 
AC'97 2 access is not valid [0xffffffff], removing mixer.
Dec 28 20:21:35 larry alsa:  succeeded


------------------- lscp -v

00:00.0 Host bridge: ATI Technologies Inc: Unknown device 5833 (rev 02)
        Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer: Unknown device 
f361
        Flags: bus master, 66Mhz, medium devsel, latency 64
        Memory at e8000000 (32-bit, prefetchable) [size=32M]
        Memory at ee003000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [a0] AGP version 3.0

00:01.0 PCI bridge: ATI Technologies Inc: Unknown device 5838 (prog-if 00 
[Normal decode])
        Flags: bus master, 66Mhz, medium devsel, latency 64
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=32
        I/O behind bridge: 0000b000-0000bfff
        Memory behind bridge: ec000000-edffffff
        Prefetchable memory behind bridge: e0000000-e3ffffff

00:13.0 USB Controller: ATI Technologies Inc: Unknown device 4347 (rev 01) 
(prog-if 10 [OHCI])
        Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer: Unknown device 
f361
        Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 19
        Memory at ee004000 (32-bit, non-prefetchable) [size=4K]

00:13.1 USB Controller: ATI Technologies Inc: Unknown device 4348 (rev 01) 
(prog-if 10 [OHCI])
        Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer: Unknown device 
f361
        Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 19
        Memory at ee000000 (32-bit, non-prefetchable) [size=4K]

00:13.2 USB Controller: ATI Technologies Inc: Unknown device 4345 (rev 01) 
(prog-if 20 [EHCI])
        Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer: Unknown device 
f361
        Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 19
        Memory at ee001000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: [dc] Power Management version 2

00:14.0 SMBus: ATI Technologies Inc ATI SMBus (rev 17)
        Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer: Unknown device 
f361
        Flags: 66Mhz, medium devsel
        I/O ports at c000 [size=16]
        Memory at ee002000 (32-bit, non-prefetchable) [size=1K]

00:14.1 IDE interface: ATI Technologies Inc: Unknown device 4349 (prog-if 8a 
[Master SecP PriP])
        Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer: Unknown device 
f361
        Flags: bus master, medium devsel, latency 64, IRQ 18
        I/O ports at <unassigned>
        I/O ports at <unassigned>
        I/O ports at <unassigned>
        I/O ports at <unassigned>
        I/O ports at f000 [size=16]

00:14.3 ISA bridge: ATI Technologies Inc: Unknown device 434c
        Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer: Unknown device 
f361
        Flags: bus master, 66Mhz, medium devsel, latency 0

00:14.4 PCI bridge: ATI Technologies Inc: Unknown device 4342 (prog-if 01 
[Subtractive decode])
        Flags: bus master, 66Mhz, medium devsel, latency 64
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=32
        I/O behind bridge: 00009000-0000afff
        Memory behind bridge: ea000000-ebffffff
        Prefetchable memory behind bridge: e4000000-e7ffffff

00:14.5 Multimedia audio controller: ATI Technologies Inc IXP150 AC'97 Audio 
Controller
        Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer: Unknown device 
c0b0
        Flags: bus master, 66Mhz, slow devsel, latency 64, IRQ 18
        Memory at ee005000 (32-bit, non-prefetchable) [size=256]

01:05.0 VGA compatible controller: ATI Technologies Inc: Unknown device 5834 
(prog-if 00 [VGA])
        Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer: Unknown device 
f361
        Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 16
        Memory at e0000000 (32-bit, prefetchable) [size=64M]
        I/O ports at b000 [size=256]
        Memory at ed000000 (32-bit, non-prefetchable) [size=64K]
        Expansion ROM at <unassigned> [disabled] [size=128K]
        Capabilities: [58] AGP version 3.0
        Capabilities: [50] Power Management version 2

02:05.0 RAID bus controller: Silicon Image, Inc. (formerly CMD Technology Inc) 
SiI 3512 [SATALink/SATARaid] Serial ATA Controller (rev 01)
        Subsystem: Silicon Image, Inc. (formerly CMD Technology Inc) SiI 3512 
SATARaid Controller
        Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 17
        I/O ports at 9000 [size=8]
        I/O ports at 9400 [size=4]
        I/O ports at 9800 [size=8]
        I/O ports at 9c00 [size=4]
        I/O ports at a000 [size=16]
        Memory at eb002000 (32-bit, non-prefetchable) [size=512]
        Expansion ROM at <unassigned> [disabled] [size=512K]
        Capabilities: [60] Power Management version 2

02:06.0 Ethernet controller: Broadcom Corporation BCM4401 100Base-T (rev 01)
        Subsystem: Holco Enterprise Co, Ltd/Shuttle Computer: Unknown device 
f361
        Flags: bus master, fast devsel, latency 64, IRQ 18
        Memory at eb000000 (32-bit, non-prefetchable) [size=8K]
        Expansion ROM at <unassigned> [disabled] [size=128K]
        Capabilities: [40] Power Management version 2

02:07.0 Multimedia video controller: Internext Compression Inc iTVC15 MPEG-2 
Encoder (rev 01)
        Subsystem: Hauppauge computer works Inc. WinTV PVR-350
        Flags: bus master, medium devsel, latency 64, IRQ 19
        Memory at e4000000 (32-bit, prefetchable) [size=64M]
        Capabilities: [44] Power Management version 2

02:0b.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller 
(rev 80) (prog-if 10 [OHCI])
        Subsystem: VIA Technologies, Inc. IEEE 1394 Host Controller
        Flags: bus master, medium devsel, latency 64, IRQ 19
        Memory at eb003000 (32-bit, non-prefetchable) [size=2K]
        I/O ports at a400 [size=128]
        Capabilities: [50] Power Management version 2

------------------- /proc/interupts

           CPU0       CPU1       
  0:     368902          0    IO-APIC-edge  timer
  1:         18          0    IO-APIC-edge  i8042
  2:          0          0          XT-PIC  cascade
 12:        104          0    IO-APIC-edge  i8042
 14:        893          0    IO-APIC-edge  ide0
 15:       5440          0    IO-APIC-edge  ide1
 17:     100000          0   IO-APIC-level  libata
 18:      10715          0   IO-APIC-level  eth0, ATI IXP
 19:        201          0   IO-APIC-level  ohci_hcd, ohci_hcd, ehci_hcd, 
ohci1394
NMI:          0          0 
LOC:     368776     368777 
ERR:          0
MIS:          0

------------------- /proc/asound/cards

0 [IXP            ]: ATIIXP - ATI IXP
                     ATI IXP rev 0 with ALC650F at 0xee005000, irq 18

------------------- /proc/asound/version

Advanced Linux Sound Architecture Driver Version 1.0.7.
Compiled on Dec 28 2004 for kernel 2.6.8.1-12mdkcustom (SMP).

------------------- mplayer -ao alsa film.avi

MPlayer 1.0pre5-3.4.1 (C) 2000-2004 MPlayer Team

CPU: Intel Pentium 4/Xeon/Celeron Foster 3302 MHz (Family: 8, Stepping: 9)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with 
--disable-runtime-cpudetection.
Reading config file /etc/mplayer/mplayer.conf
Reading config file /home/dmartin1/.mplayer/config
Reading /home/dmartin1/.mplayer/codecs.conf: Can't open 
'/home/dmartin1/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 73 audio & 180 video codecs
Failed to open /dev/rtc: No such file or directory (it should be readable by 
the user.)
Using usleep() timing
Can't open input config file /home/dmartin1/.mplayer/input.conf: No such file 
or directory
Input config file /etc/mplayer/input.conf parsed: 53 binds
Can't init input joystick
Opening joystick device /dev/input/js0
Can't open joystick device /dev/input/js0 : No such file or directory
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.

Playing Buffy - 4x11 - Doomed.avi.
Cache fill:  0.00% (0 bytes)    AVI file format detected.
VIDEO:  [DIVX]  640x464  24bpp  23.976 fps  1106.2 kbps (135.0 kbyte/s)
Clip info:
 Software: VirtualDubMod 1.5.4.1 (build 2066/release)
==========================================================================
Trying to force audio codec driver family libmad...
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 16000->192000 (128.0 kbit)
Selected audio codec: [mad] afm:libmad (libMAD MPEG layer 1-2-3)
==========================================================================
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0" => local display)
It seems there is no Xvideo support for your video card available.
Run 'xvinfo' to verify its Xv support and read DOCS/HTML/en/devices.html#xv!
See 'mplayer -vo help' for other (non-xv) video out drivers. Try -vo x11
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int 
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
alsa-init: got device=0, subdevice=0
alsa-init: 1 soundcard found, using: default
alsa: 48000 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little Endian
AO: [alsa] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 640 x 464 (preferred csp: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.38:1 - prescaling to correct movie aspect.
VO: [x11] 640x464 => 640x464 Planar YV12  [zoom]
SwScaler: using unscaled Planar YV12 -> BGR 32-bit special converter
alsa-space: xrun of at least 8.836 msecs. resetting stream
alsa-space: xrun of at least 3.981 msecs. resetting stream
alsa-space: xrun of at least 7.850 msecs. resetting stream




More information about the MPlayer-users mailing list