After installing pipewire, volume always set at 92% on login?
All, I finally took the plunge and installed pipewire on 15.4. Works just fine. Just install per https://en.opensuse.org/openSUSE:Pipewire and you don't have to enable the systemd unit -- it will be done. Anyway, one strange side-effect is that on boot/login (like after today's kernel update), the volume is always set at 92%. Way too loud. I always set the volume to 57% or 62% which is about right on this laptop. What tool or what config file do I use to tell pipewire to either set the volume at 62% or just not touch the volume setting altogether? -- David C. Rankin, J.D.,P.E.
Hello, In the Message; Subject : After installing pipewire, volume always set at 92% on login? Message-ID : <8621b984-98d6-4d86-9fd2-fde0f1215602@suddenlinkmail.com> Date & Time: Tue, 19 Sep 2023 16:53:03 -0500 [DCR] == "David C. Rankin" <drankinatty@suddenlinkmail.com> has written: [...] DCR> Anyway, one strange side-effect is that on boot/login (like after today's DCR> kernel update), the volume is always set at 92%. Way too loud. I DCR> always set the volume to 57% or 62% which is about right on this DCR> laptop. DCR> What tool or what config file do I use to tell pipewire to either set the DCR> volume at 62% or just not touch the volume setting altogether? Please use pactl, included in pulseaudio-utils. 1. get the device name by; $ pactl list short sources In my case, the result is; 157 alsa_output.usb-D_M_Holdings_Inc._HD-AMP1-00.analog-stereo.monitor PipeWire s32le 2ch 384000Hz SUSPENDED then write settings in .bash_profile like this (I'm settting at 80%); pactl set-sink-volume alsa_output.usb-D_M_Holdings_Inc._HD-AMP1-00.analog-stereo 80% Regards. --- ┏━━┓彡 野宮 賢 mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "No Windows, no gains!" ... "Why, I am wrong?" -- Bill --
On 9/19/23 21:41, Masaru Nomiya wrote:
Please use pactl, included in pulseaudio-utils. 1. get the device name by; $ pactl list short sources
Hmmm... Installation of pipewire removes pulse-audio, so there is no pactl on the system. Instead pipewire provides wpctl (wire plumber) that does show the volume at 0.25 (which is correct for the volume at 62%), e.g. $ wpctl status PipeWire 'pipewire-0' [0.3.49, david@wizard, cookie:816854696] └─ Clients: 31. Firefox [0.3.49, david@wizard, pid:14100] 32. WirePlumber [0.3.49, david@wizard, pid:14229] 33. WirePlumber [export] [0.3.49, david@wizard, pid:14229] 53. Thunderbird [0.3.49, david@wizard, pid:14766] 54. wpctl [0.3.49, david@wizard, pid:21386] 55. Firefox [0.3.49, david@wizard, pid:14100] Audio ├─ Devices: │ 41. GF104 High Definition Audio Controller [alsa] │ 42. Built-in Audio [alsa] │ ├─ Sinks: │ * 45. Built-in Audio Analog Stereo [vol: 0.25] <snip> It looks like it can be used in a similar manner with "set-volume ID VOL", so something like $ set-volume 45 .25 works! -- David C. Rankin, J.D.,P.E.
Hello, In the Message; Subject : Re: After installing pipewire, volume always set at 92% on login? Message-ID : <3af96700-98c1-4873-963d-6c2460b71c82@suddenlinkmail.com> Date & Time: Tue, 19 Sep 2023 23:26:40 -0500 [DCR] == "David C. Rankin" <drankinatty@suddenlinkmail.com> has written: DCR> On 9/19/23 21:41, Masaru Nomiya wrote: MN>> Please use pactl, included in pulseaudio-utils. 1. get the device name by; $ MN>> pactl list short sources DCR> Hmmm... DCR> Installation of pipewire removes pulse-audio, so there is no DCR> pactl on the system. Are you SURE? It's common knowledge that we can't move to a pure pipewire system that doesn't use any pulseaudio related files at all at the moment, don't you know? For issues around audio, it is common practice to discuss them on a pactl basis, which is included in pulseaudio-utils. DCR> Instead pipewire provides wpctl (wire plumber) that does show the DCR> volume at 0.25 (which is correct for the volume at 62%), e.g. As I mentioned before, I don't use wireplumber because I care about sound quality. Regards. --- ┏━━┓彡 野宮 賢 mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "Companies have come to view generative AI as a kind of monster that must be fed at all costs―even if it isn’t always clear what exactly that data is needed for or what those future AI systems might end up doing." -- Generative AI Is Making Companies Even More Thirsty for Your Data --
On 9/20/23 05:39, Masaru Nomiya wrote:
It's common knowledge that we can't move to a pure pipewire system that doesn't use any pulseaudio related files at all at the moment, don't you know? For issues around audio, it is common practice to discuss them on a pactl basis, which is included in pulseaudio-utils.
Well, I didn't have pulseaudio-utils installed. I installed it and: $ pactl list short sources 45 alsa_output.pci-0000_00_1b.0.analog-stereo.monitor PipeWire s32le 2ch 48000Hz UH��]�f���fD 46 alsa_input.pci-0000_00_1b.0.analog-stereo PipeWire s32le 2ch 48000Hz SUSPENDED Still looks like wpctl makes more sense: $ wpctl status PipeWire 'pipewire-0' [0.3.49, david@wizard, cookie:816854696] └─ Clients: 31. Thunderbird [0.3.49, david@wizard, pid:8519] 32. WirePlumber [0.3.49, david@wizard, pid:14229] 33. WirePlumber [export] [0.3.49, david@wizard, pid:14229] 53. Firefox [0.3.49, david@wizard, pid:8107] 54. gnome-sudoku [0.3.49, david@wizard, pid:27668] 55. gnome-sudoku [0.3.49, david@wizard, pid:8614] 66. Firefox [0.3.49, david@wizard, pid:8107] 67. Thunderbird [0.3.49, david@wizard, pid:8519] 73. wpctl [0.3.49, david@wizard, pid:6129] Audio ├─ Devices: │ 41. GF104 High Definition Audio Controller [alsa] │ 42. Built-in Audio [alsa] │ ├─ Sinks: │ * 45. Built-in Audio Analog Stereo [vol: 0.25] <snip> Looks like pactl has an issue with the speaker (45) and proving nul-terminated output. But the wireplumber control works fine to set the volume. -- David C. Rankin, J.D.,P.E.
Hello, In the Message; Subject : Re: After installing pipewire, volume always set at 92% on login? Message-ID : <c6b041ca-c9d8-4d0c-bf4d-560b51c1c5ac@suddenlinkmail.com> Date & Time: Thu, 21 Sep 2023 21:20:23 -0500 [DCR] == "David C. Rankin" <drankinatty@suddenlinkmail.com> has written: [...] DCR> Well, DCR> I didn't have pulseaudio-utils installed. I installed it and: DCR> $ pactl list short sources DCR> 45 alsa_output.pci-0000_00_1b.0.analog-stereo.monitor PipeWire s32le DCR> 2ch 48000Hz UH��]�f���fD DCR> 46 alsa_input.pci-0000_00_1b.0.analog-stereo PipeWire s32le DCR> 2ch 48000Hz SUSPENDED DCR> Still looks like wpctl makes more sense: DCR> $ wpctl status DCR> PipeWire 'pipewire-0' [0.3.49, david@wizard, cookie:816854696] DCR> └─ Clients: [...] DCR> 73. wpctl [0.3.49, david@wizard, pid:6129] DCR> Audio DCR> ├─ Devices: DCR> │ 41. GF104 High Definition Audio Controller [alsa] DCR> │ 42. Built-in Audio [alsa] DCR> │ DCR> ├─ Sinks: DCR> │ * 45. Built-in Audio Analog Stereo [vol: 0.25] DCR> <snip> Thanks. Is 0.3.49 the version of pipewire? If so, it is too old. Mine is 0.3.80 (tyhough self-built). BTW. In the Message; Subject : Re: After installing pipewire, volume always set at 92% on login? Message-ID : <3af96700-98c1-4873-963d-6c2460b71c82@suddenlinkmail.com> Date & Time: Tue, 19 Sep 2023 23:26:40 -0500 [DCR] == "David C. Rankin" <drankinatty@suddenlinkmail.com> has written: [...] DCR> It looks like it can be used in a similar manner with "set-volume ID VOL", so something like DCR> $ set-volume 45 .25 DCR> works! I think the correct way to set it up is like this. $ wpctl set-volume 45 .25 But, I still can't figure out 0.25. I think it's normal to set the volume in percentage. DCR> Looks like pactl has an issue with the speaker (45) and proving DCR> nul-terminated output. But the wireplumber control works fine to DCR> set the volume. I don't have any problem in my environment. Regards. --- ┏━━┓彡 野宮 賢 mail-to: nomiya @ lake.dti.ne.jp ┃\/彡 ┗━━┛ "Companies have come to view generative AI as a kind of monster that must be fed at all costs—even if it isn’t always clear what exactly that data is needed for or what those future AI systems might end up doing." -- Generative AI Is Making Companies Even More Thirsty for Your Data --
On 9/21/23 23:56, Masaru Nomiya wrote:
Is 0.3.49 the version of pipewire? If so, it is too old. Mine is 0.3.80 (tyhough self-built).
Yes, It's what Leap 15.4 packages: $ rqa pipewire libpipewire-0_3-0-0.3.49-150400.3.3.1.x86_64 pipewire-0.3.49-150400.3.3.1.x86_64 pipewire-modules-0_3-0.3.49-150400.3.3.1.x86_64 pipewire-pulseaudio-0.3.49-150400.3.3.1.x86_64 pipewire-spa-plugins-0_2-0.3.49-150400.3.3.1.x86_64 pipewire-spa-tools-0.3.49-150400.3.3.1.x86_64 pipewire-tools-0.3.49-150400.3.3.1.x86_64 -- David C. Rankin, J.D.,P.E.
participants (2)
-
David C. Rankin
-
Masaru Nomiya