[mythtv-users] mythtv audio stuttering on 720p material after upgrade to Fedora 9

Greg zgeggy2k at yahoo.com
Sat Sep 27 22:41:17 UTC 2008


I'm experiencing the same issue.
See: http://www.mythtvtalk.com/forum/viewtopic.php?t=8332

I also opened a ticket here http://cvs.mythtv.org/trac/ticket/5749

Hope I put enough info in there for the devs to look into it.

-- Greg



----- Original Message ----
From: Don Lewis <dl-mythtv at catspoiler.org>
To: allen.edwards at PaloAltoPhoto.com; mythtv-users at mythtv.org
Sent: Saturday, September 27, 2008 11:16:58 AM
Subject: Re: [mythtv-users] mythtv audio stuttering on 720p material after upgrade to Fedora 9

On 26 Sep, Allen Edwards wrote:
> On Tue, Sep 23, 2008 at 4:32 PM, Don Lewis <dl-mythtv at catspoiler.org> wrote:
>> On 23 Sep, Joe Henley wrote:
>>> Hmmm.  How I got my system to (finally) settle down and play recordings
>>> cleanly was:
>>>
>>> Remove .asoundrc from /root , /home, and /etc, and anywhere else it resides
>>>
>>> Use alsamixer to unmute all the iec958 items
>>>
>>> Set MythTV settings to:
>>> Audio output device = ALSA: spdif
>>> Passthru output device = Default
>>> Max audio channels = stereo (The 5.1 setting is currently broken. Use
>>> "stereo" and you'll still get 5.1 sound out of the system.)
>>> Upmix = passive
>>> Enable AC3 to SPDIF passthru = check
>>> Enable DTS to SPDIF passthru = check
>>> Enable internal volume controls = check
>>> Mixer device = default
>>> Mixer controls = Master
>>
>> I've been using pretty much the same settings, except I had the
>> passthrough device set to spdif and the internal volume control
>> disabled.  I didn't detect any difference in my sound problems when I
>> changed my settings to match yours.
> 
> Also, remove the asound file and remove pulse audio, which is
> apparently difficult to do.
> People have reported that this is important on Fedoria.
> Allen

There's no /etc/asound.conf.  I haven't tried totally removing
pulseaudio, but killing the daemon makes no difference.

Both SD and 1080i material play fine through mythfrontend.  Only 720p
has the problem.  I ran "mythfrontend --verbose all" and extracted the
audio-related log info.  It looks like there is a problem internal to
the player.  The first "WriteAudio: buffer underrun" is preceeded by a
one second gap in "AO: _AddSamples ..." log entries.  Maybe there's a
thread scheduling bug in mythfrontend on Fedora 9.  Hopefully someone
who is familiar with the mythfrontend internals can comment.

2008-09-25 18:52:50.785 AO: Killing AudioOutputDSP
2008-09-25 18:52:50.795 AO: Audio fragment size: 6144
2008-09-25 18:52:50.795 AO: Audio Stretch Factor: 1
2008-09-25 18:52:50.796 AO: Ending reconfigure
2008-09-25 18:52:50.796 AO: Killing AudioOutputDSP
2008-09-25 18:52:50.796 AO: kickoffOutputAudioLoop: pid = 26856
2008-09-25 18:52:50.796 AO: OutputAudioLoop: Stop Event
2008-09-25 18:52:50.796 AO: kickoffOutputAudioLoop exiting
2008-09-25 18:52:50.801 AO: Audio fragment size: 6144
2008-09-25 18:52:50.801 AO: Audio Stretch Factor: 1
2008-09-25 18:52:50.801 AO: Ending reconfigure
2008-09-25 18:52:50.801 AO: kickoffOutputAudioLoop: pid = 26856
2008-09-25 18:52:50.801 AO: OutputAudioLoop: Play Event
2008-09-25 18:52:50.867 AO: no change exiting
2008-09-25 18:52:50.867 AO: Pause 1
2008-09-25 18:52:50.867 AO: OutputAudioLoop: audio paused
2008-09-25 18:52:50.867 AO: 65536 bytes free on soundcard
2008-09-25 18:52:50.867 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:50.869 AO: 59392 bytes free on soundcard
2008-09-25 18:52:50.870 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:50.872 AO: 53248 bytes free on soundcard
2008-09-25 18:52:51.669 AO: Pause 1
2008-09-25 18:52:51.671 AO: OutputAudioLoop: audio paused
2008-09-25 18:52:51.700 AO: _AddSamples samples=1536 bytes=6144, used=1, free=1535999, timecode=28198952 needsupmix 0
2008-09-25 18:52:51.701 AO: _AddSamples samples=1536 bytes=6144, used=6145, free=1529855, timecode=28198984 needsupmix 0
2008-09-25 18:52:51.701 AO: _AddSamples samples=1536 bytes=6144, used=12289, free=1523711, timecode=28199016 needsupmix 0
2008-09-25 18:52:51.705 AO: _AddSamples samples=1536 bytes=6144, used=18433, free=1517567, timecode=28199048 needsupmix 0
2008-09-25 18:52:51.711 AO: _AddSamples samples=1536 bytes=6144, used=24577, free=1511423, timecode=28199080 needsupmix 0
2008-09-25 18:52:51.718 AO: _AddSamples samples=1536 bytes=6144, used=30721, free=1505279, timecode=28199112 needsupmix 0
2008-09-25 18:52:51.725 AO: _AddSamples samples=1536 bytes=6144, used=36865, free=1499135, timecode=28199144 needsupmix 0
2008-09-25 18:52:51.731 AO: _AddSamples samples=1536 bytes=6144, used=43009, free=1492991, timecode=28199176 needsupmix 0
2008-09-25 18:52:51.738 AO: _AddSamples samples=1536 bytes=6144, used=49153, free=1486847, timecode=28199208 needsupmix 0
2008-09-25 18:52:51.745 AO: _AddSamples samples=1536 bytes=6144, used=55297, free=1480703, timecode=28199240 needsupmix 0
2008-09-25 18:52:51.753 AO: _AddSamples samples=1536 bytes=6144, used=61441, free=1474559, timecode=28199272 needsupmix 0
2008-09-25 18:52:51.760 AO: _AddSamples samples=1536 bytes=6144, used=67585, free=1468415, timecode=28199304 needsupmix 0
2008-09-25 18:52:51.767 AO: _AddSamples samples=1536 bytes=6144, used=73729, free=1462271, timecode=28199336 needsupmix 0
2008-09-25 18:52:51.775 AO: Pause 0
2008-09-25 18:52:51.775 AO: OutputAudioLoop: Play Event
2008-09-25 18:52:51.775 AO: Broadcasting free space avail
2008-09-25 18:52:51.776 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:51.776 AO: Broadcasting free space avail
2008-09-25 18:52:51.776 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:51.776 AO: Broadcasting free space avail
2008-09-25 18:52:51.776 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:51.777 AO: Broadcasting free space avail
2008-09-25 18:52:51.777 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:51.777 AO: Broadcasting free space avail
2008-09-25 18:52:51.777 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:51.777 AO: Broadcasting free space avail
2008-09-25 18:52:51.778 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:51.778 AO: Broadcasting free space avail
2008-09-25 18:52:51.778 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:51.778 AO: Broadcasting free space avail
2008-09-25 18:52:51.778 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:51.778 AO: Broadcasting free space avail
2008-09-25 18:52:51.778 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:51.778 AO: Broadcasting free space avail
2008-09-25 18:52:51.778 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:51.779 AO: Broadcasting free space avail
2008-09-25 18:52:51.779 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:51.779 AO: Broadcasting free space avail
2008-09-25 18:52:51.779 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:51.779 AO: audio waiting for space on soundcard: have 2252 need 6144
2008-09-25 18:52:51.780 AO: _AddSamples samples=1536 bytes=6144, used=6145, free=1529855, timecode=28199368 needsupmix 0
2008-09-25 18:52:51.792 AO: _AddSamples samples=1536 bytes=6144, used=12289, free=1523711, timecode=28199400 needsupmix 0
2008-09-25 18:52:51.799 AO: _AddSamples samples=1536 bytes=6144, used=18433, free=1517567, timecode=28199432 needsupmix 0
2008-09-25 18:52:51.807 AO: _AddSamples samples=1536 bytes=6144, used=24577, free=1511423, timecode=28199464 needsupmix 0
2008-09-25 18:52:51.899 AO: audio waiting for space on soundcard: have 2972 need 6144
2008-09-25 18:52:51.904 AO: audio waiting for space on soundcard: have 3976 need 6144
2008-09-25 18:52:51.909 AO: audio waiting for space on soundcard: have 4972 need 6144
2008-09-25 18:52:51.915 AO: audio waiting for space on soundcard: have 5960 need 6144
2008-09-25 18:52:51.920 AO: Broadcasting free space avail
2008-09-25 18:52:51.920 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:51.920 AO: audio waiting for space on soundcard: have 852 need 6144
2008-09-25 18:52:51.926 AO: audio waiting for space on soundcard: have 2040 need 6144
2008-09-25 18:52:51.931 AO: audio waiting for space on soundcard: have 3024 need 6144
2008-09-25 18:52:51.936 AO: audio waiting for space on soundcard: have 4008 need 6144
2008-09-25 18:52:51.943 AO: audio waiting for space on soundcard: have 5220 need 6144
2008-09-25 18:52:51.948 AO: Broadcasting free space avail
2008-09-25 18:52:51.948 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:51.948 AO: audio waiting for space on soundcard: have 120 need 6144
2008-09-25 18:52:51.957 AO: audio waiting for space on soundcard: have 1884 need 6144
2008-09-25 18:52:51.963 AO: audio waiting for space on soundcard: have 2884 need 6144
2008-09-25 18:52:51.968 AO: audio waiting for space on soundcard: have 3884 need 6144
2008-09-25 18:52:51.974 AO: audio waiting for space on soundcard: have 5084 need 6144
2008-09-25 18:52:51.979 AO: audio waiting for space on soundcard: have 6068 need 6144
2008-09-25 18:52:51.984 AO: Broadcasting free space avail
2008-09-25 18:52:51.984 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:51.984 AO: audio waiting for space on soundcard: have 960 need 6144
2008-09-25 18:52:51.990 AO: audio waiting for space on soundcard: have 1940 need 6144
2008-09-25 18:52:51.995 AO: audio waiting for space on soundcard: have 2924 need 6144
2008-09-25 18:52:52.000 AO: audio waiting for space on soundcard: have 3908 need 6144
2008-09-25 18:52:52.006 AO: audio waiting for space on soundcard: have 5060 need 6144
2008-09-25 18:52:52.011 AO: audio waiting for space on soundcard: have 6048 need 6144
2008-09-25 18:52:52.016 AO: Broadcasting free space avail
2008-09-25 18:52:52.016 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:52.016 AO: audio waiting for space on soundcard: have 948 need 6144
2008-09-25 18:52:52.022 AO: audio waiting for space on soundcard: have 1928 need 6144
2008-09-25 18:52:52.027 AO: audio waiting for space on soundcard: have 2908 need 6144
2008-09-25 18:52:52.032 AO: audio waiting for space on soundcard: have 3892 need 6144
2008-09-25 18:52:52.037 AO: audio waiting for space on soundcard: have 4868 need 6144
2008-09-25 18:52:52.042 AO: audio waiting for space on soundcard: have 5848 need 6144
2008-09-25 18:52:52.047 AO: Broadcasting free space avail
2008-09-25 18:52:52.047 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:52.776 AO: _AddSamples samples=1536 bytes=6144, used=1, free=1535999, timecode=28199496 needsupmix 0
2008-09-25 18:52:52.780 AO: _AddSamples samples=1536 bytes=6144, used=6145, free=1529855, timecode=28199528 needsupmix 0
2008-09-25 18:52:52.781 AO: _AddSamples samples=1536 bytes=6144, used=12289, free=1523711, timecode=28199560 needsupmix 0
2008-09-25 18:52:52.781 AO: _AddSamples samples=1536 bytes=6144, used=18433, free=1517567, timecode=28199592 needsupmix 0
2008-09-25 18:52:52.782 AO: _AddSamples samples=1536 bytes=6144, used=24577, free=1511423, timecode=28199624 needsupmix 0
2008-09-25 18:52:52.783 AO: _AddSamples samples=1536 bytes=6144, used=30721, free=1505279, timecode=28199656 needsupmix 0
2008-09-25 18:52:52.783 AO: _AddSamples samples=1536 bytes=6144, used=36865, free=1499135, timecode=28199688 needsupmix 0
2008-09-25 18:52:52.784 AO: _AddSamples samples=1536 bytes=6144, used=43009, free=1492991, timecode=28199720 needsupmix 0
2008-09-25 18:52:52.784 AO: _AddSamples samples=1536 bytes=6144, used=49153, free=1486847, timecode=28199752 needsupmix 0
2008-09-25 18:52:52.785 AO: _AddSamples samples=1536 bytes=6144, used=55297, free=1480703, timecode=28199784 needsupmix 0
2008-09-25 18:52:52.785 AO: _AddSamples samples=1536 bytes=6144, used=61441, free=1474559, timecode=28199816 needsupmix 0
2008-09-25 18:52:52.786 AO: _AddSamples samples=1536 bytes=6144, used=67585, free=1468415, timecode=28199848 needsupmix 0
2008-09-25 18:52:52.787 AO: _AddSamples samples=1536 bytes=6144, used=73729, free=1462271, timecode=28199880 needsupmix 0
2008-09-25 18:52:52.787 AO: _AddSamples samples=1536 bytes=6144, used=79873, free=1456127, timecode=28199912 needsupmix 0
2008-09-25 18:52:52.788 AO: _AddSamples samples=1536 bytes=6144, used=86017, free=1449983, timecode=28199944 needsupmix 0
2008-09-25 18:52:52.788 AO: _AddSamples samples=1536 bytes=6144, used=92161, free=1443839, timecode=28199976 needsupmix 0
2008-09-25 18:52:52.789 AO: _AddSamples samples=1536 bytes=6144, used=98305, free=1437695, timecode=28200008 needsupmix 0
2008-09-25 18:52:52.790 AO: _AddSamples samples=1536 bytes=6144, used=104449, free=1431551, timecode=28200040 needsupmix 0
2008-09-25 18:52:52.791 AO: _AddSamples samples=1536 bytes=6144, used=110593, free=1425407, timecode=28200072 needsupmix 0
2008-09-25 18:52:52.791 AO: _AddSamples samples=1536 bytes=6144, used=116737, free=1419263, timecode=28200104 needsupmix 0
2008-09-25 18:52:52.792 AO: _AddSamples samples=1536 bytes=6144, used=122881, free=1413119, timecode=28200136 needsupmix 0
2008-09-25 18:52:52.792 AO: _AddSamples samples=1536 bytes=6144, used=129025, free=1406975, timecode=28200168 needsupmix 0
2008-09-25 18:52:52.793 AO: _AddSamples samples=1536 bytes=6144, used=135169, free=1400831, timecode=28200200 needsupmix 0
2008-09-25 18:52:52.793 AO: _AddSamples samples=1536 bytes=6144, used=141313, free=1394687, timecode=28200232 needsupmix 0
2008-09-25 18:52:52.794 AO: _AddSamples samples=1536 bytes=6144, used=147457, free=1388543, timecode=28200264 needsupmix 0
2008-09-25 18:52:52.795 AO: _AddSamples samples=1536 bytes=6144, used=153601, free=1382399, timecode=28200296 needsupmix 0
2008-09-25 18:52:52.795 AO: _AddSamples samples=1536 bytes=6144, used=159745, free=1376255, timecode=28200328 needsupmix 0
2008-09-25 18:52:52.796 AO: Broadcasting free space avail
2008-09-25 18:52:52.796 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:52.796 WriteAudio: buffer underrun
2008-09-25 18:52:52.798 AO: Broadcasting free space avail
2008-09-25 18:52:52.798 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:52.798 AO: Broadcasting free space avail
2008-09-25 18:52:52.798 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:52.798 AO: Broadcasting free space avail
2008-09-25 18:52:52.798 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:52.798 AO: Broadcasting free space avail
2008-09-25 18:52:52.798 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:52.798 AO: Broadcasting free space avail
2008-09-25 18:52:52.798 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:52.799 AO: Broadcasting free space avail
2008-09-25 18:52:52.799 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:52.799 WriteAudio: buffer underrun
2008-09-25 18:52:52.801 AO: Broadcasting free space avail
2008-09-25 18:52:52.801 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:52.801 AO: Broadcasting free space avail
2008-09-25 18:52:52.801 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:52.802 AO: Broadcasting free space avail
2008-09-25 18:52:52.802 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:52.802 AO: Broadcasting free space avail
2008-09-25 18:52:52.802 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:52.802 AO: Broadcasting free space avail
2008-09-25 18:52:52.802 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:52.803 AO: Broadcasting free space avail
2008-09-25 18:52:52.803 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:52.803 AO: Broadcasting free space avail
2008-09-25 18:52:52.803 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:52.803 AO: Broadcasting free space avail
2008-09-25 18:52:52.803 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:52.804 AO: Broadcasting free space avail
2008-09-25 18:52:52.804 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:52.804 AO: audio waiting for space on soundcard: have 4304 need 6144
2008-09-25 18:52:52.809 AO: audio waiting for space on soundcard: have 5288 need 6144
2008-09-25 18:52:52.814 AO: Broadcasting free space avail
2008-09-25 18:52:52.814 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:52.814 AO: audio waiting for space on soundcard: have 168 need 6144
2008-09-25 18:52:52.819 AO: audio waiting for space on soundcard: have 1152 need 6144
2008-09-25 18:52:52.824 AO: audio waiting for space on soundcard: have 2132 need 6144
2008-09-25 18:52:52.829 AO: audio waiting for space on soundcard: have 3112 need 6144
2008-09-25 18:52:52.835 AO: audio waiting for space on soundcard: have 4096 need 6144
2008-09-25 18:52:52.840 AO: audio waiting for space on soundcard: have 5076 need 6144
2008-09-25 18:52:52.846 AO: _AddSamples samples=1536 bytes=6144, used=61441, free=1474559, timecode=28200360 needsupmix 0
2008-09-25 18:52:52.845 AO: audio waiting for space on soundcard: have 6128 need 6144
2008-09-25 18:52:52.851 AO: Broadcasting free space avail
2008-09-25 18:52:52.851 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:52.851 AO: audio waiting for space on soundcard: have 1152 need 6144
2008-09-25 18:52:52.856 AO: audio waiting for space on soundcard: have 2132 need 6144
2008-09-25 18:52:52.861 AO: audio waiting for space on soundcard: have 3112 need 6144
2008-09-25 18:52:52.867 AO: audio waiting for space on soundcard: have 4092 need 6144
2008-09-25 18:52:52.872 AO: audio waiting for space on soundcard: have 5072 need 6144
2008-09-25 18:52:52.880 AO: Broadcasting free space avail
2008-09-25 18:52:52.880 WriteAudio: Preparing 6144 bytes (1536 frames)
2008-09-25 18:52:52.880 AO: audio waiting for space on soundcard: have 496 need 6144


_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users



      


More information about the mythtv-users mailing list