public inbox for alsa-devel@alsa-project.org
 help / color / mirror / Atom feed
From: "Alexander E. Patrakov" <patrakov@gmail.com>
To: bencoxdev@gmail.com,
	David Henningsson <david.henningsson@canonical.com>,
	ALSA Mailing list <alsa-devel@alsa-project.org>
Subject: Re: Nodes, Widgets, ELD and Digital Surround 5.1 (HDMI) Output?
Date: Mon, 08 Dec 2014 21:38:04 +0500	[thread overview]
Message-ID: <5485D3EC.7070109@gmail.com> (raw)
In-Reply-To: <30B3A9113F464BFA8880D53D77A134A8@Lyra>

08.12.2014 19:40, bencoxdev@gmail.com wrote:
> Hi Alexander,
> Thanks for looking at this for me it is very much appreciated.
> Please see below the details from the all the logs; as you requested.
> I’ve had to omit a
> few details (vendor names and ID’s) as this project is pre-release and I
> am under N.D.A.

Unfortunately, you have leaked both the graphics vendor (through 
excessive blocking of it) and the TV/monitor vendor (through ELD). So 
you both broke the NDA and prevented me from troubleshooting further. I 
thought I needed the vendor IDs in order to match them against udev 
rules, but see below. Still, a fail-fail situation, especially since 
there are a lot of other hobby projects using development boards with 
the graphics and audio chips from the same vendor.

But indeed, there is information in the log that gives a big clue. You 
are using PulseAudio 1.1, and configured it not to use udev rules (so 
knowledge of a vendor ID is now useless). Also, it cannot autodetect 5.1 
PCM over HDMI with udev rules. It is also not supported anymore. My 
recommendation would be to either upgrade (which is impossible on the 
Ubuntu 12.04 platform) or to drop the use of PulseAudio altogether if 
you are stuck with this ancient userspace.

For enabling passthrough in PulseAudio, you would need to run 
pavucontrol and place a checkbox in the AC3 and DTS fields. Alternatively:

pactl set-sink-formats 0 'pcm;ac3-iec61937;dts-iec61937'

...where 0 is the sink index.

And also you need to find a player that supports this passthrough 
feature, and, if you are using GStreamer, also to make sure that the 
installed version supports passthrough. On such ancient platform, I'd 
recommend against it.

For PCM 5.1 (i.e. software decoding) with PulseAudio 1.1, you need a 
real 5.1 receiver and this command:

pacmd load-module module-alsa-sink device=hdmi:0,0 channels=6

> Using  pasuspender -- speaker-test -c6 -b 125000 -P2 -D "plug:'hdmi:X,Y'"
> X Y Result
> ------------------------------------------------------------------------------------------
> 0 0 Hiss left Front and Right Front, others silent
> (everything else) Playback open error: -2, No such file or directory

Try retesting plug:'hdmi:0,0' with a real 5.1 HDMI receiver (e.g. from 
Onkyo), not with a Samsung TV/monitor (that only advertises the presence 
of Front-Left and Front-Right channels and LPCM encoding in the ELD).

-- 
Alexander E. Patrakov
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

  reply	other threads:[~2014-12-08 16:38 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-02 15:28 Nodes, Widgets, ELD and Digital Surround 5.1 (HDMI) Output? bencoxdev
2014-12-03  7:34 ` David Henningsson
2014-12-03  7:58   ` Alexander E. Patrakov
2014-12-04 10:55     ` bencoxdev
2014-12-04 12:08       ` Raymond Yau
2014-12-04 12:34       ` Alexander E. Patrakov
2014-12-05  2:33         ` Raymond Yau
2014-12-05  9:41         ` bencoxdev
2014-12-05 10:49           ` Alexander E. Patrakov
2014-12-08 14:40             ` bencoxdev
2014-12-08 16:38               ` Alexander E. Patrakov [this message]
2014-12-08 17:42                 ` bencoxdev

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=5485D3EC.7070109@gmail.com \
    --to=patrakov@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=bencoxdev@gmail.com \
    --cc=david.henningsson@canonical.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