Kodi Community Forum
Audio Problem Suddenly - Need direction on what to look for. - Printable Version

+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Kodi General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Linux and Live support (/forumdisplay.php?fid=52)
+---- Thread: Audio Problem Suddenly - Need direction on what to look for. (/showthread.php?tid=115291)



Audio Problem Suddenly - Need direction on what to look for. - KidKiwi - 2011-11-23 08:52

Two movies recently added to my system suddenly have suffered an audio problem. Seems to happen only in one place in both of them. I skip forward and everything returns to normal. 5.1 sound is showing in the normal mode, then the audio drops out and the receiver shows PCM and 2Channel audio (although no sound is coming out).

The debug log shows some errors - one mentioning pulseaudio. I've searched for that and read many posts, but I don't really know what I'm looking for...or what steps I should now take. Some expert help would be appreciated.

This is the output of "aplay -l

Code:
xbmc@XBMCLive:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC662 rev1 Digital [ALC662 rev1 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
xbmc@XBMCLive:~$

My setup is in my sig. I'm running Dharma 10.0 I believe. I'm using HDMI (video) with optical audio. (I couldn't get audio over HDMI to work??)

The system has been as it is for a long time, so not sure why this has happened. Thx.

http://pastebin.com/ngsD60XF


- KidKiwi - 2011-11-28 05:55

I was really hoping someone with some expertise could assist me with this. I've been reading 100's of posts about audio problems etc, trying to get to the bottom of this. No such luck.

I've since had another movie do the same thing - audio drops out (showing 2 channels on receiver though ...but NO sound). If I skip forward/backward the sound returns. It always drop out in the same place in all three movies.

I thought it was a rip problem - have used many different versions ripped different ways - always the same. Played back file using xbox, Poweredvd in computer, vlc in puter and the files play flawlessly (so not a rip issue IMO)

This seems to be the main error message.

Code:
15:34:09 T:2809990000 M:2944696320 WARNING: CDVDMessageQueue(video)::Put MSGQ_NOT_INITIALIZED
15:34:09 T:2809990000 M:2943574016 WARNING: CDVDMessageQueue(audio)::Put MSGQ_NOT_INITIALIZED
15:34:09 T:2809990000 M:2943574016 WARNING: CDVDMessageQueue(video)::Put MSGQ_NOT_INITIALIZED
15:34:09 T:2809990000 M:2943574016 WARNING: CDVDMessageQueue(audio)::Put MSGQ_NOT_INITIALIZED
15:34:09 T:2809990000 M:2943574016 WARNING: CDVDMessageQueue(video)::Put MSGQ_NOT_INITIALIZED
15:34:09 T:2809990000 M:2943574016 WARNING: CDVDMessageQueue(audio)::Put MSGQ_NOT_INITIALIZED
15:34:09 T:2809990000 M:2943574016 WARNING: CDVDMessageQueue(video)::Put MSGQ_NOT_INITIALIZED
15:34:09 T:2809990000 M:2943574016  NOTICE: Opening audio stream: 5 source: 256
15:34:09 T:2809990000 M:2943574016  NOTICE: Finding audio codec for: 86020
15:34:09 T:2809990000 M:2943574016  NOTICE: Creating audio thread
15:34:09 T:2809990000 M:2943574016 WARNING: CDVDMessageQueue(video)::Put MSGQ_NOT_INITIALIZED
15:34:09 T:2796862320 M:2943574016  NOTICE: running thread: CDVDPlayerAudio::Process()
15:34:09 T:2809990000 M:2943574016  NOTICE: Opening video stream: 0 source: 256
15:34:09 T:2796862320 M:2943574016  NOTICE: Creating audio device with codec id: 86020, channels: 2, sample rate: 48000, pass-through
15:34:09 T:2809990000 M:2943799296  NOTICE: Creating video codec with codec id: 2
15:34:09 T:2809990000 M:2943619072  NOTICE: Creating video thread
15:34:09 T:2809990000 M:2943619072 WARNING: CDVDPlayer::CheckContinuity - resync backword :1, prev:571894155.555556, curr:0.000000, diff:-571894155.555556
15:34:09 T:2809990000 M:2943619072  NOTICE: Opening Subtitle stream: 1 source: 256
15:34:09 T:2785147760 M:2943500288  NOTICE: running thread: video_thread
15:34:09 T:2785147760 M:2941468672  NOTICE:  fps: 25.000000, pwidth: 720, pheight: 576, dwidth: 1024, dheight: 576
15:34:09 T:2785147760 M:2941468672  NOTICE: Display resolution DESKTOP : 1920x1080 @ 60.00 - Full Screen (12)
15:34:09 T:2796862320 M:2941468672 WARNING: CALSADirectSound::GetSpace - get space failed. err: -32 (Broken pipe)
15:34:09 T:3053647744 M:2941214720  NOTICE: Using GL_TEXTURE_2D
15:34:09 T:3053647744 M:2941186048  NOTICE: GL: Selecting Single Pass YUV 2 RGB shader
15:34:09 T:3053647744 M:2938646528  NOTICE: GL: NPOT texture support detected
15:34:09 T:3053647744 M:2938646528  NOTICE: GL: Using GL_ARB_pixel_buffer_object
15:34:09 T:3053647744 M:2938138624 WARNING: Skin has invalid include: Object_DebugGrid
15:35:06 T:3053647744 M:2936377344 WARNING: CreateFile, successfuly opened </home/xbmc/.xbmc/addons/skin.night-Davys/720p/DialogSeekbar.xml> instead of </home/xbmc/.xbmc/addons/skin.night-Davys/720p/DialogSeekBar.xml>
15:35:06 T:3053647744 M:2936377344 WARNING: Skin has invalid include: Object_DebugGrid
15:35:06 T:2796862320 M:2936320000 WARNING: CALSADirectSound::GetSpace - get space failed. err: -32 (Broken pipe)
15:35:28 T:3053647744 M:2927734784   ERROR: PulseAudio: Waited for the Context but it failed
15:35:28 T:3053647744 M:2927734784   ERROR: PulseAudio: Failed to create context
15:35:28 T:3053647744 M:2927734784   ERROR: PulseAudio: Waited for the Context but it failed
15:35:28 T:3053647744 M:2927734784   ERROR: PulseAudio: Failed to create context

My system runs Alsamixer (There is no Pulseaudio)> I've used the apt-get remove pusleaudio command and it return s none of system. Why then does it mention pulseaudio in the log??
Code:
15:35:28 T:3053647744 M:2927734784   ERROR: PulseAudio: Waited for the Context but it failed

I'm running my system over HDMI (audio and video) Ion>AVR>TV.

I appreciate the help. Thx.

Code:
xbmc@XBMCLive:~$ cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86 Kernel Module  260.19.29  Wed Dec  8 12:09:09 PST 2010
GCC version:  gcc version 4.4.5 (Ubuntu/Linaro 4.4.4-14ubuntu5)

Code:
xbmc@XBMCLive:~$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.23.