Kodi Community Forum

Full Version: Another ATI HDMI Passthrough Thread
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello Folks,

I have been pulling my hair out with this for quite a while now, but I feel like I am really close. I am using a Radeon 6770 card in Ubuntu 12.04. XBMC did not create an .asoundrc file. Should I create one myself or not? There is an asound.conf file in /usr/share/xbmc/system that looks like it is mixing down the audio to two channels. Not sure if that is supposed to be there or not. I have tried just about every permutation I can think of at this point and I cannot get passthrough to work. Here is my aplay -L result:

Code:
default
    Playback/recording through the PulseAudio sound server
sysdefault:CARD=PCH
    HDA Intel PCH, ALC889 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC889 Analog
    Front speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC889 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC889 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC889 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC889 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC889 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=PCH,DEV=0
    HDA Intel PCH, ALC889 Digital
    IEC958 (S/PDIF) Digital Audio Output
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output
dmix:CARD=PCH,DEV=0
    HDA Intel PCH, ALC889 Analog
    Direct sample mixing device
dmix:CARD=PCH,DEV=1
    HDA Intel PCH, ALC889 Digital
    Direct sample mixing device
dmix:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Direct sample mixing device
dsnoop:CARD=PCH,DEV=0
    HDA Intel PCH, ALC889 Analog
    Direct sample snooping device
dsnoop:CARD=PCH,DEV=1
    HDA Intel PCH, ALC889 Digital
    Direct sample snooping device
dsnoop:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Direct sample snooping device
hw:CARD=PCH,DEV=0
    HDA Intel PCH, ALC889 Analog
    Direct hardware device without any conversions
hw:CARD=PCH,DEV=1
    HDA Intel PCH, ALC889 Digital
    Direct hardware device without any conversions
hw:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Direct hardware device without any conversions
plughw:CARD=PCH,DEV=0
    HDA Intel PCH, ALC889 Analog
    Hardware device with all software conversions
plughw:CARD=PCH,DEV=1
    HDA Intel PCH, ALC889 Digital
    Hardware device with all software conversions
plughw:CARD=PCH,DEV=3
    HDA Intel PCH, HDMI 0
    Hardware device with all software conversions
hdmi:CARD=Generic,DEV=0
    HD-Audio Generic, HDMI 0
    HDMI Audio Output
dmix:CARD=Generic,DEV=3
    HD-Audio Generic, HDMI 0
    Direct sample mixing device
dsnoop:CARD=Generic,DEV=3
    HD-Audio Generic, HDMI 0
    Direct sample snooping device
hw:CARD=Generic,DEV=3
    HD-Audio Generic, HDMI 0
    Direct hardware device without any conversions
plughw:CARD=Generic,DEV=3
    HD-Audio Generic, HDMI 0
    Hardware device with all software conversions

The last five or so devices are the 6770 card. Can I assume that I want to use this device for passthrough: ??

hw:CARD=Generic,DEV=3
HD-Audio Generic, HDMI 0
Direct hardware device without any conversions

If so, do I need to make an .asoundrc file for it?

How do I configure audio output in XBMC? Do I use Custom or Alsa HDMI Generic? It's very confusing. I have had numerous hardware issues to overcome and this is my last issue. Any help would be greatly appreciated. Big Grin
do youself a favor and upgrade to a frodo build, its much easier and better.
http://forum.xbmc.org/showthread.php?tid=116996
OK, that's done. I have selected HDMI Generic for both in XBMC and I'm still getting only stereo audio output. At least I've got something now though!
Hmmm, upon further review, live tv and certain digital recordings are sending 5.1. It looks like it's just my mkv rips with dts-hd, etc that are having the problem.
@SikeMo:
Go to the Audio Settings:
Disable TrueHD
Disable DTS-HD
Disable LPCM
Enable DTS
Enable AC3

Set your Speaker numbers to 5.1.

AMD on linux only has two real channels, so one has to workaround this with "virtual formats" like AC3 and DTS. DTS-HD is then pasthrough as DTS and other stuff is transcoded to AC3.
Excellent. It seems to be working now. Any idea when we can expect HD audio support? Is this a linux kernel issue?
this is a fglrx issue