LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-03-2024, 03:58 PM   #1
lxs602
Member
 
Registered: Oct 2018
Distribution: Ubuntu 24.04
Posts: 38

Rep: Reputation: 1
Setting default application volumes in pipewire/wireplumber


Hi,

I have a problem with individual applications keep resetting volume to 46% when they are closed and reopened. I tried attaching a .gif animation, but it doesn't play, so here is a link.

It only happens on Budgie session (Ubuntu 24.04 new install), and only with USB speakers. I have posted the problem elsewhere. (Interestingly, firefox instead defaults to 100%).


I asked on pipewire IRC, and also here, but with no response, so I am posting here if hopefully someone can help.

Thanks.

Last edited by lxs602; 05-06-2024 at 09:36 AM.
 
Old 05-06-2024, 01:09 AM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,833

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
For mpv create/edit ~/.config/mpv/mpv.conf
and add the desired start up level
Code:
volume=100
https://wiki.archlinux.org/title/mpv
https://github.com/mpv-player/mpv/issues/2521

Last edited by ferrari; 05-06-2024 at 01:11 AM.
 
Old 05-06-2024, 09:36 AM   #3
lxs602
Member
 
Registered: Oct 2018
Distribution: Ubuntu 24.04
Posts: 38

Original Poster
Rep: Reputation: 1
Hi, this is independent (outside) the internal mpv volume, which is set to 100%.

Streams are defaulting to 46%, even though the setting is 100% on wireplumber.

Quote:
wpctl get-volume 81
Volume: 0.46

wpctl get-volume 84
Volume: 0.46

wpctl get-volume 88
Volume: 0.46
Quote:
wpctl settings | grep -A 4 default-playback-volume
- Name: node.stream.default-playback-volume
Desc: The default volume for playback nodes
Type: Float
Default: 1.0 [Min: 0.0, Max: 1.0]
Value: 1.0

Last edited by lxs602; 05-07-2024 at 02:50 AM.
 
Old 05-06-2024, 05:35 PM   #4
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,833

Rep: Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148Reputation: 1148
For pipewire clients, I'm not sure it is currently possible. FWIW, a similar thread
https://forum.manjaro.org/t/how-to-s...olume/115016/3

For pulseaudio clients it is possible to use 'module-match' as described here
https://bbs.archlinux.org/viewtopic....29219#p2129219
https://www.freedesktop.org/wiki/Sof.../#module-match

However, pipewire has not yet implemented this module (for pipewire-pulse API) based on what I read here
https://docs.pipewire.org/page_pulse_modules.html

So it fails as expected
Code:
pactl load-module module-match
Failure: No such entity
A feature request is likely needed to help progress this.

Refer
https://gitlab.freedesktop.org/pipew...ewire/-/issues
 
  


Reply

Tags
audio, pipewire



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: PipeWire 1.0 -- An interview with PipeWire creator Wim Taymans LXer Syndicated Linux News 0 11-28-2023 04:50 AM
LXer: PipeWire’s WirePlumber Gets Bluetooth SCO (HSP/HFP) Hardware Offload Support LXer Syndicated Linux News 0 12-14-2022 07:21 PM
LXer: WirePlumber: the new PipeWire session manager LXer Syndicated Linux News 0 11-05-2021 05:39 PM
[SOLVED] [current] slackpkg-15.0.2-noarch-1 has /etc/pipewire/pipewire.conf.new j12i Slackware 3 04-27-2021 01:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration