Outputs of pacmd list-sinks before and after suspend:

======================================= before
==============================================

2 sink(s) available.
  * index: 0
        name: <alsa_output.pci-0000_01_00.1.hdmi-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: IDLE
        suspend cause: (none)
        priority: 9030
        volume: front-left: 52739 /  80% / -5,66 dB,   front-right: 52739 /  
80% / -5,66 dB
                balance 0,00
        base volume: 65536 / 100% / 0,00 dB
        volume steps: 65537
        muted: no
        current latency: 301,48 ms
        max request: 64 KiB
        max rewind: 64 KiB
        monitor source: 0
        sample spec: s16le ch 2 44100 Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 371,52 ms; range is 0,50 .. 371,52 ms
        card: 0 <alsa_card.pci-0000_01_00.1>
        module: 7
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "HDMI 0"
                alsa.id = "HDMI 0"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "3"
                alsa.card = "0"
                alsa.card_name = "HDA NVidia"
                alsa.long_card_name = "HDA NVidia at 0xf7080000 irq 73"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:01:00.1"
                sysfs.path = 
"/devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0"
                device.bus = "pci"
                device.vendor.id = "10de"
                device.vendor.name = "NVIDIA Corporation"
                device.product.id = "0fb9"
                device.product.name = "GP107GL High Definition Audio Controller"
                device.string = "hdmi:0"
                device.buffering.buffer_size = "65536"
                device.buffering.fragment_size = "32768"
                device.access_mode = "mmap+timer"
                device.profile.name = "hdmi-stereo"
                device.profile.description = "Digital Stereo (HDMI)"
                device.description = "GP107GL High Definition Audio Controller 
Digital Stereo (HDMI)"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                hdmi-output-0: HDMI / DisplayPort (priority 5900, latency 
offset 0 usec, available: yes)
                        properties:
                                device.icon_name = "video-display"
                                device.product.name = "U28E590
     "
        active port: <hdmi-output-0>
    index: 1
        name: <alsa_output.pci-0000_05_00.6.analog-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
        state: IDLE
        suspend cause: (none)
        priority: 9039
        volume: front-left: 21819 /  33% / -28,66 dB,   front-right: 21819 /  
33% / -28,66 dB
                balance 0,00
        base volume: 65536 / 100% / 0,00 dB
        volume steps: 65537
        muted: no
        current latency: 101,09 ms
        max request: 17 KiB
        max rewind: 17 KiB
        monitor source: 1
        sample spec: s16le ch 2 44100 Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        fixed latency: 100,14 ms
        card: 1 <alsa_card.pci-0000_05_00.6>
        module: 8
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "ALC233 Analog"
                alsa.id = "ALC233 Analog"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "1"
                alsa.card_name = "HD-Audio Generic"
                alsa.long_card_name = "HD-Audio Generic at 0xf7580000 irq 75"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:05:00.6"
                sysfs.path = 
"/devices/pci0000:00/0000:00:08.1/0000:05:00.6/sound/card1"
                device.bus = "pci"
                device.vendor.id = "1022"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
                device.product.id = "15e3"
                device.product.name = "Family 17h (Models 10h-1fh) HD Audio 
Controller"
                device.string = "front:1"
                device.buffering.buffer_size = "17664"
                device.buffering.fragment_size = "2944"
                device.access_mode = "mmap"
                device.profile.name = "analog-stereo"
                device.profile.description = "Stereo analogico"
                device.description = "Family 17h (Models 10h-1fh) HD Audio 
Controller Stereo analogico"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                analog-output-speaker: Altoparlanti (priority 10000, latency 
offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-speakers"
                analog-output-headphones: Cuffie analogiche (priority 9900, 
latency offset 0 usec, available: yes)
                        properties:
                                device.icon_name = "audio-headphones"
        active port: <analog-output-headphones>

======================================= after
==============================================

1 sink(s) available.
  * index: 3
        name: <alsa_output.pci-0000_01_00.1.hdmi-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: IDLE
        suspend cause: (none)
        priority: 9030
        volume: front-left: 52739 /  80% / -5,66 dB,   front-right: 52739 /  
80% / -5,66 dB
                balance 0,00
        base volume: 65536 / 100% / 0,00 dB
        volume steps: 65537
        muted: no
        current latency: 341,01 ms
        max request: 64 KiB
        max rewind: 64 KiB
        monitor source: 4
        sample spec: s16le ch 2 48000 Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        configured latency: 341,33 ms; range is 0,50 .. 341,33 ms
        card: 0 <alsa_card.pci-0000_01_00.1>
        module: 7
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "HDMI 0"
                alsa.id = "HDMI 0"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "3"
                alsa.card = "0"
                alsa.card_name = "HDA NVidia"
                alsa.long_card_name = "HDA NVidia at 0xf7080000 irq 73"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:01:00.1"
                sysfs.path = 
"/devices/pci0000:00/0000:00:01.1/0000:01:00.1/sound/card0"
                device.bus = "pci"
                device.vendor.id = "10de"
                device.vendor.name = "NVIDIA Corporation"
                device.product.id = "0fb9"
                device.product.name = "GP107GL High Definition Audio Controller"
                device.string = "hdmi:0"
                device.buffering.buffer_size = "65536"
                device.buffering.fragment_size = "32768"
                device.access_mode = "mmap+timer"
                device.profile.name = "hdmi-stereo"
                device.profile.description = "Digital Stereo (HDMI)"
                device.description = "GP107GL High Definition Audio Controller 
Digital Stereo (HDMI)"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                hdmi-output-0: HDMI / DisplayPort (priority 5900, latency 
offset 0 usec, available: yes)
                        properties:
                                device.icon_name = "video-display"
                                device.product.name = "U28E590
     "
        active port: <hdmi-output-0>

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

Title:
  no sound after resume

Status in pulseaudio package in Ubuntu:
  Confirmed

Bug description:
  Hi!

  After a suspend/resume cycle with HDMI plugged in, it seems that
  pulseaudio doesn't recognize anymore the internal analog device
  (speakers/headphones) and I hear no sound. Before suspend I see two
  audio sinks through "pacmd list-sinks" (internal analog and HDMI), and
  after resume I only get HDMI audio. Still, audio only ever comes out
  of the internal device.

  A "killall pulseaudio" solves this for me (i.e., I get audio from the
  internal device).

  This looks a bit similar to the old bug #202089, but I don't know if
  it's the same.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: pulseaudio 1:13.99.1-1ubuntu3.2
  ProcVersionSignature: Ubuntu 5.4.0-37.41-generic 5.4.41
  Uname: Linux 5.4.0-37-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu27.2
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  della      1195 F.... pulseaudio
   /dev/snd/controlC1:  della      1195 F.... pulseaudio
  CasperMD5CheckResult: skip
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Jun 16 10:50:50 2020
  InstallationDate: Installed on 2020-03-12 (95 days ago)
  InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  SourcePackage: pulseaudio
  UpgradeStatus: Upgraded to focal on 2020-04-27 (50 days ago)
  dmi.bios.date: 09/19/2019
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: FX505DD.308
  dmi.board.asset.tag: ATN12345678901234567
  dmi.board.name: FX505DD
  dmi.board.vendor: ASUSTeK COMPUTER INC.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: No  Asset  Tag
  dmi.chassis.type: 10
  dmi.chassis.vendor: ASUSTeK COMPUTER INC.
  dmi.chassis.version: 1.0
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrFX505DD.308:bd09/19/2019:svnASUSTeKCOMPUTERINC.:pnTUFGamingFX505DD_TUF505DD:pvr1.0:rvnASUSTeKCOMPUTERINC.:rnFX505DD:rvr1.0:cvnASUSTeKCOMPUTERINC.:ct10:cvr1.0:
  dmi.product.family: TUF Gaming
  dmi.product.name: TUF Gaming FX505DD_TUF505DD
  dmi.product.version: 1.0
  dmi.sys.vendor: ASUSTeK COMPUTER INC.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1883673/+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

Reply via email to