[SOLVED] No HDMI Audio - Menu or Video (XBMCBuntu)
#1
I decided to update my HTPC to Frodo this past week and now I no longer have audio. My HTPC was working fine on Eden, however, I have no menu sounds or audio when trying to watch something. I was on beta 3 and I had some sound, but it would occasionally go away after resuming, I thought RC 1 would have fixed that, but it seems to have made it worse.

I've been searching the forums all morning and afternoon trying to fix the issue, but nothing that I've found so far has worked.

Here is the information on my system:

HTPC: Zotac MAG
XBMC: XBMCBuntu - Frodo RC1
Receiver: Denon 1613
Audio over: HDMI
Speakers: 2.0

Here is my XBMC Log:
http://pastebin.com/yPnvqVh7

I tried a few things, including different settings before I captured that log in hopes that it will give some better insight. I've never posted a log before, so I hope I did that correctly.

Here is a screen shot of the audio devices that worked initially:
http://i.imgur.com/QF6PK.jpg

Here is a list of the rest of the audio devices:

Audio Output Device:
Default (hda Nvidia hdmi 0)
hda Nvidia, hdmi
Hda Nvidia (hdmi_complete), hdmi
Hda Nvidia (hdmi_formatted), hdmi
Hda Nvidia, hdmi 0
Hda Nvidia (both), hdmi 0
Hda Nvidia (dmixer), hdmi 0
hda Nvidia, alc888 digital s/pdif
Hda Nvidia, alc888 analog

Passthrough output device:
hda Nvidia, hdmi
Hda Nvidia (hdmi_formatted), hdmi
Hda Nvidia (hdmi_complete), hdmi
hda Nvidia, alc888 digital s/pdif

I understand what output and passthrough device are, but I'm afraid I don't quite understand all of the different options. I've went through every option possible and I reboot every time.

Here are the results of aplay -l:
Code:
xbmc@xbmc:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC888 Analog [ALC888 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC888 Digital [ALC888 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

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

I can't remember the thread, but while searching for help someone recommend putting this in advancedsettings.xml, but it didn't work:
<audio>
<streamsilence>0</streamsilence>
</audio>

I did not have asound.conf intially, but I found another thread mentioning to create one with the following settings, but it didn't work either:
Code:
pcm.dmixer {
   type dmix
   ipc_key 1024
   ipc_key_add_uid false
   ipc_perm 0660
   slave {
      pcm "hw:0,3"               #HDMI, defaults to 48000 kHz
      channels 2
      period_size 1024
      buffer_size 4096
   }
}

pcm.!default {
   type plug
   slave.pcm "dmixer"
}

I've rebooted every time I've changed something as well.

Here is a screen shot of 'alsamixer' not sure if this will help:
http://i.imgur.com/ICqAZ.png

Any help would be greatly appreciated, thanks in advance!
Reply
#2
spdif 1 needs to be unmuted in alsamixer for HDMI sound.

On your screenshot its muted.

uNi
Reply
#3
That fixed it, thank you!

Wow, I can't believe how much time I wasted, haha. Saw your name a lot while searching for fixes, so thanks for everything.

Weird quirk though, when I start cycling through a menu, the sound gets increasingly louder. The first click I won't hear anything, the second one is pretty faint, then by the 10th it's at its loudest. Any ideas?
Reply
#4
Excellent Big Grin its always the classic thing to unmute alsamixer channels first, though everyone (myself included) always seems to miss it.

Yes

try this create a advancedsettings.xml with the following.

Code:
<advancedsettings>
  <audio>
    <streamsilence>1</streamsilence>
  </audio>
</advancedsettings>

+1 anyway

uNi
Reply
#5
I've added this to wiki just in case users like yourself who do their homework happen to stumble upon it, or this topic

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

Its a FAQ for sure.

uNi
Reply
#6
I have tried everything in these posts and followed alot of other things to try. My audio was working great when I was running 12.0 but I finally decided to do the update to 12.04, now I have no audio. I tried all the steps above and nothing if do a speaker-test -D plug:hdmi i will get the white noise sound. But for the life of me I cant get any menu sound or video sound.

Simple mixer control 'IEC958',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',1
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',2
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'hdmi_volume',0
Capabilities: volume penum
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 255
Front Left: 255 [100%]
Front Right: 255 [100%]
Reply
#7
12.04 of what? Current version of XBMC is 12.02.

Post a debug log please, and confirm that you do NOT have pulseaudio on your system Smile
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Reply
#8
Sorry 12.2, it was late when i wrote this, I ended up solving this issue, using the following guide

http://blog.rubrik.me.uk/2013/02/xbmc_12..._pangolin/

Thanks again for the response.
Reply

Logout Mark Read Team Forum Stats Members Help
[SOLVED] No HDMI Audio - Menu or Video (XBMCBuntu)0