SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** If you mute Elisa (music player) and the open a video file (haruna), it is already muted, you need to unmute it through sound apps STEPS TO REPRODUCE 1. mute elisa 2. now any video file you open is already muted (haruna or other media player) 3. need to unmute elisa or work with sound app settings OBSERVED RESULT entangled muting EXPECTED RESULT independent muting SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION Operating System: Kubuntu 23.04 KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.104.0 Qt Version: 5.15.8 Kernel Version: 6.2.0-33-generic (64-bit) Graphics Platform: X11 Processors: 12 × AMD Ryzen 5 5500U with Radeon Graphics Memory: 3.1 GiB of RAM Graphics Processor: AMD Radeon Graphics Manufacturer: HP Product Name: HP Laptop 15-ef2xxx
For step 1, how did you Mute Elisa? Are Elisa as well as the other apps that get undesirably muted all installed from Flatpak?
elisa and haruna are pre-installed with the distro (kubuntu) smplayer also affected, is installed with apt get
in order to mute elisa you clic on the speaker so that a slash line appear over that icon if the video is already open, it will not be muted, it affects the open video files after muting elisa
Which exact speaker icon are you clicking on to mute Elisa? Where exactly is it? I ask because there are several.
the speaker icon of the main window of elisa, also the speaker icon of elisa app on the panel
Thanks for the info. How exactly are you launching these apps? Can you launch all affected apps, reproduce the problem, and then paste the output of `pstree` run in a terminal window?
Proooobably the same root cause as Bug 467125.
entagled muting, happens with elisa and vlc, not with smplayer ksso@ksso:~$ pstree systemd─┬─ModemManager───3*[{ModemManager}] ├─NetworkManager───3*[{NetworkManager}] ├─accounts-daemon───3*[{accounts-daemon}] ├─avahi-daemon───avahi-daemon ├─bluetoothd ├─cron ├─cups-browsed───3*[{cups-browsed}] ├─cupsd───7*[dbus] ├─dbus-daemon ├─fwupd───5*[{fwupd}] ├─haveged ├─irqbalance───{irqbalance} ├─2*[kerneloops] ├─polkitd───3*[{polkitd}] ├─power-profiles-───3*[{power-profiles-}] ├─rsyslogd───3*[{rsyslogd}] ├─rtkit-daemon───2*[{rtkit-daemon}] ├─run-cups-browse───run-cups-browse───sleep ├─run-cupsd───cupsd ├─sddm─┬─Xorg───9*[{Xorg}] │ ├─sddm-helper───startplasma-x11─┬─ssh-agent │ │ └─{startplasma-x11} │ └─{sddm} ├─smartd ├─snapd───17*[{snapd}] ├─systemd─┬─(sd-pam) │ ├─agent───3*[{agent}] │ ├─at-spi-bus-laun─┬─dbus-daemon │ │ └─4*[{at-spi-bus-laun}] │ ├─at-spi2-registr───3*[{at-spi2-registr}] │ ├─dbus-daemon │ ├─dconf-service───3*[{dconf-service}] │ ├─gmenudbusmenupr───2*[{gmenudbusmenupr}] │ ├─kaccess───6*[{kaccess}] │ ├─kactivitymanage───5*[{kactivitymanage}] │ ├─kdeconnectd───7*[{kdeconnectd}] │ ├─kded5───14*[{kded5}] │ ├─kglobalaccel5───2*[{kglobalaccel5}] │ ├─kioslave5 │ ├─kioslave5───7*[{kioslave5}] │ ├─kscreen_backend───2*[{kscreen_backend}] │ ├─ksmserver─┬─DiscoverNotifie───7*[{DiscoverNotifie}] │ │ ├─dolphin───10*[{dolphin}] │ │ ├─qbittorrent───25*[{qbittorrent}] │ │ ├─thunderbird─┬─Isolated Web Co───24*[{Isolated Web Co}] │ │ │ ├─Web Content───24*[{Web Content}] │ │ │ └─123*[{thunderbird}] │ │ └─6*[{ksmserver}] │ ├─ksystemstats───2*[{ksystemstats}] │ ├─kwalletd5───6*[{kwalletd5}] │ ├─kwin_x11───11*[{kwin_x11}] │ ├─obexd │ ├─org_kde_powerde───6*[{org_kde_powerde}] │ ├─pipewire───{pipewire} │ ├─pipewire-pulse───{pipewire-pulse} │ ├─plasmashell─┬─dolphin───8*[{dolphin}] │ │ ├─haruna───36*[{haruna}] │ │ ├─kazam───19*[{kazam}] │ │ ├─konsole─┬─bash───pstree │ │ │ └─10*[{konsole}] │ │ ├─smplayer─┬─mpv───30*[{mpv}] │ │ │ └─7*[{smplayer}] │ │ ├─vlc───36*[{vlc}] │ │ └─29*[{plasmashell}] │ ├─polkit-kde-auth───9*[{polkit-kde-auth}] │ ├─snap───16*[{snap}] │ ├─wireplumber───4*[{wireplumber}] │ ├─xdg-desktop-por───7*[{xdg-desktop-por}] │ ├─xdg-desktop-por───4*[{xdg-desktop-por}] │ ├─xdg-desktop-por───6*[{xdg-desktop-por}] │ ├─xdg-document-po─┬─fusermount3 │ │ └─7*[{xdg-document-po}] │ ├─xdg-permission-───3*[{xdg-permission-}] │ ├─xembedsniproxy───2*[{xembedsniproxy}] │ └─xsettingsd ├─systemd-journal ├─systemd-logind ├─systemd-resolve ├─systemd-timesyn───{systemd-timesyn} ├─systemd-udevd ├─udisksd───5*[{udisksd}] ├─unattended-upgr───{unattended-upgr} ├─upowerd───3*[{upowerd}] └─wpa_supplicant ksso@ksso:~$ pstree systemd─┬─ModemManager───3*[{ModemManager}] ├─NetworkManager───3*[{NetworkManager}] ├─accounts-daemon───3*[{accounts-daemon}] ├─avahi-daemon───avahi-daemon ├─bluetoothd ├─cron ├─cups-browsed───3*[{cups-browsed}] ├─cupsd───7*[dbus] ├─dbus-daemon ├─fwupd───5*[{fwupd}] ├─haveged ├─irqbalance───{irqbalance} ├─2*[kerneloops] ├─polkitd───3*[{polkitd}] ├─power-profiles-───3*[{power-profiles-}] ├─rsyslogd───3*[{rsyslogd}] ├─rtkit-daemon───2*[{rtkit-daemon}] ├─run-cups-browse───run-cups-browse───sleep ├─run-cupsd───cupsd ├─sddm─┬─Xorg───9*[{Xorg}] │ ├─sddm-helper───startplasma-x11─┬─ssh-agent │ │ └─{startplasma-x11} │ └─{sddm} ├─smartd ├─snapd───17*[{snapd}] ├─systemd─┬─(sd-pam) │ ├─agent───3*[{agent}] │ ├─at-spi-bus-laun─┬─dbus-daemon │ │ └─4*[{at-spi-bus-laun}] │ ├─at-spi2-registr───3*[{at-spi2-registr}] │ ├─dbus-daemon │ ├─dconf-service───3*[{dconf-service}] │ ├─gmenudbusmenupr───2*[{gmenudbusmenupr}] │ ├─kaccess───6*[{kaccess}] │ ├─kactivitymanage───5*[{kactivitymanage}] │ ├─kdeconnectd───7*[{kdeconnectd}] │ ├─kded5───14*[{kded5}] │ ├─kglobalaccel5───2*[{kglobalaccel5}] │ ├─kioslave5 │ ├─kscreen_backend───2*[{kscreen_backend}] │ ├─ksmserver─┬─DiscoverNotifie───7*[{DiscoverNotifie}] │ │ ├─dolphin───10*[{dolphin}] │ │ ├─qbittorrent───25*[{qbittorrent}] │ │ ├─thunderbird─┬─Isolated Web Co───24*[{Isolated Web Co}] │ │ │ ├─Web Content───24*[{Web Content}] │ │ │ └─123*[{thunderbird}] │ │ └─6*[{ksmserver}] │ ├─ksystemstats───2*[{ksystemstats}] │ ├─kwalletd5───6*[{kwalletd5}] │ ├─kwin_x11───11*[{kwin_x11}] │ ├─obexd │ ├─org_kde_powerde───6*[{org_kde_powerde}] │ ├─pipewire───{pipewire} │ ├─pipewire-pulse───{pipewire-pulse} │ ├─plasmashell─┬─dolphin───8*[{dolphin}] │ │ ├─kazam───19*[{kazam}] │ │ ├─konsole─┬─bash───pstree │ │ │ └─6*[{konsole}] │ │ └─29*[{plasmashell}] │ ├─polkit-kde-auth───9*[{polkit-kde-auth}] │ ├─snap───16*[{snap}] │ ├─wireplumber───4*[{wireplumber}] │ ├─xdg-desktop-por───7*[{xdg-desktop-por}] │ ├─xdg-desktop-por───4*[{xdg-desktop-por}] │ ├─xdg-desktop-por───6*[{xdg-desktop-por}] │ ├─xdg-document-po─┬─fusermount3 │ │ └─7*[{xdg-document-po}] │ ├─xdg-permission-───3*[{xdg-permission-}] │ ├─xembedsniproxy───2*[{xembedsniproxy}] │ └─xsettingsd ├─systemd-journal ├─systemd-logind ├─systemd-resolve ├─systemd-timesyn───{systemd-timesyn} ├─systemd-udevd ├─udisksd───5*[{udisksd}] ├─unattended-upgr───{unattended-upgr} ├─upowerd───3*[{upowerd}] └─wpa_supplicant ksso@ksso:~$ https://www.vidlii.com/watch?v=DIiXvgVGElj
Thanks. But now I'm a bit confused, as you said: > smplayer also affected But then later you said > entagled muting, happens with elisa and vlc, not with smplayer Can you clarify which one is true?
smplayer muting doesn't cause any other programs to mute (it seems) however, vlc and elisa muting affects and mutes smplayer hope that in the video could be useful explaining that
Thanks for the video, it was extremely helpful. It looks like the mute buttons in the individual apps are triggering some kind of synchronized mute behavior in PulseAudio or PipeWire. Have you manually changed anything about your system's audio configuration away from its default settings?
not that I remember...
Ok, thanks.
Looking at the pulseaudio code that is exactly what is supposed to happen with module-stream-restore. module-stream-restore calls a variant of if (!(n = pa_proplist_get_stream_group(si->proplist, "sink-input", IDENTIFICATION_PROPERTY))) which returns t = pa_sprintf_malloc("%s-by-media-role:%s", prefix, r); if a media role is set. in the outlined case they all share the role video (because elisa doesn't correctly set up libvlc with libvlc_media_player_set_role) and this return value is then used to restore the mute state on *all* new video streams. e.g. if you then open vlc smplayer doesn't set a suitable media.role so its restoration behavior is bound to the application only ( t = pa_sprintf_malloc("%s-by-application-id:%s", prefix, r);)
Sounds like this is a series of app bugs. Moving this one to Elisa.