[Touch-packages] [Bug 1895665] Re: PulseAudio automatically switches away from HDMI after display sleep

2021-03-08 Thread Jean-Marc Le Peuvedic
*** This bug is a duplicate of bug 1888598 ***
https://bugs.launchpad.net/bugs/1888598

if I add blacklist= to load-module module-switch-on-connect, switching
to HDMI is no longer inhibited, and the HDMI output is listed first in
pavucontrol, but the output still disappears for good when the monitor
goes to sleep.

-- 
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/1895665

Title:
  PulseAudio automatically switches away from HDMI after display sleep

Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  I have an Nvidia based video card that has an HDMI output + a DisplayPort 
output.
  DisplayPort output audio is listed as "Digital Stereo (HDMI)" and HDMI output 
is listed as "Digital Stereo (HDMI 2)".

  I prefer to use "Digital Stereo (HDMI 2)".
  But after each display sleep (screen lock for example) audio is switched to 
built in audio

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: pulseaudio 1:13.99.1-1ubuntu3.6
  ProcVersionSignature: Ubuntu 5.4.0-47.51-generic 5.4.55
  Uname: Linux 5.4.0-47-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu27.8
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: XFCE
  Date: Tue Sep 15 14:56:58 2020
  InstallationDate: Installed on 2020-06-20 (86 days ago)
  InstallationMedia: Xubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  SourcePackage: pulseaudio
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 11/11/2019
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.11.1
  dmi.board.name: 0CNDTP
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A01
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.11.1:bd11/11/2019:svnDellInc.:pnG55590:pvr:rvnDellInc.:rn0CNDTP:rvrA01:cvnDellInc.:ct10:cvr:
  dmi.product.family: GSeries
  dmi.product.name: G5 5590
  dmi.product.sku: 08EA
  dmi.sys.vendor: Dell Inc.

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

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


[Touch-packages] [Bug 1895665] Re: PulseAudio automatically switches away from HDMI after display sleep

2021-03-08 Thread Jean-Marc Le Peuvedic
*** This bug is a duplicate of bug 1888598 ***
https://bugs.launchpad.net/bugs/1888598

Here is what happens as seen by pulseaudio - during the monitor
sleep/wake cycle leading to disappearance of the HDMI output:

D: [pulseaudio] alsa-util.c: ELD info empty (for device=3)
D: [pulseaudio] module-alsa-card.c: Jack 'HDMI/DP,pcm=3 Jack' is now unplugged
D: [pulseaudio] device-port.c: Setting port hdmi-output-0 to status no
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
D: [pulseaudio] module-switch-on-port-available.c: Trying to switch away from 
port hdmi-output-0, found no better option
I: [pulseaudio] core.c: default_sink: alsa_output.pci-_65_00.1.hdmi-stereo 
-> alsa_output.pci-_00_1f.3.iec958-stereo
D: [pulseaudio] card.c: Setting card alsa_card.pci-_65_00.1 profile 
output:hdmi-stereo to availability status no
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
D: [pulseaudio] module-switch-on-port-available.c: Active profile 
output:hdmi-stereo on card alsa_card.pci-_65_00.1 became unavailable, 
switching to another profile
D: [pulseaudio] sink.c: alsa_output.pci-_65_00.1.hdmi-stereo: state: 
SUSPENDED -> UNLINKED
D: [pulseaudio] source.c: alsa_output.pci-_65_00.1.hdmi-stereo.monitor: 
state: SUSPENDED -> UNLINKED
D: [alsa-sink-HDMI 0] alsa-sink.c: Thread shutting down
I: [pulseaudio] sink.c: Freeing sink 1 
"alsa_output.pci-_65_00.1.hdmi-stereo"
I: [pulseaudio] source.c: Freeing source 2 
"alsa_output.pci-_65_00.1.hdmi-stereo.monitor"
D: [pulseaudio] card.c: alsa_card.pci-_65_00.1: active_profile: 
output:hdmi-stereo -> off
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
D: [pulseaudio] alsa-util.c: ELD info empty (for device=3)
D: [pulseaudio] module-alsa-card.c: Jack 'HDMI/DP,pcm=3 Jack' is now unplugged
D: [pulseaudio] alsa-util.c: ELD info empty (for device=3)

Although slightly redundant, it looks all right.
Part of the problem seems to come from blacklisting HDMI monitors by default 
(not switching to them when they are plugged in). But that's the second part of 
the problem. 

I: [pulseaudio] module-switch-on-connect.c: Refusing to switch to
blacklisted sink alsa_output.pci-_65_00.1.hdmi-stereo

The first and major issue is the absence of any event detection when the
DP monitor wakes up.

"pulseaudio -k" restarts the daemon, and probing at startup seems to
find it again.

-- 
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/1895665

Title:
  PulseAudio automatically switches away from HDMI after display sleep

Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  I have an Nvidia based video card that has an HDMI output + a DisplayPort 
output.
  DisplayPort output audio is listed as "Digital Stereo (HDMI)" and HDMI output 
is listed as "Digital Stereo (HDMI 2)".

  I prefer to use "Digital Stereo (HDMI 2)".
  But after each display sleep (screen lock for example) audio is switched to 
built in audio

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: pulseaudio 1:13.99.1-1ubuntu3.6
  ProcVersionSignature: Ubuntu 5.4.0-47.51-generic 5.4.55
  Uname: Linux 5.4.0-47-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu27.8
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: XFCE
  Date: Tue Sep 15 14:56:58 2020
  InstallationDate: Installed on 2020-06-20 (86 days ago)
  InstallationMedia: Xubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  SourcePackage: pulseaudio
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 11/11/2019
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.11.1
  dmi.board.name: 0CNDTP
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A01
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.11.1:bd11/11/2019:svnDellInc.:pnG55590:pvr:rvnDellInc.:rn0CNDTP:rvrA01:cvnDellInc.:ct10:cvr:
  dmi.product.family: GSeries
  dmi.product.name: G5 5590
  dmi.product.sku: 08EA
  dmi.sys.vendor: Dell Inc.

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

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


[Touch-packages] [Bug 1895665] Re: PulseAudio automatically switches away from HDMI after display sleep

2021-03-08 Thread Jean-Marc Le Peuvedic
*** This bug is a duplicate of bug 1888598 ***
https://bugs.launchpad.net/bugs/1888598

Hi!
Affected by this bug, but not exactly bug #1888598.
Config: Asus Extreme Omega integrated HDA Intel PCH as Card 1 + ASUS Nvidia 
3090 as Card 2.
Card 0 is an USB webcam and only an audio input.

Problem occurs as described: the audio output changes when the monitor
connected to a DisplayPort output goes to sleep (after locking). No need
for the computer to go through a sleep/wake cycle.

Normal operation is restored by 'pulseaudio -k', then choosing the
correct output using e.g. pavucontrol.

Commands 'pactl list' and 'pacmd list-cards' give different results:

pacmd list-cards: 
before: HDMI output is available
ports:
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency 
offset 0 usec, available: yes)
properties:
device.icon_name = "video-display"
device.product.name = "Acer T272HUL

after:
ports:
hdmi-output-0: HDMI / DisplayPort (priority 5900, latency 
offset 0 usec, available: no)
properties:
device.icon_name = "video-display"

pactl list:
before:
Ports :
hdmi-output-0: HDMI / DisplayPort (priority: 5900, latency 
offset: 0 usec, available)
Propriétés :
device.icon_name = "video-display"
device.product.name = "Acer T272HUL
"
Partie du(des) profil(s) : output:hdmi-stereo
after:
Ports :
hdmi-output-0: HDMI / DisplayPort (priority: 5900, latency 
offset: 0 usec, not available)
Propriétés :
device.icon_name = "video-display"
Partie du(des) profil(s) : output:hdmi-stereo

-- 
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/1895665

Title:
  PulseAudio automatically switches away from HDMI after display sleep

Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  I have an Nvidia based video card that has an HDMI output + a DisplayPort 
output.
  DisplayPort output audio is listed as "Digital Stereo (HDMI)" and HDMI output 
is listed as "Digital Stereo (HDMI 2)".

  I prefer to use "Digital Stereo (HDMI 2)".
  But after each display sleep (screen lock for example) audio is switched to 
built in audio

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: pulseaudio 1:13.99.1-1ubuntu3.6
  ProcVersionSignature: Ubuntu 5.4.0-47.51-generic 5.4.55
  Uname: Linux 5.4.0-47-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu27.8
  Architecture: amd64
  CasperMD5CheckResult: skip
  CurrentDesktop: XFCE
  Date: Tue Sep 15 14:56:58 2020
  InstallationDate: Installed on 2020-06-20 (86 days ago)
  InstallationMedia: Xubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423)
  SourcePackage: pulseaudio
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 11/11/2019
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.11.1
  dmi.board.name: 0CNDTP
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A01
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.11.1:bd11/11/2019:svnDellInc.:pnG55590:pvr:rvnDellInc.:rn0CNDTP:rvrA01:cvnDellInc.:ct10:cvr:
  dmi.product.family: GSeries
  dmi.product.name: G5 5590
  dmi.product.sku: 08EA
  dmi.sys.vendor: Dell Inc.

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

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