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"
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"
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 :
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