no audio on hdmi in xbmc

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
EvilMordor Offline
Junior Member
Posts: 43
Joined: Mar 2012
Reputation: 0
Post: #11
(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?
find quote
Plaguester Offline
Senior Member
Posts: 262
Joined: May 2010
Reputation: 7
Post: #12
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.

HTPC - Core 2 Duo | NVidia ION | 2GB Ram | 80GB HDD | XBMCbuntu 11.0 | Aeon MQ 3
HTPC 2 - Zotac ZBOX ID41U | 4GB RAM | 60GB SSD | Openelec | Confluence
Server - unRAID Server | 3 x 2TB WD Green HDD, 1TB WD Black HDD (Cache) | Sabnzbd | CouchPotato | Sickbeard
(This post was last modified: 2012-05-06 09:07 by Plaguester.)
find quote
EvilMordor Offline
Junior Member
Posts: 43
Joined: Mar 2012
Reputation: 0
Post: #13
command not found Confused
find quote
Plaguester Offline
Senior Member
Posts: 262
Joined: May 2010
Reputation: 7
Post: #14
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.

HTPC - Core 2 Duo | NVidia ION | 2GB Ram | 80GB HDD | XBMCbuntu 11.0 | Aeon MQ 3
HTPC 2 - Zotac ZBOX ID41U | 4GB RAM | 60GB SSD | Openelec | Confluence
Server - unRAID Server | 3 x 2TB WD Green HDD, 1TB WD Black HDD (Cache) | Sabnzbd | CouchPotato | Sickbeard
(This post was last modified: 2012-05-07 01:17 by Plaguester.)
find quote
EvilMordor Offline
Junior Member
Posts: 43
Joined: Mar 2012
Reputation: 0
Post: #15
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)
(This post was last modified: 2012-05-07 21:08 by EvilMordor.)
find quote
EvilMordor Offline
Junior Member
Posts: 43
Joined: Mar 2012
Reputation: 0
Post: #16
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!
find quote
Plaguester Offline
Senior Member
Posts: 262
Joined: May 2010
Reputation: 7
Post: #17
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.

HTPC - Core 2 Duo | NVidia ION | 2GB Ram | 80GB HDD | XBMCbuntu 11.0 | Aeon MQ 3
HTPC 2 - Zotac ZBOX ID41U | 4GB RAM | 60GB SSD | Openelec | Confluence
Server - unRAID Server | 3 x 2TB WD Green HDD, 1TB WD Black HDD (Cache) | Sabnzbd | CouchPotato | Sickbeard
(This post was last modified: 2012-05-08 05:02 by Plaguester.)
find quote
EvilMordor Offline
Junior Member
Posts: 43
Joined: Mar 2012
Reputation: 0
Post: #18
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)
(This post was last modified: 2012-05-08 18:19 by EvilMordor.)
find quote
duncang92 Offline
Junior Member
Posts: 6
Joined: Apr 2007
Reputation: 0
Post: #19
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.
find quote
EvilMordor Offline
Junior Member
Posts: 43
Joined: Mar 2012
Reputation: 0
Post: #20
(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
find quote