hdmi audio not working after suspend to ram

Bug #2006754 reported by Michael
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)
New
Undecided
Unassigned

Bug Description

Hello

I installed a new Kubuntu 22.10 system on a Beelink GTR6 (AMD Ryzen 9 6900HX). Everything is running fine. Except that after a wakeup from a suspend to RAM, there is no more Audio coming through the loudspeakers in my HDMI monitor, although every widget, audio control etc still say that audio is playing. I have not yet found any way to reactivate the audio, except of a complete reboot of the system.

I am not sure, how to debug this. I have tried very many recommendations from the net (to restart pipewire, wireplumber, disconnect the HDMI device, open amixer, ...), but none worked.

Thanks

Michael

---

Betriebssystem: Kubuntu 22.10
KDE-Plasma-Version: 5.25.5
KDE-Frameworks-Version: 5.98.0
Qt-Version: 5.15.6
Kernel-Version: 5.19.0-31-generic (64-bit)
Grafik-Plattform: X11
Prozessoren: 16 × AMD Ryzen 9 6900HX with Radeon Graphics
Speicher: 28.2 GiB Arbeitsspeicher
Grafikprozessor: REMBRANDT
Hersteller: AZW
Produktname: GTR
Systemversion: V02

Affected package: No idea, maybe pipewire, wireplumber, but probably a kernel driver

Expected result: HDMI audio should work after wakeup from a suspend-to-ram

Some output from pw-cli ls:
```
 id 0, type PipeWire:Interface:Core/3
   object.serial = "0"
   core.name = "pipewire-0"
 id 1, type PipeWire:Interface:Module/3
   object.serial = "1"
   module.name = "libpipewire-module-rt"
 id 2, type PipeWire:Interface:Module/3
   object.serial = "2"
   module.name = "libpipewire-module-protocol-native"
 id 3, type PipeWire:Interface:Module/3
   object.serial = "3"
   module.name = "libpipewire-module-profiler"
 id 4, type PipeWire:Interface:Profiler/3
   object.serial = "4"
 id 5, type PipeWire:Interface:Module/3
   object.serial = "5"
   module.name = "libpipewire-module-metadata"
 id 6, type PipeWire:Interface:Factory/3
   object.serial = "6"
   module.id = "5"
   factory.name = "metadata"
   factory.type.name = "PipeWire:Interface:Metadata"
   factory.type.version = "3"
 id 7, type PipeWire:Interface:Module/3
   object.serial = "7"
   module.name = "libpipewire-module-spa-device-factory"
 id 8, type PipeWire:Interface:Factory/3
   object.serial = "8"
   module.id = "7"
   factory.name = "spa-device-factory"
   factory.type.name = "PipeWire:Interface:Device"
   factory.type.version = "3"
 id 9, type PipeWire:Interface:Module/3
   object.serial = "9"
   module.name = "libpipewire-module-spa-node-factory"
 id 10, type PipeWire:Interface:Factory/3
   object.serial = "10"
   module.id = "9"
   factory.name = "spa-node-factory"
   factory.type.name = "PipeWire:Interface:Node"
   factory.type.version = "3"
 id 11, type PipeWire:Interface:Module/3
   object.serial = "11"
   module.name = "libpipewire-module-client-node"
 id 12, type PipeWire:Interface:Factory/3
   object.serial = "12"
   module.id = "11"
   factory.name = "client-node"
   factory.type.name = "PipeWire:Interface:ClientNode"
   factory.type.version = "4"
 id 13, type PipeWire:Interface:Module/3
   object.serial = "13"
   module.name = "libpipewire-module-client-device"
 id 14, type PipeWire:Interface:Factory/3
   object.serial = "14"
   module.id = "13"
   factory.name = "client-device"
   factory.type.name = "Spa:Pointer:Interface:Device"
   factory.type.version = "0"
 id 15, type PipeWire:Interface:Module/3
   object.serial = "15"
   module.name = "libpipewire-module-portal"
 id 16, type PipeWire:Interface:Module/3
   object.serial = "16"
   module.name = "libpipewire-module-access"
 id 17, type PipeWire:Interface:Module/3
   object.serial = "17"
   module.name = "libpipewire-module-adapter"
 id 18, type PipeWire:Interface:Factory/3
   object.serial = "18"
   module.id = "17"
   factory.name = "adapter"
   factory.type.name = "PipeWire:Interface:Node"
   factory.type.version = "3"
 id 19, type PipeWire:Interface:Module/3
   object.serial = "19"
   module.name = "libpipewire-module-link-factory"
 id 20, type PipeWire:Interface:Factory/3
   object.serial = "20"
   module.id = "19"
   factory.name = "link-factory"
   factory.type.name = "PipeWire:Interface:Link"
   factory.type.version = "3"
 id 21, type PipeWire:Interface:Module/3
   object.serial = "21"
   module.name = "libpipewire-module-session-manager"
 id 22, type PipeWire:Interface:Factory/3
   object.serial = "22"
   module.id = "21"
   factory.name = "client-endpoint"
   factory.type.name = "PipeWire:Interface:ClientEndpoint"
   factory.type.version = "0"
 id 23, type PipeWire:Interface:Factory/3
   object.serial = "23"
   module.id = "21"
   factory.name = "client-session"
   factory.type.name = "PipeWire:Interface:ClientSession"
   factory.type.version = "0"
 id 24, type PipeWire:Interface:Factory/3
   object.serial = "24"
   module.id = "21"
   factory.name = "session"
   factory.type.name = "PipeWire:Interface:Session"
   factory.type.version = "0"
 id 25, type PipeWire:Interface:Factory/3
   object.serial = "25"
   module.id = "21"
   factory.name = "endpoint"
   factory.type.name = "PipeWire:Interface:Endpoint"
   factory.type.version = "0"
 id 26, type PipeWire:Interface:Factory/3
   object.serial = "26"
   module.id = "21"
   factory.name = "endpoint-stream"
   factory.type.name = "PipeWire:Interface:EndpointStream"
   factory.type.version = "0"
 id 27, type PipeWire:Interface:Factory/3
   object.serial = "27"
   module.id = "21"
   factory.name = "endpoint-link"
   factory.type.name = "PipeWire:Interface:EndpointLink"
   factory.type.version = "0"
 id 28, type PipeWire:Interface:Node/3
   object.serial = "28"
   factory.id = "10"
   priority.driver = "20000"
   node.name = "Dummy-Driver"
 id 29, type PipeWire:Interface:Node/3
   object.serial = "29"
   factory.id = "10"
   priority.driver = "19000"
   node.name = "Freewheel-Driver"
 id 30, type PipeWire:Interface:Metadata/3
   object.serial = "30"
   metadata.name = "settings"
 id 31, type PipeWire:Interface:Node/3
   object.serial = "48"
   object.path = "alsa:pcm:1:hw:1,0:playback"
   factory.id = "18"
   client.id = "34"
   device.id = "41"
   priority.session = "1000"
   priority.driver = "1000"
   node.description = "Family 17h/19h HD Audio Controller Pro"
   node.name = "alsa_output.pci-0000_05_00.6.pro-output-0"
   node.nick = "ALC269VB Analog"
   media.class = "Audio/Sink"
 id 32, type PipeWire:Interface:Client/3
   object.serial = "32"
   module.id = "2"
   pipewire.protocol = "protocol-native"
   pipewire.sec.pid = "2214"
   pipewire.sec.uid = "1000"
   pipewire.sec.gid = "1000"
   pipewire.sec.label = "unconfined"
   pipewire.access = "unrestricted"
   application.name = "pipewire"
 id 33, type PipeWire:Interface:Client/3
   object.serial = "34"
   module.id = "2"
   pipewire.protocol = "protocol-native"
   pipewire.sec.pid = "2213"
   pipewire.sec.uid = "1000"
   pipewire.sec.gid = "1000"
   pipewire.sec.label = "unconfined"
   pipewire.access = "unrestricted"
   application.name = "WirePlumber"
 id 34, type PipeWire:Interface:Client/3
   object.serial = "35"
   module.id = "2"
   pipewire.protocol = "protocol-native"
   pipewire.sec.pid = "2213"
   pipewire.sec.uid = "1000"
   pipewire.sec.gid = "1000"
   pipewire.sec.label = "unconfined"
   pipewire.access = "unrestricted"
   application.name = "WirePlumber [export]"
 id 35, type PipeWire:Interface:Metadata/3
   factory.id = "6"
   module.id = "5"
   metadata.name = "default"
   client.id = "33"
   object.serial = "36"
 id 36, type PipeWire:Interface:Metadata/3
   metadata.name = "route-settings"
   factory.id = "6"
   module.id = "5"
   client.id = "33"
   object.serial = "37"
 id 37, type PipeWire:Interface:Node/3
   object.serial = "38"
   factory.id = "10"
   client.id = "34"
   node.name = "Midi-Bridge"
   media.class = "Midi/Bridge"
 id 38, type PipeWire:Interface:Port/3
   object.serial = "39"
   object.path = "alsa:seq:default:client_14:playback_0"
   format.dsp = "8 bit raw midi"
   node.id = "37"
   port.id = "0"
   port.name = "Midi Through:(playback_0) Midi Through Port-0"
   port.direction = "in"
   port.physical = "true"
   port.terminal = "true"
   port.alias = "Midi Through:Midi Through Port-0"
 id 39, type PipeWire:Interface:Port/3
   object.serial = "40"
   object.path = "alsa:seq:default:client_14:capture_0"
   format.dsp = "8 bit raw midi"
   node.id = "37"
   port.id = "0"
   port.name = "Midi Through:(capture_0) Midi Through Port-0"
   port.direction = "out"
   port.physical = "true"
   port.terminal = "true"
   port.alias = "Midi Through:Midi Through Port-0"
 id 40, type PipeWire:Interface:Device/3
   object.serial = "41"
   factory.id = "14"
   client.id = "34"
   device.api = "alsa"
   device.description = "Rembrandt Radeon High Definition Audio Controller"
   device.name = "alsa_card.pci-0000_05_00.1"
   device.nick = "HD-Audio Generic"
   media.class = "Audio/Device"
 id 41, type PipeWire:Interface:Device/3
   object.serial = "42"
   factory.id = "14"
   client.id = "34"
   device.api = "alsa"
   device.description = "Family 17h/19h HD Audio Controller"
   device.name = "alsa_card.pci-0000_05_00.6"
   device.nick = "HD-Audio Generic"
   media.class = "Audio/Device"
 id 42, type PipeWire:Interface:Port/3
   object.serial = "52"
   object.path = "alsa:pcm:0:hdmi:0,3:playback:playback_1"
   format.dsp = "32 bit float mono audio"
   node.id = "46"
   audio.channel = "FR"
   port.id = "1"
   port.name = "playback_FR"
   port.direction = "in"
   port.physical = "true"
   port.terminal = "true"
   port.alias = "BenQ EX3410R:playback_FR"
 id 43, type PipeWire:Interface:Port/3
   object.serial = "50"
   object.path = "alsa:pcm:0:hdmi:0,3:playback:playback_0"
   format.dsp = "32 bit float mono audio"
   node.id = "46"
   audio.channel = "FL"
   port.id = "0"
   port.name = "playback_FL"
   port.direction = "in"
   port.physical = "true"
   port.terminal = "true"
   port.alias = "BenQ EX3410R:playback_FL"
 id 44, type PipeWire:Interface:Port/3
   object.serial = "51"
   object.path = "alsa:pcm:0:hdmi:0,3:playback:monitor_0"
   format.dsp = "32 bit float mono audio"
   node.id = "46"
   audio.channel = "FL"
   port.id = "0"
   port.name = "monitor_FL"
   port.direction = "out"
   port.monitor = "true"
   port.alias = "BenQ EX3410R:monitor_FL"
 id 45, type PipeWire:Interface:Node/3
   object.serial = "49"
   object.path = "alsa:pcm:1:hw:1,0:capture"
   factory.id = "18"
   client.id = "34"
   device.id = "41"
   priority.session = "2000"
   priority.driver = "2000"
   node.description = "Family 17h/19h HD Audio Controller Pro"
   node.name = "alsa_input.pci-0000_05_00.6.pro-input-0"
   node.nick = "ALC269VB Analog"
   media.class = "Audio/Source"
 id 46, type PipeWire:Interface:Node/3
   object.serial = "47"
   object.path = "alsa:pcm:0:hdmi:0,3:playback"
   factory.id = "18"
   client.id = "34"
   device.id = "40"
   priority.session = "600"
   priority.driver = "600"
   node.description = "Rembrandt Radeon High Definition Audio Controller Digital Stereo (HDMI 4)"
   node.name = "alsa_output.pci-0000_05_00.1.hdmi-stereo-extra3"
   node.nick = "BenQ EX3410R"
   media.class = "Audio/Sink"
 id 47, type PipeWire:Interface:Port/3
   object.serial = "53"
   object.path = "alsa:pcm:0:hdmi:0,3:playback:monitor_1"
   format.dsp = "32 bit float mono audio"
   node.id = "46"
   audio.channel = "FR"
   port.id = "1"
   port.name = "monitor_FR"
   port.direction = "out"
   port.monitor = "true"
   port.alias = "BenQ EX3410R:monitor_FR"
 id 48, type PipeWire:Interface:Port/3
   object.serial = "54"
   object.path = "alsa:pcm:1:hw:1,0:playback:playback_0"
   format.dsp = "32 bit float mono audio"
   node.id = "31"
   audio.channel = "AUX0"
   port.id = "0"
   port.name = "playback_AUX0"
   port.direction = "in"
   port.physical = "true"
   port.terminal = "true"
   port.alias = "ALC269VB Analog:playback_AUX0"
 id 49, type PipeWire:Interface:Port/3
   object.serial = "55"
   object.path = "alsa:pcm:1:hw:1,0:playback:monitor_0"
   format.dsp = "32 bit float mono audio"
   node.id = "31"
   audio.channel = "AUX0"
   port.id = "0"
   port.name = "monitor_AUX0"
   port.direction = "out"
   port.monitor = "true"
   port.alias = "ALC269VB Analog:monitor_AUX0"
 id 50, type PipeWire:Interface:Port/3
   object.serial = "56"
   object.path = "alsa:pcm:1:hw:1,0:playback:playback_1"
   format.dsp = "32 bit float mono audio"
   node.id = "31"
   audio.channel = "AUX1"
   port.id = "1"
   port.name = "playback_AUX1"
   port.direction = "in"
   port.physical = "true"
   port.terminal = "true"
   port.alias = "ALC269VB Analog:playback_AUX1"
 id 51, type PipeWire:Interface:Port/3
   object.serial = "57"
   object.path = "alsa:pcm:1:hw:1,0:playback:monitor_1"
   format.dsp = "32 bit float mono audio"
   node.id = "31"
   audio.channel = "AUX1"
   port.id = "1"
   port.name = "monitor_AUX1"
   port.direction = "out"
   port.monitor = "true"
   port.alias = "ALC269VB Analog:monitor_AUX1"
 id 52, type PipeWire:Interface:Port/3
   object.serial = "58"
   object.path = "alsa:pcm:1:hw:1,0:capture:capture_0"
   format.dsp = "32 bit float mono audio"
   node.id = "45"
   audio.channel = "AUX0"
   port.id = "0"
   port.name = "capture_AUX0"
   port.direction = "out"
   port.physical = "true"
   port.terminal = "true"
   port.alias = "ALC269VB Analog:capture_AUX0"
 id 53, type PipeWire:Interface:Port/3
   object.serial = "59"
   object.path = "alsa:pcm:1:hw:1,0:capture:capture_1"
   format.dsp = "32 bit float mono audio"
   node.id = "45"
   audio.channel = "AUX1"
   port.id = "1"
   port.name = "capture_AUX1"
   port.direction = "out"
   port.physical = "true"
   port.terminal = "true"
   port.alias = "ALC269VB Analog:capture_AUX1"
 id 54, type PipeWire:Interface:Client/3
   object.serial = "60"
   module.id = "2"
   pipewire.protocol = "protocol-native"
   pipewire.sec.pid = "2735"
   pipewire.sec.uid = "1000"
   pipewire.sec.gid = "1000"
   pipewire.sec.label = "unconfined"
   pipewire.access = "unrestricted"
   application.name = "xdg-desktop-portal"
 id 55, type PipeWire:Interface:Client/3
   object.serial = "61"
   module.id = "2"
   pipewire.protocol = "protocol-native"
   pipewire.sec.pid = "2214"
   pipewire.sec.uid = "1000"
   pipewire.sec.gid = "1000"
   pipewire.sec.label = "unconfined"
   pipewire.access = "unrestricted"
   application.name = "Plasma-PulseAudio"
 id 56, type PipeWire:Interface:Client/3
   object.serial = "63"
   module.id = "2"
   pipewire.protocol = "protocol-native"
   pipewire.sec.pid = "2995"
   pipewire.sec.uid = "1000"
   pipewire.sec.gid = "1000"
   pipewire.sec.label = "unconfined"
   pipewire.access = "unrestricted"
   application.name = "pw-cli"
```
and from wpctl status:
```
PipeWire 'pipewire-0' [0.3.58, michael@DesktopMB2, cookie:752624561]
 └─ Clients:
        32. pipewire [0.3.58, michael@DesktopMB2, pid:2214]
        33. WirePlumber [0.3.58, michael@DesktopMB2, pid:2213]
        34. WirePlumber [export] [0.3.58, michael@DesktopMB2, pid:2213]
        54. xdg-desktop-portal [0.3.58, michael@DesktopMB2, pid:2735]
        55. Plasma-PulseAudio [0.3.58, michael@DesktopMB2, pid:2489]
        56. wpctl [0.3.58, michael@DesktopMB2, pid:2975]

Audio
 ├─ Devices:
 │ 40. Rembrandt Radeon High Definition Audio Controller [alsa]
 │ 41. Family 17h/19h HD Audio Controller [alsa]
 │
 ├─ Sinks:
 │ 31. Family 17h/19h HD Audio Controller Pro [vol: 1.00]
 │ * 46. Rembrandt Radeon High Definition Audio Controller Digital Stereo (HDMI 4) [vol: 0.55]
 │
 ├─ Sink endpoints:
 │
 ├─ Sources:
 │ * 45. Family 17h/19h HD Audio Controller Pro [vol: 1.00]
 │
 ├─ Source endpoints:
 │
 └─ Streams:

Video
 ├─ Devices:
 │
 ├─ Sinks:
 │
 ├─ Sink endpoints:
 │
 ├─ Sources:
 │
 ├─ Source endpoints:
 │
 └─ Streams:

Settings
 └─ Default Configured Node Names:
         0. Audio/Sink alsa_output.pci-0000_05_00.1.hdmi-stereo-extra3
         1. Audio/Source alsa_input.usb-0b0e_Jabra_SPEAK_510_USB_501AA56BAD8E020A00-00.mono-fallback
```
There is no obvious change in this output after a suspend-to-RAM (and non-working audio).

ProblemType: Bug
DistroRelease: Ubuntu 22.10
Package: alsa-base 1.0.25+dfsg-0ubuntu7
ProcVersionSignature: Ubuntu 5.19.0-31.32-generic 5.19.17
Uname: Linux 5.19.0-31-generic x86_64
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: KDE
Date: Thu Feb 9 16:46:09 2023
InstallationDate: Installed on 2023-02-01 (7 days ago)
InstallationMedia: Kubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=de:en_US
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_CH.UTF-8
 SHELL=/bin/bash
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
SourcePackage: alsa-driver
Symptom: audio
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/29/2022
dmi.bios.release: 5.24
dmi.bios.vendor: American Megatrends International, LLC.
dmi.bios.version: GTR6_P5C4V19
dmi.board.asset.tag: Default string
dmi.board.name: GTR
dmi.board.vendor: AZW
dmi.board.version: V02
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: dmi:bvnAmericanMegatrendsInternational,LLC.:bvrGTR6_P5C4V19:bd12/29/2022:br5.24:svnAZW:pnGTR:pvrV02:rvnAZW:rnGTR:rvrV02:cvnDefaultstring:ct3:cvrDefaultstring:skuDefaultstring:
dmi.product.family: Default string
dmi.product.name: GTR
dmi.product.sku: Default string
dmi.product.version: V02
dmi.sys.vendor: AZW

Revision history for this message
Michael (auslands-kv) wrote :
affects: ubuntu → alsa-driver (Ubuntu)
Revision history for this message
Michael (auslands-kv) wrote :

So, just to try something, I installed kernel 6.2rc8 from Ubuntu kernel PPA. And... Problem fixed!!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.