Author Topic: HDMI Audio on ASRock 330 ION  (Read 5003 times)

fastie81

  • Veteran
  • ***
  • Posts: 136
  • SSDD
    • View Profile
HDMI Audio on ASRock 330 ION
« on: December 21, 2009, 12:09:44 am »
Hi

Has anyone got HDMI Audio working on any of the 330 ION products?
I have 3 ASRock 330 ION and can get everything working besides for the HDMI Audio.
Can anyone give me advice on this?
I have tried everything I can think of. Updated Alsa to 1.0.21a, change the asound to everything I can find on the net and no go..
Let me know what info you need I will supply
Thanks
C

klanmce

  • Veteran
  • ***
  • Posts: 133
    • View Profile
Re: HDMI Audio on ASRock 330 ION
« Reply #1 on: December 21, 2009, 12:21:22 am »
There is a reference on the wiki for this, for the life of my I can't find it.

From memory, aplay -l, will show you the recognized audio devices, in th list, you should see an entry for HDMI.

If you output looks like mine below, then I do not think its is possible for you to get audio through your hdmi, unless you have a card which has a connection through the spdif
Quote
aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC662 Analog [ALC662 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC662 Digital [ALC662 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Search the wiki, or the forum, there is something on getting HDMI to work

fastie81

  • Veteran
  • ***
  • Posts: 136
  • SSDD
    • View Profile
Re: HDMI Audio on ASRock 330 ION
« Reply #2 on: December 21, 2009, 12:31:19 am »
Hi

That is the thing All the devices is picked up and should work..
It shows in aplay but when I use aplay to test it nothing..
so all points to asound.conf but I have no luck..
C

fastie81

  • Veteran
  • ***
  • Posts: 136
  • SSDD
    • View Profile
Re: HDMI Audio on ASRock 330 ION
« Reply #3 on: December 29, 2009, 08:12:06 am »
Hi Guys

Ok I don;t know what ell to try.
Here is my setup now..

System
810 Beta2 with Latest updates as of the 28/12/09
ASRock 330 ION MD with 3Gb RAM

aplay -l output
root@moon40:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: VT1708S Analog [VT1708S Analog]
  Subdevices: 2/2
  Subdevice #0: subdevice #0
  Subdevice #1: subdevice #1
card 0: NVidia [HDA NVidia], device 1: VT1708S Digital [VT1708S Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

aplay -L
root@moon40:~# aplay -L
front:CARD=NVidia,DEV=0
    HDA NVidia, VT1708S Analog
    Front speakers
surround40:CARD=NVidia,DEV=0
    HDA NVidia, VT1708S Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia,DEV=0
    HDA NVidia, VT1708S Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia,DEV=0
    HDA NVidia, VT1708S Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia,DEV=0
    HDA NVidia, VT1708S Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia,DEV=0
    HDA NVidia, VT1708S Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=NVidia,DEV=0
    HDA NVidia, VT1708S Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, NVIDIA HDMI
    HDMI Audio Output
null
    Discard all samples (playback) or generate zero samples (capture)

NVidia 195.30 installed and running.
alsa version
root@moon40:~# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.21.
Compiled on Dec 19 2009 for kernel 2.6.27-15-generic (SMP).

my current asound.conf (this has change everything I am restarting but nothing I try works)
root@moon40:~# cat /etc/asound.conf
pcm.!default hdmi:NVidia

I have tried this post on the wiki with no luck. -- http://wiki.linuxmce.org/index.php/Sound_On_ION_based_systems
I tried to look at this with also no luck.-- http://xbmc.org/forum/showthread.php?t=61697
Can anyone help me with getting the HDMI audio working please
Thanks guys
Chris


rperre

  • Guru
  • ****
  • Posts: 264
    • View Profile
Re: HDMI Audio on ASRock 330 ION
« Reply #4 on: December 29, 2009, 05:36:03 pm »
It's hit or miss i've seen, i have a N230 and it works (partly)

might be a stupid question, but did you unmute the stuff in alsamixer.

I also heard of somebody that had to actually mute the analog-digital jack if it's there in alsamixer.

Did you put anything in your alsa-base.conf ?
Try to add: options snd-hda-intel model=3stack-6ch enable=1 index=0
Or: options snd-hda-intel model=3stack-6ch-dig enable=1 index=0

Another asound.conf you can try is:

Code: [Select]
# HDMI configuration with volume control for MythTV
# For ALSA 1.0.19  - 1/31/2009

# Instructions for use
# 1) Find your hmdi hardware Card Number and Device Number.  Open a terminal and do:
#    aplay -L
#    That will list all of the hardware audio devices.  Look for the one labeled HDMI.
#    Note what Card Number and Device Number it lists (they seem to be card 0,
#    device 3 but your system may be different).
# 2) Edit the pcm.hdmi_hw device defined here to set your Card Number and Device Number.
# 3) Put this file in either /etc/asound.conf or in your home directory as .asoundrc.
#    sudo cp jons_asound.conf /etc/asound.conf
#      or
#    sudo cp jons_asound.conf $HOME/.asound.conf
# 4) Exit mythfrontend.  Then restart the sound system:
#    sudo /etc/init.d/alsa-utils restart
# 5) Start mythfrontend and go to the audio setup screen
#    "Utilities / Setup"  then "Setup" then "General" then "Next" until you
#    get to the Audio tab.
# 6) Fill in the info - it's case sensitive:
#    Audio output device: ALSA:hdmi_complete     <--- note you have to type in this field
#    Passthrough output devide: Default
#     ... Stereo... ... Passive...
#    Mixer Device: ALSA:default
#    Mixer controls: hdmi_volume                 <--- type in this field
# 7) Work your way back to Watch TV and give it a try.

pcm.hdmi_hw {
  type hw
  card 0     #  <-----  Put your card number here
  device 3   #  <-----  Put your device number here
}

pcm.hdmi_formatted {
  type plug
  slave {
    pcm hdmi_hw
    rate 48000
    channels 2
  }
}

pcm.hdmi_complete {
  type softvol
  slave.pcm hdmi_formatted
  control.name hdmi_volume
  control.card 0
}

pcm.!default hdmi_complete

Although i hear sound through hdmi, somehow it will not play all the time.

When i select "play all" from the audio it will play, but if i select any other song, playback stops although the mp3 is running (counter displayed)

Same with video.

Still troubleshooting this myself,

Richard