Since some recent update (mpv 0.18.something), mpv has stopped using the pulseaudio volume and instead used a software volume control.
This has downsides such as additional processing, but most importantly, the volume is not saved across mpv restarts anymore, while pulseaudio saves and restores the volume last used for mpv.
How can this be fixed?