mpv
mpv copied to clipboard
[Bug] Randomly the maximum volume from MPV becomes much lower than normal
Important Information
Provide following Information:
- mpv version: 0.38
- Linux Distribution and Version: Fedora 40
- Source of the mpv binary: Flatpak
- If known which version of mpv introduced the problem: 0.38
- Window Manager and version: Gnome 46
- GPU model, driver and version: Intel 12 gen Processor
Currently, I am using Fedora 40 , it doesn't uses Pulseaudio but pipewire 1.0.5. I have never faced this problem on Chrome, Firefox, vlc, cvlc.
Reproduction steps
The issue is reproducible with --no-config MPV 0.36 installed with dnf on Fedora 39
The issue is reproducible with --no-config MPV 0.37 installed with dnf on Fedora 40 and with flatpak on Fedora 39
The issue is reproducible with --no-config MPV 0.38 installed with flatpak on Fedora 40
The issue is not reproducible with --no-config MPV 0.38 installed with homebrew on Fedora 40
Expected behavior
The maximum volume to not to fluctuate randomly.
Actual behavior
I am facing this trouble with mpv, that randomly the maximum volume from MPV becomes much lower than normal. It stays like that for random duration and then randomly it becomes normal for unknown duration. I face this problem daily randomly.
Log file
https://0x0.st/XHtT.txt
This is the volume of mpv in your audio system, which mpv does not touch unless you use ao-volume or ao-mute. Check pavucontrol.
@sfan5 I am using Fedora 40 , it doesn't uses Pulseaudio but pipewire 1.0.5. I have never faced this problem on Chrome, Firefox, vlc, cvlc (on Fedora 39, or Fedora 40, all of these are installed with DNF). pavucontrol is not installed, should I install it? and does it work with pipewire?
At this very moment when I play a file with mpv 0.38 (with --no-config) installed with flatpak on Fedora 40, I get very less maximum volume, but same file when I play with mpv 0.28 (with --no-config) but installed with homebrew on Fedora 40 I get normal maximum volume (the maximum volume is similar to when played with VLC or cvlc).
pavucontrol is not installed, should I install it?
Other applications to manage your audio system surely exist but I have only ever used that.
and does it work with pipewire?
Yes.
@sfan5 Please see the following screenshot from pavucontrol 5.0, when I play same file as mentioned in the logs above, the first mpv is the one installed with Flatpak and second one is with homebrew. Both are version 0.38. The blue color indicated the volume level when mpv was paused.
The Flatpak installed MPV hardly showed any volume more than what is shown, while homebrew mpv showed comparatively very high value of blue line (which is normal volume)
I see same behaviour as Flatpak MPV0.38 with DNF installed MPV 0.37 as follows
NOTE: These values are at maximum laptop volume
If - while the problem is occurring - the mpv volume is set to 100% in pavucontrol then the bug is somewhere else and not what I was suspecting.
Surprisingly I never faced the volume issue with the homebrew binary install of MPV 0.38 on Fedora, although I am facing the lack of video as reported here: Error opening/initializing the selected video_out (--vo) device. · Issue #13893 · mpv-player/mpv
@sfan5 I am using Fedora 40 , it doesn't uses Pulseaudio but pipewire 1.0.5. I have never faced this problem on Chrome, Firefox, vlc, cvlc (on Fedora 39, or Fedora 40, all of these are installed with DNF). pavucontrol is not installed, should I install it? and does it work with pipewire?
At this very moment when I play a file with mpv 0.38 (with --no-config) installed with flatpak on Fedora 40, I get very less maximum volume, but same file when I play with mpv 0.28 (with --no-config) but installed with homebrew on Fedora 40 I get normal maximum volume (the maximum volume is similar to when played with VLC or cvlc).
Windows 10 has the same error.
Any update on this issue? The volume is very low!
Depends on multitude of external factors, what you use for your audio? alsa, pulse, pipewire, oss, something else? Do you use easyeffects or anything related on top of that?
As mentioned in the original post I use Pipewire, without any customization. No easyeffect, no modification.