Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#8924 closed defect (fixed)

Changeset 26258 breaks analogue TV audio

Reported by: yianniv Owned by: JYA
Priority: minor Milestone: 0.24
Component: MythTV - Audio Output Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Tested with 26257, sound is ok, but with 26258 No audio from analogue cards. The volume slider is empty at 0%, the mute/unmute button doesn't even show the osd option.

This is the output of mythfrontend -audio

2010-09-12 22:45:42.920 mythfrontend version: trunk [26258M] www.mythtv.org
2010-09-12 22:45:42.920 Using runtime prefix = /usr
2010-09-12 22:45:42.920 Using configuration directory = /home/yianni/.mythtv
2010-09-12 22:45:42.921 ThreadPool:HTTP: Initial 1, Max 5, Timeout 60000
2010-09-12 22:45:44.372 Empty LocalHostName.
2010-09-12 22:45:44.372 Using localhost value of storage
2010-09-12 22:45:44.372 Testing network connectivity to '192.168.13.65'
2010-09-12 22:45:44.372 Launching: ping -t 3 -c 1  192.168.13.65  >/dev/null 2>&1
2010-09-12 22:45:44.373 PID 22873: launched
2010-09-12 22:45:44.373 Starting reaper thread
2010-09-12 22:45:44.473 PID 22873: exited: status=0, result=0
2010-09-12 22:45:44.486 New DB connection, total: 1
2010-09-12 22:45:44.490 Connected to database 'mythconverg' at host: 192.168.13.65
2010-09-12 22:45:44.491 Closing DB connection named 'DBManager0'
2010-09-12 22:45:44.491 Current locale el_GR
2010-09-12 22:45:44.491 No locale defaults file for el_GR, skipping
2010-09-12 22:45:44.491 Launching: xscreensaver-command -version >&- 2>&-
2010-09-12 22:45:44.492 PID 22877: launched
2010-09-12 22:45:44.574 PID 22877: exited: status=65280, result=255
2010-09-12 22:45:44.574 Launching: gnome-screensaver-command --help >&- 2>&-
2010-09-12 22:45:44.575 PID 22879: launched
2010-09-12 22:45:44.674 PID 22879: exited: status=0, result=0
2010-09-12 22:45:44.674 ScreenSaverX11Private: Gnome screen saver support enabled
2010-09-12 22:45:44.675 DPMS is disabled.
2010-09-12 22:45:44.678 Connected to database 'mythconverg' at host: 192.168.13.65
2010-09-12 22:45:44.736 Desktop video mode: 474x303 59.8833 Hz
2010-09-12 22:45:44.774 Enabled verbose msgs:  important general audio
2010-09-12 22:45:44.783 Loading el translation for module mythfrontend
2010-09-12 22:45:44.807 LIRC, Error: Failed to connect to Unix socket '/dev/lircd'
                        eno: Îεν ÏÏάÏÏει ÏέÏοιο αÏÏείο ή καÏÎ¬Î»Î¿Î³Î¿Ï (2)
2010-09-12 22:45:44.899 Using Frameless Window
2010-09-12 22:45:44.899 Using Full Screen Window
2010-09-12 22:45:45.031 Using the OpenGL painter
2010-09-12 22:45:45.526 OpenGL: OpenGL vendor  : NVIDIA Corporation
2010-09-12 22:45:45.526 OpenGL: OpenGL renderer: GeForce 9500 GT/PCI/SSE2
2010-09-12 22:45:45.526 OpenGL: OpenGL version : 3.3.0 NVIDIA 256.53
2010-09-12 22:45:45.526 OpenGL: Max texture size: 8192 x 8192
2010-09-12 22:45:45.526 OpenGL: Max texture units: 4
2010-09-12 22:45:45.526 OpenGL: Direct rendering: Yes
2010-09-12 22:45:45.526 OpenGL: Initialised MythRenderOpenGL
2010-09-12 22:45:46.497 Current MythTV Schema Version (DBSchemaVer): 1263
2010-09-12 22:45:47.288 Launching: ps -ae | grep pulseaudio > /dev/null
2010-09-12 22:45:47.292 PID 22938: launched
2010-09-12 22:45:47.377 PID 22938: exited: status=0, result=0
2010-09-12 22:45:47.391 AudioPulseUtil: Suspend Success
2010-09-12 22:45:47.405 AO: Sample rate 48000 is supported
2010-09-12 22:45:47.405 AO: 2 channel(s) are supported
2010-09-12 22:45:47.430 AO: Killing AudioOutputDSP
2010-09-12 22:45:47.430 ALSA: Setting IEC958 status: audio
2010-09-12 22:45:47.435 ALSA, Error: snd_pcm_info_get_card: ΠλειÏοÏÏγία δεν εÏιÏÏέÏεÏαι
2010-09-12 22:45:47.453 AudioPulseUtil, Error: Failure to resume: Invalid argument
2010-09-12 22:45:47.453 WARNING: couldn't resume Pulse Audio
2010-09-12 22:45:47.453 Found ALSA:default:CARD=Intel (ALSA:default:CARD=Intel
Device supports up to 2.0)
2010-09-12 22:45:47.456 AudioPulseUtil: Resume Success
2010-09-12 22:45:47.789 Registering Internal as a media playback plugin.
2010-09-12 22:45:47.844 Loading el translation for module mytharchive
2010-09-12 22:45:47.846 Loading el translation for module mythbrowser
2010-09-12 22:45:47.854 Registering WebBrowser as a media playback plugin.
2010-09-12 22:45:47.854 Loading el translation for module mythbrowser
2010-09-12 22:45:47.913 MMUnix::AddDevice() Error: failed to stat /dev/bdi, 
                        eno: Îεν ÏÏάÏÏει ÏέÏοιο αÏÏείο ή καÏÎ¬Î»Î¿Î³Î¿Ï (2)
2010-09-12 22:45:47.919 MMUnix::AddDevice() Error: failed to stat /dev/power, 
                        eno: Îεν ÏÏάÏÏει ÏέÏοιο αÏÏείο ή καÏÎ¬Î»Î¿Î³Î¿Ï (2)
2010-09-12 22:45:47.935 MMUnix::AddDevice() Error: failed to stat /dev/trace, 
                        eno: Îεν ÏÏάÏÏει ÏέÏοιο αÏÏείο ή καÏÎ¬Î»Î¿Î³Î¿Ï (2)
2010-09-12 22:45:47.940 MonitorRegisterExtensions(0x100, gif,jpg,png)
2010-09-12 22:45:47.941 Loading el translation for module mythgallery
2010-09-12 22:45:47.953 Loading el translation for module mythgame
2010-09-12 22:45:48.189 Current MythMusic Schema Version (MusicDBSchemaVer): 1017
2010-09-12 22:45:48.283 MonitorRegisterExtensions(0x40, mp3,mp2,ogg,oga,flac,wma,wav,ac3,oma,omg,atp,ra,dts,aac,m4a,aa3,tta,mka,aiff,swa,wv)
2010-09-12 22:45:48.295 Loading el translation for module mythmusic
2010-09-12 22:45:48.299 Loading el translation for module mythnetvision
2010-09-12 22:45:48.309 Loading el translation for module mythnews
2010-09-12 22:45:48.321 Current MythVideo Schema Version (mythvideo.DBSchemaVer): 1037
2010-09-12 22:45:48.366 Loading el translation for module mythvideo
2010-09-12 22:45:48.379 Loading el translation for module mythweather
2010-09-12 22:45:48.384 Loading el translation for module mythzoneminder
2010-09-12 22:45:48.552 Loading menu theme from /usr/share/mythtv/themes/classic//mainmenu.xml
2010-09-12 22:45:48.553 Found mainmenu.xml for theme 'Arclight'
2010-09-12 22:45:49.295 MythCoreContext: Connecting to backend server: 192.168.13.65:6543 (try 1 of 1)
2010-09-12 22:45:49.297 Using protocol version 61
2010-09-12 22:45:49.459 SendReceiveStringList(QUERY_TIME_ZONE) called from UI thread
2010-09-12 22:45:50.705 Loading menu theme from /usr/share/mythtv/themes/classic//tvmenu.xml
2010-09-12 22:45:50.985 New DB connection, total: 2
2010-09-12 22:45:50.987 Connected to database 'mythconverg' at host: 192.168.13.65
2010-09-12 22:45:51.106 SendReceiveStringList(GET_FREE_RECORDER_COUNT) called from UI thread
2010-09-12 22:45:51.150 SendReceiveStringList(GET_NEXT_FREE_RECORDER,-1) called from UI thread
2010-09-12 22:45:51.163 SendReceiveStringList(MESSAGE,SYSTEM_EVENT LIVETV_STARTED SENDER storage) called from UI thread
2010-09-12 22:45:51.164 TV: Attempting to change from None to WatchingLiveTV
2010-09-12 22:45:51.164 MythCoreContext: Connecting to backend server: 192.168.13.100:6543 (try 1 of 1)
2010-09-12 22:45:51.164 Using protocol version 61
2010-09-12 22:45:51.219 Spawning LiveTV Recorder -- begin
2010-09-12 22:45:53.654 Spawning LiveTV Recorder -- end
2010-09-12 22:45:53.673 We have a playbackURL(/store/readonly/myth/tvlive/1033_20100912224552.nuv) & cardtype(DUMMY)
2010-09-12 22:45:53.673 We have a RingBuffer
2010-09-12 22:45:53.729 AudioPlayer: Disabling Audio, params(0,2,44100)
2010-09-12 22:45:53.731 Launching: ps -ae | grep pulseaudio > /dev/null
2010-09-12 22:45:53.737 PID 22959: launched
2010-09-12 22:45:53.784 Child PID 22944 not found in map!
2010-09-12 22:45:53.885 Child PID 22945 not found in map!
2010-09-12 22:45:53.985 Child PID 22947 not found in map!
2010-09-12 22:45:54.085 Child PID 22948 not found in map!
2010-09-12 22:45:54.185 PID 22959: exited: status=0, result=0
2010-09-12 22:45:54.187 AudioPulseUtil: Suspend Success
2010-09-12 22:45:54.194 AO: Sample rate 48000 is supported
2010-09-12 22:45:54.194 AO: 2 channel(s) are supported
2010-09-12 22:45:54.216 AO: Killing AudioOutputDSP
2010-09-12 22:45:54.217 AudioOutput Error: Aborting Audio Reconfigure: nothing to play
2010-09-12 22:45:54.217 AudioPlayer: Disabling Audio, reason is: Aborting Audio Reconfigure: nothing to play
2010-09-12 22:45:54.217 playCtx, Error: Aborting Audio Reconfigure: nothing to play
2010-09-12 22:45:54.259 Clearing OpenGL painter cache.
2010-09-12 22:45:54.375 VDPAU: Created 2 output surfaces.
2010-09-12 22:45:54.375 VDPAU: Version 1
2010-09-12 22:45:54.375 VDPAU: Information NVIDIA VDPAU Driver Shared Library  256.53  Fri Aug 27 20:54:24 PDT 2010
2010-09-12 22:45:54.375 VDPAU: Created VDPAU render device 1680x1050
2010-09-12 22:45:54.479 Unable to find font: FreeSans.ttf
2010-09-12 22:45:54.484 Player(0): Video timing method: USleep with busy wait
2010-09-12 22:45:54.484 TV: Changing from None to WatchingLiveTV
2010-09-12 22:45:54.484 TV: State is LiveTV & mctx == ctx
2010-09-12 22:45:54.487 TV: UpdateOSDInput done
2010-09-12 22:45:54.487 TV: UpdateLCD done
2010-09-12 22:45:54.488 TV: ITVRestart done
2010-09-12 22:45:54.932 VDPAU: Added 2 output surfaces (total 4, max 4)
2010-09-12 22:45:54.990 SendReceiveStringList(MESSAGE,SYSTEM_EVENT PLAY_CHANGED HOSTNAME storage CHANID 1033 STARTTIME 2010-09-12T22:45:54 SENDER storage) called from UI thread
2010-09-12 22:45:55.701 Player(0): DecoderGetFrame() called with NULL decoder.
2010-09-12 22:45:55.815 RingBuf(/store/readonly/myth/tvlive/1033_20100912224554.nuv) Warning: Peek() requested 2048 bytes, but only returning 1632
2010-09-12 22:45:55.815 Player(0), Warning: OpenFile() waiting on data
2010-09-12 22:45:56.181 VDPAU Painter: Clearing VDPAU painter cache.
2010-09-12 22:45:56.210 Clearing OpenGL painter cache.
2010-09-12 22:45:56.295 VDPAU: Created 2 output surfaces.
2010-09-12 22:45:56.295 VDPAU: Created VDPAU render device 1680x1050
2010-09-12 22:45:56.320 AO: Killing AudioOutputDSP
2010-09-12 22:45:56.320 ALSA: Setting IEC958 status: audio
2010-09-12 22:45:56.324 ALSA, Error: snd_pcm_info_get_card: ΠλειÏοÏÏγία δεν εÏιÏÏέÏεÏαι
2010-09-12 22:45:56.325 AudioPulseUtil, Error: Failure to resume: Invalid argument
2010-09-12 22:45:56.325 WARNING: couldn't resume Pulse Audio
2010-09-12 22:45:56.325 AudioPulseUtil: Resume Success
2010-09-12 22:45:56.325 Launching: ps -ae | grep pulseaudio > /dev/null
2010-09-12 22:45:56.350 PID 22978: launched
2010-09-12 22:45:56.388 PID 22978: exited: status=0, result=0
2010-09-12 22:45:56.390 AudioPulseUtil: Suspend Success
2010-09-12 22:45:56.395 AO: Sample rate 48000 is supported
2010-09-12 22:45:56.395 AO: 2 channel(s) are supported
2010-09-12 22:45:56.418 AO: Killing AudioOutputDSP
2010-09-12 22:45:56.418 AudioOutput Error: Aborting Audio Reconfigure: nothing to play
2010-09-12 22:45:56.418 AudioPlayer: Disabling Audio, reason is: Aborting Audio Reconfigure: nothing to play
2010-09-12 22:45:56.564 VDPAU: Added 2 output surfaces (total 4, max 4)
2010-09-12 22:46:26.959 RingBuf(/store/readonly/myth/tvlive/1033_20100912224554.nuv): Waited 0.2 seconds for data 
                        to become available... 60258 < 76665
2010-09-12 22:46:26.959 Checking to see if there's a new livetv program to switch to..
2010-09-12 22:46:30.543 RingBuf(/store/readonly/myth/tvlive/1033_20100912224554.nuv): Waited 0.2 seconds for data 
                        to become available... 54420 < 73334
2010-09-12 22:46:30.543 Checking to see if there's a new livetv program to switch to..
2010-09-12 22:46:34.128 TV: Attempting to change from WatchingLiveTV to None
2010-09-12 22:46:34.176 VDPAU Painter: Clearing VDPAU painter cache.
2010-09-12 22:46:34.210 AO: Killing AudioOutputDSP
2010-09-12 22:46:34.210 ALSA: Setting IEC958 status: audio
2010-09-12 22:46:34.217 ALSA, Error: snd_pcm_info_get_card: ΠλειÏοÏÏγία δεν εÏιÏÏέÏεÏαι
2010-09-12 22:46:34.218 AudioPulseUtil, Error: Failure to resume: Invalid argument
2010-09-12 22:46:34.218 WARNING: couldn't resume Pulse Audio
2010-09-12 22:46:34.218 AudioPulseUtil: Resume Success
2010-09-12 22:46:34.631 TV: Changing from WatchingLiveTV to None
2010-09-12 22:46:34.654 SendReceiveStringList(MESSAGE,SYSTEM_EVENT PLAY_STOPPED SENDER storage) called from UI thread
2010-09-12 22:46:36.635 SendReceiveStringList(QUERY_IS_ACTIVE_BACKEND,storage) called from UI thread
2010-09-12 22:46:37.470 SendReceiveStringList(QUERY_IS_ACTIVE_BACKEND,storage) called from UI thread
2010-09-12 22:46:38.310 OpenGL: Deleting OpenGL Resources
2010-09-12 22:46:38.322 Deleting UPnP client...
Error in my_thread_global_end(): 1 threads didn't exit

Change History (4)

comment:1 Changed 9 years ago by Nicolas Riendeau

Status: newassigned

comment:2 Changed 9 years ago by JYA

Could you please re-run with r26278 and run it with -v audio (only audio, having playback too makes it too verbose and it's harder to see what's going on)

udioOutput Error: Aborting Audio Reconfigure: nothing to play Now indicates that the audio initialisation was interrupted as one of the following condition is true: frame format = none number of channels to play <= 0 sample rate <= 0

E.g. it may indicates another problem is happening and r26258 just exposed it.

comment:3 Changed 9 years ago by JYA

Resolution: fixed
Status: assignedclosed

(In [26279]) The NuppelVideoPlayer? instructed the audio framework that it was playing CODEC_NONE ; so audio initialisation was interrupted. Remove the test on the codec, instead only check framerate, format and channels which should be sufficient. Fixes #8924

comment:4 Changed 9 years ago by stuartm

Milestone: unknown0.24
Note: See TracTickets for help on using tickets.