[mythtv-users] Sound Problem in Mythfronted

Or Duek orduek at gmail.com
Wed Feb 22 19:03:48 UTC 2012


Could you output your settings and the output of a playback where the
problem occurs, starting mythfrontend with -v audio

Does the problem always occur, or is intermittent ?

After a reboot, does it occur immediately or only later on?

JY

Ok, I'm really sorry. Those things are probably a little bit hard on me.
I attach the beginning of terminal output with what looks like my settings:
2012-02-22 20:49:31.503 mythfrontend version: fixes/0.24
[v0.24.2-14-g9743d9c] www.mythtv.org
2012-02-22 20:49:31.503 Using runtime prefix = /usr
2012-02-22 20:49:31.503 Using configuration directory =
/home/ormetal/.mythtv
2012-02-22 20:49:31.505 ThreadPool:HTTP: Initial 1, Max 25, Timeout 60000
2012-02-22 20:49:32.039 Empty LocalHostName.
2012-02-22 20:49:32.039 Using localhost value of HTPC
2012-02-22 20:49:32.039 Testing network connectivity to '192.168.1.6'
2012-02-22 20:49:32.150 New DB connection, total: 1
2012-02-22 20:49:32.154 Connected to database 'mythconverg' at host:
192.168.1.6
2012-02-22 20:49:32.158 Closing DB connection named 'DBManager0'
2012-02-22 20:49:32.159 Connected to database 'mythconverg' at host:
192.168.1.6
2012-02-22 20:49:32.162 Current locale EN_US
2012-02-22 20:49:32.162 Reading locale defaults from
/usr/share/mythtv//locales/en_us.xml
2012-02-22 20:49:32.342 ScreenSaverX11Private: XScreenSaver support enabled
2012-02-22 20:49:32.343 DPMS is disabled.
2012-02-22 20:49:32.416 Desktop video mode: 1024x768 60.004 Hz
2012-02-22 20:49:32.439 Enabled verbose msgs:  important general audio
2012-02-22 20:49:32.503 Connecting to lcd server: 127.0.0.1:6545 (try 1 of
10)
2012-02-22 20:49:32.505 Loading en_us translation for module mythfrontend
2012-02-22 20:49:32.506 New DB connection, total: 2
2012-02-22 20:49:32.506 Connected to database 'mythconverg' at host:
192.168.1.6
2012-02-22 20:49:32.565 LIRC: Successfully initialized '/dev/lircd' using
'/home/ormetal/.mythtv/lircrc' config
2012-02-22 20:49:32.565 JoystickMenuThread: Joystick disabled - Failed to
read /home/ormetal/.mythtv/joystickmenurc
2012-02-22 20:49:32.617 Using Frameless Window
2012-02-22 20:49:32.618 Using Full Screen Window
2012-02-22 20:49:32.839 Using the OpenGL painter
2012-02-22 20:49:32.895 OpenGL: OpenGL vendor  : NVIDIA Corporation
2012-02-22 20:49:32.896 OpenGL: OpenGL renderer: GeForce 9400 GT/PCI/SSE2
2012-02-22 20:49:32.896 OpenGL: OpenGL version : 3.2.0 NVIDIA 195.36.24
2012-02-22 20:49:32.896 OpenGL: Max texture size: 8192 x 8192
2012-02-22 20:49:32.896 OpenGL: Max texture units: 4
2012-02-22 20:49:32.896 OpenGL: Direct rendering: Yes
2012-02-22 20:49:32.896 OpenGL: Initialised MythRenderOpenGL
2012-02-22 20:49:33.895 Current MythTV Schema Version (DBSchemaVer): 1264
2012-02-22 20:49:34.846 ThemeInfo, Warning: Unable to open themeinfo.xml
for /usr/share/mythtv/themes/BlackCurves-OSD/themeinfo.xml
2012-02-22 20:49:34.846 ThemeInfo, Error: The theme
(/usr/share/mythtv/themes/BlackCurves-OSD) is missing a themeinfo.xml file.
2012-02-22 20:49:34.886 ThemeInfo, Warning: Unable to open themeinfo.xml
for /usr/share/mythtv/themes/Gray-OSD/themeinfo.xml
2012-02-22 20:49:34.886 ThemeInfo, Error: The theme
(/usr/share/mythtv/themes/Gray-OSD) is missing a themeinfo.xml file.
2012-02-22 20:49:35.144 Pulse: PulseAudio not running
2012-02-22 20:49:35.186 AO: Sample rate 48000 is supported
2012-02-22 20:49:35.187 AO: Format signed 24 bit MSB is supported
2012-02-22 20:49:35.187 AO: Format signed 32 bit is supported
2012-02-22 20:49:35.187 AO: 2 channel(s) are supported
2012-02-22 20:49:35.204 AO: Killing AudioOutputDSP
2012-02-22 20:49:35.204 Found ALSA:default:CARD=Intel
(ALSA:default:CARD=Intel
Device supports up to 2.0)
2012-02-22 20:49:35.344 Registering Internal as a media playback plugin.
2012-02-22 20:49:35.344 No plugins directory /usr/lib/mythtv/plugins
2012-02-22 20:49:35.375 MediaMonitorUnix::AddDevice() - empty device path.
2012-02-22 20:49:35.375 MediaMonitorUnix::AddDevice() - empty device path.
2012-02-22 20:49:35.376 MediaMonitorUnix::AddDevice() - empty device path.
2012-02-22 20:49:35.447 Found mainmenu.xml for theme 'blue-abstract-wide'
2012-02-22 20:49:35.532 MythCoreContext: Connecting to backend server:
192.168.1.6:6543 (try 1 of 1)

Next I attach terminal output when using TV (problem occurs on every
occasion)
2012-02-22 20:54:47.078 VDPAU Painter: Failed to create VDPAU UI bitmap.
2012-02-22 20:54:47.234
RingBuf(/var/lib/mythtv/livetv/1002_20120222205447.mpg) Warning: Peek()
requested 2048 bytes, but only returning 752
2012-02-22 20:54:50.730 VDPAU: Created 2 output surfaces.
2012-02-22 20:54:50.730 VDPAU: Created VDPAU render device 1024x768
2012-02-22 20:54:50.757 Player(0): Forcing decode extra audio option on
(Video method requires it).
2012-02-22 20:54:50.758 AFD: Opened codec 0xaf7a8960, id(H264) type(Video)
2012-02-22 20:54:50.758 AFD: codec AAC/LATM has 2 channels
2012-02-22 20:54:50.759 AFD: Opened codec 0xaca290a0, id(AAC/LATM)
type(Audio)
2012-02-22 20:54:50.759 AFD: Audio Track #1 is A/V stream #1 and has 1
channels in the Undetermined language(7695972).
2012-02-22 20:54:50.759 AFD: Opened codec 0xaca76390, id(DVB_SUBTITLE)
type(Subtitle)
2012-02-22 20:54:50.760 AFD: Opened codec 0xaca76760, id(DVB_SUBTITLE)
type(Subtitle)
2012-02-22 20:54:50.760 AFD: Opened codec 0xaf779d50, id(DVB_SUBTITLE)
type(Subtitle)
2012-02-22 20:54:50.760 AFD: Selected track 1: Undetermined AAC_LATM 1ch
(A/V Stream #1)
2012-02-22 20:54:50.760 AFD: Initializing audio parms from audio track #1
2012-02-22 20:54:50.760 AFD: Audio format changed
 from id(NONE)     -1Hz -1ch -1bps     to id(AAC/LATM)  48000Hz  1ch 16bps

2012-02-22 20:54:50.760 AO: Killing AudioOutputDSP
2012-02-22 20:54:50.817 Pulse: PulseAudio not running
2012-02-22 20:54:50.855 AO: Sample rate 48000 is supported
2012-02-22 20:54:50.855 AO: Format signed 24 bit MSB is supported
2012-02-22 20:54:50.855 AO: Format signed 32 bit is supported
2012-02-22 20:54:50.855 AO: 2 channel(s) are supported
2012-02-22 20:54:50.873 AO: Needs upmix from 1 -> 2 channels
2012-02-22 20:54:50.873 AO: Killing AudioOutputDSP
2012-02-22 20:54:50.873 AO: Original codec was AAC/LATM, signed 16 bit, 48
kHz, 1 channels
2012-02-22 20:54:50.873 AO: enc(0), passthru(0), canAC3(0), canDTS(0),
canLPCM(0), configured_channels(2), 2 channels supported(1)
2012-02-22 20:54:50.873 AO: Audio processing enabled
2012-02-22 20:54:50.873 AO: Opening audio device 'default:CARD=Intel' ch
2(1) sr 48000 sf signed 32 bit reenc 0
2012-02-22 20:54:50.908 ALSA: SetParameters(format=10, channels=2,
rate=48000, buffer_time=500000, period_time=4)
2012-02-22 20:54:50.908 ALSA: Buffer size range from 2048 to 16384
2012-02-22 20:54:50.908 ALSA: Period size range from 1024 to 1024
2012-02-22 20:54:50.908 ALSA: Requested 500000us got 341333 buffer time
2012-02-22 20:54:50.909 ALSA: Hardware audio buffer cur: 4096 need:
6016max allowed: 32768
2012-02-22 20:54:50.909 ALSA, Error: Setting hardware audio buffer size to
6016
2012-02-22 20:54:50.909 ALSA, Error: Error opening
/proc/asound/card0/pcm0p/sub0/prealloc: Permission denied.
2012-02-22 20:54:50.909 ALSA, Error: Try to manually increase audio buffer
with: echo 6016 | sudo tee /proc/asound/card0/pcm0p/sub0/prealloc
2012-02-22 20:54:50.909 ALSA, Error: Unable to sufficiently increase ALSA
hardware buffer size - underruns are likely
2012-02-22 20:54:50.942 ALSA: SetParameters(format=10, channels=2,
rate=48000, buffer_time=500000, period_time=4)
2012-02-22 20:54:50.942 ALSA: Buffer size range from 2048 to 16384
2012-02-22 20:54:50.942 ALSA: Period size range from 1024 to 1024
2012-02-22 20:54:50.942 ALSA: Buffer time = 341333 us
 2012-02-22 20:54:50.942 ALSA: Period time = 16 periods
2012-02-22 20:54:50.943 ALSA: Buffer size = 16384 | Period size = 1024
2012-02-22 20:54:50.944 ALSA: found playback control PCM on mixer device
default
2012-02-22 20:54:50.944 ALSA: mixer volume range on mixer device
default/PCM - min 0, max 255, range 255
2012-02-22 20:54:50.944 ALSA: mixer device default/PCM set up successfully
2012-02-22 20:54:50.944 ALSA: channel 0 volume set 72 => 184
2012-02-22 20:54:50.944 ALSA: channel 1 volume set 72 => 184
2012-02-22 20:54:50.944 ALSA: get volume channel 0: 72
2012-02-22 20:54:50.944 ALSA: channel 0 volume set 72 => 184
2012-02-22 20:54:50.944 ALSA: channel 1 volume set 72 => 184
2012-02-22 20:54:50.944 AO: Audio fragment size: 4096
2012-02-22 20:54:50.944 AO: Audio Stretch Factor: 1
2012-02-22 20:54:50.945 AO: Ending Reconfigure()
2012-02-22 20:54:50.945 AudioPlayer: Enabling Audio
2012-02-22 20:54:50.945 AO: Needs upmix from 1 -> 2 channels
2012-02-22 20:54:50.945 AO: Reconfigure(): No change -> exiting
2012-02-22 20:54:50.945 AO: kickoffOutputAudioLoop: pid = 17234
2012-02-22 20:54:50.945 AO: OutputAudioLoop: Play Event
2012-02-22 20:54:50.975 AFD: Resetting byte context eof (livetv 1 was eof 0)
2012-02-22 20:54:50.976 AO: Pause 0
2012-02-22 20:54:50.977 AO: Pause 1
2012-02-22 20:54:50.987 [h264_vdpau @ 0x1f71b00]mmco: unref short failure
2012-02-22 20:54:50.987 AO: OutputAudioLoop: audio paused
2012-02-22 20:54:51.000 AFD: Audio stream changed
2012-02-22 20:54:51.000 AFD: Selected track 1: Undetermined AAC_LATM 1ch
(A/V Stream #1)
2012-02-22 20:54:51.000 AFD: Initializing audio parms from audio track #1
2012-02-22 20:54:51.000 AFD: Audio format changed
from id(AAC/LATM)  48000Hz  1ch 16bps     to id(AAC/LATM)  48000Hz  2ch
16bps
2012-02-22 20:54:51.000 AO: SetEffDsp: 4800000
2012-02-22 20:54:51.000 AO: Killing AudioOutputDSP
2012-02-22 20:54:51.000 AO: OutputAudioLoop: Stop Event
2012-02-22 20:54:51.001 AO: kickoffOutputAudioLoop exiting
2012-02-22 20:54:51.001 AO: Original codec was AAC/LATM, signed 16 bit, 48
kHz, 2 channels
2012-02-22 20:54:51.001 AO: enc(0), passthru(0), canAC3(0), canDTS(0),
canLPCM(0), configured_channels(2), 2 channels supported(1)
2012-02-22 20:54:51.001 AO: Audio processing enabled
2012-02-22 20:54:51.001 AO: Opening audio device 'default:CARD=Intel' ch
2(2) sr 48000 sf signed 32 bit reenc 0
2012-02-22 20:54:51.034 ALSA: SetParameters(format=10, channels=2,
rate=48000, buffer_time=500000, period_time=4)
2012-02-22 20:54:51.034 ALSA: Buffer size range from 2048 to 16384
2012-02-22 20:54:51.034 ALSA: Period size range from 1024 to 1024
2012-02-22 20:54:51.034 ALSA: Buffer time = 341333 us
 2012-02-22 20:54:51.035 ALSA: Period time = 16 periods
2012-02-22 20:54:51.035 ALSA: Buffer size = 16384 | Period size = 1024
2012-02-22 20:54:51.036 ALSA: found playback control PCM on mixer device
default
2012-02-22 20:54:51.036 ALSA: mixer volume range on mixer device
default/PCM - min 0, max 255, range 255
2012-02-22 20:54:51.036 ALSA: mixer device default/PCM set up successfully
2012-02-22 20:54:51.036 ALSA: channel 0 volume set 72 => 184
2012-02-22 20:54:51.036 ALSA: channel 1 volume set 72 => 184
2012-02-22 20:54:51.036 ALSA: get volume channel 0: 72
2012-02-22 20:54:51.036 ALSA: channel 0 volume set 72 => 184
2012-02-22 20:54:51.036 ALSA: channel 1 volume set 72 => 184
2012-02-22 20:54:51.036 AO: Audio fragment size: 4096
2012-02-22 20:54:51.036 AO: Audio Stretch Factor: 1
2012-02-22 20:54:51.036 AO: Ending Reconfigure()
2012-02-22 20:54:51.036 AO: Pause 0
2012-02-22 20:54:51.036 AO: kickoffOutputAudioLoop: pid = 17234
2012-02-22 20:54:51.037 AO: OutputAudioLoop: Play Event
2012-02-22 20:54:51.037 VDPAU: Added 2 output surfaces (total 4, max 4)
2012-02-22 20:54:51.039 [h264_vdpau @ 0x1f71b00]mmco: unref short failure
2012-02-22 20:54:51.051 [h264_vdpau @ 0x1f71b00]mmco: unref short failure
QPainter::begin: Paint device returned engine == 0, type: 3
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawRects: Painter not active
QPainter::end: Painter not active, aborted


I hope it is better.
About my setting:
I use AverMedia Volar Black HD as my DVB-T dongle.
I'm using Mythbuntu 10.04.
I have alc1200, intel integrated sound card which is connected to
a receiver using adapter from headphone connection to RCA.

Thank you very much for your help.
-- 

* **Please consider the environment before printing this e-mail *




-- 

* **Please consider the environment before printing this e-mail *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.mythtv.org/pipermail/mythtv-users/attachments/20120222/cca9e145/attachment.html 


More information about the mythtv-users mailing list