From: Anssi Hannula <anssi.hannula@iki.fi>
To: Aaron Plattner <aplattner@nvidia.com>
Cc: "alsa-devel@alsa-project.org" <alsa-devel@alsa-project.org>
Subject: NVIDIA HDMI: Channel remapping does not work for stereo?
Date: Fri, 25 Oct 2013 02:31:56 +0300 [thread overview]
Message-ID: <5269ADEC.9060707@iki.fi> (raw)
Hi!
I just noticed while testing the ALSA HDMI channel remapping code that
my NVIDIA codec 0x10de0015 does not seem to follow the Audio Sample
Packet (ASP) channel mapping (set by verb F34h as per HDA spec 7.3.3.41)
when playing back stereo audio.
This can be reproduced by e.g.:
$ speaker-test -c2 -Dhdmi:CARD=NVidia,DEV=0 -m FR,FL
The channels are reversed compared to what the printout is (i.e. the
codec plays the streams straight-through instead of swapping channels as
instructed).
E.g. this works expectedly, however:
$ speaker-test -c4 -Dhdmi:CARD=NVidia,DEV=1 -m FR,FL,RR,RL
(note that recent sound git master or for-next is needed for these kind
of remappings to work properly at all)
On Intel HDMI codec 0x80862806 both work.
While stereo right-left swapping is admittedly a rather corner-case
situation, I guess we should probably refuse such chmaps when they are
not supported.
Aaron, do you have any information on whether this affects all NVIDIA
HDMI codecs?
--
Anssi Hannula
next reply other threads:[~2013-10-24 23:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-24 23:31 Anssi Hannula [this message]
2013-10-29 23:12 ` NVIDIA HDMI: Channel remapping does not work for stereo? Aaron Plattner
2013-10-29 23:39 ` Anssi Hannula
2013-10-30 6:34 ` Takashi Iwai
2013-11-03 15:15 ` [PATCH] ALSA: hda - hdmi: Disallow unsupported 2ch remapping on NVIDIA codecs Anssi Hannula
2013-11-04 9:12 ` Takashi Iwai
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=5269ADEC.9060707@iki.fi \
--to=anssi.hannula@iki.fi \
--cc=alsa-devel@alsa-project.org \
--cc=aplattner@nvidia.com \
/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).