HDMI2 connected 1920x1080+0+0 (0x4c) normal (normal left inverted right x axis 
y axis) 930mm x 523mm
        Identifier: 0x45
        Timestamp:  -345342475
        Subpixel:   unknown
        Gamma:      1.0:1.0:1.0
        Brightness: 1.0
        Clones:
        CRTC:       0
        CRTCs:      0 1
        Transform:  1.000000 0.000000 0.000000
                    0.000000 1.000000 0.000000
                    0.000000 0.000000 1.000000
                   filter:
        EDID:
                00ffffffffffff0040ed000000000000
                0011010380703f780aee91a3544c9926
                0f5054254b00814f7140a94fa9408180
                8140714f3119011d007251d01e206e28
                5500a20b3200001e011d00bc52d01e20
                b8285540a20b3200001e000000fc0053
                746174656d656e742044320a000000fd
                0017560e670e000a20202020202001b5
                02032cf4528182838485868790919293
                9495969fa0a1a2290d1f07151fff3d1f
                ff830f000066030c002200808c0aa014
                51f01600267c4300a20b320000988c0a
                a02051201810187e2300a20b32000098
                011d8018711c1620582c2500a20b3200
                009e011d80d0721c1620102c2580a20b
                3200009e000000000000000000000088
        Broadcast RGB: Automatic
                supported: Automatic, Full, Limited 16:235
        audio: auto
                supported: force-dvi, off, auto, on


edid seem ok


 Audio data block
    Linear PCM, max channels 5
    Supported sample rates (kHz): 96 88.2 48 44.1 32
    Supported sample sizes (bits): 24 20 16
    AC-3, max channels 5
    Supported sample rates (kHz): 96 88.2 48 44.1 32
    Maximum bit rate: 248 kHz
    DTS, max channels 5
    Supported sample rates (kHz): 96 88.2 48 44.1 32
    Maximum bit rate: 248 kHz
  Speaker allocation data block

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/1296017

Title:
  ALSA Not Selecting Correct Output Channel Map

Status in “alsa-driver” package in Ubuntu:
  Incomplete

Bug description:
  Hi All
  As preface to this question, please know that I'm a complete noob with Linux 
- forgive my lack of understanding the basics, and any dumb questions that may 
give rise to.

  The issue - possible ALSA driver bug - is experienced when running
  xbmc, via OpenELEC. Playback of multichannel FLAC files is failing
  with 4.0-CH surround music (ie: Quadraphonic). PB fails inasmuch as
  xbmc sends the audio (MCH-PCM > HDMI > AVR) in a format incompatible
  with the AVR.

  After much dialogue with the relevant xbmc devs, I've been told this is a 
driver problem (ALSA), and to report it here at Launchpad.
  (FYI: discussion begins here -> 
http://forum.xbmc.org/showthread.php?tid=170338&pid=1638835#pid1638835, see 
posts by "gjwAudio" )

  What Happens: 
  4.0 audio is output over HDMI as FL,FR,BL,BR, but my AVR does not recognize 
this format, and defaults to 2-CH (stereo) - no back channel information.

  What Should Happen: 
  4.0 audio should be sent as 5.1 PCM, with appropriate "extra" channels muted.

  Hypothesis:
  ALSA is not flagging 4.0 channel map as invalid for this receiver (based on 
audio-related EDID info), and xbmc configures 1:1 output mapping (FL,FR,BL,BR > 
FL,FR,BL,BR).

  Testing in OpenELEC:
  Three FLAC sample files were used: 3.0, 4.0 and 5.1 channels. xbmc configured 
both 3.0 & 5.1 files as 5.1 PCM, and played correctly through the AVR. The 4.0 
file was configured 1:1, and the back channels failed to play.

  When setting xbmc for global fixed output of 5.1 channels, all three
  files played correctly - however, this fixed setting also locks the
  sample rate, and forces unnecessary re-sampling, depending on the
  particular song being played. It also prevents legitimate upmixing of
  2.0 video soundtracks to "surround".

  The xbmc devs explain the behaviour thus:
  ( http://forum.xbmc.org/showthread.php?tid=170338&pid=1651346#pid1651346 )
  "This happens when opening 3.0 (FL,FR,FC)
    - you can't have gaps, and in ALSA map, FC is at pos 5 (FL,FR,BL,BR,FC)
    - only even numbers of channels are allowed

  This is why 3.0 opens as 5.1.

  4.0 as FL,FR,BL,BR is valid, and most devices don't have issues with
  this. We can't just open 5.1 for this case. "

    --and-- (regarding the new audio engine "ActiveAE")
  ( http://forum.xbmc.org/showthread.php?tid=170338&pid=1651708#pid1651708 )
  "ActiveAE plays no role in this scenario. It is the ALSA sink and the driver. 
The driver should not open in 4.0 mode if the device does not support it. This 
needs to be fixed in the driver. Others will complain if we opened 4.0 as 5.1 
because this would disable upmixing in the AVR. "

    --and--
  ( http://forum.xbmc.org/showthread.php?tid=170338&pid=1655015#pid1655015 )
  "If you don't have configured fixed mode, XBMC tries to open the channels 
layout with best match to the input stream. In case this is FL,FR,BL,BR - which 
also matches ALSA channel map, we try to open this layout. If the audio device 
does not support this format, ALSA should fail opening. Then we try the next 
layout which would be 5.1 in this case."

    --and--
  ( http://forum.xbmc.org/showthread.php?tid=170338&pid=1655895#pid1655895 )
  "If ALSA opens that mask, then that's a driver problem and should be reported 
upstream to the ALSA devs."

  
  Testing in Windows:
  As another check on the xbmc audio output logic, I was asked to run the same 
FLACs through a Windows install (same beta release version of xbmc).

  All files played correctly under Windows. Please note the "5.1 PCM"
  indicator lit up on the AVR, for every file. This suggests the correct
  EDID info was available to xbmc through the Windows driver(s).

  Linux Setup:
  OpenELEC v4.0 beta 2 (Gotham) - Generic x86_64; Intel 847 Celeron NUC, 
KVR1333D3S9/4G RAM, Kingston SMS200S3/30G mSATA > 2m HDMI > Anthem Statement D2 
(AVR) > Samsung PN51E6500.

  Windows Setup:
  xbmc v13.0 beta2 (Gotham), Asus X502C - i3-3217U, 4 GB RAM, Intel HD 4000 
graphics, Win 8.1 > 2m HDMI > Anthem Statement D2 (AVR) > Samsung PN51E6500.

  
  It is useful to know, the same fault occurs under OpenELEC stable build v3.x.

  I hope this is enough information to begin looking into why the EDID
  info is not getting through to the xbmc software.

  Thanks in advance for your help and consideration.
  Grant

  Sample FLACs:
  https://db.tt/AaMpYdPJ
  https://db.tt/DfNjgb1t
  https://db.tt/n40qUvHI

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1296017/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to