Summary: | pavucontrol shows more than 100% of volume, but kmixer goes only up to 100% | ||
---|---|---|---|
Product: | [Applications] kmix | Reporter: | Michal Hlavac <miso> |
Component: | Documentation | Assignee: | Christian Esken <esken> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | ashl1future, esken, ororo, rdieter, ro.ggi, sergio |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
URL: | http://forums.opensuse.org/english/get-technical-help-here/hardware/473376-disable-conexant-smart-audio-headphone-limiter-lenovo-thinkpad.html | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | gnome-volume-control |
Description
Michal Hlavac
2012-04-12 11:26:12 UTC
Created attachment 72991 [details]
gnome-volume-control
Miss this feature too. Actually Gnome (or Unity) mixer in Ubuntu has it (see attachment). In KDE we need to use pavucontrol. I guess it would be easy to raise the limit in the Pulseaudio backend. But as long as there is no slider available in Qt/KDE that can "snap in" at 100%, changing the Pulseaudio backend probably makes not too much sense. *** Bug 257552 has been marked as a duplicate of this bug. *** Yeah I'm not sure it's something that can be contained to the backend as it would have to scale the values to fit the range which would then be misleading to users. The whole point is that volumes > 100% are software amplified and thus could cause saturation/clipping on some tracks. It's critical to show users that they are genuinely moving the volume above 100%. I never implemented this because it would have required changing kmix itself too much. So yeah a "snap" at 100% and a clear indication of marked areas would be very useful here. I remember talking to some folk about this in Randa last year, but never got anywhere (I'm a pretty crap GUI coder!!). There is another use for the markers too, and that is showing "Base Volume" This is typically more important on Mics where the Base volume represents the ALSA 0dB point but the the range of ALSA controls allow an overall +dB value if they are all maxed out (the maxed out point being 100% in PA). So showing the 0dB/Base Volume marker is, in itself, highly desirable too. So fingers crossed someone makes such a GUI component! I can only fully agree. The 0dB marker (possibly with "snap") would also be beneficial to other Backends, e.g. ALSA supplies dB values and sometimes they are below the max. I would really like to indicate that, or even cap the volumes there by default. *** Bug 309597 has been marked as a duplicate of this bug. *** I have implemented an option to enable the boosted volumes for Pulseaudio. As there is currently no way to indicate that it is an volume overdrive, this is an expert option that I will not put in the GUI. To enable it, use: kwriteconfig -file kmixrc -group Global -key VolumeOverdrive -type bool true The behavior will be active after the next KMix restart. I will move this wish report to "documentation", as it needs to be documented. Git commit 3279cc8cc5abbe27e7cfe9baadb7111b8dd9c7c4 by Christian Esken. Committed on 12/11/2012 at 21:23. Pushed by esken into branch 'master'. Implement optional Pulseaudio volume overdrive (PA_VOLUME_UI_MAX). M +6 -2 apps/kmix.cpp M +3 -1 backends/mixer_pulse.cpp M +3 -0 core/GlobalConfig.h http://commits.kde.org/kmix/3279cc8cc5abbe27e7cfe9baadb7111b8dd9c7c4 Hi, First thanks for tip of pavucontrol which can control 150% of volume. Since introduction of pulseaudio , I have the problem of "low sound levels", I though that was pulseaudio fault, but no. My understanding ALSA split sound in 2 components, hardware sound and software sound. And kmix just control to 100% of hardware sound. Like I explain in bug 309597 if we put pulseaudio with debug logs , we can see that volume just go to 100% software volume in kmix ( D: alsa-sink.c: Requested volume: 0: 100% 1: 100% D: alsa-sink.c: Got hardware volume: 0: 100% 1: 100% D: alsa-sink.c: Calculated software volume: 0: 100% 1: 100% ) when we may go to D: alsa-sink.c: Calculated software volume: 0: 153% 1: 153% with others tools (In reply to comment #9) > Git commit 3279cc8cc5abbe27e7cfe9baadb7111b8dd9c7c4 by Christian Esken. > Committed on 12/11/2012 at 21:23. > Pushed by esken into branch 'master'. > > Implement optional Pulseaudio volume overdrive (PA_VOLUME_UI_MAX). > > M +6 -2 apps/kmix.cpp > M +3 -1 backends/mixer_pulse.cpp > M +3 -0 core/GlobalConfig.h > > http://commits.kde.org/kmix/3279cc8cc5abbe27e7cfe9baadb7111b8dd9c7c4 This patches are applicable into kmix kde 4.9.2 ? I mean if I apply this patches on my kde-4.9.2 may worked ? , or kmix have changes enough to not though about it ? Thanks, They will not work under KDE4.9. But if you are a developer, you can do your own trivial patch. Just look at the change in backends/mixer_pulse.cpp. after install kde-4.10.1 , everything still the same pavucontrol shows 150% of volume, but kmixer goes only up to 100% pavucontrol could increase volume upper than kmixer. Repeating comment 8: I have implemented an option to enable the boosted volumes for Pulseaudio. As there is currently no way to indicate that it is an volume overdrive, this is an expert option that I will not put in the GUI. To enable it, use: kwriteconfig -file kmixrc -group Global -key VolumeOverdrive -type bool true The behavior will be active after the next KMix restart. I will move this wish report to "documentation", as it needs to be documented. *** Bug 322359 has been marked as a duplicate of this bug. *** kwriteconfig -file kmixrc -group Global -key VolumeOverdrive -type bool true and restart kmix, kmix goes to 153% of volume This will resist to one reboot ? or I put this permanently ? Thanks, (*) or how I put this permanently ? (In reply to comment #16) > kwriteconfig -file kmixrc -group Global -key VolumeOverdrive -type bool true is the same of edit $HOME/.kde/share/config/kmixrc and add: [Global] VolumeOverdrive=true > and restart kmix, kmix goes to 153% of volume > This will resist to one reboot ? yes > or I put this permanently ? we just did I add this info in: http://userbase.kde.org/Sound_Problems#pavucontrol_or_other_volume_control_after_install_Pulseaudio_shows_more_than_100.25_of_volume.2C_but_kmixer_goes_only_up_to_100.25 Update: http://userbase.kde.org/Sound_Problems#Low_maximum_volume_with_pulseaudio_on_kde_or_pavucontrol_shows_more_than_100.25_of_volume.2C_but_kmixer_goes_only_up_to_100.25_or_when_kmix_implements_alsa_softvol Question , couldn't we have in kmix settings, a setting to VolumeOverdrive true or false ? I have added an option "Volume Overdrive" in KMix for KDE4.13. This is part of the configuration dialog overhaul, see http://kmix5.wordpress.com/2013/11/26/secret-view-in-the-new-configuration-dialog/ |