Bug#814763: [Pkg-alsa-devel] Bug#814763: HDMI sound not working

2016-02-28 Thread Erik de Castro Lopo
Elimar Riesebieter wrote:

> > That part was fine, but ...
> > 
> > > As root:
> > > 
> > > # service alsa-utils restart
> > 
> > $ sudo service alsa-utils restart
> > Failed to start alsa-utils.service: Unit alsa-utils.service is masked.
> 
> On systemd that's not possible.
> 
> Anyway, what tells
> 
>   $ aplay -l

Same as before. It only lists the Intel HDA audio device. There is no
sign of any HDMI related audio device.

Erik
-- 
--
Erik de Castro Lopo
http://www.mega-nerd.com/



Bug#814763: [Pkg-alsa-devel] Bug#814763: HDMI sound not working

2016-02-28 Thread Elimar Riesebieter
* Erik de Castro Lopo  [2016-02-28 13:14 +1100]:

> Elimar Riesebieter wrote:
> 
> > Please try the following:
> > 
> > $ mv $HOME/.asoundrc $HOME/.asoundrc.save
> > $ cat < $HOME/.asoundrc
> > defaults.pcm.!device 3
> > defaults.ctl.!device 3
> > EOF
> 
> That part was fine, but ...
> 
> > As root:
> > 
> > # service alsa-utils restart
> 
> $ sudo service alsa-utils restart
> Failed to start alsa-utils.service: Unit alsa-utils.service is masked.

On systemd that's not possible.

Anyway, what tells

  $ aplay -l

?

Elimar
-- 
  Numeric stability is probably not all that
  important when you're guessing;-)



Bug#814763: HDMI sound not working

2016-02-27 Thread Erik de Castro Lopo
Elimar Riesebieter wrote:

> Please try the following:
> 
> $ mv $HOME/.asoundrc $HOME/.asoundrc.save
> $ cat < $HOME/.asoundrc
> defaults.pcm.!device 3
> defaults.ctl.!device 3
> EOF

That part was fine, but ...

> As root:
> 
> # service alsa-utils restart

$ sudo service alsa-utils restart
Failed to start alsa-utils.service: Unit alsa-utils.service is masked.

I bit of googling suggests that a service can be unmasked using:

$ sudo systemctl unmask alsa-utils.service

but that has no effect on my machine:

$ sudo service alsa-utils start
Failed to start alsa-utils.service: Unit alsa-utils.service is masked.

I also tried force re-installing alsa-utils which didn't help either.

Erik
-- 
--
Erik de Castro Lopo
http://www.mega-nerd.com/



Bug#814763: HDMI sound not working

2016-02-19 Thread Elimar Riesebieter
* Erik de Castro Lopo  [2016-02-16 16:15 +1100]:

> Elimar Riesebieter wrote:
> 
> > Thats ok.
> > 
> > What tells:
> > 
> > # aplay -l
> 
> With the laptop displaying video over HDMI:
> 
> $ aplay -l
>  List of PLAYBACK Hardware Devices 
> card 0: PCH [HDA Intel PCH], device 0: ALC3260 Analog [ALC3260 Analog]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0
> card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
>   Subdevices: 1/1
>   Subdevice #0: subdevice #0

Please try the following:

$ mv $HOME/.asoundrc $HOME/.asoundrc.save
$ cat < $HOME/.asoundrc
defaults.pcm.!device 3
defaults.ctl.!device 3
EOF

As root:

# service alsa-utils restart

-- 
  Never make anything simple and efficient when a way
  can be found to make it complex and wonderful ;-)



Bug#814763: [Pkg-alsa-devel] Bug#814763: HDMI sound not working

2016-02-15 Thread Erik de Castro Lopo
Elimar Riesebieter wrote:

> Thats ok.
> 
> What tells:
> 
> # aplay -l

With the laptop displaying video over HDMI:

$ aplay -l
 List of PLAYBACK Hardware Devices 
card 0: PCH [HDA Intel PCH], device 0: ALC3260 Analog [ALC3260 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Erik
-- 
--
Erik de Castro Lopo
http://www.mega-nerd.com/



Bug#814763: [Pkg-alsa-devel] Bug#814763: HDMI sound not working

2016-02-15 Thread Elimar Riesebieter
Control: severity -1 normal
Control: tags -1 moreinfo

* Erik de Castro Lopo  [2016-02-15 19:21 +1100]:

> Package: alsa-base
> Version: 1.0.27+1
> Severity: important
> 
> I have two machines; an Intel NUC i5 and a Dell laptop. Both have
> Intel i915 based graphics cards. Both run Debian Testing.
> 
> At various times in the past I have used both these machines to
> display videos on my TV using HDMI. In both cases, audio that goes
> to the TV was transferred over the HDMI cable.
> 
> Unfortunately some time in the last 2 months this broke. Both machines
> now quite happily display video over HDMI but the audio is missing.
> Part of the problem is that I can't remember the details of when it
> last worked.
> 
> Here's what I know (on my laptop plugged into the TV):
> 
> $ lspci | grep -i vga
> 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core
> processor Graphics Controller (rev 09)
> 
> $ lsmod | grep snd
> snd_hda_codec_hdmi 49152  1
> snd_hda_codec_realtek81920  1
> snd_hda_codec_generic73728  1 snd_hda_codec_realtek
> snd_hda_intel36864  3
> snd_hda_codec   135168  4  
> snd_hda_codec_realtek,snd_hda_codec_hdmi,
>snd_hda_codec_generic,snd_hda_intel
> snd_hda_core 65536  5  
> snd_hda_codec_realtek,snd_hda_codec_hdmi,
>
> snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
> snd_hwdep16384  1  snd_hda_codec
> snd_pcm 102400  4  snd_hda_codec_hdmi,snd_hda_codec,
>snd_hda_intel,snd_hda_core
> snd_timer32768  1  snd_pcm
> snd  81920  14 
> snd_hda_codec_realtek,snd_hwdep,snd_timer,
>
> snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,
>snd_hda_codec,snd_hda_intel
> soundcore   16384  1 s
> 
> Interesting to note that the snd_hda_codec_hdmi driver gets loaded, but it
> looks like ALSA doesn't know about it:
> 
> $ cat /proc/asound/cards
>  0 [PCH]: HDA-Intel - HDA Intel PCH
>   HDA Intel PCH at 0xd171 irq 32
Thats ok.

What tells:

# aplay -l

Elimar
-- 
  Alles was viel bedacht wird ist bedenklich!;-)
 Friedrich Nietzsche



Bug#814763: HDMI sound not working

2016-02-15 Thread Erik de Castro Lopo
Package: alsa-base
Version: 1.0.27+1
Severity: important

I have two machines; an Intel NUC i5 and a Dell laptop. Both have
Intel i915 based graphics cards. Both run Debian Testing.

At various times in the past I have used both these machines to
display videos on my TV using HDMI. In both cases, audio that goes
to the TV was transferred over the HDMI cable.

Unfortunately some time in the last 2 months this broke. Both machines
now quite happily display video over HDMI but the audio is missing.
Part of the problem is that I can't remember the details of when it
last worked.

Here's what I know (on my laptop plugged into the TV):

$ lspci | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core
processor Graphics Controller (rev 09)

$ lsmod | grep snd
snd_hda_codec_hdmi 49152  1
snd_hda_codec_realtek81920  1
snd_hda_codec_generic73728  1 snd_hda_codec_realtek
snd_hda_intel36864  3
snd_hda_codec   135168  4  snd_hda_codec_realtek,snd_hda_codec_hdmi,
   snd_hda_codec_generic,snd_hda_intel
snd_hda_core 65536  5  snd_hda_codec_realtek,snd_hda_codec_hdmi,
   
snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
snd_hwdep16384  1  snd_hda_codec
snd_pcm 102400  4  snd_hda_codec_hdmi,snd_hda_codec,
   snd_hda_intel,snd_hda_core
snd_timer32768  1  snd_pcm
snd  81920  14 
snd_hda_codec_realtek,snd_hwdep,snd_timer,
   
snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,
   snd_hda_codec,snd_hda_intel
soundcore   16384  1 s

Interesting to note that the snd_hda_codec_hdmi driver gets loaded, but it
looks like ALSA doesn't know about it:

$ cat /proc/asound/cards
 0 [PCH]: HDA-Intel - HDA Intel PCH
  HDA Intel PCH at 0xd171 irq 32

To me this looks like a problem with ALSA, rather than higher up like
pulseaudio. I have also tried downreving the kernel to 
linux-image-3.16.0-4-amd64
and linux-image-4.2.0-1-amd64 but that does help either, which again
points the finger at ALSA.

-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable'), (500, 'testing-updates'), 
(500, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf, arm64

Kernel: Linux 4.3.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_AU.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages alsa-base depends on:
ii  dpkg  1.18.4
ii  kmod  22-1

alsa-base recommends no packages.

alsa-base suggests no packages.

-- no debconf information