Public bug reported:

Ubuntu 13.10
linux-image-extra-3.11.0-14-generic:  3.11.0-14.21

The original problem is that I have not managed to play AC3 sound bit perfect 
from a DVD to the AMP. 
I think I have tracked down the problem to an Alsa issue:  

I expect: 
aplay -vv -D iec958:CARD=PCH,DEV=0 Norrlanda.wav

to play the file with all 6 channels via fiber optic to my amplifier like 
outlined at 
http://alsa.opensrc.org/DigitalOut 

Instead, there is only silence.

This is the output:

$ pasuspender -- aplay -v -v -D iec958:CARD=PCH,DEV=0 
/home/daniel/workspace/Testsounds/Norrlanda.wav  
Wiedergabe: WAVE '/home/daniel/workspace/Testsounds/Norrlanda.wav' : Signed 16 
bit Little Endian, Rate: 44100 Hz, stereo
Hooks PCM
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 44100
  exact rate   : 44100 (44100/1)
  msbits       : 16
  buffer_size  : 16384
  period_size  : 4096
  period_time  : 92879
  tstamp_mode  : NONE
  period_step  : 1
  avail_min    : 4096
  period_event : 0
  start_threshold  : 16384
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 4611686018427387904
Slave: Hardware PCM card 1 'HDA Intel PCH' device 1 subdevice 0
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : S16_LE
  subformat    : STD
  channels     : 2
  rate         : 44100
  exact rate   : 44100 (44100/1)
  msbits       : 16
  buffer_size  : 16384
  period_size  : 4096
  period_time  : 92879
  tstamp_mode  : NONE
  period_step  : 1
  avail_min    : 4096
  period_event : 0
  start_threshold  : 16384
  stop_threshold   : 16384
  silence_threshold: 0
  silence_size : 0
  boundary     : 4611686018427387904
  appl_ptr     : 0
  hw_ptr       : 0
#############+                                     | 25%


Here some additional observations: 

* The Norlanda.wav file is played with 6 channels too pulseaudio (6 sliders at 
the pavucontrol input pane) but only PCM Stereo is transmitted to the amp.
* I can play stereo wave files fine with the aplay command from above 
* If I switch to non-audio (ac3) mode, I cannot play stereo files any more, but 
the ac3 file produces still silence. 
$ iecset -D hw:1 audio 0
Mode: consumer
Data: non-audio
Rate: 48000 Hz
Copyright: permitted
Emphasis: none
Category: PCM coder
Original: original
Clock: 1000 ppm
 
I have already setup a build environment for the hda modules, but I got lost 
inside the code. Any ideas how to nail down the problem? 

Thank you!

Daniel

** Affects: alsa-driver (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "output of alsa-info.sh"
   
https://bugs.launchpad.net/bugs/1264609/+attachment/3936722/+files/alsa-info.txt.7wUnUIuJCh

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1264609

Title:
  No AC3 paththrough with hda intel ALC887-VD Saucy

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to