XBMC Community Forum
no audio on hdmi in xbmc - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Linux and Live support (/forumdisplay.php?fid=52)
+---- Thread: no audio on hdmi in xbmc (/showthread.php?tid=130363)

Pages: 1 2 3 4


RE: no audio on hdmi in xbmc - EvilMordor - 2012-05-06 08:35

(2012-05-03 06:14)Plaguester Wrote:  Is there a file called .asoundrc in the user's home directory? If so, let's see it. It's hidden so be sure to check with "ls -a" or turn on hidden files in the file browser.

If its missing then i forgot something to install?


RE: no audio on hdmi in xbmc - Plaguester - 2012-05-06 09:01

Code:
$ speaker-test -D plughw:0,7

CTRL+C quits. If that doesn't produce noise, try replacing the 7 with a 3.

And not having the .asoundrc file is fine. If it existed, it would be useful to know the contents.


RE: no audio on hdmi in xbmc - EvilMordor - 2012-05-06 22:57

command not found Confused


RE: no audio on hdmi in xbmc - Plaguester - 2012-05-07 01:13

Then you made a typo. "speaker-test" comes with XBMCbuntu and every other installation of ALSA that I've ever seen. Always use auto complete when possible. At the shell, start typing "speaker" and then use tab to complete it. Then add the options.


RE: no audio on hdmi in xbmc - EvilMordor - 2012-05-07 18:32

Got it your right I can hear noise on 0,7 left speaker (what for sound should it make?) 0,3 i can hear nothing.


Lunix is great but the sound system sucks big time (i see allot of sound problems topics here)


RE: no audio on hdmi in xbmc - EvilMordor - 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!


RE: no audio on hdmi in xbmc - Plaguester - 2012-05-08 05:01

Post your settings from Settings > System > Audio (just press screenshot on that section and the file will be saved in the home directory).

Also post the output of the following commands:
Code:
# 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)

This is mostly because people are too lazy to search or because they simply must have menu audio or combination audio (both analog and digital out). Just unmuting the channels and selecting "hdmi (ALSA)" for both Audio Device and Passthrough Device has worked for me on every system I've used. XBMCbuntu even did that as part of the install process and I didn't touch a thing.


RE: no audio on hdmi in xbmc - EvilMordor - 2012-05-08 18:00

Sounds settings in System
http://postimage.org/image/6ukb9abep/

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

Auido device
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)


RE: no audio on hdmi in xbmc - duncang92 - 2012-05-08 20:53

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.

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.


RE: no audio on hdmi in xbmc - EvilMordor - 2012-05-08 21:22

(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.

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.
dint worked i dont care if menu sounds do not work