Public bug reported:

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 usually fine.
But on chromium/youtube, the sound is HS.
Actually, i think it's not really a per app problem, but it might depend more 
on the type of audio being played. I thought the audio was working fine on 
firefox youtube at first, but once I ran into a specific video with the audio 
HS (and I checked this video had sound). 

When the audio is HS on a video play, if I start a video that usually
doesn't have the problem, this video has the audio HS too.

And reversely, if the audio is OK on a video, and if I start a video
that usually have the problem, this time the video has its audio OK.

Knowing this, I made a small sript to "fix" the audio of a video witht
he problem.

I pause the video with the audio problem, I start a sound hat usually
doesn't have the problem, and I change the audio output back and forth
to HDMI output again. It usually fixes audio, and I jsute need to resume
the video with the problem BEFORE the good audio is over, and it's OK.

This is my script

mpv /path/to/whitenoise_48k.wav &
pacmd set-card-profile 0 output:analog-stereo
pacmd set-card-profile 0 output:hdmi-stereo

And it's interesting to note that the same sound in 44k doesn't work
(whitenoise_44k.wav).

Weird stuff...

These are the outputs of some commands, can make more if you want.

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"

** Affects: ubuntu
     Importance: Undecided
         Status: New

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

Title:
  Intermittent HDMI sound, working with some videos/audios, failing with
  others

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1756198/+subscriptions

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

Reply via email to