Intermittent HDMI sound, working with some apps, failing with others

Asked by JP S on 2018-03-06

I'm using Lubuntu 17.10 on an ACER REVO RL80 connected to my TV through HDMI.

The sound output is configured via sound settings (pavucontrol) to HDMI ouput.

The sound is OK with some apps, and KO with some others.

For example in VLC, it works fine.
But on chromium/youtube, the sound is HS.

Is a really weird problem that I tried to solve for days, and I described it in detail here : https://askubuntu.com/questions/1012540/hdmi-sound-problem-intermittent-sound-working-with-some-applications-not-work

I found a dirty turnaround as described in the link above, but it's not a fix, and I wish I could understand what's happening.

I usually don't get answers on askbuntu for this kind of tough problem, that's why I'm posting here, not sure if it's appropriate.
I'll add below additional informations i didn't post there about my sound card, I'm available for any test you need.

aplay --list-devices
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC662 rev3 Analog [ALC662 rev3 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: ALC662 rev3 Digital [ALC662 rev3 Digital]
  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

lspci -v
00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04)
 Subsystem: Acer Incorporated [ALI] 7 Series/C216 Chipset Family High Definition Audio Controller
 Flags: bus master, fast devsel, latency 0, IRQ 30
 Memory at f7e30000 (64-bit, non-prefetchable) [size=16K]
 Capabilities: <access denied>
 Kernel driver in use: snd_hda_intel
 Kernel modules: snd_hda_intel

pacmd list-cards
1 card(s) available.
    index: 0
 name: <alsa_card.pci-0000_00_1b.0>
 driver: <module-alsa-card.c>
 owner module: 22
 properties:
  alsa.card = "0"
  alsa.card_name = "HDA Intel PCH"
  alsa.long_card_name = "HDA Intel PCH at 0xf7e30000 irq 30"
  alsa.driver_name = "snd_hda_intel"
  device.bus_path = "pci-0000:00:1b.0"
  sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
  device.bus = "pci"
  device.vendor.id = "8086"
  device.vendor.name = "Intel Corporation"
  device.product.id = "1e20"
  device.product.name = "7 Series/C216 Chipset Family High Definition Audio Controller"
  device.form_factor = "internal"
  device.string = "0"
  device.description = "Built-in Audio"
  module-udev-detect.discovered = "1"
  device.icon_name = "audio-card-pci"
 profiles:
  input:analog-stereo: Analog Stereo Input (priority 60, available: no)
  output:analog-stereo: Analog Stereo Output (priority 6000, available: no)
  output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: no)
  output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)
  output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 5560, available: unknown)
  output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: unknown)
  output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (priority 5460, available: unknown)
  off: Off (priority 0, available: unknown)
 active profile: <output:hdmi-stereo>
 sinks:
  alsa_output.pci-0000_00_1b.0.hdmi-stereo/#5: Built-in Audio Digital Stereo (HDMI)
 sources:
  alsa_output.pci-0000_00_1b.0.hdmi-stereo.monitor/#5: Monitor of Built-in Audio Digital Stereo (HDMI)
 ports:
  analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: no)
   properties:
    device.icon_name = "audio-input-microphone"
  analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
   properties:
    device.icon_name = "audio-headphones"
  iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
   properties:

  hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: yes)
   properties:
    device.icon_name = "video-display"
    device.product.name = "SAMSUNG"

Question information

Language:
English Edit question
Status:
Open
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
2018-03-10
Last reply:
JP S (jptsetung) said : #1

Still have the problem. Since then I realize that I thought that it was a "per app" problem, but it seems to be a per video problem. I was using firefox youtube for a while, and I switched to another youtube video, and hdmi sound stopped working. It seems that certain type of audio break the sound.

Should I open a bug if nobody answers to it here ?

Can you help with this problem?

Provide an answer of your own, or ask JP S for more information if necessary.

To post a message you must log in.