Today's pipewire updates seem to have broken audio in Telegram desktop  [Solved]

Help with the version of MX KDE officially released by the Development Team.
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
User avatar
paul1149
Posts: 526
Joined: Fri Dec 29, 2017 11:39 am

Today's pipewire updates seem to have broken audio in Telegram desktop

#1 Post by paul1149 »

I'm still getting audio fine in Vivaldi and SMPlayer, but suddenly Telegram Desktop (up to date, version 4.12.2) has gone silent. It doesn't show at all under the Applications tab of the Volume Control.

I think went to the MXPI / Test repo, and updated all installed pipewire entries there. Restarted Telegram, still did not help.

The updates this morning are the only thing I can think of that would do this.

Any thoughts?

Code: Select all

System:
  Kernel: 6.1.0-13-amd64 [6.1.55-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-13-amd64 root=UUID=<filter> ro quiet splash
  Desktop: KDE Plasma v: 5.27.5 wm: kwin_x11 vt: 7 dm: SDDM Distro: MX-23.1_KDE_x64 Libretto
    October 15 2023 base: Debian GNU/Linux 12 (bookworm)
Machine:
  Type: Desktop Mobo: Micro-Star model: MAG B550 TOMAHAWK (MS-7C91) v: 2.0
    serial: <superuser required> UEFI: American Megatrends LLC. v: A.F0 date: 10/19/2023
CPU:
  Info: model: AMD Ryzen 5 5600X bits: 64 type: MT MCP arch: Zen 3+ gen: 4 level: v3 note: check
    built: 2022 process: TSMC n6 (7nm) family: 0x19 (25) model-id: 0x21 (33) stepping: 0
    microcode: 0xA20102B
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache: L1: 384 KiB
    desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB L3: 32 MiB desc: 1x32 MiB
  Speed (MHz): avg: 2199 high: 2200 min/max: 2200/4650 boost: enabled scaling:
    driver: acpi-cpufreq governor: ondemand cores: 1: 2199 2: 2200 3: 2199 4: 2200 5: 2198 6: 2199
    7: 2199 8: 2199 9: 2200 10: 2199 11: 2200 12: 2198 bogomips: 88795
  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: retbleed status: Not affected
  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, IBRS_FW, STIBP: always-on, RSB
    filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Lexa PRO [Radeon 540/540X/550/550X / RX 540X/550/550X] driver: amdgpu v: kernel
    arch: GCN-4 code: Arctic Islands process: GF 14nm built: 2016-20 pcie: gen: 3 speed: 8 GT/s
    lanes: 8 ports: active: DVI-D-1,HDMI-A-1 empty: none bus-ID: 2b:00.0 chip-ID: 1002:699f
    class-ID: 0300 temp: 37.0 C
  Device-2: Sunplus Innovation SPCA2281 Web Camera type: USB driver: snd-usb-audio,uvcvideo
    bus-ID: 1-5.4.3:7 chip-ID: 1bcf:2281 class-ID: 0102
  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,vesa dri: radeonsi gpu: amdgpu display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 2720x1024 s-dpi: 96 s-size: 719x270mm (28.31x10.63") s-diag: 768mm (30.24")
  Monitor-1: DVI-D-1 mapped: DVI-D-0 pos: top-left model: ViewSonic VP191b serial: <filter>
    built: 2004 res: 1280x1024 hz: 60 dpi: 86 gamma: 1.2 size: 376x310mm (14.8x12.2")
    diag: 487mm (19.2") ratio: 5:4 modes: max: 1280x1024 min: 720x400
  Monitor-2: HDMI-A-1 mapped: HDMI-A-0 pos: primary,bottom-r model: Dell SE198WFP
    serial: <filter> built: 2008 res: 1440x900 hz: 60 dpi: 90 gamma: 1.2
    size: 408x255mm (16.06x10.04") diag: 481mm (18.9") ratio: 16:10 modes: max: 1440x900
    min: 720x400
  API: OpenGL v: 4.6 Mesa 23.1.2-1~mx23ahs renderer: AMD Radeon RX 550 / 550 Series (polaris12
    LLVM 15.0.6 DRM 3.49 6.1.0-13-amd64) direct-render: Yes
Audio:
  Device-1: AMD Baffin HDMI/DP Audio [Radeon RX 550 640SP / 560/560X] driver: snd_hda_intel
    v: kernel pcie: bus-ID: 1-5.4.3:7 chip-ID: 1bcf:2281 gen: 3 class-ID: 0102 speed: 8 GT/s lanes: 8
    bus-ID: 2b:00.1 chip-ID: 1002:aae0 class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
    pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 2d:00.4 chip-ID: 1022:1487 class-ID: 0403
  Device-3: Sunplus Innovation SPCA2281 Web Camera type: USB driver: snd-usb-audio,uvcvideo
  API: ALSA v: k6.1.0-13-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: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Micro-Star MSI
    driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: e000 bus-ID: 05:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  Device-2: Realtek RTL8125 2.5GbE vendor: Micro-Star MSI driver: r8169 v: kernel pcie: gen: 2
    speed: 5 GT/s lanes: 1 port: d000 bus-ID: 2a:00.0 chip-ID: 10ec:8125 class-ID: 0200
  IF: eth1 state: down mac: <filter>
Drives:
  Local Storage: total: 2.27 TiB used: 947.78 GiB (40.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:2 vendor: Samsung model: SSD 980 500GB size: 465.76 GiB
    block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 1B4QFXO7 temp: 32.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Samsung model: SSD 970 EVO Plus 1TB size: 931.51 GiB
    block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 4B2QEXM7 temp: 33.9 C scheme: GPT
  ID-3: /dev/sda maj-min: 8:0 vendor: Western Digital model: WD10EZEX-00UJTA0 size: 931.51 GiB
    block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: N/A serial: <filter> rev: 1A01
    scheme: GPT
Partition:
  ID-1: / raw-size: 38.96 GiB size: 38.06 GiB (97.67%) used: 15.33 GiB (40.3%) fs: ext4
    dev: /dev/nvme0n1p2 maj-min: 259:4
  ID-2: /boot/efi raw-size: 500 MiB size: 499 MiB (99.80%) used: 568 KiB (0.1%) fs: vfat
    dev: /dev/nvme0n1p1 maj-min: 259:3
  ID-3: /home raw-size: 408.16 GiB size: 400.69 GiB (98.17%) used: 33.04 GiB (8.2%) fs: ext4
    dev: /dev/nvme0n1p3 maj-min: 259:5
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 50.9 C mobo: N/A gpu: amdgpu temp: 37.0 C
  Fan Speeds (RPM): N/A
Repos:
  Packages: 2947 pm: dpkg pkgs: 2941 libs: 1723 tools: apt,apt-get,aptitude,nala pm: rpm pkgs: 0
    pm: flatpak pkgs: 6
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
    1: deb [arch=amd64] 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://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bookworm main non-free
    2: deb http://mirrors.rit.edu/mxlinux/mx-packages/mx/repo/ bookworm ahs
  Active apt repos in: /etc/apt/sources.list.d/nextdns.list
    1: deb [signed-by=/etc/apt/keyrings/nextdns.gpg] https://repo.nextdns.io/deb stable main
  Active apt repos in: /etc/apt/sources.list.d/syncthing.list
    1: deb https://apt.syncthing.net/ syncthing stable
  Active apt repos in: /etc/apt/sources.list.d/vivaldi-snapshot.list
    1: deb [arch=amd64] https://repo.vivaldi.com/snapshot/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/zulu-openJDK.list
    1: deb [arch=amd64] http://repos.azulsystems.com/debian stable main
  Active apt repos in: /etc/apt/sources.list.d/zulu-openjdk.list
    1: deb [ arch=amd64 ] https://repos.azul.com/zulu/deb/ stable main
Info:
  Processes: 352 Uptime: 1h 39m wakeups: 1 Memory: 15.54 GiB used: 6.32 GiB (40.6%) 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
MX-19-KDE x64, on Ryzen 5, 16GB RAM, SSD. Nvidia graphics.

User avatar
Stevo
Developer
Posts: 14747
Joined: Fri Dec 15, 2006 7:07 pm

Re: Today's pipewire updates seem to have broken audio in Telegram desktop

#2 Post by Stevo »

How was this Telegram application installed?

If while sound is supposed to be output from the app, can you also try playing something in SMPlayer, then right click you volume control in the taskbar, Configure Audio Devices, Output, and see if Telegram's sending it to another device (though Device 1 and 2 seems to be the same card)?
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing

User avatar
AVLinux
Posts: 3098
Joined: Wed Jul 15, 2020 1:15 am

Re: Today's pipewire updates seem to have broken audio in Telegram desktop

#3 Post by AVLinux »

After all of those PW updates from MX-Test you might want to do a reboot, there are a few notable changes in how the PipeWire packages are handled and new config files etc.. Might be worth trying on a fresh new boot

User avatar
paul1149
Posts: 526
Joined: Fri Dec 29, 2017 11:39 am

Re: Today's pipewire updates seem to have broken audio in Telegram desktop

#4 Post by paul1149 »

I believe it was installed via https://github.com/telegramdesktop/tdes ... me-ov-file. After that I enabled the beta track. Everything has been fine for a long time, and there were no updates in maybe a week.

I've now rebooted, and no longer have any sound at all. The Volume Control is crossed out and says 'no input or output devices found". The System Settings / Audio page is completely blank.
MX-19-KDE x64, on Ryzen 5, 16GB RAM, SSD. Nvidia graphics.

User avatar
dolphin_oracle
Developer
Posts: 22511
Joined: Sun Dec 16, 2007 12:17 pm

Re: Today's pipewire updates seem to have broken audio in Telegram desktop

#5 Post by dolphin_oracle »

at the moment I cannot duplicate the issue. telegram-desktop is still playing audio after the pipewire updates. I did reboot though.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

User avatar
paul1149
Posts: 526
Joined: Fri Dec 29, 2017 11:39 am

Re: Today's pipewire updates seem to have broken audio in Telegram desktop

#6 Post by paul1149 »

Well, this is surprising. I thought to Remove all things pipewire and then install from the main repo, and hopefully at least get Vivaldi and SMPlayer back. So I remove them, reboot, and now everything is working!

BUT, I have no pipewire installed. I'm thinking that that's not a good state of affairs? I have no idea what it does. I do use OBS Studio if that's important. If I were to reinstall pipewire, would I simply use the 'pipewire-audio' package, which I think is a composite of all the others?
MX-19-KDE x64, on Ryzen 5, 16GB RAM, SSD. Nvidia graphics.

User avatar
dolphin_oracle
Developer
Posts: 22511
Joined: Sun Dec 16, 2007 12:17 pm

Re: Today's pipewire updates seem to have broken audio in Telegram desktop

#7 Post by dolphin_oracle »

use pipewire-setup-mx, as otherwise some setup items on sysVinit will not be present and pipewire will not launch.

depending on you removed pipewire, pulseaudio was probably installed in pipewire's place. nothing wrong with using pulseaudio
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

User avatar
MadMax
Posts: 483
Joined: Wed Aug 04, 2021 3:25 pm

Re: Today's pipewire updates seem to have broken audio in Telegram desktop

#8 Post by MadMax »

Not updated yet, but I noticed the update wants to pull in a new pipewire dependency even though I removed pipewire from my system, too (libpipewire-0.3-0 happened to be unremovable back then). Apparently this comes from the update to pipewire 1.0. I suspect the dependency got added to either libpipewire-0.3-0 or libspa-0.2-modules.

Code: Select all

Die folgenden NEUEN Pakete werden installiert:
     libpipewire-0.3-common (1.0.0-1~mx23+1)
  Die folgenden Pakete werden aktualisiert (Upgrade):
...
     libpipewire-0.3-0 (0.3.65-3 => 1.0.0-1~mx23+1)
     libspa-0.2-modules (0.3.65-3 => 1.0.0-1~mx23+1)
...
From my understanding this SHOULD not break anything since they are only libs, but you never know :p
After the last update disaster with the faulty kernel I will postpone this update to the christmas weekend when I will have time to troubleshoot, just in case...
If it ain't broke, don't fix it.
Main: MX 23 | Second: Mint 22 | HTPC: Linux Lite 7 | VM Machine: Debian 12 | Testrig: Arch/FreeBSD 14 | Work: RHEL 8

User avatar
paul1149
Posts: 526
Joined: Fri Dec 29, 2017 11:39 am

Re: Today's pipewire updates seem to have broken audio in Telegram desktop

#9 Post by paul1149 »

Ok, thanks.

For the remove, I used 'sudo apt remove pipewire*.

Here's what had been installed before I did anything:

Code: Select all

pipewire-alsa
pipewire-audio
pipewire-bin
pipewire-jack
pipewire-pulse
pipewire-setup-mx
pipewire-v412
pipewire-mx

QSI now reveals this:

Code: Select all

API: ALSA v: k6.1.0-13-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PulseAudio v: 16.1 status: active tools: pacat,pactl,pavucontrol
rather than the previous:

Code: Select all

 API: ALSA v: k6.1.0-13-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
So I think you're correct.

I suppose if I reinstall I'll be back to a non-functioning Telegram. I think I'd prefer the pipewire setup, it seemed to be working fine. I guess if it messes up I can do the removal thing again.
MX-19-KDE x64, on Ryzen 5, 16GB RAM, SSD. Nvidia graphics.

User avatar
MadMax
Posts: 483
Joined: Wed Aug 04, 2021 3:25 pm

Re: Today's pipewire updates seem to have broken audio in Telegram desktop

#10 Post by MadMax »

I wrote a tutorial for removing pipewire and going back to pulseaudio back when MX 23 released: viewtopic.php?t=76405
tl;dr I did "sudo apt remove pipewire" (without *) and with a follow up of "sudo apt autoremove" this should have the same effect overall.

I'm not sure whether dependencies are still the same as back then. When I tried to remove libpipewire-0.3-0 today, for example, it didn't want to remove important stuff like flatpak, too.
If it ain't broke, don't fix it.
Main: MX 23 | Second: Mint 22 | HTPC: Linux Lite 7 | VM Machine: Debian 12 | Testrig: Arch/FreeBSD 14 | Work: RHEL 8

Post Reply

Return to “MX KDE Official Release”