AT5IONT-I Sound issue's ...
#1
I've got an AT5IONT-I Deluxe with XBMC-Live 10.1 installed.
and i'm struggeling with the sound config after trying lots
of different .soundrc files and XBMC settings ..

I want to get simultanious output:
- HDMI downmixed to stereo (unsure if Sony Bravia supports 5.1 through HDMI)
- SPDIF passthrough (DD5.1, DTS Reciever)
- Analog stereo for use with headphone

It would be nice to have navigations sounds on all outputs as well.

When i configure XBMC Sound to below settings, i can get stereo sound on
HDMI and SPDIF. When the source is DD5.1 i hear nothing on HDMI and
passthrough on SPDIF works fine.
XBMC Settings:
Output=HDMI
AC3=on
DTS=on
Output Device="both"
Passthrough Device=IEC958

Can anyone please help me to get the proper config ?Smile
also tried this http://forum.xbmc.org/showpost.php?p=486...stcount=11
(http://www.xbmcfreak.nl/wp-content/uploa...oundrc.txt)

My aplay-l
..........................
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC887 Analog [ALC887 Analog]
Subdevices: 0 / 1
Subdevice # 0: subdevice # 0
card 0: Intel [HDA Intel], device 1: ALC887 Digital [ALC887 Digital]
Subdevices: 1 / 1
Subdevice # 0: subdevice # 0
1 card: NVidia [HDA NVidia], device3: HDMI NVIDIA [NVIDIA HDMI]
Subdevices: 0 / 1
Subdevice # 0: subdevice # 0
Reply
#2
When you type this command:

Code:
speaker-test -Dhw:1,3 -c2 -r48000

Does it produce any sound?

Jerry
Reply
#3
Never mind my previous post... Reread your post and you want simultaneous ouputs..

Does this thread help?

Try changing both the "output device" and "passthrough" device to Custom (plug:both).

Jerry
Reply
#4
I posted just yesterday regarding digital audio issues with this exact mobo and the live 10.1 install. You seem to be doing something right, since you actually made it speak up. Is the setup you described the only things you've done to accomplish this?
I have to ask because I've tried so many guides I'm starting to lose count by now, and I'm beginning to suspect the board of being faulty.

-Mike
Reply
#5
jawilljr Wrote:When you type this command:
Code:
speaker-test -Dhw:1,3 -c2 -r48000
Does it produce any sound?

When i type this command i hear static from left and right.
Reply
#6
TinfoilHat Wrote:I posted just yesterday regarding digital audio issues with this exact mobo and the live 10.1 install. You seem to be doing something right, since you actually made it speak up. Is the setup you described the only things you've done to accomplish this?
I have to ask because I've tried so many guides I'm starting to lose count by now, and I'm beginning to suspect the board of being faulty.

I installed XBMC Live 10.1 and out of the box i can select HDMI Audio and IEC985 Passthrough when i select output device custom "both" (witout quotes)

Also make sure you have alsamixer un-muted on all outputs !!
type: alsamixer
F6 to select audio output device and cursor to select channel
and "M" to toggle mute/un-mute ("OO"=unmuted)
store settings with: "alsactl store"

here's my /home/xbmc/.asoundrc file
Code:
pcm.!default {
type plug
slave {
pcm "both"
}
}

pcm.both {
        type route
        slave {
                pcm multi
                channels 6
        }
        ttable.0.0 1.0
        ttable.1.1 1.0
        ttable.0.2 1.0
        ttable.1.3 1.0
        ttable.0.4 1.0
        ttable.1.5 1.0
}

pcm.multi {
        type multi
        slaves.a {
                pcm "hdmi_hw"
                channels 2
        }
        slaves.b {
                pcm "digital_hw"
                channels 2
        }
        slaves.c {
                pcm "analog_hw"
                channels 2
        }
        slaves.c {
                pcm "analog_hw"
                channels 2
        }
        bindings.0.slave a
        bindings.0.channel 0
        bindings.1.slave a
        bindings.1.channel 1
        bindings.2.slave b
        bindings.2.channel 0
        bindings.3.slave b
        bindings.3.channel 1
        bindings.4.slave c
        bindings.4.channel 0
        bindings.5.slave c
        bindings.5.channel 1
}

pcm.hdmi_hw {
        type hw
        card 1
        device 3
        channels 2
}
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 1
}

pcm.digital_hw {
        type hw
        card 0
        device 1
        channels 2
}
pcm.analog_hw {
        type hw
        card 0
        device 0
        channels 2
}
Reply
#7
jawilljr Wrote:Never mind my previous post... Reread your post and you want simultaneous ouputs..

Does this thread help?

Try changing both the "output device" and "passthrough" device to Custom (plug:both).

Jerry

Great tip .. when i select passthrough=custom "both" it produces sound on all outputs. however the HDMI and Analog outputs can't decode the 5.1 sound and produce static-noise.

The soulution would be if a "custom : passthrough" config was made in .asoundrc to downmix the analog and HDMI outputs and passthrough SPDIF

i've looked into this but can't figure it out ....
http://forum.xbmc.org/showpost.php?p=571...stcount=18

The code would be something like ...
Code:
# ---------------------------------------------------------------------
# Downmix
# ---------------------------------------------------------------------

pcm.dmix-analog {
  type dmix
  ipc_key 1234
  slave {
    pcm "analog-hw"
    period_time 0
    period_size 1024
    buffer_size 4096
    rate 48000
  }
}
ctl.dmix-analog {
  type hw
  card 0
}

# -------------------------------------------------------------------------

pcm.dmix-hdmi {
  type dmix
  ipc_key 1235
  slave {
    pcm "hdmi-hw"
    period_time 0
    period_size 1024
    buffer_size 4096
    rate 48000
  }
}
ctl.dmix-hdmi {
  type hw
  card 1
}

# ----------------------------------------------------------------------------------


pcm.passthrough {
  type plug
  slave {
    pcm pass
    rate 48000
    channels 10
  }
  ttable.0.0 1.0
  ttable.1.1 1.0
  ttable.2.0 0.7
  ttable.3.1 0.7
  ttable.4.0 0.7
  ttable.4.1 0.7
  ttable.5.0 0.5
  ttable.5.1 0.5
  ttable.0.2 1.0
  ttable.1.3 1.0
  ttable.2.2 0.7
  ttable.3.3 0.7
  ttable.4.2 0.7
  ttable.4.3 0.7
  ttable.5.2 0.5
  ttable.5.3 0.5
  ttable.0.4 1.0
  ttable.1.5 1.0
  ttable.2.6 1.0
  ttable.3.7 1.0
  ttable.4.8 1.0
  ttable.5.9 1.0
  hint {
        show on
        description "XBMC device for analog and hdmi 2 channel - spdif ac3 upto 6 channels"
  }
}
ctl.passthrough {
  type hw
  card 0
}

pcm.pass {
  type multi
  slaves.a.pcm "analog-hw"
  slaves.a.channels 2
  slaves.b.pcm "digital-hw"
  slaves.b.channels 2
  slaves.c.pcm "spdif-hw"
  slaves.c.channels 6
  bindings.0.slave a
  bindings.0.channel 0
  bindings.1.slave a
  bindings.1.channel 1
  bindings.2.slave b
  bindings.2.channel 0
  bindings.3.slave b
  bindings.3.channel 1
  bindings.4.slave c
  bindings.4.channel 0
  bindings.5.slave c
  bindings.5.channel 1
  bindings.6.slave c
  bindings.6.channel 2
  bindings.7.slave c
  bindings.7.channel 3
  bindings.8.slave c
  bindings.8.channel 4
  bindings.9.slave c
  bindings.9.channel 5
}
ctl.pass {
  type hw
  card 0
}
Reply
#8
ReMI...lets try this. Go back to your original .asoundrc

But change this section:

Code:
pcm.tv {
    type hw
    card 0
    device 3
    channels 2
}

and make it look like this:

Code:
pcm.tv {
    type hw
    card 1
    device 3
    channels 2
}

Now what happens?

Jerry
Reply
#9
jawilljr Wrote:Now what happens?

it's exactly the same as my own config (apart from the labels) .. tried it and
stereo output works on all outputs, but static on HDMI and Analog (needs downmix)
It also appears the crossfade does not work (in both configs)
Reply
#10
What exactly is in XBMC's Output and Passthrough Devices" It should be:

Code:
plug:both

According to your last post you just have "both", or thats the way I read it.


If that doesn't fix it, the I am out of ideas.

Jerry
Reply
#11
jawilljr Wrote:It should be:
Code:
plug:both
According to your last post you just have "both", or thats the way I read it.

no difference for "both" or "plug:both" .. same result Sad
Reply
#12
Thumbs Up 
after reading loads of topics i'm just wondering ...
can't seem to find a post of someone actually have this working ...

Is there anyone having a working config with:
  • simultanious output to analog, HDMI and SPDIF
  • downmixing of 5.1 audio on analog and HDMI while 5.1 passthrough on SPDIF
  • menu sounds
  • crossfade between audio tracks
Reply
#13
Cheers mate.. you saved me a ton of trouble. The bloody board was faulty ... just not to begin with. It must have quit somewhere between my natty install (which worked) and the subsequent live install. Not fair for troubleshooting. My hat's off to you.
Reply
#14
TinfoilHat Wrote:Cheers mate.. you saved me a ton of trouble. The bloody board was faulty ...

I'ts a great board, hopefully you'll get a replacement soon Smile
Reply
#15
for menu sounds i added this to the default
Code:
pcm.!default {
type plug
slave {
pcm "both"
}
}

for both crossfade (on all outputs) and downmixing 5.1 to stereo on HDMI and Analog
i need the "dmix" section in my .asoundrc. But my knowledge of Alsa is too limited Sad
hopefully someone can help me out Smile
Code:
pcm.dmix-digital {
  type dmix
  ipc_key 1235
  slave {
    pcm "digital-hw"
    period_time 0
    period_size 1024
    buffer_size 4096
    rate 48000
  }
}
ctl.dmix-digital {
  type hw
  card 0
}
Reply

Logout Mark Read Team Forum Stats Members Help
AT5IONT-I Sound issue's ...0