You are not logged in.

#1 2011-01-07 05:39:19

XtrmGmr99
Member
Registered: 2009-04-14
Posts: 128

Audio over HDMI (ION board)

Hello,

I have an ASUS AT3IONT-I Deluxe, which is an ION1 board. I'm trying to get audio over HDMI working, with little success.

I've seen a few tips (https://bbs.archlinux.org/viewtopic.php?pid=873784#p873784 and https://wiki.archlinux.org/index.php/Ac … io_output) however neither of them work. When using the formers tip, playing a .wav file via aplay produces this error:

$ aplay /usr/share/sounds/alsa/Front_Center.wav
Playing WAVE '/usr/share/sounds/alsa/Front_Center.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Mono
aplay: set_params:1059: Channels count non available

I've also set alsamixer channels to max. The S/PDIF, S/PDIF Default, and S/PDIF 1 only mute and unmute (no volume to raise/lower)

Here's some info:

]$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
front:CARD=NVidia,DEV=0
    HDA NVidia, ALC887 Analog
    Front speakers
surround40:CARD=NVidia,DEV=0
    HDA NVidia, ALC887 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia,DEV=0
    HDA NVidia, ALC887 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia,DEV=0
    HDA NVidia, ALC887 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia,DEV=0
    HDA NVidia, ALC887 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia,DEV=0
    HDA NVidia, ALC887 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=NVidia,DEV=0
    HDA NVidia, ALC887 Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=NVidia,DEV=0
    HDA NVidia, NVIDIA HDMI
    HDMI Audio Output
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC887 Analog [ALC887 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC887 Digital [ALC887 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

Offline

#2 2011-01-07 05:58:19

XtrmGmr99
Member
Registered: 2009-04-14
Posts: 128

Re: Audio over HDMI (ION board)

I got it kinda working. Turns out you need to be in an X session for it to work (guess it makes sense).

So I run startx to get xterm, run the command 'aplay /usr/share/sounds/alsa/Front_Center.wav' and... it works, but only half. What I mean is that it sounds like it cuts off "Front" and only plays "Center".

Running 'aplay /usr/share/sounds/alsa/*' plays all the files in that directory, and even more problems show: Most of the time it cuts off the first word, as if the sound card takes a while to initialize. So I here "Center, Left, Right, <noise>..." until it gets to Side. Then it goes "Side left, <blip> Right" where that blip is... well, a blip of noise.

In other words, it seems buggy. Any solutions to this?

Offline

#3 2011-01-07 06:04:21

XtrmGmr99
Member
Registered: 2009-04-14
Posts: 128

Re: Audio over HDMI (ION board)

More weirdness.

My last post was using this config in /etc/asound.conf:

pcm.!default {
    type plug
    slave {
        pcm "hw:0,3"
        rate 48000
    }
}

I switched to using this:

pcm.!default {
  type plug
  slave.pcm "dmix:0,3"
}

Running ''aplay /usr/share/sounds/alsa/*' to play all the files, it starts out with the same problem for the first file (only saying Center instead of Front Center) but the other files seem to play fine. So it must be a config problem...

Offline

Board footer

Powered by FluxBB