Summary: | Simultaneous output volume control don't working as default anymore after some update | ||
---|---|---|---|
Product: | [Plasma] plasma-pa | Reporter: | Ural <uralzima> |
Component: | applet | Assignee: | David Rosca <nowrep> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | b8h8vm0lf, blackspart57, felim, kurmikon, me, nate, plasma-bugs, v13 |
Priority: | NOR | ||
Version: | 5.13.5 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | https://cgit.kde.org/plasma-pa.git/commit/?id=5dc7cca58a72cc6c357ac2457de6868ad3a61305 | Version Fixed In: | 5.16.0 |
Sentry Crash Report: |
Description
Ural
2018-09-12 10:32:00 UTC
I can confirm this is happening on latest KDE Neon 18.04.1 with plasma 5.14 plasma-desktop/bionic,now 4:5.14.1-0xneon+18.04+bionic+build23 (In reply to Félim Whiteley from comment #1) > I can confirm this is happening on latest KDE Neon 18.04.1 with plasma 5.14 > > plasma-desktop/bionic,now 4:5.14.1-0xneon+18.04+bionic+build23 I should clarify it worked at some point in the last 3-6months and broke a couple of versions back. Yes I know, should have reported sooner. And the applet version is actually: plasma-pa/bionic,now 4:5.14.1-0xneon+18.04+bionic+build16 Can confirm this is happening on my system. Operating System: Arch Linux KDE Plasma Version: 5.14.3 Qt Version: 5.11.2 KDE Frameworks Version: 5.52.0 Kernel Version: 4.19.1-arch1-1-ARCH OS Type: 64-bit Processors: 4 × Intel® Core™ i5-6600 CPU @ 3.30GHz Memory: 23.5 GiB of RAM PulseAudio version: 12.2 Hello everyone, same issue reported here: https://bugs.kde.org/show_bug.cgi?id=400789 The title here has a small mistake. plasma-pa is not changing the default sink, it's only changing the volume on the first sink (usually the sink linked to the audio card, i.e. HDMI or Internal Card). In my experience, it was changing volume on the default sink when nothing was reproduced, but when I play something, the behavior is the same reported here. Anyway, you can work around this bug getting rid of plasma-pa and installing Kmix. Configured in the right way, it can control only one sink chosen by the user (even a sink not configured as the default). The only lack is that you can't choose the default sink from the applet, but you can set it from command line using pacmd set-default-sink. In your case, set the simultaneous output as the default sink from pacmd and choose from Kmix to control the simultaneous sink and everything will work. *** Bug 400789 has been marked as a duplicate of this bug. *** STEPS TO REPRODUCE 1. You have a pulseaudio sink, let's call it "Stereo Internal Audio", linked to your sound card and it's the default after a fresh install. 2. Make a new pulseaudio sink, i.e. using PulseEffects, and let's make it the default sink. 3. Change the volume through keyboard key and PulseEffects default sink is affected correctly. 4. Let's start a song or a video file and you make sure that the default PulseEffects sink is used by the application. 5. Change the volume and you will see that PulseEffetcs sink IS NOT affected by plasma-pa. Volume is changed on the sound card sink: Stereo Internal Audio. You can also notice that nothing is changed in pulseaudio configuration: PulseEffects is still the default sink. 6. Stop the reproduction, close the mediaplayer application and change the volume again. PulseEffects is affected. OBSERVED RESULT plasma-pa does not respect the control on the default sink when an audio stream is reproduced. EXPECTED RESULT plasma-pa should always change the volume on the default sink, or at least it should let you choose the preferred sink to control even if it's not the default in the pulseaudio config, just like it's done in kmix. ADDITIONAL INFORMATION kmix is another volume manager and it lets you choose one sink to control and volume control always affects that sink even if it's not the default sink. While the behavior in plasma-pa is clearly a bug because considering that: - It does not let you choose a preferred sink to control; - It lets you switch the default pulseaudio sink changing the pulseaudio configuration and the sink to be used by all applications When you set a default sink different from the one associated to the sound card and reproduce something, it won't control the volume on default sink. I believe the problem is that it ignores virtual devices. https://phabricator.kde.org/D17784 fixes it for me. Is it fixed then? Anyway, KMix is working pretty fine for me and I don't need plasma-pa anymore. I wonder why Plasma did a volume manager for Pulseaudio if there's already something like KMix that works for ALSA and Pulseaudio. The patch got submitted and it works for me. I'd suggest trying it yourself. I'm not using plasma-pa anymore. Kmix is better because you can choose to control whatever output you want, even one that's not marked as the default sink. Anyway, if it's working, you can switch the status of this bug report to fixed. author Stefanos Harhalakis <v13@v13.gr> 2019-01-22 14:55:13 +0100 committer David Rosca <nowrep@gmail.com> 2019-01-24 10:12:44 +0100 commit 5dc7cca58a72cc6c357ac2457de6868ad3a61305 (patch) tree e2d227f0e1cd39bacb1ebcaa60d29ccb133a9d61 parent a629c6257ff5f45614b6590542412d2f6955ee09 (diff) Don't ignore default virtual devicesHEADmaster Summary: Ignoring virtual PA devices for volume control results in ignoring the "Simultaneous output" devices. This makes it impossible to control them with the volume keys, which is not what the user expects. As a workaround, prefer not to ignore virtual devices that are marked as default. Reviewers: broulik, drosca Reviewed By: drosca Subscribers: filipf, ngraham, cfeck, plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D17784 |