Bug 467123 - When Raise maximum sound is turned on, sound OSD can show wrong volume level depending on the audio profile used and audio hardware configuration
Summary: When Raise maximum sound is turned on, sound OSD can show wrong volume level ...
Status: CONFIRMED
Alias: None
Product: plasma-pa
Classification: Plasma
Component: general (show other bugs)
Version: 5.27.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-09 17:26 UTC by mrantonsaenko
Modified: 2023-05-09 11:47 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
For better understanding of the issue (109.37 KB, image/jpeg)
2023-03-09 17:26 UTC, mrantonsaenko
Details
As a verification (1.48 MB, image/png)
2023-03-13 20:12 UTC, mrantonsaenko
Details
when scrolling over plasma widget. (140.62 KB, image/jpeg)
2023-04-05 19:33 UTC, mrantonsaenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mrantonsaenko 2023-03-09 17:26:48 UTC
Created attachment 157153 [details]
For better understanding of the issue

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
***


STEPS TO REPRODUCE
1. Turn on raise maximum volume
2. Try raising volume with buttons to maximum
3. Try lower the volume

OBSERVED RESULT
Floating box volume level differs from system tray menu level

EXPECTED RESULT
They should be the same

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch linux
(available in About System)
KDE Plasma Version: 5.27.2
KDE Frameworks Version: 5.103.0

I can raise the volume above 100 with keyboard keys but it's not reflected in floating volume box
Comment 1 Nate Graham 2023-03-13 19:24:13 UTC
Does it work as expected when using the Breeze Plasma theme?
Comment 2 mrantonsaenko 2023-03-13 19:29:11 UTC
I created a new account to test it and no it doesn't work as expected. You can try yourself, does it work for you?
Comment 3 Nate Graham 2023-03-13 19:33:34 UTC
Yes.

Can you verify that your new user account using the default Breeze Plasma theme and that you've checked the "raise maximum volume" checkbox?
Comment 4 mrantonsaenko 2023-03-13 20:08:32 UTC
(In reply to Nate Graham from comment #3)
> Yes.
> 
> Can you verify that your new user account using the default Breeze Plasma
> theme and that you've checked the "raise maximum volume" checkbox?

I can yes, you need a screenshot?
Comment 5 mrantonsaenko 2023-03-13 20:12:18 UTC
Created attachment 157242 [details]
As a verification
Comment 6 Nate Graham 2023-03-14 14:08:11 UTC
Got it thanks. Weird.
Comment 7 mrantonsaenko 2023-03-15 19:33:53 UTC
(In reply to Nate Graham from comment #6)
> Got it thanks. Weird.

Do you think it might be some package that i'm missing?
Comment 8 Nate Graham 2023-03-27 17:27:36 UTC
No idea, sorry. But I kind of doubt it.
Comment 9 mrantonsaenko 2023-04-03 21:15:54 UTC
I found out that if i switch profile to Pro audio, it fixes the issue, i am using pipewire. Is there any way to create a simpler profile than Pro that will work? I only have HiFi quality music profile and Pro audio profile.
Comment 10 Nate Graham 2023-04-04 15:54:56 UTC
So it works with the Pro audio profile and doesn't work with HiFi quality profile? Where exactly are you setting these profiles?
Comment 11 mrantonsaenko 2023-04-04 16:10:27 UTC
In the sound menu, if you click on 3 stripes next to your speaker device, you'll see audio profiles
Comment 12 Nate Graham 2023-04-05 15:18:07 UTC
Got it. It does seem like the audio profile makes a difference.

When I have only one audio device (my laptop's internal audio card), both the "Play HiFi quality Music" and "Pro Audio" profiles work properly. But when I plug in a thunderbolt dock that includes a headphone jack, it shows up as a second audio device, and while this second audio device is visible, switching the laptop audio card to "Pro Audio" breaks it in the way you've described.

So this isn't exactly the same issue you're seeing, but it seems related, and the audio profile is a relevant data point.
Comment 13 Ismael Asensio 2023-04-05 19:26:35 UTC
I cannot fully reproduce, but found a small quirk that might or might not be related.

Does this only happen with the volume buttons, or also if you change the volume by scrolling over the plasma applet (mouse wheel-scrolling or touchpad equivalent)?

Also, does it make a difference if you change the profile in the Audio settings page (full dialog) vs changing it in the applet?

Thanks!
Comment 14 mrantonsaenko 2023-04-05 19:31:53 UTC
No, I think it does not matter,  but u just tried scrolling over it, and it fixes the problem, everything shows like it should.
Comment 15 mrantonsaenko 2023-04-05 19:33:03 UTC
Created attachment 157882 [details]
when scrolling over plasma widget.
Comment 16 ak-su 2023-05-09 11:46:46 UTC
For me "raise maximum volume" keeps the max volume level at 100%, not 150% like it used to.
I can still raise the volume with "pactl set-sink-volume @DEFAULT_SINK@ 150%" but the level meter stays at 100%.
Comment 17 ak-su 2023-05-09 11:47:36 UTC
Forgot to add that this is on Fedora 37, Plasma 5.27.4.