Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Randomly the maximum volume from MPV becomes much lower than normal #14008

Open
lamyergeier opened this issue Apr 27, 2024 · 7 comments
Open
Labels

Comments

@lamyergeier
Copy link

lamyergeier commented Apr 27, 2024

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

@sfan5
Copy link
Member

sfan5 commented Apr 27, 2024

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.

@lamyergeier
Copy link
Author

lamyergeier commented Apr 27, 2024

@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).

@sfan5
Copy link
Member

sfan5 commented Apr 27, 2024

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.

@lamyergeier
Copy link
Author

lamyergeier commented Apr 27, 2024

@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)

image

I see same behaviour as Flatpak MPV0.38 with DNF installed MPV 0.37 as follows

image

NOTE: These values are at maximum laptop volume

@lamyergeier lamyergeier changed the title Randomly the maximum volume from MPV becomes much lower than normal [Bug] Randomly the maximum volume from MPV becomes much lower than normal Apr 27, 2024
@sfan5
Copy link
Member

sfan5 commented Apr 28, 2024

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.

@lamyergeier
Copy link
Author

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

@zhouxinghong
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants