Thanks again, I will step by step try these various commands, after I had the problem again.
Now I'm starting to think that maybe there is somehow a connection with an Avantree usb-stick (DG-60), working as bluetooth dongle / audio transmitter. I'm using it from time to time but not these last days. Hence I need to test all this over a couple of days. I'll give a feedback for sure.
Audio totally disappearing randomly
-
- Posts: 29
- Joined: Sun Sep 10, 2023 8:54 pm
Re: Audio totally disappearing randomly
So here the first feedback, more will follow.
2-3 days passed without the audio to disappear and then it happened again, without having used the Avantree USB stick (mentionned above). So this rules out this cause. Then already a big thangs to Dolphin, who is always pointing in a good direction, which I appreciate very much. Very likely the cause will remain to be discovered but it's already great not to have to log out and in again (having to save all open stuff and log in everywhere again), to regain a working audio functionality. So a single liner, as Dolphin suggested, takes care of the proper resetting:
2-3 days passed without the audio to disappear and then it happened again, without having used the Avantree USB stick (mentionned above). So this rules out this cause. Then already a big thangs to Dolphin, who is always pointing in a good direction, which I appreciate very much. Very likely the cause will remain to be discovered but it's already great not to have to log out and in again (having to save all open stuff and log in everywhere again), to regain a working audio functionality. So a single liner, as Dolphin suggested, takes care of the proper resetting:
Now remains to somehow find out, what causes pipewire and / or wireplumber to malfunction? Any clue?dolphin_oracle wrote: Sun Jan 21, 2024 11:07 pm try resetting pipewire
Code: Select all
pkill pipewire; pkill pipewire-pulse;pkill wireplumber; pipewire-start
Re: Audio totally disappearing randomly
If it was just after a suspend & wake up it would be easy (we would make that command auto-issued , also it would be easy to understand why it stops working..). Till then, as you might already know, you can create hotkey(s) and/or launcher with that command, then just press your key(s) or click the icon on panel etc...
Re: Audio totally disappearing randomly
Getting an "Audio" section of your QSI when the sound has gone missing could be of some help. Both the Nvidia and integrated sound chip are using the intel snd driver, though.
MXPI = MX Package Installer
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing
QSI = Quick System Info from menu
The MX Test repository is mostly backports; not the same as Debian testing
Re: Audio totally disappearing randomly
deleted
Last edited by MXRobo on Mon Jan 29, 2024 12:57 pm, edited 1 time in total.
-
- Posts: 29
- Joined: Sun Sep 10, 2023 8:54 pm
Re: Audio totally disappearing randomly
Presently I can add this information. Just typing pipewire-start is already enough to have the audio comming back.
Follows a couple of warnings and infos:
Follows a couple of warnings and infos:
Code: Select all
[34:52:13.031998439] [86541] WARN IPAManager ipa_manager.cpp:154 No IPA found in '/usr/lib/x86_64-linux-gnu/libcamera'
[34:52:13.032045520] [86541] INFO Camera camera_manager.cpp:299 libcamera v0.0.3
W 16:54:33.021251 m-portal-permissio ../modules/module-portal-permissionstore.c:63:wp_portal_permissionstore_plugin_lookup: <WpPortalPermissionStorePlugin:0x561bc1d9d710> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
[34:52:14.041446996] [40279] WARN IPAManager ipa_manager.cpp:154 No IPA found in '/usr/lib/x86_64-linux-gnu/libcamera'
[34:52:14.041504762] [40279] INFO Camera camera_manager.cpp:299 libcamera v0.0.3
W 16:54:33.108084 m-portal-permissio ../modules/module-portal-permissionstore.c:63:wp_portal_permissionstore_plugin_lookup: <WpPortalPermissionStorePlugin:0x561bc1d9d710> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
W 16:54:33.108888 m-portal-permissio ../modules/module-portal-permissionstore.c:63:wp_portal_permissionstore_plugin_lookup: <WpPortalPermissionStorePlugin:0x561bc1d9d710> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
[W][25536.347792] mod.protocol-pulse | [ reply.c: 54 reply_error()] client 0x55b23922fdf0 [VLC media player (LibVLC 3.0.20)]: ERROR command:-1 (invalid) tag:4 error:25 (Input/output error)
[W][25536.356912] mod.protocol-pulse | [ reply.c: 54 reply_error()] client 0x55b23922fdf0 [VLC media player (LibVLC 3.0.20)]: ERROR command:-1 (invalid) tag:5 error:25 (Input/output error)
[W][25536.374785] mod.protocol-pulse | [ reply.c: 54 reply_error()] client 0x55b23922fdf0 [VLC media player (LibVLC 3.0.20)]: ERROR command:-1 (invalid) tag:7 error:25 (Input/output error)
M 16:54:33.149185 m-lua-scripting ../modules/module-lua-scripting/api/api.c:387:object_activate_done: <WpSiStandardLink:0x561bc1d99610> item deactivated before format set
$ [W][25616.448130] mod.protocol-pulse | [ reply.c: 54 reply_error()] client 0x55b239b2c580 [VLC media player (LibVLC 3.0.20)]: ERROR command:-1 (invalid) tag:4 error:25 (Input/output error)
[43:15:57.841936420] [40279] WARN IPAManager ipa_manager.cpp:154 No IPA found in '/usr/lib/x86_64-linux-gnu/libcamera'
[43:15:57.842026406] [40279] INFO Camera camera_manager.cpp:299 libcamera v0.0.3
W 01:18:16.831787 m-portal-permissio ../modules/module-portal-permissionstore.c:63:wp_portal_permissionstore_plugin_lookup: <WpPortalPermissionStorePlugin:0x561bc1d9d710> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
W 01:18:16.866999 m-portal-permissio ../modules/module-portal-permissionstore.c:63:wp_portal_permissionstore_plugin_lookup: <WpPortalPermissionStorePlugin:0x561bc1d9d710> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera
-
- Posts: 29
- Joined: Sun Sep 10, 2023 8:54 pm
Re: Audio totally disappearing randomly
Stevo wrote: Tue Jan 23, 2024 11:39 pm Getting an "Audio" section of your QSI when the sound has gone missing could be of some help. Both the Nvidia and integrated sound chip are using the intel snd driver, though.
Code: Select all
Audio:
Device-1: Intel 9 Series Family HD Audio vendor: Gigabyte 9 driver: snd_hda_intel v: kernel
bus-ID: 2-6.1:36 chip-ID: 046d:081b bus-ID: 00:1b.0 class-ID: 0102 chip-ID: 8086:8ca0
class-ID: 0403 serial: <filter>
Device-2: NVIDIA GF119 HDMI Audio vendor: PC Partner / Sapphire driver: snd_hda_intel v: kernel
pcie: gen: 2 speed: 5 GT/s lanes: 16 bus-ID: 01:00.1 chip-ID: 10de:0e08 class-ID: 0403
Device-3: Logitech Webcam C310 type: USB driver: snd-usb-audio,uvcvideo
API: ALSA v: k6.1.0-17-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: off 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
tools: pactl,pw-cat,pw-cli,wpctl

EDIT:
"WirePlumber manages and routes videos and audio streams to appropriate channels. It’s also a policy manager which makes decisions about how the video and audio are handled.
For instance, when we record audio on a browser, WirePlumber detects the available audio recording devices attached to the system. Then, it decides where to route the audio stream. In the case of mic disconnection, WirePlumber channels the audio stream from another input device."
Source: https://www.baeldung.com/linux/pulseaud ... re-replace
Though it's not helping me much.

EDIT 2:
That's even a better definition...
"WirePlumber is a modular session / policy manager for PipeWire and a GObject-based high-level library that wraps PipeWire’s API, providing convenience for writing the daemon’s modules as well as external tools for managing PipeWire."

Source: https://pipewire.pages.freedesktop.org/wireplumber/