2012-05-07, 22:07
edited asound.config to pcm "hw:0,7" and now i have menu sounds from xbmc works but stil no audio from movies for god...... why is it so hard to get audio!
# This shows what audio device you have
$ lspci | grep -i audio
# This lists the ALSA "plugs"
$ aplay -L
Quote:Linux is great but the sound system sucks big time (i see allot of sound problems topics here)
(2012-05-08, 20:53)duncang92 Wrote: I had the same issue. I could list all of the hardware and use speaker-test etc. but still got an error when trying to playback a movie. Menu navigation was fine.dint worked i dont care if menu sounds do not work
I turned on debug logging and started up a movie to give me the error and then turned off debug logging.
Reading xbmc.log from ./xbmc/temp showed me that XBMC could not get control of the HDMI output as "something" was already using it.
I removed the package "pulseaudio" and with the Audio output of XBMC set to HDMI with passthrough enabled as custom and set to plughw:0,3 all was good.
BUT I have no menuor Ubuntu sounds now but then again I'm not too bothered as this is an HTPC.
(2012-05-08, 22:57)drivesoslow Wrote: Putting defaults.pcm.device 0 and nothing else in .asoundrc in my home directory fixed all my HDMI sound issues for me in XBMC. After I created that file I rebooted and in XBMC I set it to use the default sound device.
$ speaker-test -D plug:hdmi
$ groups <user>
(2012-05-08, 23:28)drivesoslow Wrote: try setting it as defaults.pcm.device 7 since your hdmi device is not 0 like mine. Also make sure you reboot after each change.
You may also try:
defaults.pcm.device 3
Also if this gives you menu sound but no movie sound uncheck DTS and AC3 passthrough in XBMC and see if you get sound then.
(2012-05-09, 04:26)Plaguester Wrote: Your "aplay -L" output indicates that you have two "hdmi" plugs. Try testing the default one with:
Code:$ speaker-test -D plug:hdmi
Also, just for good measure, make sure your user is a member of the "audio" group:
Code:$ groups <user>
If "audio" isn't listed, let us know.
$ speaker-test -D plug:hdmi
(2012-05-09, 18:57)EvilMordor Wrote:(2012-05-08, 23:28)drivesoslow Wrote: try setting it as defaults.pcm.device 7 since your hdmi device is not 0 like mine. Also make sure you reboot after each change.
You may also try:
defaults.pcm.device 3
Also if this gives you menu sound but no movie sound uncheck DTS and AC3 passthrough in XBMC and see if you get sound then.
defaults.pcm.device 3 = not any sound
defaults.pcm.device 3 = menu sound in xbmc but no movie sound
xbmc is restart every time
(2012-05-09, 19:46)drivesoslow Wrote:(2012-05-09, 18:57)EvilMordor Wrote:(2012-05-08, 23:28)drivesoslow Wrote: try setting it as defaults.pcm.device 7 since your hdmi device is not 0 like mine. Also make sure you reboot after each change.
You may also try:
defaults.pcm.device 3
Also if this gives you menu sound but no movie sound uncheck DTS and AC3 passthrough in XBMC and see if you get sound then.
defaults.pcm.device 3 = not any sound
defaults.pcm.device 3 = menu sound in xbmc but no movie sound
xbmc is restart every time
Once you had menu sound working did you make sure AC3 and DTS passthrough were disabled?