Author Topic: How many of us are interested in HDMI audio?  (Read 4858 times)

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4506
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: How many of us are interested in HDMI audio?
« Reply #15 on: July 22, 2009, 06:48:04 pm »
Hmm, do we want to put that somewhere in the wiki? If ya don't mind I put it in near the top: http://wiki.linuxmce.com/index.php/LinuxMCE-0810_alpha2


Have updated that page a little with some additional info.

Andrew
Andy Herron,
Convergent Home Technologies Ltd

My Blog; http://ellipticalcurve.com

Get RaspSqueeze-CEC or Raspbmc-CEC Wifi enabled for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

For Smart Home consulting advice;
@herron on Twitter, inquiries@ellipticalcurve.com via email or PM me here.

Get a Dianemo License: http://forum.linuxmce.org/index.php?topic=8880.msg100221#msg100221
Follow us on Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

Murdock

  • Guru
  • ****
  • Posts: 229
    • View Profile
Re: How many of us are interested in HDMI audio?
« Reply #16 on: July 22, 2009, 07:32:49 pm »
Much better, Thanks. I'm going to be rebuilding my 810 dev environment soon and will use this.

geekyhawkes

  • Guru
  • ****
  • Posts: 230
    • View Profile
Re: How many of us are interested in HDMI audio?
« Reply #17 on: July 23, 2009, 07:30:50 pm »
Is anyone having any luck getting this working?  I have the new AV wizard but am not getting any sound out via HDMI.

I do have nvidea 180.60 installed (checked with "sudo cat /proc/driver/nvidia/version").  

I am also running Alsa 1.0.20 installed using the ubuntuforums script (and reinstalled under this alpha version post update just in case).

I have made sure the output isnt muted under Sudo alsamixer.

Is there anything else i can try to rule out to get this audio working?


P.S I have also tried it with 185.14 driver and it is just the same.
« Last Edit: July 23, 2009, 09:19:12 pm by geekyhawkes »

geekyhawkes

  • Guru
  • ****
  • Posts: 230
    • View Profile
Re: How many of us are interested in HDMI audio?
« Reply #18 on: July 24, 2009, 06:22:45 pm »
EDIT: Post no longer relevant reinstalled , see below
« Last Edit: July 27, 2009, 09:46:23 am by geekyhawkes »

geekyhawkes

  • Guru
  • ****
  • Posts: 230
    • View Profile
Re: How many of us are interested in HDMI audio?
« Reply #19 on: July 25, 2009, 12:45:25 pm »
EDIT: No longer relevant reinstalled, see below
« Last Edit: July 27, 2009, 09:46:45 am by geekyhawkes »

geekyhawkes

  • Guru
  • ****
  • Posts: 230
    • View Profile
Re: How many of us are interested in HDMI audio?
« Reply #20 on: July 27, 2009, 09:17:03 am »
Ok, so had to reinstall my machine this weekend (again) and have reinstalled a fresh MCE machine from the latest alpha with the updated avwizard.  I am running Nvidia latest 185 driver, alsa 1.0.20.  Under KDE with a modified asound.conf i have audio over hdmi with no problems.  During the avwizard I get no audio over hdmi and likewise under mce.

I dropped to kde and found one of the 3 digital devices muted under alsamixer.  I have unmuted it but sadly i still dont have hdmi audio.

A Sudo aplay -L lists all of the correct outputs for my card,  but even speaker test gives no audio;

speaker-test -t wav -D plug:front -c2 -l2
aplay -D plug:hdmi /usr/share/sounds/KDE_Window_Open.wav (same result - no audio)

I am wondering if it something to do with the asound.conf generated by the avwizard?

Is there something I am missing, or something else i can do to get this working?  
(I am using an M378-EM motherboard if that matters).
« Last Edit: July 27, 2009, 10:28:15 am by geekyhawkes »

geekyhawkes

  • Guru
  • ****
  • Posts: 230
    • View Profile
Re: How many of us are interested in HDMI audio?
« Reply #21 on: July 27, 2009, 10:25:43 pm »
Anyone had any success with this update & HDMI audio? I am trying to work out why my hdmi audio might not be working.  Thanks

merkur2k

  • Addicted
  • *
  • Posts: 513
    • View Profile
Re: How many of us are interested in HDMI audio?
« Reply #22 on: July 27, 2009, 11:01:30 pm »
I am in the same situation as you and have done basically the same steps, other than reinstalling. same results. the devices are there and should be working, but nothing comes out.

nite_man

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1019
  • Want to work with LinuxMCE
    • View Profile
    • Smart Home Blog
Re: How many of us are interested in HDMI audio?
« Reply #23 on: July 28, 2009, 10:16:02 am »
I suppose that HDMI audio works in 0810 only. The reason - system doesn't recognize sound card properly under 0710. Even with upgraded kernel, the latest ALSA and nVidia drivers. I have MB Asus M3N78-EM. Under 0710 HD device is listed in the aplay -l and aplay -L output. But lspci shows sound card as unknown device but under 0810 is displayed as nVidia or something (don't remember exactly). So, the problem is there I guess.
Michael Stepanov,
My setup: http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup
Russian LinuxMCE community: http://linuxmce.ru

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4506
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: How many of us are interested in HDMI audio?
« Reply #24 on: July 28, 2009, 11:19:12 am »
I suppose that HDMI audio works in 0810 only. The reason - system doesn't recognize sound card properly under 0710. Even with upgraded kernel, the latest ALSA and nVidia drivers. I have MB Asus M3N78-EM. Under 0710 HD device is listed in the aplay -l and aplay -L output. But lspci shows sound card as unknown device but under 0810 is displayed as nVidia or something (don't remember exactly). So, the problem is there I guess.

For nVidia based machines we have this working under 0710 & 0810. You need nVidia 180.22 (or later) driver and alsa-1.0.20 (or later) and a valid asound.conf;


For pcm audio via the hdmi connector you should have a something like the following in asound.conf;

pcm.!default "plug:hdmi"

All the best

Andrew
Andy Herron,
Convergent Home Technologies Ltd

My Blog; http://ellipticalcurve.com

Get RaspSqueeze-CEC or Raspbmc-CEC Wifi enabled for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

For Smart Home consulting advice;
@herron on Twitter, inquiries@ellipticalcurve.com via email or PM me here.

Get a Dianemo License: http://forum.linuxmce.org/index.php?topic=8880.msg100221#msg100221
Follow us on Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

wierdbeard65

  • Guru
  • ****
  • Posts: 449
    • View Profile
    • My Quest
Re: How many of us are interested in HDMI audio?
« Reply #25 on: July 28, 2009, 12:10:36 pm »
Ok, time for me to bring the thread down with a couple of dumb questions  ;)

I've been following it with interest, but not because of cabling issues, more because of available expansion slots.

The (recycled) device I intend to use as an MD in my living room has limited slots(2). It also doesn't have suitable on-board graphics. One slot will be requitred for my PVR-150 card to connect to my Sky STB. I only have one more slot, so will if this works, will I be able to get away with one card doing both graphics and audio, or will I require a USB sound "card"? I don't want surround sound and will be using the TV's built-in speakers. Assuming audio over HDMI works and a single card will do both, which cards are suitable candidates?

Just to be clear here (before anyone tells me to go and buy another MD or whatever!  ;)) I am still at the proof of concept / WAF stage. Once I have it all working and the family have decided they can't live without it, I intend to move my STB to my core (so the PVR-150 will move) and replace the MD with one of the tiny ION-based boards that Andrew has been raving about. At the moment, though, I need the least (zero?) cost solution.
Paul
If you have the time to help, please see where I have got to at: http://wiki.linuxmce.org/index.php/User:Wierdbeard65

geekyhawkes

  • Guru
  • ****
  • Posts: 230
    • View Profile
Re: How many of us are interested in HDMI audio?
« Reply #26 on: July 28, 2009, 01:42:13 pm »
Nice to know I am not on my own after the update.  I will check the asound.conf as I am running alsa 1.0.20 and Nvidia 185.14.  I did have HDMI audio working under KDE before the MCE install, although my asound.conf will have changed by then.

Andrew, have you had to tweak anything further to get HDMI audio under myth?  I read on their wiki something to do with EDID settings to get HDMI audio under myth. 

If i get it working i will report back.

Thanks.

merkur2k

  • Addicted
  • *
  • Posts: 513
    • View Profile
Re: How many of us are interested in HDMI audio?
« Reply #27 on: July 28, 2009, 04:48:34 pm »
weirdbierd, i do not know of any single card solution that provides both audio and video. some video cards with an hdmi connector have a connector or header to connect to a sound card to get the audio into hdmi, but you still need a separate audio device. usb is probably the way to go in your case, i know you can get some 2 channel usb adapters for very cheap.

wierdbeard65

  • Guru
  • ****
  • Posts: 449
    • View Profile
    • My Quest
Re: How many of us are interested in HDMI audio?
« Reply #28 on: July 28, 2009, 04:59:30 pm »
merkur2k,

Thanks for that - oh well, it was worth hoping ;)
Paul
If you have the time to help, please see where I have got to at: http://wiki.linuxmce.org/index.php/User:Wierdbeard65

geekyhawkes

  • Guru
  • ****
  • Posts: 230
    • View Profile
Re: How many of us are interested in HDMI audio?
« Reply #29 on: July 29, 2009, 12:28:35 pm »
Below is my asound.conf created by the avwizard:

pcm_slave.spdif_convert48k {
   pcm "spdif"
   rate 48000
}

pcm.spdif_playback {
   type plug
   slave spdif_convert48k
}

pcm_slave.hdmi_convert48k {
   pcm "hdmi"
   rate 48000
}

pcm.hdmi_playback {
   type plug
   slave hdmi_convert48k
}

pcm.asym_spdif {
   type asym
   playback.pcm "spdif_playback"
   capture.pcm "plughw:0"
}

pcm.asym_hdmi {
   type asym
   playback.pcm "hdmi_playback"
   capture.pcm "plughw:0"
}

pcm.asym_analog {
   type asym
   playback.pcm "plug:dmix"
   capture.pcm "plughw:0"
}
pcm.!default asym_hdmi


This is the one that was autogenerated by selecting HDMI from the avwizard.  I have tried pasting my own asound.conf over the top but each time i restart my machine then the asound file is changed during boot up by mce and doesnt work.