Volume gets maximized on external display connected via HDMI after screen lock and unlock, on laptop.
Version, Distribution, Desktop Environment:
- OS: Fedora 34
- Version: Gnome 40
- Display server: Xorg
- Audio server: Pipewire-pulse
- Compiled with libpipewire 0.3.25
- Linked with libpipewire 0.3.25
https://linux-hardware.org/?probe=cb55fa7fcd
Hardware info:Description of Problem:
When audio is playing on an external monitor connected via HDMI, and screen is locked using Super+esc (Gnome 40), the audio stops playing, and when screen is unlocked, the audio is maximized. The volume slider itself isn't changed, but the volume is maximized. This can be a health hazard, and can cause deafening. This personally happened to me, the volume got maximized, and I had headphones connected to the monitor, but thankfully, the max volume isn't that much on mine.
How Reproducible:
This is reproducible every single time.
Steps to Reproduce:
- Connect an external monitor to a laptop via HDMI.
- Connect headphones to monitor, if the provision is there, to observe the situation more consistently.
- Lower the volume to a good degree.
- Play any audio
- Lock the screen using super+esc
- Observe that audio stops
- Unlock screen
- If audio has paused, resume.
- Observe that volume is playing at max.
Actual Results:
Volume plays at max when screen is unlocked, after following the given steps.
Expected Results:
Volume level should not change on screen unlock, in the given situation.
pw-dump -N > file
(As Attachment Please):
Additional Info Eg.
I've filed an issue on GNOME's gitlab as well Please read their comments on what they have to say about the trigger for the aforementioned issue.