Is this just a bug?

Here is the pulseaudio debug I get when inserting my HDMI cable. It can be seen 
it's *trying* to switch over, but the lack of profile? is causing the issue.
4.15.0-54-generic kernel, Ubuntu 18.04, pulseaudio 1:11.1-1ubuntu7.2

An explicit 'pactl set-card-profile 0 output:hdmi-stereo-extra1' works.
Some race issue with setup?

Jul 8 21:51:32 kent gsd-color[1762]: no xrandr-Samsung Electric 
Company-SAMSUNG-16780800 device found: Failed to find output xrandr-Samsung 
Electric Company-SAMSUNG-16780800
Jul 8 21:51:32 kent pulseaudio[6907]: [pulseaudio] alsa-util.c: Monitor name in 
ELD info is 'SAMSUNG' (for device=7)
Jul 8 21:51:32 kent pulseaudio[6907]: [pulseaudio] module-alsa-card.c: Jack 
'HDMI/DP,pcm=7 Jack' is now plugged in
Jul 8 21:51:32 kent pulseaudio[6907]: [pulseaudio] device-port.c: Setting port 
hdmi-output-1 to status yes
Jul 8 21:51:32 kent pulseaudio[6907]: [pulseaudio] core-subscribe.c: Dropped 
redundant event due to change event.
Jul 8 21:51:32 kent pulseaudio[6907]: [pulseaudio] 
module-switch-on-port-available.c: Trying to switch to port hdmi-output-1
Jul 8 21:51:32 kent pulseaudio[6907]: [pulseaudio] 
module-switch-on-port-available.c: Finding best profile for port hdmi-output-1, 
preferred = hdmi-stereo-extra1
Jul 8 21:51:32 kent pulseaudio[6907]: [pulseaudio] 
module-switch-on-port-available.c: No suitable profile found
Jul 8 21:51:32 kent pulseaudio[6907]: [pulseaudio] card.c: Setting card 
alsa_card.pci-0000_00_1f.3 profile output:hdmi-stereo-extra1 to availability 
status unknown
Jul 8 21:51:32 kent pulseaudio[6907]: [pulseaudio] core-subscribe.c: Dropped 
redundant event due to change event.
Jul 8 21:51:32 kent pulseaudio[6907]: [pulseaudio] card.c: Setting card 
alsa_card.pci-0000_00_1f.3 profile output:hdmi-surround-extra1 to availability 
status unknown
Jul 8 21:51:32 kent pulseaudio[6907]: [pulseaudio] core-subscribe.c: Dropped 
redundant event due to change event.
Jul 8 21:51:32 kent pulseaudio[6907]: [pulseaudio] card.c: Setting card 
alsa_card.pci-0000_00_1f.3 profile output:hdmi-surround71-extra1 to 
availability status unknown
Jul 8 21:51:32 kent pulseaudio[6907]: [pulseaudio] core-subscribe.c: Dropped 
redundant event due to change event.

Jul 8 21:51:44 kent pulseaudio[6907]: [pulseaudio] alsa-util.c: ELD info empty 
(for device=7)
Jul 8 21:51:44 kent pulseaudio[6907]: [pulseaudio] module-alsa-card.c: Jack 
'HDMI/DP,pcm=7 Jack' is now unplugged
Jul 8 21:51:44 kent pulseaudio[6907]: [pulseaudio] device-port.c: Setting port 
hdmi-output-1 to status no
Jul 8 21:51:44 kent pulseaudio[6907]: [pulseaudio] core-subscribe.c: Dropped 
redundant event due to change event.
Jul 8 21:51:44 kent pulseaudio[6907]: [pulseaudio] card.c: Setting card 
alsa_card.pci-0000_00_1f.3 profile output:hdmi-stereo-extra1 to availability 
status no
Jul 8 21:51:44 kent pulseaudio[6907]: [pulseaudio] core-subscribe.c: Dropped 
redundant event due to change event.
Jul 8 21:51:44 kent pulseaudio[6907]: [pulseaudio] card.c: Setting card 
alsa_card.pci-0000_00_1f.3 profile output:hdmi-surround-extra1 to availability 
status no
Jul 8 21:51:44 kent pulseaudio[6907]: [pulseaudio] core-subscribe.c: Dropped 
redundant event due to change event.
Jul 8 21:51:44 kent pulseaudio[6907]: [pulseaudio] card.c: Setting card 
alsa_card.pci-0000_00_1f.3 profile output:hdmi-surround71-extra1 to 
availability status no
Jul 8 21:51:44 kent pulseaudio[6907]: [pulseaudio] core-subscribe.c: Dropped 
redundant event due to change event.
Jul 8 21:51:46 kent gsd-color[1762]: no xrandr-Samsung Electric 
Company-SAMSUNG-16780800 device found: Failed to find output xrandr-Samsung 
Electric Company-SAMSUNG-16780800
Jul 8 21:51:46 kent pulseaudio[6907]: [pulseaudio] alsa-util.c: Monitor name in 
ELD info is 'SAMSUNG' (for device=7)
Jul 8 21:51:46 kent pulseaudio[6907]: [pulseaudio] module-alsa-card.c: Jack 
'HDMI/DP,pcm=7 Jack' is now plugged in
Jul 8 21:51:46 kent pulseaudio[6907]: [pulseaudio] device-port.c: Setting port 
hdmi-output-1 to status yes
Jul 8 21:51:46 kent pulseaudio[6907]: [pulseaudio] core-subscribe.c: Dropped 
redundant event due to change event.
Jul 8 21:51:46 kent pulseaudio[6907]: [pulseaudio] 
module-switch-on-port-available.c: Trying to switch to port hdmi-output-1
Jul 8 21:51:46 kent pulseaudio[6907]: [pulseaudio] 
module-switch-on-port-available.c: Finding best profile for port hdmi-output-1, 
preferred = hdmi-stereo-extra1
Jul 8 21:51:46 kent pulseaudio[6907]: [pulseaudio] 
module-switch-on-port-available.c: No suitable profile found
Jul 8 21:51:46 kent pulseaudio[6907]: [pulseaudio] card.c: Setting card 
alsa_card.pci-0000_00_1f.3 profile output:hdmi-stereo-extra1 to availability 
status unknown
Jul 8 21:51:46 kent pulseaudio[6907]: [pulseaudio] core-subscribe.c: Dropped 
redundant event due to change event.
Jul 8 21:51:46 kent pulseaudio[6907]: [pulseaudio] card.c: Setting card 
alsa_card.pci-0000_00_1f.3 profile output:hdmi-surround-extra1 to availability 
status unknown
Jul 8 21:51:46 kent pulseaudio[6907]: [pulseaudio] core-subscribe.c: Dropped 
redundant event due to change event.
Jul 8 21:51:46 kent pulseaudio[6907]: [pulseaudio] card.c: Setting card 
alsa_card.pci-0000_00_1f.3 profile output:hdmi-surround71-extra1 to 
availability status unknown
Jul 8 21:51:46 kent pulseaudio[6907]: [pulseaudio] core-subscribe.c: Dropped 
redundant event due to change event.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1274908

Title:
  Consider adding a 'semi automatic' audio change switch to HDMI input.

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I've read the various discussions about this, but they seem to fail to
  take account of the fact that the user knows what he/she wants.

  I had the common use-case where I want audio to automatically be
  enabled for the hdmi when I plug the cable in.

  Note that I don't want that decision to be made for me, but I am quite
  happy to toggle a switch to say that is, indeed, what I want.

  So, for example :

  0) I want to watch something on my laptop displayed on my TV
  1) I plug in the HDMI cable
  1a) but no audio..what's wrong?...I do a quick search on the internet and/or 
stumble on the 'Sound settings' and see an HDMI entry
  2) I click on HDMI
  2a) yeah! sound! nice!
  3) watch something
  4) unplug HDMI device
  4a) audio reverts to laptop's built-in speakers
  5) the next day, I decide I want to watch something else
  6) go to 0)
  7) I now wonder why, at point 2a), there can't be a switch that I can toggle 
to make it do this every time I plug in the HDMI cable.

  Since the audio is actually switched, and there is something happening
  in the tool to make the 'HDMI' entry appear, I don't see why there
  can't be a switch to make it switch the audio automatically when it is
  connected.

  Note that I *don't* mean that something has to automatically decide
  for every user if this should happen, but each individual user surely
  already knows if they do want this (or not) and can tell the tool
  which way it should be (and save the setting, of course).

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to