[Touch-packages] [Bug 1756198] Re: Intermittent HDMI sound, working with some videos/audios, failing with others

2018-03-19 Thread JP S
Yes sorry, when I write "sound HS" I mean that I hear no sound on the TV
via the HDMI output.

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

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

Status in pulseaudio package in Ubuntu:
  Incomplete

Bug description:
  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 f7e3 (64-bit, non-prefetchable) [size=16K]
Capabilities: 
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel


  
  pacmd list-cards
  1 card(s) available.
  index: 0
name: 
driver: 
owner module: 22
properties:
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xf7e3 irq 30"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-:00:1b.0"
sysfs.path = "/devices/pci:00/: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: 
sinks:
alsa_output.pci-_00_1b.0.hdmi-stereo/#5: Built-in Audio 
Digital Stereo (HDMI)
sources:

[Touch-packages] [Bug 1756198] Re: Intermittent HDMI sound, working with some videos/audios, failing with others

2018-03-16 Thread JP S
Adding the package info.

** Package changed: ubuntu => pulseaudio (Ubuntu)

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

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

Status in pulseaudio package in Ubuntu:
  New

Bug description:
  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 f7e3 (64-bit, non-prefetchable) [size=16K]
Capabilities: 
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel


  
  pacmd list-cards
  1 card(s) available.
  index: 0
name: 
driver: 
owner module: 22
properties:
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.long_card_name = "HDA Intel PCH at 0xf7e3 irq 30"
alsa.driver_name = "snd_hda_intel"
device.bus_path = "pci-:00:1b.0"
sysfs.path = "/devices/pci:00/: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: 
sinks:
alsa_output.pci-_00_1b.0.hdmi-stereo/#5: Built-in Audio 
Digital Stereo (HDMI)
sources: