Program volume does not save

My problem is, that after i restart a program, the volume is back to 100%
I start a program, i put it on 20%, close it and start it again and it is again on 100%

System:
Kernel: 5.17.1-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=38add348-b329-4341-8751-7bbc309d28a1 rw rootflags=subvol=@
quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=0 loglevel=3
Desktop: KDE Plasma v: 5.24.4 tk: Qt v: 5.15.3 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Desktop Mobo: Micro-Star model: B450M PRO-VDH MAX (MS-7A38) v: 8.0
serial: <superuser required> UEFI: American Megatrends v: B.40
date: 11/07/2019
CPU:
Info: model: AMD Ryzen 5 3600X bits: 64 type: MT MCP arch: Zen 2
family: 0x17 (23) model-id: 0x71 (113) stepping: 0 microcode: 0x8701013
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB
L3: 32 MiB desc: 2x16 MiB
Speed (MHz): avg: 4165 high: 4173 min/max: 2200/4409 boost: enabled
scaling: driver: acpi-cpufreq governor: performance cores: 1: 4169 2: 4156
3: 4162 4: 4168 5: 4173 6: 4157 7: 4167 8: 4169 9: 4164 10: 4171 11: 4173
12: 4151 bogomips: 91201
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2
mitigation: Retpolines, IBPB: conditional, STIBP: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]
vendor: Tul / PowerColor driver: amdgpu v: kernel pcie: gen: 4
speed: 16 GT/s lanes: 16 ports: active: DP-1,HDMI-A-1 empty: DP-2,DP-3
bus-ID: 2b:00.0 chip-ID: 1002:731f class-ID: 0300
Display: x11 server: X.Org v: 21.1.3 with: Xwayland v: 22.1.1
compositor: kwin_x11 driver: X: loaded: amdgpu unloaded: modesetting,radeon
alternate: fbdev,vesa gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 4480x1440 s-dpi: 96 s-size: 1185x381mm (46.65x15.00")
s-diag: 1245mm (49.01")
Monitor-1: DP-1 mapped: DisplayPort-0 pos: right model: Asus VP228
serial: <filter> built: 2015 res: 1920x1080 hz: 60 dpi: 102 gamma: 1.2
size: 476x268mm (18.74x10.55") diag: 546mm (21.5") ratio: 16:9 modes:
max: 1920x1080 min: 720x400
Monitor-2: HDMI-A-1 mapped: HDMI-A-0 pos: primary,left
model: BenQ GL2706PQ serial: <filter> built: 2016 res: 2560x1440 hz: 60
dpi: 109 gamma: 1.2 size: 597x336mm (23.5x13.23") diag: 685mm (27")
ratio: 16:9 modes: max: 2560x1440 min: 640x480
OpenGL: renderer: AMD Radeon RX 5600 XT (navi10 LLVM 13.0.1 DRM 3.44
5.17.1-zen1-1-zen)
v: 4.6 Mesa 22.0.1 direct render: Yes
Audio:
Device-1: AMD Navi 10 HDMI Audio driver: snd_hda_intel v: kernel pcie:
gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 2b:00.1 chip-ID: 1002:ab38
class-ID: 0403
Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI
driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
bus-ID: 2d:00.4 chip-ID: 1022:1487 class-ID: 0403
Device-3: C-Media CM108 Audio Controller type: USB
driver: hid-generic,snd-usb-audio,usbhid bus-ID: 3-3:4 chip-ID: 0d8c:013c
class-ID: 0300
Sound Server-1: ALSA v: k5.17.1-zen1-1-zen running: yes
Sound Server-2: PulseAudio v: 15.0 running: no
Sound Server-3: PipeWire v: 0.3.49 running: yes
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Micro-Star MSI driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
lanes: 1 port: f000 bus-ID: 25:00.0 chip-ID: 10ec:8168 class-ID: 0200
IF: enp37s0 state: down mac: <filter>
Device-2: Realtek RTL8811AU 802.11a/b/g/n/ac WLAN Adapter type: USB
driver: rtl88XXau bus-ID: 1-3:3 chip-ID: 0bda:a811 class-ID: 0000
serial: <filter>
IF: wlp3s0f0u3 state: up mac: <filter>
IF-ID-1: enp3s0f0u1 state: unknown speed: -1 duplex: half mac: <filter>
IF-ID-2: ipv6leakintrf0 state: unknown speed: N/A duplex: N/A
mac: <filter>
IF-ID-3: proton0 state: unknown speed: 10 Mbps duplex: full mac: N/A
IF-ID-4: pvpnksintrf0 state: unknown speed: N/A duplex: N/A mac: <filter>
IF-ID-5: virbr0 state: down mac: <filter>
Bluetooth:
Device-1: Spreadtrum W_K120 type: USB driver: rndis_host v: kernel
bus-ID: 1-1:10 chip-ID: 1782:5d21 class-ID: 0a00 serial: <filter>
Report: bt-service: enabled,stopped note: tool can't run
Drives:
Local Storage: total: 3.18 TiB used: 832.69 GiB (25.5%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Toshiba model: DT01ACA300
size: 2.73 TiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
type: HDD rpm: 7200 serial: <filter> rev: ABB0 scheme: GPT
ID-2: /dev/sdb maj-min: 8:16 vendor: Samsung model: SSD 750 EVO 500GB
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
type: SSD serial: <filter> rev: 1B6Q scheme: GPT
Partition:
ID-1: / raw-size: 448.27 GiB size: 448.27 GiB (100.00%)
used: 173.79 GiB (38.8%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 25.8 MiB (8.6%) fs: vfat dev: /dev/sdb1 maj-min: 8:17
ID-3: /home raw-size: 448.27 GiB size: 448.27 GiB (100.00%)
used: 173.79 GiB (38.8%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
ID-4: /var/log raw-size: 448.27 GiB size: 448.27 GiB (100.00%)
used: 173.79 GiB (38.8%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
ID-5: /var/tmp raw-size: 448.27 GiB size: 448.27 GiB (100.00%)
used: 173.79 GiB (38.8%) fs: btrfs dev: /dev/sdb2 maj-min: 8:18
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 17.2 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/sdb3 maj-min: 8:19
ID-2: swap-2 type: zram size: 15.63 GiB used: 1.65 GiB (10.5%)
priority: 100 dev: /dev/zram0
Sensors:
System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 56.0 C
mem: 60.0 C
Fan Speeds (RPM): N/A gpu: amdgpu fan: 0
Info:
Processes: 431 Uptime: 7h 39m wakeups: 0 Memory: 15.63 GiB
used: 8.52 GiB (54.5%) Init: systemd v: 250 tool: systemctl Compilers:
gcc: 11.2.0 clang: 13.0.1 Packages: apt: 0 pacman: 2373 lib: 532
Shell: fish v: 3.4.1 default: Bash v: 5.1.16 running-in: konsole
inxi: 3.3.15
Garuda (2.6.1-1):
System install date:     2022-01-14
Last full system update: 2022-04-12
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       Probably (Run as root to verify)
Snapshots:               Snapper
Failed units:            bluetooth-autoconnect.service systemd-oomd.socket```

What you are describing would be considered normal behavior for many programs.

What is the program?

Is there an aspect of changing the system volume instead of the program volume that is undesirable for your use case?

1 Like

What is the program? that list would be endless, cause its every program i had installed, have installed or could install in future.
And no, i dont want to change the system volume, cause that would lower the volume of my browser and discord too, and i dont want that.
But maybe you dont know what i mean, i mean the volume from this thing.
image

I’d recommend updating your system before doing anything else. Rolling-release distros often see fixes with package updates (but also regressions, but that’s just part of the cycle).

4 Likes

No, did not help. It is now on version 0.3.50 and the problem is still there.
Is there maybe some config file i can delete or something? cause pipewire should save the volume somewhere, maybe that file is broken

What have you researched? What did you find? Be specific. What are the links? Who else has (had) the problem? What did you try and what were the results? Be specific. Give us the output. What did you not try, and why.

These are the type of responses you need to be prepared to state or post when you ask questions in any Linux forum. It helps those that would and could help you to do so.

I did search, and i didnt find anything about that problem.

Then it doesn't exist--unless you caused it. What did you do that caused it? I'm not joking. Either it is unique to your hardware or your settings. What do you have that is unique and/or what did you do?

"Common" problems don't usually exist in a vacuum. I have seen this problem reported before.

Just because i didnt found it with searching for it doesnt mean it doesnt exist. Maybe i searched wrong or something.
But yeah, i did something to cause it. I restored the backup of my system. I backed it up with Rsync, reinstalled garuda and then i restored the backup.

39 Million Plus hits on your problem.
https://www.google.com/search?q=(Linux)+Program+volume+does+not+save&ei=5dxaYtaiEtC50PEPz_i9-AU&ved=0ahUKEwiWqeeo75j3AhXQHDQIHU98D18Q4dUDCA4&uact=5&oq=(Linux)+Program+volume+does+not+save&gs_lcp=Cgdnd3Mtd2l6EAM6BwgAEEcQsANKBAhBGABKBAhGGABQgBdY53FgwXZoAXABeACAAVGIAbEEkgEBOJgBAKABAcgBCMABAQ&sclient=gws-wiz

2 Likes

yeah, then i searched wrong, i searched for "pipewire does not save program volume" or something
I will look at the results of your link

Good for you, mate. I only searched on your topic header prefaced by (Linux). Good luck separating the wheat from the chaff. :slight_smile:

I solved it. I deleted the configs, and now everything works again.
Thats why i asked where the config files are.

Learn to search, please :slight_smile:
Like

 ╭─sgs@i3 in ~ took 511ms
 ╰─λ find -iname '*fish*' | grep conf
./.config/fish
./.config/fish/conf.d/done.fish
./.config/fish/config.fish-5950
./.config/fish/fish_variables
./.config/fish/config.fish
./.config/micro/plug/fish

Most of the time, the conf(ig) ar in ~/.config.

And your post is not a solution in real life.
Because you didn't post where you deleted what.

/etc/alsa/conf.d/50-pipewire.conf
/usr/share/alsa/alsa.conf.d/50-pipewire.conf
/usr/share/alsa/alsa.conf.d/99-pipewire-default.conf
/usr/share/pipewire/client-rt.conf
/usr/share/pipewire/client.conf
/usr/share/pipewire/filter-chain/demonic.conf
/usr/share/pipewire/filter-chain/duplicate-FL.conf
/usr/share/pipewire/filter-chain/sink-dolby-surround.conf
/usr/share/pipewire/filter-chain/sink-eq6.conf
/usr/share/pipewire/filter-chain/sink-matrix-spatialiser.conf
/usr/share/pipewire/filter-chain/sink-virtual-surround-5.1-kemar.conf
/usr/share/pipewire/filter-chain/sink-virtual-surround-7.1-hesuvi.conf
/usr/share/pipewire/filter-chain/source-rnnoise.conf
/usr/share/pipewire/minimal.conf
/usr/share/pipewire/pipewire-pulse.conf
/usr/share/pipewire/pipewire.conf
/usr/share/spa-0.2/bluez5/bluez-hardware.conf
1 Like