← Back to team overview

tiomap-dev team mailing list archive

[Bug 919378] Re: Panda: hdmi audio only on 2 channels

 

Trying it out involved buying a 5.1 amp.

The patchset we have supports 6 or 8 channels, but it seems there's a
problem actually using 6 due to detail of buffer size

# speaker-test -Dhw:1,0 -c6

speaker-test 1.0.24.2

Playback device is hw:1,0
Stream parameters are 48000Hz, S16_LE, 6 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 64 to 10922
Period size range from 32 to 5440
Using max buffer size 10920
Unable to set buffer size 10920 for playback: Invalid argument
Setting of hwparams failed: Invalid argument

If I tell it to use 8 it likes the buffer size better and proceeds with
the test.

# speaker-test -Dhw:1,0 -c8

speaker-test 1.0.24.2

Playback device is hw:1,0
Stream parameters are 48000Hz, S16_LE, 8 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 16 to 8192
Period size range from 8 to 4096
Using max buffer size 8192
Periods = 4
was set period_size = 2048
was set buffer_size = 8192
 0 - Front Left
 4 - Center
 1 - Front Right
 7 - Side Right
 3 - Rear Right
 2 - Rear Left
 6 - Side Left
...

on my reference monitor with stereo speakers, only the front left and
right make a noise.

I hooked it up to a bigger TV with the 5.1 amp on an optical link.  It
acted the same, cycling through all 8 channels but only making the hiss
on the front left and right.

So it's closer but not there yet.

-- 
You received this bug notification because you are a member of TI OMAP
Developers, which is subscribed to linaro-landing-team-ti.
https://bugs.launchpad.net/bugs/919378

Title:
  Panda: hdmi audio only on 2 channels

Status in Linaro Texas Instruments Landing Team:
  Won't Fix
Status in Linaro Multimedia WG project:
  Won't Fix
Status in Linaro Ubuntu Evaluation Builds:
  Confirmed

Bug description:
  Installed the linarotv image 20120114-2 and hwpack_linaro-lt-panda-x11-base_20120106-1 on a Pandaboard ES with linaro-media-create.
  After boot installed ubuntu-omap4-extras-multimedia.

  HDMI connected to a Yamaha RX-V1800 audio-video-receiver and from
  there to a 1080p plasma.

  Verified multichannel audio with xbmc.

  xbmc settings:

  Audio output: HDMI
  Speaker Configuration: 5.1
  Audio output device: Defaults (ALSA)
  Passthrough output devive: hdmi (ALSA)

  1. when passthrough is enabled AC3 sound in videos does not work

  2. when passthrough is disabled only 2 audio channels are transmitted
  to the AVR (AVR display has indicators showing which channels are in
  use)

  Crosschecked with alsa speaker-test (speaker-test -c6 -t wav) with
  same result:

  Output correct for front left, front right and center (the latter only
  because the pro-logic decoder in the AVR puts sound equal to left and
  right onto the center) but rear sound is played with low volume on the
  front speakers.

  Situation remains after update/dist-upgrade on Jan 21. 20:45CET.

  Attaching the EDID sent by the AVR in case the audio capabilities are
  used by the driver (EDID is recorded with SwitchResX on a MacBook).

To manage notifications about this bug go to:
https://bugs.launchpad.net/linaro-landing-team-ti/+bug/919378/+subscriptions