[mythtv-users] Hosed audio+Prebuffering pause=PLEASE HEP ME! [was Gravely audio]

steve networks1 at cox.net
Tue Jan 26 01:13:30 UTC 2010


Spent a perfectly good weekend trying to fix this to no avail.  Posting some
new details in hopes that someone will take pity on me and offer some help.
No responses on fedora or alsa lists.

 

Again problem is choppy audio on playback of recorded shows.  Happens on the
Totem player too, not just Myth. Watched a recorded show all the way through
on myth.  At some point chop stops and audio gets progressively out of sync.
Rewind restores chop and sync for a while.  Log shows WriteAudio: buffer
underrun  and repeated NVP(0): prebuffering pause.

 

Have tried all the following then undone them because they didn't work:

 

Installed /etc/asound.conf per
http://www.mythtv.org/wiki/Configuring_Digital_Sound

 

Fixes under audio issues at
http://www.mythtv.org/wiki/Troubleshooting:Prebuffering_pause

 

Tried Pulseaudio fixes and workarounds at
http://fedorasolved.org/Members/fenris02/pulseaudio-fixes-and-workarounds
Regarding this, when I try to play noise per the troubleshooting section at
the bottom, i.e. cat /dev/urandom > /dev/dsp no noise is generated.  However
aplay /usr/share/sounds/ekiga/ring.wav works

 

Tried the asoundrc settings here http://www.pulseaudio.org/wiki/PerfectSetup
and setting the output device to ALSA:pulse, result = no sound.

 

No idea what else to try.

 

I've posted recent frontend log items below, and the output of the alsa
audio debug data below that.

 

 

====================================================================

 

2010-01-23 10:38:45.156 TV: StartPlayer(0, Watching WatchingPreRecorded,
main) -- begin

2010-01-23 10:38:45.371 AFD: Opened codec 0x469b990, id(H264) type(Video)

2010-01-23 10:38:45.371 AFD: codec AAC has 2 channels

2010-01-23 10:38:45.371 AFD: Opened codec 0x4697110, id(AAC) type(Audio)

2010-01-23 10:38:45.373 Opening audio device 'front'. ch 2(2) sr 48000

2010-01-23 10:38:45.373 Opening ALSA audio device 'front'.

2010-01-23 10:38:45.441 Mixer unable to find control PCM

2010-01-23 10:38:45.441 Mixer unable to find control PCM

2010-01-23 10:38:45.513 WriteAudio: buffer underrun

2010-01-23 10:38:45.596 OSD Theme Dimensions W: 1280 H: 720

2010-01-23 10:38:46.205 TV: StartPlayer(0, Watching WatchingPreRecorded,
main) -- end ok

2010-01-23 10:38:46.206 TV: Changing from None to Watching
WatchingPreRecorded

2010-01-23 10:38:46.208 New DB connection, total: 3

2010-01-23 10:38:46.208 Using realtime priority.

2010-01-23 10:38:46.210 Connected to database 'mythconverg' at host: mythtv

2010-01-23 10:38:46.211 Video timing method: USleep with busy wait

2010-01-23 10:38:46.230 ScreenSaverX11Private: DPMS Deactivated 1

2010-01-23 10:38:46.312 NVP(0): prebuffering pause

2010-01-23 10:38:46.352 NVP(0): prebuffering pause

2010-01-23 10:38:46.388 NVP(0): prebuffering pause

2010-01-23 10:38:46.428 NVP(0): prebuffering pause

 

==========================================================================

 

http://alsa.opensrc.org/index.php/Aadebug

 

ALSA Audio Debug v0.1.0 - Fri Jan 22 15:09:31 MST 2010

http://alsa.opensrc.org/aadebug

http://www.gnu.org/licenses/gpl.txt

 

Kernel ----------------------------------------------------

Linux mythtv 2.6.31.12-174.2.3.fc12.x86_64 #1 SMP Mon Jan 18 19:52:07 UTC
2010 x86_64 x86_64 x86_64 GNU/Linux

 

Loaded Modules --------------------------------------------

snd_hda_codec_realtek   281380  1 

snd_hda_intel          30360  2 

snd_hda_codec          72832  2 snd_hda_codec_realtek,snd_hda_intel

snd_hwdep               9224  1 snd_hda_codec

snd_seq                58080  0 

snd_seq_device          7620  1 snd_seq

snd_pcm                83144  2 snd_hda_intel,snd_hda_codec

snd_timer              22608  2 snd_seq,snd_pcm

snd                    67592  12
snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_seq,snd_seq_
device,snd_pcm,snd_timer

snd_page_alloc          9568  2 snd_hda_intel,snd_pcm

 

Modprobe Conf ---------------------------------------------

Warning: module config file does not exist

This means any kernel modules will not be auto loaded

See your linux distro docs on how to create this file

 

Proc Asound -----------------------------------------------

Advanced Linux Sound Architecture Driver Version 1.0.20.

 0 [Intel          ]: HDA-Intel - HDA Intel

                      HDA Intel at 0xea400000 irq 22

  2:        : timer

  3:        : sequencer

  4: [ 0- 2]: digital audio capture

  5: [ 0- 1]: digital audio playback

  6: [ 0- 1]: digital audio capture

  7: [ 0- 0]: digital audio playback

  8: [ 0- 0]: digital audio capture

  9: [ 0- 2]: hardware dependent

 10: [ 0]   : control

00-02: HDA Codec 2

00-00: ALC889A Analog : ALC889A Analog : playback 1 : capture 1

00-01: ALC889A Digital : ALC889A Digital : playback 1 : capture 1

00-02: ALC889A Analog : ALC889A Analog : capture 1

Client info

  cur  clients : 1

  peak clients : 1

  max  clients : 192

 

Client   0 : "System" [Kernel]

  Port   0 : "Timer" (Rwe-)

  Port   1 : "Announce" (R-e-)

Client  14 : "Midi Through" [Kernel]

  Port   0 : "Midi Through Port-0" (RWe-)

 

Dev Snd ---------------------------------------------------

by-path    hwC0D2    pcmC0D0p  pcmC0D1p  seq

controlC0  pcmC0D0c  pcmC0D1c  pcmC0D2c  timer

 

CPU -------------------------------------------------------

model name      : Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz

cpu MHz                              : 2000.000

model name      : Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz

cpu MHz                              : 2000.000

 

RAM -------------------------------------------------------

MemTotal:        4057844 kB

SwapTotal:       8191992 kB

 

Hardware --------------------------------------------------

00:00.0 Host bridge: Intel Corporation 4 Series Chipset DRAM Controller (rev
03)

 

http://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture

 

[root at mythtv mythtv]# ls -l /dev/snd

total 0

drwxr-xr-x  2 root root       60 2010-01-21 19:57 by-path

crw-rw----+ 1 root audio 116, 10 2010-01-21 19:57 controlC0

crw-rw----+ 1 root audio 116,  9 2010-01-21 19:57 hwC0D2

crw-rw----+ 1 root audio 116,  8 2010-01-22 15:04 pcmC0D0c

crw-rw----+ 1 root audio 116,  7 2010-01-22 14:48 pcmC0D0p

crw-rw----+ 1 root audio 116,  6 2010-01-21 19:58 pcmC0D1c

crw-rw----+ 1 root audio 116,  5 2010-01-21 19:58 pcmC0D1p

crw-rw----+ 1 root audio 116,  4 2010-01-21 19:57 pcmC0D2c

crw-rw----+ 1 root audio 116,  3 2010-01-21 19:57 seq

crw-rw----+ 1 root audio 116,  2 2010-01-21 19:57 timer

 

[root at mythtv mythtv]# ls -l /sys/module/snd/holders

total 0

lrwxrwxrwx 1 root root 0 2010-01-22 15:22 snd_hda_codec ->
../../snd_hda_codec

lrwxrwxrwx 1 root root 0 2010-01-22 15:22 snd_hda_codec_realtek ->
../../snd_hda_codec_realtek

lrwxrwxrwx 1 root root 0 2010-01-22 15:22 snd_hda_intel ->
../../snd_hda_intel

lrwxrwxrwx 1 root root 0 2010-01-22 15:22 snd_hwdep -> ../../snd_hwdep

lrwxrwxrwx 1 root root 0 2010-01-22 15:22 snd_pcm -> ../../snd_pcm

lrwxrwxrwx 1 root root 0 2010-01-22 15:22 snd_seq -> ../../snd_seq

lrwxrwxrwx 1 root root 0 2010-01-22 15:22 snd_seq_device ->
../../snd_seq_device

lrwxrwxrwx 1 root root 0 2010-01-22 15:22 snd_seq_dummy ->
../../snd_seq_dummy

lrwxrwxrwx 1 root root 0 2010-01-22 15:22 snd_timer -> ../../snd_timer

 

 

[root at mythtv mythtv]# lsmod|grep '^snd' | column -t

snd_seq_dummy          3428    0

snd_hda_codec_realtek  281380  1

snd_hda_intel          30360   2

snd_hda_codec          72832   2   snd_hda_codec_realtek,snd_hda_intel

snd_hwdep              9224    1   snd_hda_codec

snd_seq                58080   1   snd_seq_dummy

snd_seq_device         7620    2   snd_seq_dummy,snd_seq

snd_pcm                83144   2   snd_hda_intel,snd_hda_codec

snd_timer              22608   2   snd_seq,snd_pcm

snd                    67592   13
snd_seq_dummy,snd_hda_codec_realtek,snd_hda_intel,snd_hda_codec,snd_hwdep,sn
d_seq,snd_seq_device,snd_pcm,snd_timer

snd_page_alloc         9568    2   snd_hda_intel,snd_pcm

 

 

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mythtv.org/pipermail/mythtv-users/attachments/20100125/28381d18/attachment.htm>


More information about the mythtv-users mailing list