From: Anssi Hannula <anssi.hannula@iki.fi>
To: Dan Christensen <jdc@uwo.ca>
Cc: alsa-devel@alsa-project.org
Subject: Re: wrong channel mappings for HDMI audio
Date: Sat, 13 Nov 2010 00:07:08 +0200 [thread overview]
Message-ID: <4CDDBA8C.30600@iki.fi> (raw)
In-Reply-To: <87fwv8puuo.fsf@uwo.ca>
On 11.11.2010 02:27, Dan Christensen wrote:
> [System specs at end.]
>
> When I try to use 5.1 audio over HDMI, the front left and front right
> channels are correct, but the others are wrong:
>
> - surround (rear) left and center are swapped
> - surround (rear) right and LFE are swapped
[...]
> James Courtier-Dutton suggested that I report this here, in the hopes
> that ALSA can be taught the correct mapping for my sound card.
>
> I'm also interested in the best way to work around this in the meantime.
>
> Thanks for any help!
>
> Dan
>
> System specs:
>
> Motherboard: Gigabyte GA-E7AUM-DS2H
> http://gigabyte.com/products/product-page.aspx?pid=2946#ov
[...]
This is a known issue, the NVIDIA MCP79/7A HDMI hardware has incorrect
channel mapping.
I reported this several months ago as "Wrong channel order with
multichannel HDMI on MCP7A":
http://www.spinics.net/lists/alsa-devel/msg35948.html
(there are some earlier reports from 2009 as well)
I'm using this workaround at the moment:
pcm.!hdmi {
type route
slave.pcm
"cards.HDA-Intel.pcm.hdmi.0:CARD=NVidia,AES0=0x4,AES1=0x82,AES2=0x0,AES3=0x2"
ttable.0.0 1
ttable.1.1 1
ttable.2.4 1
ttable.3.5 1
ttable.4.2 1
ttable.5.3 1
ttable.6.6 1
ttable.7.7 1
}
(not a perfect workaround as I'm hardcoding AESx instead of using the
ones provided as arguments, but at least you get the idea)
As for the preferred solution to this problem, as far as I understand,
that would be for the driver to have some ioctl that would provide
alsa-lib information about the unusual channel mapping, and alsa-lib
could then remap the channels using a channel remapping plugin.
--
Anssi Hannula
next prev parent reply other threads:[~2010-11-12 22:07 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-11 0:27 wrong channel mappings for HDMI audio Dan Christensen
2010-11-11 6:58 ` Clemens Ladisch
2010-11-12 13:16 ` Dan Christensen
2010-11-12 22:07 ` Anssi Hannula [this message]
2010-11-13 0:26 ` Dan Christensen
2010-11-13 3:32 ` Anssi Hannula
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CDDBA8C.30600@iki.fi \
--to=anssi.hannula@iki.fi \
--cc=alsa-devel@alsa-project.org \
--cc=jdc@uwo.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).