Solved Analog audio: sound in menus, low FPS playback without audio, device busy (v12 Frodo)
#1
After upgrading from v11 to v12 (Frodo) on an XBMCbuntu11 install, audio only works in the menu upon boot, and then fails when playing video material. Videos play choppy, and audio ceases working until the box is rebooted. In other words, menu sounds work before attempting to play a video, and then after playing a video not even menu sounds work.

The audio settings in XBMC are set to analog audio. I have tested both 2.0 and 2.1. Interestingly, if I select HDMI or Digital videos play fine. Whether sound is outputed I do not know, as I only have 3,5mm speakers...

I feel like I have tried every trick I know of, as well as googled hard - but to no avail. I have tried solutions such as enabling/disabling <streamsilence> in advancedsettings.xml and removing /etc/asound.conf and ~/.asoundrc. But now I am all out of ideas and need your help and input. Please Smile

My XBMC install is running on XBMCbuntu 11, updgraded to 12.04 LTS.


Output of aplay -L
Quote:null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
default:CARD=Intel
HDA Intel, ALC892 Analog
Default Audio Device
sysdefault:CARD=Intel
HDA Intel, ALC892 Analog
Default Audio Device
front:CARD=Intel,DEV=0
HDA Intel, ALC892 Analog
Front speakers
surround40:CARD=Intel,DEV=0
HDA Intel, ALC892 Analog
4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
HDA Intel, ALC892 Analog
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
HDA Intel, ALC892 Analog
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
HDA Intel, ALC892 Analog
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
HDA Intel, ALC892 Analog
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
HDA Intel, ALC892 Digital
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Intel,DEV=0
HDA Intel, ALC892 Analog
Direct sample mixing device
dmix:CARD=Intel,DEV=1
HDA Intel, ALC892 Digital
Direct sample mixing device
dsnoop:CARD=Intel,DEV=0
HDA Intel, ALC892 Analog
Direct sample snooping device
dsnoop:CARD=Intel,DEV=1
HDA Intel, ALC892 Digital
Direct sample snooping device
hw:CARD=Intel,DEV=0
HDA Intel, ALC892 Analog
Direct hardware device without any conversions
hw:CARD=Intel,DEV=1
HDA Intel, ALC892 Digital
Direct hardware device without any conversions
plughw:CARD=Intel,DEV=0
HDA Intel, ALC892 Analog
Hardware device with all software conversions
plughw:CARD=Intel,DEV=1
HDA Intel, ALC892 Digital
Hardware device with all software conversions
hdmi:CARD=NVidia,DEV=0
HDA NVidia, HDMI 0
HDMI Audio Output
dmix:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct sample mixing device
dsnoop:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct sample snooping device
hw:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Direct hardware device without any conversions
plughw:CARD=NVidia,DEV=3
HDA NVidia, HDMI 0
Hardware device with all software conversions

And aplay -l
Quote:**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC892 Analog [ALC892 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC892 Digital [ALC892 Digital]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0



Full XBMC example debug log
: http://xbmclogs.com/show.php?id=31844
See in particular:
- Lines 86-105
- Lines 1034-1157
Reply
#2
Title updated to better describe the errors - hopefully this will yield more views/replies :-)
Reply
#3
Never post snippets on the forum. See rules
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#4
I linked the full log as weel, but it might have been a bit hard to see. I reshuffled now, so that the link to the full debug log is more visible. Is that ok?
Reply
#5
(2013-02-02, 11:56)StianOby Wrote: I linked the full log as weel, but it might have been a bit hard to see. I reshuffled now, so that the link to the full debug log is more visible. Is that ok?

No snippets on the forum just like I said . If you want to point something out mention the line number. Please remove it
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#6
Okay, okay. It is now removed.
Reply
#7
FINALLY my tinkering paid off. I managed to fix this issue by doing the following:

Code:
sudo nano /etc/asound.conf
Copy and paste the following
Code:
pcm.!default {
        type plug
        slave {
        pcm "hw:0,0"
        rate 48000
}
}
And reboot!


PS: Make sure that there is nothing else in asound.conf, and that any .asoundrc files in the home directory are deleted.
Reply
#8
Mark thread as solved then, for posterity. Full edit main post and select solved form drop down menu next to subject line.

Good job!

uNi
Reply

Logout Mark Read Team Forum Stats Members Help
Analog audio: sound in menus, low FPS playback without audio, device busy (v12 Frodo)0