hdmi audio not working after suspend to ram
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-
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:
object.serial = "0"
core.name = "pipewire-0"
id 1, type PipeWire:
object.serial = "1"
module.name = "libpipewire-
id 2, type PipeWire:
object.serial = "2"
module.name = "libpipewire-
id 3, type PipeWire:
object.serial = "3"
module.name = "libpipewire-
id 4, type PipeWire:
object.serial = "4"
id 5, type PipeWire:
object.serial = "5"
module.name = "libpipewire-
id 6, type PipeWire:
object.serial = "6"
module.id = "5"
factory.name = "metadata"
factory.
factory.
id 7, type PipeWire:
object.serial = "7"
module.name = "libpipewire-
id 8, type PipeWire:
object.serial = "8"
module.id = "7"
factory.name = "spa-device-
factory.
factory.
id 9, type PipeWire:
object.serial = "9"
module.name = "libpipewire-
id 10, type PipeWire:
object.serial = "10"
module.id = "9"
factory.name = "spa-node-factory"
factory.
factory.
id 11, type PipeWire:
object.serial = "11"
module.name = "libpipewire-
id 12, type PipeWire:
object.serial = "12"
module.id = "11"
factory.name = "client-node"
factory.
factory.
id 13, type PipeWire:
object.serial = "13"
module.name = "libpipewire-
id 14, type PipeWire:
object.serial = "14"
module.id = "13"
factory.name = "client-device"
factory.
factory.
id 15, type PipeWire:
object.serial = "15"
module.name = "libpipewire-
id 16, type PipeWire:
object.serial = "16"
module.name = "libpipewire-
id 17, type PipeWire:
object.serial = "17"
module.name = "libpipewire-
id 18, type PipeWire:
object.serial = "18"
module.id = "17"
factory.name = "adapter"
factory.
factory.
id 19, type PipeWire:
object.serial = "19"
module.name = "libpipewire-
id 20, type PipeWire:
object.serial = "20"
module.id = "19"
factory.name = "link-factory"
factory.
factory.
id 21, type PipeWire:
object.serial = "21"
module.name = "libpipewire-
id 22, type PipeWire:
object.serial = "22"
module.id = "21"
factory.name = "client-endpoint"
factory.
factory.
id 23, type PipeWire:
object.serial = "23"
module.id = "21"
factory.name = "client-session"
factory.
factory.
id 24, type PipeWire:
object.serial = "24"
module.id = "21"
factory.name = "session"
factory.
factory.
id 25, type PipeWire:
object.serial = "25"
module.id = "21"
factory.name = "endpoint"
factory.
factory.
id 26, type PipeWire:
object.serial = "26"
module.id = "21"
factory.name = "endpoint-stream"
factory.
factory.
id 27, type PipeWire:
object.serial = "27"
module.id = "21"
factory.name = "endpoint-link"
factory.
factory.
id 28, type PipeWire:
object.serial = "28"
factory.id = "10"
priority.driver = "20000"
node.name = "Dummy-Driver"
id 29, type PipeWire:
object.serial = "29"
factory.id = "10"
priority.driver = "19000"
node.name = "Freewheel-Driver"
id 30, type PipeWire:
object.serial = "30"
metadata.name = "settings"
id 31, type PipeWire:
object.serial = "48"
object.path = "alsa:pcm:
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.
node.nick = "ALC269VB Analog"
media.class = "Audio/Sink"
id 32, type PipeWire:
object.serial = "32"
module.id = "2"
pipewire.
pipewire.sec.pid = "2214"
pipewire.sec.uid = "1000"
pipewire.sec.gid = "1000"
pipewire.
pipewire.access = "unrestricted"
application.name = "pipewire"
id 33, type PipeWire:
object.serial = "34"
module.id = "2"
pipewire.
pipewire.sec.pid = "2213"
pipewire.sec.uid = "1000"
pipewire.sec.gid = "1000"
pipewire.
pipewire.access = "unrestricted"
application.name = "WirePlumber"
id 34, type PipeWire:
object.serial = "35"
module.id = "2"
pipewire.
pipewire.sec.pid = "2213"
pipewire.sec.uid = "1000"
pipewire.sec.gid = "1000"
pipewire.
pipewire.access = "unrestricted"
application.name = "WirePlumber [export]"
id 35, type PipeWire:
factory.id = "6"
module.id = "5"
metadata.name = "default"
client.id = "33"
object.serial = "36"
id 36, type PipeWire:
metadata.name = "route-settings"
factory.id = "6"
module.id = "5"
client.id = "33"
object.serial = "37"
id 37, type PipeWire:
object.serial = "38"
factory.id = "10"
client.id = "34"
node.name = "Midi-Bridge"
media.class = "Midi/Bridge"
id 38, type PipeWire:
object.serial = "39"
object.path = "alsa:seq:
format.dsp = "8 bit raw midi"
node.id = "37"
port.id = "0"
port.name = "Midi Through:
port.direction = "in"
port.physical = "true"
port.terminal = "true"
port.alias = "Midi Through:Midi Through Port-0"
id 39, type PipeWire:
object.serial = "40"
object.path = "alsa:seq:
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:
object.serial = "41"
factory.id = "14"
client.id = "34"
device.api = "alsa"
device.
device.name = "alsa_card.
device.nick = "HD-Audio Generic"
media.class = "Audio/Device"
id 41, type PipeWire:
object.serial = "42"
factory.id = "14"
client.id = "34"
device.api = "alsa"
device.
device.name = "alsa_card.
device.nick = "HD-Audio Generic"
media.class = "Audio/Device"
id 42, type PipeWire:
object.serial = "52"
object.path = "alsa:pcm:
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:
id 43, type PipeWire:
object.serial = "50"
object.path = "alsa:pcm:
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:
id 44, type PipeWire:
object.serial = "51"
object.path = "alsa:pcm:
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:
object.serial = "49"
object.path = "alsa:pcm:
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.
node.nick = "ALC269VB Analog"
media.class = "Audio/Source"
id 46, type PipeWire:
object.serial = "47"
object.path = "alsa:pcm:
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.
node.nick = "BenQ EX3410R"
media.class = "Audio/Sink"
id 47, type PipeWire:
object.serial = "53"
object.path = "alsa:pcm:
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:
object.serial = "54"
object.path = "alsa:pcm:
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:
id 49, type PipeWire:
object.serial = "55"
object.path = "alsa:pcm:
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:
id 50, type PipeWire:
object.serial = "56"
object.path = "alsa:pcm:
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:
id 51, type PipeWire:
object.serial = "57"
object.path = "alsa:pcm:
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:
id 52, type PipeWire:
object.serial = "58"
object.path = "alsa:pcm:
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:
id 53, type PipeWire:
object.serial = "59"
object.path = "alsa:pcm:
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:
id 54, type PipeWire:
object.serial = "60"
module.id = "2"
pipewire.
pipewire.sec.pid = "2735"
pipewire.sec.uid = "1000"
pipewire.sec.gid = "1000"
pipewire.
pipewire.access = "unrestricted"
application.name = "xdg-desktop-
id 55, type PipeWire:
object.serial = "61"
module.id = "2"
pipewire.
pipewire.sec.pid = "2214"
pipewire.sec.uid = "1000"
pipewire.sec.gid = "1000"
pipewire.
pipewire.access = "unrestricted"
application.name = "Plasma-PulseAudio"
id 56, type PipeWire:
object.serial = "63"
module.id = "2"
pipewire.
pipewire.sec.pid = "2995"
pipewire.sec.uid = "1000"
pipewire.sec.gid = "1000"
pipewire.
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.
1. Audio/Source alsa_input.
```
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+
ProcVersionSign
Uname: Linux 5.19.0-31-generic x86_64
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
CasperMD5CheckR
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)
PackageArchitec
ProcEnviron:
LANGUAGE=de:en_US
PATH=(custom, no user)
XDG_RUNTIME_
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.
dmi.board.name: GTR
dmi.board.vendor: AZW
dmi.board.version: V02
dmi.chassis.
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.
dmi.modalias: dmi:bvnAmerican
dmi.product.family: Default string
dmi.product.name: GTR
dmi.product.sku: Default string
dmi.product.
dmi.sys.vendor: AZW
affects: | ubuntu → alsa-driver (Ubuntu) |
So, just to try something, I installed kernel 6.2rc8 from Ubuntu kernel PPA. And... Problem fixed!!