Page 1 of 1

SOLVED - MX23.3 KDE - Lost audio after updating

Posted: Fri Jul 26, 2024 3:30 am
by grelos
System info:

Code: Select all

[CODE]System:
  Kernel: 6.1.0-23-amd64 [6.1.99-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/vmlinuz-6.1.0-23-amd64 root=UUID=<filter> ro quiet splash
  Desktop: KDE Plasma v: 5.27.5 wm: kwin_x11 vt: 7 dm: SDDM Distro: MX-23.3_KDE_x64 Libretto May
    19 2024 base: Debian GNU/Linux 12 (bookworm)
Machine:
  Type: Desktop Mobo: ASRock model: A300M-STX serial: <superuser required>
    UEFI: American Megatrends v: P3.60 date: 10/28/2019
CPU:
  Info: model: AMD Ryzen 5 3400G with Radeon Vega Graphics bits: 64 type: MT MCP arch: Zen/Zen+
    note: check gen: 1 level: v3 note: check built: 2019 process: GF 12nm family: 0x17 (23)
    model-id: 0x18 (24) stepping: 1 microcode: 0x8108102
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache: L1: 384 KiB
    desc: d-4x32 KiB; i-4x64 KiB L2: 2 MiB desc: 4x512 KiB L3: 4 MiB desc: 1x4 MiB
  Speed (MHz): avg: 1400 min/max: 1400/3700 boost: enabled scaling: driver: acpi-cpufreq
    governor: ondemand cores: 1: 1400 2: 1400 3: 1400 4: 1400 5: 1400 6: 1400 7: 1400 8: 1400
    bogomips: 59198
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT vulnerable
  Type: spec_rstack_overflow mitigation: safe RET
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines; IBPB: conditional; STIBP: disabled; RSB filling;
    PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Picasso/Raven 2 [Radeon Vega Series / Radeon Mobile Series] driver: amdgpu
    v: kernel arch: GCN-5 code: Vega process: GF 14nm built: 2017-20 pcie: gen: 3 speed: 8 GT/s
    lanes: 16 ports: active: HDMI-A-1 empty: DP-1,DP-2,DP-3 bus-ID: 05:00.0 chip-ID: 1002:15d8
    class-ID: 0300 temp: 46.0 C
  Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 compositor: kwin_x11 driver: X:
    loaded: amdgpu unloaded: fbdev,modesetting,radeon,vesa dri: radeonsi gpu: amdgpu display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22") s-diag: 582mm (22.93")
  Monitor-1: HDMI-A-1 mapped: HDMI-A-0 model: Acer SA270 serial: <filter> built: 2021
    res: 1920x1080 hz: 75 dpi: 82 gamma: 1.2 size: 598x336mm (23.54x13.23") diag: 686mm (27")
    ratio: 16:9 modes: max: 1920x1080 min: 720x400
  API: OpenGL v: 4.6 Mesa 23.1.2-1~mx23ahs renderer: AMD Radeon Vega 11 Graphics (raven LLVM
    15.0.6 DRM 3.49 6.1.0-23-amd64) direct-render: Yes
Audio:
  Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel v: kernel pcie: gen: 3
    speed: 8 GT/s lanes: 16 bus-ID: 05:00.1 chip-ID: 1002:15de class-ID: 0403
  Device-2: AMD Family 17h/19h HD Audio vendor: ASRock driver: snd_hda_intel v: kernel pcie:
    gen: 3 speed: 8 GT/s lanes: 16 bus-ID: 05:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.1.0-23-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel modules: wl pcie: gen: 2 speed: 5 GT/s
    lanes: 1 bus-ID: 03:00.0 chip-ID: 8086:2723 class-ID: 0280
  IF: wlan0 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASRock driver: r8169
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 04:00.0 chip-ID: 10ec:8168
    class-ID: 0200
  IF: eth0 state: down mac: <filter>
Bluetooth:
  Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-3.1:8 chip-ID: 8087:0029
    class-ID: e001
  Report: hciconfig ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 3.0 lmp-v: 5.2
    sub-v: 2090 hci-v: 5.2 rev: 2090
  Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch sniff link-mode: peripheral accept
    service-classes: rendering, capturing, object transfer, audio, telephony
Drives:
  Local Storage: total: 8.64 TiB used: 111.62 GiB (1.3%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Kingston model: SA2000M8250G size: 232.89 GiB
    block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: S5Z42105 temp: 39.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:4 vendor: Kingston model: SA2000M8250G size: 232.89 GiB
    block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: S5Z42105 temp: 43.9 C scheme: GPT
  ID-3: /dev/sda maj-min: 8:0 vendor: Toshiba model: HDWL120 size: 1.82 TiB block-size:
    physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter> rev: 0A
    scheme: GPT
  ID-4: /dev/sdb maj-min: 8:16 type: USB vendor: Seagate model: Expansion size: 3.64 TiB
    block-size: physical: 4096 B logical: 512 B type: N/A serial: <filter> rev: 0712 scheme: GPT
  ID-5: /dev/sdc maj-min: 8:32 vendor: Toshiba model: MQ04ABF100 size: 931.51 GiB block-size:
    physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5400 serial: <filter> rev: 2E
    scheme: GPT
  ID-6: /dev/sdd maj-min: 8:48 type: USB vendor: Seagate model: ST2000LM015-2E8174 size: 1.82 TiB
    block-size: physical: 4096 B logical: 512 B type: HDD rpm: 5400 serial: <filter> rev: 2501
    scheme: GPT
Partition:
  ID-1: / raw-size: 231.62 GiB size: 226.92 GiB (97.97%) used: 111.35 GiB (49.1%) fs: ext4
    dev: /dev/dm-0 maj-min: 253:0 mapped: luks-<filter>
  ID-2: /boot raw-size: 1024 MiB size: 973.4 MiB (95.06%) used: 278.9 MiB (28.7%) fs: ext4
    dev: /dev/nvme1n1p2 maj-min: 259:6
  ID-3: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 274 KiB (0.1%) fs: vfat
    dev: /dev/nvme1n1p1 maj-min: 259:5
Swap:
  Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 5 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
Sensors:
  System Temperatures: cpu: 45.2 C mobo: N/A gpu: amdgpu temp: 45.0 C
  Fan Speeds (RPM): N/A
Repos:
  Packages: pm: dpkg pkgs: 2608 libs: 1385 tools: apt,apt-get,aptitude,nala pm: rpm pkgs: 0
    pm: flatpak pkgs: 0
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
    1: deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/megasync.list
    1: deb [signed-by=/usr/share/keyrings/meganz-archive-keyring.gpg] https://mega.nz/linux/repo/Debian_12/ ./
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb http://nl.mxrepo.com/mx/repo/ bookworm main non-free
    2: deb http://nl.mxrepo.com/mx/repo/ bookworm ahs
Info:
  Processes: 277 Uptime: 5m wakeups: 1 Memory: 21.43 GiB used: 1.48 GiB (6.9%) Init: SysVinit
  v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI
[/code]

Upon booting audio is disabled:

https://i.imgur.com/Qj0KAjH.png

When going into PulseAudio settings I see this:

https://i.imgur.com/TwpKxnf.png

The Family17h/19h is my audio controller. In the past it happened already that audio was disabled at start-up, however another reboot fixed it.
Now, when I try to change the Audio Controller Profile (see last screenshot) I see:
- Analog Stereo Duplex (unavailable)
- Analog Stero Output (unplugged) (unavailable)

I played a bit with these settings at no avail.

Any idea how to debug it? Actually this is a major issue for me, if I can't find a way to fix it I need to change distro which is something I am really not happy about.

Thanks.

Re: MX23.3 KDE - Lost audio after updating

Posted: Fri Jul 26, 2024 7:21 am
by grelos
here more details on the audio controller:

Code: Select all

05:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
        Subsystem: ASRock Incorporation Family 17h/19h HD Audio Controller
        Flags: bus master, fast devsel, latency 0, IRQ 105, IOMMU group 14
        Memory at fca80000 (32-bit, non-prefetchable) [size=32K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

Re: MX23.3 KDE - Lost audio after updating

Posted: Fri Jul 26, 2024 7:29 am
by j2mcgreg
Use MXPI to install one of the available Liquorix kernels. There's ample evidence here in the forums that many issues including audio problems can be solved by using a Liquorix kernel with Ryzen based systems.

Re: MX23.3 KDE - Lost audio after updating

Posted: Fri Jul 26, 2024 7:57 am
by dolphin_oracle
first check to see if only one instance of wireplumber is running.

Code: Select all

ps -aux |grep wireplumber |grep -v grep
you should also be able to roll back to the 6.1.0-22 kernel. we haven't updated pipewire, so kernel driver is a good place to start, and unless you've removed it, -22 should still be installed.

Re: MX23.3 KDE - Lost audio after updating

Posted: Fri Jul 26, 2024 8:45 am
by asinoro
If another kernel does not help, boot from systemd and check!
2: deb http://nl.mxrepo.com/mx/repo/ bookworm ahs
Info:
Processes: 277 Uptime: 5m wakeups: 1 Memory: 21.43 GiB used: 1.48 GiB (6.9%) Init: SysVinit

Re: MX23.3 KDE - Lost audio after updating

Posted: Fri Jul 26, 2024 9:14 am
by grelos
rolling back fixed it. Thanks.