SUMMARY Line 373 of .../src/kcm/package/contents/ui/main.qml reads: 373: onClicked: tester.testChannel(modelData === "lfe" ? "rear-center" : modelData) This has no effect. Although "audio-channel-rear-center.oga" exists within freedesktop, its sound is redirected to a nonexistent 5.1 (or 7.1) surround channel (and not to lfe) by libcanberra (due to use of CA_PROP_CANBERRA_FORCE_CHANNEL I guess). In order to fix this I suggest to replace line 373 by onClicked: tester.testChannel(modelData === "lfe" ? "lfe" : modelData) or even onClicked: tester.testChannel(modelData) and link audio-channel-lfe.oga to file audio-channel-rear-center.oga: ../sounds/freedesktop/stereo/audio-channel-lfe.oga -> ../sounds/freedesktop/stereo/audio-channel-rear-center.oga STEPS TO REPRODUCE see above OBSERVED RESULT subwoofer button not working for 5.1 or 7.1 multichannel audio. EXPECTED RESULT plays rear-center audio sound. SOFTWARE/OS VERSIONS Linux/KDE Plasma: 5.15.2/5.23.3-1 KDE Plasma Version: 5.23.3-1 KDE Frameworks Version: 5.86.0-1 Qt Version: 5.15.2 ADDITIONAL INFORMATION n/a
The bug still exists in 5.23.5-1.
I experience the same with Fedora 35, Plasma 24 and Pipewire. Perhaps even more so; not only does the subwoofer button not work, but my system then becomes unresponsive until I 'kill' System Settings. I'm happy to test any fixes. Kernel 5.16.12 KDE Plasma: 5.24.2 Frameworks: 5.91.0 Qt: 5.15.2 Pipewire: 0.3.47
I have now installed KDE development tools and built against today's origin master: KDE Plasma: 5.24.80 Frameworks: 5.93.0 Qt: 5.15.2 The problem still exists and I went on to re-compile plasma-pa with gnagflow's proposed changes and can confirm that replacing onClicked: tester.testChannel(modelData === "lfe" ? "rear-center" : modelData) (NOTE now at line 409) with either onClicked: tester.testChannel(modelData === "lfe" ? "lfe" : modelData) or simply onClicked: tester.testChannel(modelData) does indeed work - for me. Is this a regression relating to what was apparently fixed by https://invent.kde.org/plasma/plasma-pa/-/commit/bc79ca3289903cb641fd29a0b9cf8da17427421a for https://bugs.kde.org/show_bug.cgi?id=427038 ? Personally I prefer the fallback audio-test-signal's 'white noise' for the subwoofer test sound to a rather muffled spoken 'rear center' so I didn't link 'audio-channel-lfe.oga' to 'audio-channel-rear-center.oga'. For me this is a 15-minute-bug because it causes KDE's 'systemsettings' to hang hint @Nate :-) https://pointieststick.com/2022/01/18/the-15-minute-bug-initiative/ 5. I’m experiencing this annoying issue that’s not on the list! Can you add it? Maybe. Mention the 15-minute bug initiative in the bug report for it, and KDE’s bug triagers will see if it makes the cut. I'd fix this in the KDE repository if I knew how, but (noob alert) I don't... and I'm not even sure if this is a good fix or a nasty hack (no offence gnagflow)
This bug and a proposed fix has been around for a while now. @gnagflow are you able to submit a merge request with your proposed changes for this bug?
(In reply to Sophie Dexter from comment #2) > I experience the same with Fedora 35, Plasma 24 and Pipewire. Perhaps even > more so; not only does the subwoofer button not work, but my system then > becomes unresponsive until I 'kill' System Settings. > > I'm happy to test any fixes. I just got aware of this bug report now. Since I don't have a system with a subwoofer, could you please try https://invent.kde.org/plasma/plasma-pa/-/merge_requests/121 to see if that fixes the issue? Thanks
(In reply to Ismael Asensio from comment #5) > (In reply to Sophie Dexter from comment #2) > > > > I'm happy to test any fixes. > > I just got aware of this bug report now. > > Since I don't have a system with a subwoofer, could you please try > https://invent.kde.org/plasma/plasma-pa/-/merge_requests/121 to see if that > fixes the issue? > > Thanks Hi Ismael, I have re-compiled plasma-pa with your changes and can confirm that Speakertest now works for my 5.1 setup, spoken 'rear-center' audio is played through the subwoofer, albeit that it sounds rather muffled of course :rolleyes: :-). Many thanks to you for preparing the merge request and to Nicolas for reviewing.
Hi, thx to all who helped, esp. Sophie, whose persistence did the heavy lifting.
Git commit 0608769ea10b345d072a135dc15898fdbe550803 by Ismael Asensio. Committed on 25/04/2022 at 21:14. Pushed by iasensio into branch 'master'. SpeakerTest: Fix subwoofer test Move the workaround to use a different sound for the subwoofer test to C++, so we can still use the `lfe` channel and the `rear-center` sound file. Doing otherwise seems to be specially problematic on pipewire FIXED-IN: 5.24.5 M +1 -2 src/kcm/package/contents/ui/main.qml M +3 -1 src/speakertest.cpp https://invent.kde.org/plasma/plasma-pa/commit/0608769ea10b345d072a135dc15898fdbe550803
Git commit 183a26d9a668e1613605e708d613bceb2ffa3396 by Ismael Asensio. Committed on 28/04/2022 at 20:02. Pushed by iasensio into branch 'Plasma/5.24'. SpeakerTest: Fix subwoofer test Move the workaround to use a different sound for the subwoofer test to C++, so we can still use the `lfe` channel and the `rear-center` sound file. Doing otherwise seems to be specially problematic on pipewire FIXED-IN: 5.24.5 (cherry-picked from commit 0608769ea10b345d072a135dc15898fdbe550803) M +1 -2 src/kcm/package/contents/ui/main.qml M +3 -1 src/speakertest.cpp https://invent.kde.org/plasma/plasma-pa/commit/183a26d9a668e1613605e708d613bceb2ffa3396
*** Bug 454410 has been marked as a duplicate of this bug. ***
*** Bug 446622 has been marked as a duplicate of this bug. ***