[mythtv-commits] Ticket #8509: Fast chopping / stuttering in mythmusic after hdaudio merge

MythTV mythtv at cvs.mythtv.org
Sun May 30 05:19:34 UTC 2010


#8509: Fast chopping / stuttering in mythmusic after hdaudio merge
-----------------------------------+----------------------------------------
 Reporter:  bhuffman@…             |       Owner:  jyavenard  
     Type:  defect                 |      Status:  new        
 Priority:  minor                  |   Milestone:  unknown    
Component:  MythTV - Audio Output  |     Version:  Unspecified
 Severity:  medium                 |     Mlocked:  0          
-----------------------------------+----------------------------------------

Comment(by Ken Emerson <kenneth.emerson@…>):

 On Sunday, May 30, 2010, Kenneth Emerson <kenneth.emerson at gmail.com>
 wrote:
 > I have experienced the same results with MythMusic (described in ticket
 8509) since upgrading to trunk with the hdaudio merge.  Prior to the merge
 I was using ALSA:plughw,1,0 as my main audio device and "default" in
 MythMusic setup for the audio device.
 >
 > After upgrading to 24896, I switched the main audio device from
 ALSA:plughw,1,0 to ALSA:iec958:CARD=External,DEV=0.  If I leave the music
 audio device at default, I get the choppy,stuttering output described in
 ticket 8509.  When I change the music device to /dev/dsp1 the music plays
 normally.
 >
 > If I leave the music device at default and check the PCM Analog box in
 the general MythTV audio configuration screen, the frontend segfaults (I
 have a coredump).
 >

 Then why not provide a backtrace in the ticket?

 The 8509 ticket is unfortunately close to useless.

 It does not provide any information that could actually help diagnose
 the problem.

 /dev/dsp is OSS audio

 The PCM checkbox is only necessary when using multichannel audio.

 What happens if you leave the audio config like it was before?
 (ALSA:plughw,1,0)
 - Show quoted text -


 > The output from the frontend is:
 >
 > 2010-05-29 14:14:44.166 AO: Opening audio device
 'iec958:CARD=External,DEV=0' ch
 >  2(2) sr 44100 sf signed 16 bit reenc 0
 > 2010-05-29 14:14:44.167 Opening ALSA audio device
 'iec958:CARD=External,DEV=0'.
 > 2010-05-29 14:14:44.895 ScreenSaverX11Private: DPMS Deactivated 1
 > 2010-05-29 14:15:01.212 ScreenSaverX11Private: DPMS Reactivated 1
 > 2010-05-29 14:15:03.522 Loading menu theme from
 /usr/local/share/mythtv/music_se
 > ttings.xml
 >
 > Music stutters.
 >
 >
 > 2010-05-29 14:15:48.166 XMLParse: LoadTheme using
 '/usr/local/share/mythtv/theme
 > s/blue-abstract-wide_old/music-ui.xml'
 > 2010-05-29 14:15:48.514 XMLParse, Warning: Unknown: area in repeated
 image
 > 2010-05-29 14:15:48.515 XMLParse, Warning: Unknown: area in repeated
 image
 > 2010-05-29 14:15:49.029 AO: Opening audio device '/dev/dsp1' ch 2(2) sr
 44100 sf
 >  signed 16 bit reenc 0
 >
 > Music plays fine.
 >
 > version info:
 > ken at mythtv:~$ mythfrontend --version
 > Please attach all output as a file in bug reports.
 > MythTV Version   : 24896
 > MythTV Branch    : trunk
 > Network Protocol : 57
 > Library API      : 0.23.20100526-2
 > QT Version       : 4.5.0
 > Options compiled in:
 >  linux debug using_oss using_alsa using_backend using_directfb using_dvb
 using_f
 > irewire using_frontend using_hdhomerun using_hdpvr using_iptv using_ivtv
 using_j
 > oystick_menu using_libfftw3 using_lirc using_mheg using_opengl_video
 using_openg
 > l_vsync using_qtdbus using_qtwebkit using_v4l using_x11 using_xrandr
 using_xv us
 > ing_xvmc using_xvmc_vld using_xvmcw using_bindings_perl
 using_bindings_python us
 > ing_opengl using_vdpau using_ffmpeg_threads using_live using_mheg
 >
 >
 Ok. I started on the users list as I didn't want to muddy the waters with
 what might have been a configuration problem.

 /dev/dsp is OSS audio

 I realize that. I just wanted to state that this was the only option that
 produced good audio.

 The PCM checkbox is only necessary when using multichannel audio.

 I was pretty sure that this was only used when using the individual
 channel outputs from the sound card (not S/PDIF); however, my nature is to
 try all possible combinations before giving up in the hope that some
 information will be useful.  what I did get was a segfault from
 mythfrontend (backtrace attached).

 What happens if you leave the audio config like it was before?
 (ALSA:plughw,1,0)

 This was the first option I tried.  Recordings and videos sounded fine.  I
 got nothing when I tried playing mp3's through MythMusic; total silence.
 When I switched to the S/PDIF device for MythMusic, it sounded like it was
 coming from under water (stuttering/choppy).

 This configuration is easy for me to set up, so if there is someway I can
 provide you with more detailed information, I am at your service.

 -- Ken E.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/8509#comment:1>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list