Open vaxerski opened 6 days ago
Your log shows that you never played anything with MPD. But since you're using PipeWire and software volume instead of PipeWire volumes - are you sure your PipeWire volumes are set correctly? Try playing without PipeWire, with ALSA on a hw: device. I don't think this is a MPD problem, just a misconfiguration of PipeWire volumes.
I am pretty positive pw volumes are fine...
Your log shows that you never played anything with MPD.
odd:
but music is surely playing via mpd.
volume seems at 100% in pw.
pavu seems to agree too:
Try playing without PipeWire, with ALSA on a hw: device.
I'll try, normally it won't cuz pw takes ownership of alsa. Will try to kill it.
ALSA seems fine. Volume is normal.
I've also tried PA in mpd and it's quiet too.
You forgot --stdout
- or else have a look at the log file you configured.
woopsie. My bad. Here:
What happens if you remove the software mixer, and instead set mixer_type "none"
? Check the volume and post a new log.
You're playing a 16 bit FLAC file, but the "software" mixer implies a converrsion to 24 bit. Maybe the 24 bit code path to PipeWire is buggy, and setting a "null" mixer will make MPD remain at 16 bit, sidestepping the problem.
nope, no change.
Additionally, checked wpctl
and volume of the mpd node is 1.00
as expected.
Okay, that was worth a try! Now ALSA.
ALSA seems fine. Volume is normal.
You want a log from that too?
Oh, I didn't see that reply. No, I guess I don't need a log of that. But I have currently no idea what could cause this PipeWire-specific problem. We now know it's not a general MPD problem, but I don't know where to look, other than looking for more well-hidden PipeWire volume knobs. I've never used PipeWire myself (only for MPD debugging).
the weird part is that the pulse output has the exact same issue. Is there a JACK output so that we could test that?
JACK works properly, loud and clear... wtf xD
(pipewire-jack, of course)
Should this be closed then as.... a bug in pw-pulse and pw? At this point I am quite lost. No other app has any issues.
I see you are using the "easyeffects" output filter with pipewire. Perhaps it is some effect that is causing this problem (eg the "Autogain" effect, or some other that influences volume)? I have no experience with easyeffects, so this is just random speculation!
even with easyeffects not running the problem persists
Bug report
Describe the bug
It's been like this for like 2 years now ish, but used to be fine, for sure. I would bisect releases but 2-3 releases back stop compiling due to fmtlib errors.
I use pipewire and the pipewire output.
Expected Behavior
When I set volume to 100% it's comparable with other apps (e.g. firefox, chromium, etc)
Actual Behavior
When I set volume to 100% it's like... 25% ish of other apps.
Version
mpd --version
``` Music Player Daemon 0.23.15 (v0.23.15+) Copyright 2003-2007 Warren DukesI've also tried compiling latest -git, and it did not help.
Configuration
config
``` # An example configuration file for MPD. # Read the user manual for documentation: http://www.musicpd.org/doc/user/ # Files and directories ####################################################### # # This setting controls the top directory which MPD will search to discover the # available audio files and add them to the daemon's online database. This # setting defaults to the XDG directory, otherwise the music directory will be # be disabled and audio files will only be accepted over ipc socket (using # file:// protocol) or streaming files over an accepted protocol. # music_directory "~/Music/" # # This setting sets the MPD internal playlist directory. The purpose of this # directory is storage for playlists created by MPD. The server will use # playlist files not created by the server but only if they are in the MPD # format. This setting defaults to playlist saving being disabled. # playlist_directory "~/.mpd/playlists" # # This setting sets the location of the MPD database. This file is used to # load the database at server start up and store the database while the # server is not up. This setting defaults to disabled which will allow # MPD to accept files over ipc socket (using file:// protocol) or streaming # files over an accepted protocol. # #db_file "~/.mpd/database" # # These settings are the locations for the daemon log files for the daemon. # These logs are great for troubleshooting, depending on your log_level # settings. # # The special value "syslog" makes MPD use the local syslog daemon. This # setting defaults to logging to syslog. # #log_file "~/.mpd/log" # # This setting sets the location of the file which stores the process ID # for use of mpd --kill and some init scripts. This setting is disabled by # default and the pid file will not be stored. # pid_file "~/.mpd/pid" # # This setting sets the location of the file which contains information about # most variables to get MPD back into the same general shape it was in before # it was brought down. This setting is disabled by default and the server # state will be reset on server start up. # state_file "~/.mpd/state" # # The location of the sticker database. This is a database which # manages dynamic information attached to songs. # #sticker_file "~/.mpd/sticker.sql" # ############################################################################### audio_output { type "pipewire" name "MPD - pw" #server "192.168.1.1" # optional bind_to_address "any" mixer_type "software" ## sink "remote_server_sink" # optional ## media_role "media_role" #optional } ```Log
mpd --verbose
``` config_file: loading file /home/vaxry/.mpdconf server_socket: bind to '0.0.0.0:6600' failed (continuing anyway, because binding to '[::]:6600' succeeded): Failed to bind socket: Address already in use libsamplerate: libsamplerate converter 'Fastest Sinc Interpolator' vorbis: Xiph.Org libVorbis 1.3.7 opus: libopus 1.5.2 sndfile: libsndfile-1.2.2 hybrid_dsd: The Hybrid DSD decoder is disabled because it was not explicitly enabled simple_db: reading DB exception: Unrecognized tag 'TitleSort', discarding database file input: Input plugin 'qobuz' is not configured: No Qobuz app_id configured curl: version 8.10.1 curl: with OpenSSL/3.3.2 ```Let me know if anything else is needed.