Linux HDMI audio issues in Frodo RC3
#1
Hi,

I've been having audio issues where the audio cuts out for a few seconds. This happens fairly frequently but is not reproducible (as in not predicable). I have also noticed issues with the music player where audio fails when moving between tracks and occasionally a video will start with no sound at all but I don't have any debug logs for these events (yet).

The below is a bit of the debug log I think is relevant. (Full log: http://xbmclogs.com/show.php?id=28979). Here I have stopped the video immediately after an audio cut out.

Code:
14:52:10 T:140017974208256    INFO: CAESinkALSA - ALSA: pcm_hw.c:532:(snd_pcm_hw_hwsync) SNDRV_PCM_IOCTL_HWSYNC failed (-32): Broken pipe
14:52:10 T:140017974208256   ERROR: CAESinkALSA::HandleError(snd_pcm_avail) - underrun
14:52:11 T:140017983444736   DEBUG: CDVDPlayerAudio:: Discontinuity1 - was:19304253.739677, should be:19191712.478667, error:-112541.261011
14:52:13 T:140018335479680   DEBUG: LIRC: Update - NEW at 1339871:000000037ff07be6 00 KEY_STOP mceusb (KEY_STOP)
14:52:13 T:140018335479680   DEBUG: OnKey: 224 (e0) pressed, action is Stop
14:52:13 T:140018335479680  NOTICE: CDVDPlayer::CloseFile()
14:52:13 T:140018335479680  NOTICE: DVDPlayer: waiting for threads to exit
14:52:13 T:140017468958464  NOTICE: CDVDPlayer::OnExit()
14:52:13 T:140017468958464  NOTICE: DVDPlayer: closing audio stream
14:52:13 T:140017468958464  NOTICE: Closing audio stream
14:52:13 T:140017468958464  NOTICE: Waiting for audio thread to exit
14:52:13 T:140017983444736  NOTICE: thread end: CDVDPlayerAudio::OnExit()
14:52:13 T:140017983444736   DEBUG: Thread CDVDPlayerAudio 140017983444736 terminating

Output of aplay -L : http://xbmclogs.com/show.php?id=28980

I am running Frodo RC3 on Ubuntu 12.04. Audio is configured in xbmc as HDMI with no formats 'passed through'.

My video card is a Asus GeForce G210. and the following is my kernel version / architecture.
Code:
uname -a
Linux lychee 3.2.0-36-generic #57-Ubuntu SMP Tue Jan 8 21:44:52 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Can anyone help?

Thanks,
Reply
#2
Can you posts a screenshot of the XBMC audio settings. And please tell us where your machine is connected to, TV?

You also want to do

Code:
sudo apt-get remove --purge libasound2-plugins
sudo apt-get install --reinstall alsa-utils libasound2

The wildcard - If you have full Desktop installed and the likes the alternative is compile xbmc with pulseaudio enabled

uNi
Reply
#3
Thanks - I've run those commands and trying it out now.

Audio setting screenshot: http://imagebin.org/243394

Reply
#4
I would disable Boost audio level on downmix and The output stereo to all speakers.

If your connected to a TV, which you havent told me yet, you need to set speaker configuration from 5.1 to 2.0

Also can you tell me if you have lightdm installed?

uNi
Reply
#5
I am connected to a 5.1 AV receiver. Yes, I do have lightdm installed.

I currently have the full ubuntu desktop installed - but I am logging directly into xbmc from lightdm.
Reply
#6
lightdm is buggy see

http://wiki.xbmc.org/index.php?title=XBM...io_devices

You should apply that anyway.

And if you have full desktop your best bet is to compile XBMC with pulseaudio enabled!

see this explanation http://forum.xbmc.org/showthread.php?tid...pid1295864

and how to compile see my signature 2nd link with --enable-pulse

If that doesnt fix it idk.

uNi

Reply

Logout Mark Read Team Forum Stats Members Help
HDMI audio issues in Frodo RC30