Page 1 of 1
Volume level drops back to default level when logging out of desktop
Posted: Mon Aug 07, 2023 10:47 am
by siamhie
If I log out of my desktop then log back in the volume level drops back to the default value of 40.
If I cold boot or reboot my computer the volume level retains the value of 70 that I set it at. This seems to
happen only when I'm booting up with systemd. If I boot sys-v this issue doesn't occur.
I thought it might be a desktop issue (fluxbox) so I added a spare SSD to my system and installed
MX-23 XFCE and MX-23 KDE but he issue still happens. Works in sys-v but not in systemd.
I found two fixes but they seem rash. One is to reboot the computer when I log back in and the other
is to remove myself from the audio group.
One more thing I can try and that is to install a known working soundblaster sound card I have laying
around and disable the on-board audio but that seems extreme considering this motherboard
(MSI B550-A Pro) is less than two years old.
Any ideas or pointers I can try. I'm all ears.
QSI (fluxbox)
Code: Select all
System:
Kernel: 6.4.8-1-liquorix-amd64 arch: x86_64 bits: 64 compiler: gcc v: 12.2.0 parameters: audit=0
intel_pstate=disable hpet=disable rcupdate.rcu_expedited=1
BOOT_IMAGE=/boot/vmlinuz-6.4.8-1-liquorix-amd64 root=UUID=<filter> ro quiet splash
amdgpu.ppfeaturemask=0xffffffff init=/lib/systemd/systemd
Desktop: Fluxbox v: 1.3.7 info: tint2 vt: 7 dm: LightDM v: 1.26.0 Distro: MX-23_fluxbox_x64
Libretto July 31 2023 base: Debian GNU/Linux 12 (bookworm)
Machine:
Type: Desktop System: Micro-Star product: MS-7C56 v: 2.0 serial: <superuser required>
Mobo: Micro-Star model: B550-A PRO (MS-7C56) v: 2.0 serial: <superuser required> UEFI: American
Megatrends LLC. v: A.B0 date: 08/11/2022
Battery:
Device-1: hidpp_battery_0 model: Logitech Wireless Mouse serial: <filter>
charge: 55% (should be ignored) rechargeable: yes status: discharging
CPU:
Info: model: AMD Ryzen 7 3800X bits: 64 type: MT MCP arch: Zen 2 gen: 3 level: v3 note: check
built: 2020-22 process: TSMC n7 (7nm) family: 0x17 (23) model-id: 0x71 (113) stepping: 0
microcode: 0x8701021
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache: L1: 512 KiB
desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB L3: 32 MiB desc: 2x16 MiB
Speed (MHz): avg: 2337 high: 3598 min/max: 2200/4559 boost: enabled scaling:
driver: acpi-cpufreq governor: ondemand cores: 1: 2200 2: 2412 3: 1865 4: 2200 5: 3598 6: 1931
7: 2800 8: 2200 9: 2200 10: 2200 11: 2200 12: 2200 13: 2800 14: 2200 15: 2200 16: 2200
bogomips: 124801
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: mmio_stale_data status: Not affected
Type: retbleed mitigation: untrained return thunk; SMT enabled with STIBP protection
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: always-on, RSB filling,
PBRSB-eIBRS: Not affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT] vendor: Tul / PowerColor
driver: amdgpu v: kernel arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm) built: 2020-22 pcie:
gen: 4 speed: 16 GT/s lanes: 16 ports: active: DP-1 empty: DP-2,DP-3,HDMI-A-1 bus-ID: 0b:00.0
chip-ID: 1002:73df class-ID: 0300
Display: x11 server: X.Org v: 1.21.1.7 compositor: Compton v: 1 driver: X: loaded: amdgpu
unloaded: fbdev,modesetting,radeon,vesa dri: radeonsi gpu: amdgpu display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.65x15.00") s-diag: 777mm (30.58")
Monitor-1: DP-1 mapped: DisplayPort-0 model: HP X27q serial: <filter> built: 2021
res: 2560x1440 hz: 165 dpi: 109 gamma: 1.2 size: 597x336mm (23.5x13.23") diag: 685mm (27")
ratio: 16:9 modes: max: 2560x1440 min: 720x400
API: OpenGL v: 4.6 Mesa 22.3.6 renderer: AMD Radeon RX 6700 XT (navi22 LLVM 15.0.6 DRM 3.52
6.4.8-1-liquorix-amd64) direct-render: Yes
Audio:
Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel v: kernel pcie: gen: 4
speed: 16 GT/s lanes: 16 bus-ID: 0b:00.1 chip-ID: 1002:ab28 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: 14:00.4 chip-ID: 1022:1487 class-ID: 0403
API: ALSA v: k6.4.8-1-liquorix-amd64 status: kernel-api tools: alsactl,alsamixer,amixer
Server-1: PipeWire v: 0.3.65 status: active with: 1: pipewire-pulse status: active
2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel Wi-Fi 6 AX210/AX211/AX411 160MHz driver: iwlwifi v: kernel pcie: gen: 2
speed: 5 GT/s lanes: 1 bus-ID: 05:00.0 chip-ID: 8086:2725 class-ID: 0280
IF: wlan0 state: up mac: <filter>
Bluetooth:
Device-1: Intel AX210 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1
mode: 1.1 bus-ID: 1-2.3:4 chip-ID: 8087:0032 class-ID: e001
Report: rfkill ID: hci0 rfk-id: 1 state: down bt-service: N/A rfk-block: hardware: no
software: no address: see --recommends
Drives:
Local Storage: total: 8.64 TiB used: 873 GiB (9.9%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:3 vendor: Western Digital model: WDS500G1X0E-00AFY0
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 tech: SSD
serial: <filter> fw-rev: 613000WD temp: 44.9 C scheme: GPT
ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Western Digital model: WDS500G3XHC-00SJG0
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD
serial: <filter> fw-rev: 102000WD temp: 42.9 C scheme: GPT
ID-3: /dev/sda maj-min: 8:0 vendor: SanDisk model: ST8000DM004-2CX188 size: 7.28 TiB
block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s tech: HDD rpm: 5425 serial: <filter>
fw-rev: 0001 scheme: GPT
ID-4: /dev/sdb maj-min: 8:16 vendor: Samsung model: SSD 870 EVO 500GB size: 465.76 GiB
block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s tech: SSD serial: <filter>
fw-rev: 1B6Q scheme: GPT
Partition:
ID-1: / raw-size: 465 GiB size: 456.63 GiB (98.20%) used: 7.98 GiB (1.7%) fs: ext4
dev: /dev/nvme0n1p2 maj-min: 259:5
ID-2: /boot/efi raw-size: 128 MiB size: 126 MiB (98.45%) used: 419 KiB (0.3%) fs: vfat
dev: /dev/nvme0n1p1 maj-min: 259:4
Swap:
Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 65 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme1n1p1
maj-min: 259:1
Sensors:
System Temperatures: cpu: 43.0 C mobo: N/A gpu: amdgpu temp: 48.0 C mem: 52.0 C
Fan Speeds (RPM): N/A gpu: amdgpu fan: 1411
Repos:
Packages: pm: dpkg pkgs: 1963 libs: 997 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm pkgs: 0
pm: flatpak pkgs: 0
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
Active apt repos in: /etc/apt/sources.list.d/librewolf.list
1: deb [arch=amd64] http://deb.librewolf.net bullseye main
Active apt repos in: /etc/apt/sources.list.d/liquorix.list
1: deb [arch=amd64 signed-by=/etc/apt/keyrings/liquorix-keyring.gpg] https://liquorix.net/debian bookworm main
2: deb-src [arch=amd64 signed-by=/etc/apt/keyrings/liquorix-keyring.gpg] https://liquorix.net/debian bookworm main
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://la.mxrepo.com/mx/repo/ bookworm main non-free
2: deb http://la.mxrepo.com/mx/repo/ bookworm ahs
Active apt repos in: /etc/apt/sources.list.d/nordvpn.list
1: deb https://repo.nordvpn.com/deb/nordvpn/debian stable main
Info:
Processes: 346 Uptime: 0m wakeups: 2 Memory: total: N/A available: 31.27 GiB
used: 1.08 GiB (3.4%) Init: systemd v: 252 target: graphical (5) default: graphical
tool: systemctl Compilers: gcc: 12.2.0 alt: 12 Client: shell wrapper v: 5.2.15-release
inxi: 3.3.28
Boot Mode: UEFI
May as well have the other two as well.
QSI (XFCE)
Code: Select all
System:
Kernel: 6.4.0-1mx-ahs-amd64 [6.4.4-1~mx23+1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-6.4.0-1mx-ahs-amd64 root=UUID=<filter> ro quiet splash
init=/lib/systemd/systemd
Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
dm: LightDM v: 1.26.0 Distro: MX-23_ahs_x64 Libretto July 31 2023 base: Debian GNU/Linux 12
(bookworm)
Machine:
Type: Desktop System: Micro-Star product: MS-7C56 v: 2.0 serial: <superuser required>
Mobo: Micro-Star model: B550-A PRO (MS-7C56) v: 2.0 serial: <superuser required> UEFI: American
Megatrends LLC. v: A.B0 date: 08/11/2022
Battery:
Device-1: hidpp_battery_0 model: Logitech Wireless Mouse serial: <filter>
charge: 55% (should be ignored) rechargeable: yes status: discharging
CPU:
Info: model: AMD Ryzen 7 3800X bits: 64 type: MT MCP arch: Zen 2 gen: 3 level: v3 note: check
built: 2020-22 process: TSMC n7 (7nm) family: 0x17 (23) model-id: 0x71 (113) stepping: 0
microcode: 0x8701021
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache: L1: 512 KiB
desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB L3: 32 MiB desc: 2x16 MiB
Speed (MHz): avg: 2198 high: 2200 min/max: 2200/4559 boost: enabled scaling:
driver: acpi-cpufreq governor: ondemand cores: 1: 2200 2: 2200 3: 2200 4: 2200 5: 2181 6: 2200
7: 2200 8: 2200 9: 2200 10: 2200 11: 2200 12: 2200 13: 2200 14: 2200 15: 2200 16: 2200
bogomips: 124799
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: mmio_stale_data status: Not affected
Type: retbleed mitigation: untrained return thunk; SMT enabled with STIBP protection
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: always-on, RSB filling,
PBRSB-eIBRS: Not affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT] vendor: Tul / PowerColor
driver: amdgpu v: kernel arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm) built: 2020-22 pcie:
gen: 4 speed: 16 GT/s lanes: 16 ports: active: DP-1 empty: DP-2,DP-3,HDMI-A-1 bus-ID: 0b:00.0
chip-ID: 1002:73df class-ID: 0300
Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver: X: loaded: amdgpu
unloaded: fbdev,modesetting,radeon,vesa dri: radeonsi gpu: amdgpu display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.65x15.00") s-diag: 777mm (30.58")
Monitor-1: DP-1 mapped: DisplayPort-0 model: HP X27q serial: <filter> built: 2021
res: 2560x1440 hz: 165 dpi: 109 gamma: 1.2 size: 597x336mm (23.5x13.23") diag: 685mm (27")
ratio: 16:9 modes: max: 2560x1440 min: 720x400
API: OpenGL v: 4.6 Mesa 22.3.6 renderer: AMD Radeon RX 6700 XT (navi22 LLVM 15.0.6 DRM 3.52
6.4.0-1mx-ahs-amd64) direct-render: Yes
Audio:
Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel v: kernel pcie: gen: 4
speed: 16 GT/s lanes: 16 bus-ID: 0b:00.1 chip-ID: 1002:ab28 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: 14:00.4 chip-ID: 1022:1487 class-ID: 0403
API: ALSA v: k6.4.0-1mx-ahs-amd64 status: kernel-api tools: alsamixer,amixer
Server-1: PipeWire v: 0.3.65 status: active with: 1: pipewire-pulse status: active
2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel Wi-Fi 6 AX210/AX211/AX411 160MHz driver: iwlwifi v: kernel modules: wl pcie:
gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 05:00.0 chip-ID: 8086:2725 class-ID: 0280
IF: wlan0 state: up mac: <filter>
Bluetooth:
Device-1: Intel AX210 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-2.3:4 chip-ID: 8087:0032
class-ID: e001
Report: hciconfig ID: hci0 rfk-id: 1 state: down bt-service: N/A rfk-block: hardware: no
software: no address: <filter>
Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch sniff link-mode: peripheral accept
Drives:
Local Storage: total: 8.64 TiB used: 6.75 GiB (0.1%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:3 vendor: Western Digital model: WDS500G1X0E-00AFY0
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD
serial: <filter> rev: 613000WD temp: 44.9 C scheme: GPT
ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Western Digital model: WDS500G3XHC-00SJG0
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD
serial: <filter> rev: 102000WD temp: 42.9 C scheme: GPT
ID-3: /dev/sda maj-min: 8:0 vendor: SanDisk model: ST8000DM004-2CX188 size: 7.28 TiB
block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5425 serial: <filter>
rev: 0001 scheme: GPT
ID-4: /dev/sdb maj-min: 8:16 vendor: Samsung model: SSD 870 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: 232.88 GiB size: 228.16 GiB (97.98%) used: 6.75 GiB (3.0%) fs: ext4
dev: /dev/sdb1 maj-min: 8:17
ID-2: /boot/efi raw-size: 128 MiB size: 126 MiB (98.45%) used: 419 KiB (0.3%) fs: vfat
dev: /dev/nvme0n1p1 maj-min: 259:4
Swap:
Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 65 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme1n1p1
maj-min: 259:1
Sensors:
System Temperatures: cpu: 44.9 C mobo: N/A gpu: amdgpu temp: 52.0 C mem: 60.0 C
Fan Speeds (RPM): N/A gpu: amdgpu fan: 1300
Repos:
Packages: pm: dpkg pkgs: 2059 libs: 1047 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
pkgs: 0 pm: flatpak pkgs: 0
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://la.mxrepo.com/mx/repo/ bookworm main non-free
2: deb http://la.mxrepo.com/mx/repo/ bookworm ahs
Info:
Processes: 380 Uptime: 0m wakeups: 2 Memory: 31.26 GiB used: 1.44 GiB (4.6%) Init: systemd v: 252
target: graphical (5) default: graphical tool: systemctl Compilers: gcc: 12 Client: shell wrapper
v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI
QSI (KDE)
Code: Select all
System:
Kernel: 6.1.0-10-amd64 [6.1.38-2] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-10-amd64 root=UUID=<filter> ro quiet splash
init=/lib/systemd/systemd
Desktop: KDE Plasma v: 5.27.5 wm: kwin_x11 vt: 7 dm: SDDM Distro: MX-23_KDE_x64 Libretto July
31 2023 base: Debian GNU/Linux 12 (bookworm)
Machine:
Type: Desktop System: Micro-Star product: MS-7C56 v: 2.0 serial: <superuser required>
Mobo: Micro-Star model: B550-A PRO (MS-7C56) v: 2.0 serial: <superuser required> UEFI: American
Megatrends LLC. v: A.B0 date: 08/11/2022
Battery:
Device-1: hidpp_battery_0 model: Logitech Wireless Mouse serial: <filter>
charge: 55% (should be ignored) rechargeable: yes status: discharging
CPU:
Info: model: AMD Ryzen 7 3800X bits: 64 type: MT MCP arch: Zen 2 gen: 3 level: v3 note: check
built: 2020-22 process: TSMC n7 (7nm) family: 0x17 (23) model-id: 0x71 (113) stepping: 0
microcode: 0x8701021
Topology: cpus: 1x cores: 8 tpc: 2 threads: 16 smt: enabled cache: L1: 512 KiB
desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB desc: 8x512 KiB L3: 32 MiB desc: 2x16 MiB
Speed (MHz): avg: 2237 high: 2800 min/max: 2200/4559 boost: enabled scaling:
driver: acpi-cpufreq governor: ondemand cores: 1: 2200 2: 2200 3: 2200 4: 2200 5: 2200 6: 2200
7: 2200 8: 2200 9: 2199 10: 2199 11: 2200 12: 2199 13: 2200 14: 2200 15: 2200 16: 2800
bogomips: 124799
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: mmio_stale_data status: Not affected
Type: retbleed mitigation: untrained return thunk; SMT enabled with STIBP protection
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: always-on, RSB filling,
PBRSB-eIBRS: Not affected
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: AMD Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT] vendor: Tul / PowerColor
driver: amdgpu v: kernel arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm) built: 2020-22 pcie:
gen: 4 speed: 16 GT/s lanes: 16 ports: active: DP-1 empty: DP-2,DP-3,HDMI-A-1 bus-ID: 0b:00.0
chip-ID: 1002:73df class-ID: 0300
Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 compositor: kwin_x11 driver: X:
loaded: amdgpu unloaded: fbdev,modesetting,radeon,vesa dri: radeonsi gpu: amdgpu display-ID: :0
screens: 1
Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.65x15.00") s-diag: 777mm (30.58")
Monitor-1: DP-1 mapped: DisplayPort-0 model: HP X27q serial: <filter> built: 2021
res: 2560x1440 hz: 165 dpi: 109 gamma: 1.2 size: 597x336mm (23.5x13.23") diag: 685mm (27")
ratio: 16:9 modes: max: 2560x1440 min: 720x400
API: OpenGL v: 4.6 Mesa 22.3.6 renderer: AMD Radeon RX 6700 XT (navi22 LLVM 15.0.6 DRM 3.49
6.1.0-10-amd64) direct-render: Yes
Audio:
Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel v: kernel pcie: gen: 4
speed: 16 GT/s lanes: 16 bus-ID: 0b:00.1 chip-ID: 1002:ab28 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: 14:00.4 chip-ID: 1022:1487 class-ID: 0403
API: ALSA v: k6.1.0-10-amd64 status: kernel-api tools: alsamixer,amixer
Server-1: PipeWire v: 0.3.65 status: active with: 1: pipewire-pulse status: active
2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel Wi-Fi 6 AX210/AX211/AX411 160MHz driver: iwlwifi v: kernel modules: wl pcie:
gen: 2 speed: 5 GT/s lanes: 1 bus-ID: 05:00.0 chip-ID: 8086:2725 class-ID: 0280
IF: wlan0 state: up mac: <filter>
Bluetooth:
Device-1: Intel AX210 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-2.3:4 chip-ID: 8087:0032
class-ID: e001
Report: hciconfig ID: hci0 rfk-id: 1 state: down bt-service: N/A rfk-block: hardware: no
software: no address: <filter>
Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch sniff link-mode: peripheral accept
Drives:
Local Storage: total: 8.64 TiB used: 8.08 GiB (0.1%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:3 vendor: Western Digital model: WDS500G1X0E-00AFY0
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD
serial: <filter> rev: 613000WD temp: 44.9 C scheme: GPT
ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: Western Digital model: WDS500G3XHC-00SJG0
size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD
serial: <filter> rev: 102000WD temp: 42.9 C scheme: GPT
ID-3: /dev/sda maj-min: 8:0 vendor: SanDisk model: ST8000DM004-2CX188 size: 7.28 TiB
block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s type: HDD rpm: 5425 serial: <filter>
rev: 0001 scheme: GPT
ID-4: /dev/sdb maj-min: 8:16 vendor: Samsung model: SSD 870 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: 232.88 GiB size: 228.17 GiB (97.98%) used: 8.08 GiB (3.5%) fs: ext4
dev: /dev/sdb2 maj-min: 8:18
ID-2: /boot/efi raw-size: 128 MiB size: 126 MiB (98.45%) used: 419 KiB (0.3%) fs: vfat
dev: /dev/nvme0n1p1 maj-min: 259:4
Swap:
Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 65 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/nvme1n1p1
maj-min: 259:1
Sensors:
System Temperatures: cpu: 42.0 C mobo: N/A gpu: amdgpu temp: 52.0 C mem: 56.0 C
Fan Speeds (RPM): N/A gpu: amdgpu fan: 0
Repos:
Packages: pm: dpkg pkgs: 2427 libs: 1338 tools: apt,apt-get,aptitude,nala pm: rpm pkgs: 0
pm: flatpak pkgs: 0
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://la.mxrepo.com/mx/repo/ bookworm main non-free
2: deb http://la.mxrepo.com/mx/repo/ bookworm ahs
Info:
Processes: 346 Uptime: 1m wakeups: 2 Memory: 31.27 GiB used: 1.55 GiB (5.0%) Init: systemd v: 252
target: graphical (5) default: graphical tool: systemctl Compilers: gcc: 12 Client: shell wrapper
v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI
Re: Volume level drops back to default level when logging out of desktop
Posted: Mon Aug 07, 2023 11:16 am
by BitterTruth
I wonder if it's related to this thread in anyway:
viewtopic.php?t=76436
***issue is different but maybe there's some clue hidden somewhere
@linexer2016 has similar hardware, software to you, although the kernel version is 6.3.9-1-liquorix-amd64.
Code: Select all
Audio:
[color=#0000FF]Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel [/color]v: kernel pcie: gen: 4
speed: 16 GT/s lanes: 16 bus-ID: 12:00.1 chip-ID: 1002:ab28 class-ID: 0403
Device-2: AMD Renoir Radeon High Definition Audio vendor: Micro-Star MSI driver: snd_hda_intel
v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 30:00.1
chip-ID: 1002:1637 class-ID: 0403
Device-3: AMD Family 17h/19h HD Audio vendor: [color=#0000FF]Micro-Star MSI driver: snd_hda_intel[/color] v: kernel
pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 30:00.6
chip-ID: 1022:15e3 class-ID: 0403
API: ALSA v: k6.3.9-1-liquorix-amd64 status: kernel-api tools: alsamixer,alsamixergui,amixer
Server-1: PipeWire v: 0.3.65 status: off with: wireplumber status: off
tools: pw-cat,pw-cli,wpctl
Re: Volume level drops back to default level when logging out of desktop
Posted: Mon Aug 07, 2023 1:44 pm
by siamhie
BitterTruth wrote: Mon Aug 07, 2023 11:16 am
I wonder if it's related to this thread in anyway:
viewtopic.php?t=76436
***issue is different but maybe there's some clue hidden somewhere
@linexer2016 has similar hardware, software to you, although the kernel version is 6.3.9-1-liquorix-amd64.
Code: Select all
Audio:
[color=#0000FF]Device-1: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel [/color]v: kernel pcie: gen: 4
speed: 16 GT/s lanes: 16 bus-ID: 12:00.1 chip-ID: 1002:ab28 class-ID: 0403
Device-2: AMD Renoir Radeon High Definition Audio vendor: Micro-Star MSI driver: snd_hda_intel
v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 30:00.1
chip-ID: 1002:1637 class-ID: 0403
Device-3: AMD Family 17h/19h HD Audio vendor: [color=#0000FF]Micro-Star MSI driver: snd_hda_intel[/color] v: kernel
pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 30:00.6
chip-ID: 1022:15e3 class-ID: 0403
API: ALSA v: k6.3.9-1-liquorix-amd64 status: kernel-api tools: alsamixer,alsamixergui,amixer
Server-1: PipeWire v: 0.3.65 status: off with: wireplumber status: off
tools: pw-cat,pw-cli,wpctl
@BitterTruth
I looked through the thread and don't have the same symptoms. My issue is when I log out of the desktop and log back in that the sound drops back down to 40.
That was the reason behind installing the other two desktops. XFCE (AHS) uses the 6.4-mx kernel and KDE uses the 6.1-mx kernel while I have the latest 6.4 liquorix kernel in fluxbox just to rule that out.
This is what I have regarding those 4 commands on page two of that thread.
Code: Select all
cat /proc/asound/devices
1: : sequencer
2: [ 0- 3]: digital audio playback
3: [ 0- 7]: digital audio playback
4: [ 0- 8]: digital audio playback
5: [ 0- 9]: digital audio playback
6: [ 0-10]: digital audio playback
7: [ 0-11]: digital audio playback
8: [ 0- 0]: hardware dependent
9: [ 0] : control
10: [ 1- 0]: digital audio playback
11: [ 1- 0]: digital audio capture
12: [ 1- 2]: digital audio capture
13: [ 1- 0]: hardware dependent
14: [ 1] : control
33: : timer
Code: Select all
lspci | grep -i audio
0b:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller
14:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller
Code: Select all
lsmod
Module Size Used by
ccm 20480 6
snd_seq_dummy 12288 0
snd_hrtimer 12288 1
snd_seq 102400 7 snd_seq_dummy
snd_seq_device 16384 1 snd_seq
btusb 73728 0
btrtl 20480 1 btusb
btbcm 20480 1 btusb
btintel 53248 1 btusb
btmtk 12288 1 btusb
af_packet 61440 8
bluetooth 851968 6 btrtl,btmtk,btintel,btbcm,btusb
ecdh_generic 16384 1 bluetooth
mousedev 24576 0
joydev 20480 0
apple_mfi_fastcharge 12288 0
qrtr 53248 4
uinput 20480 1
nls_utf8 12288 1
nls_cp437 16384 1
vfat 20480 1
fat 98304 1 vfat
iwlmvm 557056 0
mac80211 1343488 1 iwlmvm
snd_hda_codec_realtek 192512 1
snd_hda_codec_generic 110592 1 snd_hda_codec_realtek
ledtrig_audio 12288 1 snd_hda_codec_generic
snd_hda_codec_hdmi 86016 1
libarc4 12288 1 mac80211
intel_rapl_msr 12288 0
intel_rapl_common 28672 1 intel_rapl_msr
snd_hda_intel 53248 2
snd_intel_dspcfg 28672 1 snd_hda_intel
edac_mce_amd 40960 0
snd_intel_sdw_acpi 12288 1 snd_intel_dspcfg
iwlwifi 417792 1 iwlmvm
snd_hda_codec 204800 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core 131072 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
kvm 1355776 0
snd_hwdep 16384 1 snd_hda_codec
cfg80211 1232896 3 iwlmvm,iwlwifi,mac80211
snd_pcm 192512 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer 45056 3 snd_seq,snd_hrtimer,snd_pcm
snd 139264 16 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
irqbypass 12288 1 kvm
wmi_bmof 12288 0
rfkill 40960 5 iwlmvm,bluetooth,cfg80211
soundcore 16384 1 snd
acpi_cpufreq 20480 0
k10temp 12288 0
sp5100_tco 12288 0
sg 49152 0
nfsd 811008 5
auth_rpcgss 176128 1 nfsd
nfs_acl 12288 1 nfsd
lockd 151552 1 nfsd
grace 12288 2 nfsd,lockd
parport_pc 53248 0
ppdev 16384 0
sunrpc 761856 17 nfsd,auth_rpcgss,lockd,nfs_acl
lp 20480 0
parport 61440 3 parport_pc,lp,ppdev
fuse 188416 5
dm_mod 192512 0
loop 32768 0
efi_pstore 12288 0
dmi_sysfs 16384 0
ip_tables 32768 0
x_tables 53248 1 ip_tables
ext4 1105920 3
crc16 12288 2 bluetooth,ext4
mbcache 16384 1 ext4
jbd2 184320 1 ext4
btrfs 2056192 0
blake2b_generic 20480 0
raid10 73728 0
raid456 172032 0
async_raid6_recov 16384 1 raid456
async_memcpy 12288 2 raid456,async_raid6_recov
async_pq 12288 2 raid456,async_raid6_recov
async_xor 16384 3 async_pq,raid456,async_raid6_recov
async_tx 12288 5 async_pq,async_memcpy,async_xor,raid456,async_raid6_recov
xor 20480 2 async_xor,btrfs
raid6_pq 122880 4 async_pq,btrfs,raid456,async_raid6_recov
libcrc32c 12288 2 btrfs,raid456
crc32c_generic 12288 0
raid1 57344 0
raid0 20480 0
multipath 12288 0
linear 16384 0
md_mod 208896 6 raid1,raid10,raid0,linear,raid456,multipath
vmd 20480 0
hid_apple 20480 0
hid_logitech_hidpp 49152 0
hid_logitech_dj 32768 0
usbhid 61440 2 hid_logitech_dj,hid_logitech_hidpp
amdgpu 11034624 17
drm_buddy 20480 1 amdgpu
gpu_sched 53248 1 amdgpu
video 61440 1 amdgpu
i2c_algo_bit 16384 1 amdgpu
drm_suballoc_helper 12288 1 amdgpu
drm_ttm_helper 12288 1 amdgpu
ttm 102400 2 amdgpu,drm_ttm_helper
agpgart 49152 1 ttm
drm_display_helper 217088 1 amdgpu
cec 98304 1 drm_display_helper
rc_core 61440 1 cec
crct10dif_pclmul 12288 1
crc32_pclmul 12288 0
crc32c_intel 16384 7
polyval_clmulni 12288 0
drm_kms_helper 237568 3 drm_display_helper,amdgpu
polyval_generic 12288 1 polyval_clmulni
syscopyarea 12288 1 drm_kms_helper
ghash_clmulni_intel 16384 0
sysfillrect 12288 1 drm_kms_helper
sysimgblt 12288 1 drm_kms_helper
sha512_ssse3 53248 0
aesni_intel 360448 4
crypto_simd 16384 1 aesni_intel
cryptd 32768 2 crypto_simd,ghash_clmulni_intel
drm 741376 21 gpu_sched,drm_kms_helper,drm_suballoc_helper,drm_display_helper,drm_buddy,amdgpu,drm_ttm_helper,ttm
ccp 122880 0
rng_core 20480 1 ccp
i2c_piix4 20480 0
xhci_pci 20480 0
xhci_pci_renesas 12288 1 xhci_pci
wmi 32768 2 video,wmi_bmof
gpio_amdpt 12288 0
gpio_generic 20480 1 gpio_amdpt
Code: Select all
groups
siamhie lp dialout cdrom floppy sudo audio dip video plugdev users netdev lpadmin vboxsf scanner nordvpn sambashare
This is what I have in .local/state/wireplumber/default-routes (setting of 70)
Code: Select all
alsa_card.pci-0000_14_00.4:output:analog-output-lineout:channelVolumes=0.34348922967911;0.34348922967911;
As I said before, if I remove myself from the audio group, all is fine, but that means I would have to do that every time I install the MX-23 ISO.
Re: Volume level drops back to default level when logging out of desktop
Posted: Mon Aug 07, 2023 1:51 pm
by BitterTruth
How is your sound setup physically? Through hdmi, headphones, speakers, ports etc?
EDIT:
Also can you please run the commands on the other init (SysV?) For comparison
Since you changed the software and the problem remains, it's pointing to the hardware.
Re: Volume level drops back to default level when logging out of desktop
Posted: Mon Aug 07, 2023 2:38 pm
by junoluna
i have the exact same issue with 3 different laptops and MX 23 - Plasma
here is the QSI of the one i am using now
Code: Select all
Snapshot created on: 20230803_1448
System:
Kernel: 6.1.0-10-amd64 [6.1.38-2] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
parameters: BOOT_IMAGE=/boot/vmlinuz-6.1.0-10-amd64 root=UUID=<filter> ro quiet splash
Desktop: KDE Plasma v: 5.27.5 wm: kwin_x11 vt: 7 dm: SDDM Distro: MX-23_x64 Libretto August 03
2023 base: Debian GNU/Linux 12 (bookworm)
Machine:
Type: Laptop System: Dell product: Latitude 7480 v: N/A serial: <superuser required> Chassis:
type: 10 serial: <superuser required>
Mobo: Dell model: 00F6D3 v: A00 serial: <superuser required> UEFI: Dell v: 1.4.6
date: 05/18/2017
Battery:
ID-1: BAT0 charge: 36.1 Wh (92.3%) condition: 39.1/42.0 Wh (93.2%) volts: 12.3 min: 11.4
model: LGC-LGC3.553 DELL C27RW type: Li-ion serial: <filter> status: discharging
CPU:
Info: model: Intel Core i5-6200U bits: 64 type: MT MCP arch: Skylake gen: core 6 level: v3
note: check built: 2015 process: Intel 14nm family: 6 model-id: 0x4E (78) stepping: 3
microcode: 0xF0
Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache: L1: 128 KiB
desc: d-2x32 KiB; i-2x32 KiB L2: 512 KiB desc: 2x256 KiB L3: 3 MiB desc: 1x3 MiB
Speed (MHz): avg: 700 min/max: 400/2800 scaling: driver: intel_pstate governor: powersave
cores: 1: 700 2: 700 3: 700 4: 700 bogomips: 19200
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Vulnerabilities:
Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable
Type: mds mitigation: Clear CPU buffers; SMT vulnerable
Type: meltdown mitigation: PTI
Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
Type: retbleed mitigation: IBRS
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: IBRS, IBPB: conditional, STIBP: conditional, RSB filling,
PBRSB-eIBRS: Not affected
Type: srbds mitigation: Microcode
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: Intel Skylake GT2 [HD Graphics 520] vendor: Dell driver: i915 v: kernel arch: Gen-9
process: Intel 14n built: 2015-16 ports: active: eDP-1 empty: DP-1,HDMI-A-1,HDMI-A-2
bus-ID: 00:02.0 chip-ID: 8086:1916 class-ID: 0300
Device-2: Realtek Integrated Webcam HD type: USB driver: uvcvideo bus-ID: 1-5:2
chip-ID: 0bda:568c class-ID: 0e02 serial: <filter>
Display: x11 server: X.Org v: 1.21.1.7 with: Xwayland v: 22.1.9 compositor: kwin_x11 driver: X:
loaded: modesetting unloaded: fbdev,vesa dri: iris gpu: i915 display-ID: :0 screens: 1
Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.21x7.99") s-diag: 414mm (16.31")
Monitor-1: eDP-1 model: BOE Display 0x06d1 built: 2016 res: 1366x768 hz: 60 dpi: 112 gamma: 1.2
size: 309x173mm (12.17x6.81") diag: 354mm (13.9") ratio: 16:9 modes: 1366x768
API: OpenGL v: 4.6 Mesa 22.3.6 renderer: Mesa Intel HD Graphics 520 (SKL GT2)
direct-render: Yes
Audio:
Device-1: Intel Sunrise Point-LP HD Audio vendor: Dell driver: snd_hda_intel v: kernel
alternate: snd_soc_skl,snd_sof_pci_intel_skl bus-ID: 00:1f.3 chip-ID: 8086:9d70 class-ID: 0403
API: ALSA v: k6.1.0-10-amd64 status: kernel-api tools: alsamixer,amixer
Server-1: PipeWire v: 0.3.65 status: active with: 1: pipewire-pulse status: active
2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel Ethernet I219-LM vendor: Dell driver: e1000e v: kernel port: N/A bus-ID: 00:1f.6
chip-ID: 8086:15d7 class-ID: 0200
IF: eth0 state: down mac: <filter>
Device-2: Intel Wireless 8265 / 8275 driver: iwlwifi v: kernel modules: wl pcie: gen: 1
speed: 2.5 GT/s lanes: 1 bus-ID: 02:00.0 chip-ID: 8086:24fd class-ID: 0280
IF: wlan0 state: up mac: <filter>
Bluetooth:
Device-1: Intel Bluetooth wireless interface type: USB driver: btusb v: 0.8 bus-ID: 1-7:3
chip-ID: 8087:0a2b class-ID: e001
Report: hciconfig ID: hci0 rfk-id: 3 state: up address: <filter> bt-v: 2.1 lmp-v: 4.2
sub-v: 100 hci-v: 4.2 rev: 100
Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch hold sniff
link-mode: peripheral accept service-classes: rendering, capturing, object transfer, audio,
telephony
RAID:
Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci v: 3.0 port: f060
bus-ID: 00:17.0 chip-ID: 8086:282a rev: N/A class-ID: 0104
Drives:
Local Storage: total: 232.89 GiB used: 34.69 GiB (14.9%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: Western Digital model: WDS250G2B0B size: 232.89 GiB
block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 90WD
scheme: GPT
Partition:
ID-1: / raw-size: 232.63 GiB size: 227.92 GiB (97.97%) used: 34.69 GiB (15.2%) fs: ext4
dev: /dev/sda2 maj-min: 8:2
ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 274 KiB (0.1%) fs: vfat
dev: /dev/sda1 maj-min: 8:1
Swap:
Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: file size: 3 GiB used: 82.8 MiB (2.7%) priority: -2 file: /swap/swap
Sensors:
System Temperatures: cpu: 42.0 C pch: 38.5 C mobo: 36.0 C sodimm: SODIMM C
Fan Speeds (RPM): cpu: 0
Repos:
Packages: 2494 pm: dpkg pkgs: 2487 libs: 1351 tools: apt,apt-get,aptitude,nala pm: rpm pkgs: 0
pm: flatpak pkgs: 7
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
1: deb [arch=amd64] https://brave-browser-apt-release.s3.brave.com/ bullseye main
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
3: deb-src http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb https://mirror.kku.ac.th/mx-packages/mx/repo/ bookworm main non-free
2: deb https://mirror.kku.ac.th/mx-packages/mx/repo/ bookworm ahs
Active apt repos in: /etc/apt/sources.list.d/teamviewer.list
1: deb [signed-by=/usr/share/keyrings/teamviewer-keyring.gpg] https://linux.teamviewer.com/deb stable main
Info:
Processes: 224 Uptime: 3d 13h 29m wakeups: 30593 Memory: 7.62 GiB used: 3.57 GiB (46.8%)
Init: SysVinit v: 3.06 runlevel: 5 default: graphical tool: systemctl Compilers: gcc: 12
Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: UEFI
Re: Volume level drops back to default level when logging out of desktop
Posted: Mon Aug 07, 2023 2:43 pm
by siamhie
Connection is via 3.5mm audio jack from the onboard sound-card. My monitor (no speakers) is connected via display port but the system recognizes the HDMI ports on the GPU.
Not sure what sys-v information could be helpful since the problem doesn't exist there. If I remove myself from the audio group then the issue goes away.
Re: Volume level drops back to default level when logging out of desktop
Posted: Mon Aug 07, 2023 5:43 pm
by siamhie
BitterTruth wrote: Mon Aug 07, 2023 1:51 pm
EDIT:
Also can you please run the commands on the other init (SysV?) For comparison
Since you changed the software and the problem remains, it's pointing to the hardware.
@BitterTruth I haven't changed any software. Both the XFCE and KDE are stock installs but still have the same issue, volume drops
back to 40 when logging out of the desktop and back in while booted to systemd. (doesn't drop while booted to sys-v)
I can now rule out hardware. I disabled my onboard audio and installed my soundblaster sound card and the problem remains.
Code: Select all
lspci | grep -i audio
05:00.0 Audio device: Creative Labs CA0132 Sound Core3D [Sound Blaster Recon3D / Z-Series / Sound BlasterX AE-5 Plus] (rev 01)
0b:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller
I'll get back to you with those terminal commands from sys-v.
Re: Volume level drops back to default level when logging out of desktop
Posted: Mon Aug 07, 2023 5:58 pm
by siamhie
@BitterTruth Here are those commands from sys-v.
Code: Select all
cat /proc/asound/devices
1: : sequencer
2: [ 0- 3]: digital audio playback
3: [ 0- 7]: digital audio playback
4: [ 0- 8]: digital audio playback
5: [ 0- 9]: digital audio playback
6: [ 0-10]: digital audio playback
7: [ 0-11]: digital audio playback
8: [ 0- 0]: hardware dependent
9: [ 0] : control
10: [ 1- 0]: digital audio playback
11: [ 1- 0]: digital audio capture
12: [ 1- 2]: digital audio capture
13: [ 1- 0]: hardware dependent
14: [ 1] : control
33: : timer
Code: Select all
lspci | grep -i audio
0b:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller
14:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller
Code: Select all
lsmod
Module Size Used by
snd_seq_dummy 12288 0
snd_hrtimer 12288 1
snd_seq 102400 7 snd_seq_dummy
snd_seq_device 16384 1 snd_seq
fuse 188416 4
ccm 20480 6
qrtr 53248 4
af_packet 61440 8
uinput 20480 1
nfsd 811008 2
auth_rpcgss 176128 1 nfsd
nfs_acl 12288 1 nfsd
nfs 548864 0
lockd 151552 2 nfsd,nfs
grace 12288 2 nfsd,lockd
fscache 389120 1 nfs
netfs 69632 2 fscache,nfs
sunrpc 761856 6 nfsd,auth_rpcgss,lockd,nfs_acl,nfs
nls_utf8 12288 1
loop 32768 0
nls_cp437 16384 1
vfat 20480 1
parport_pc 53248 0
fat 98304 1 vfat
ppdev 16384 0
lp 20480 0
parport 61440 3 parport_pc,lp,ppdev
btusb 73728 0
btrtl 20480 1 btusb
btbcm 20480 1 btusb
btintel 53248 1 btusb
btmtk 12288 1 btusb
bluetooth 851968 6 btrtl,btmtk,btintel,btbcm,btusb
ecdh_generic 16384 1 bluetooth
mousedev 24576 0
joydev 20480 0
apple_mfi_fastcharge 12288 0
iwlmvm 557056 0
mac80211 1343488 1 iwlmvm
snd_hda_codec_realtek 192512 1
snd_hda_codec_generic 110592 1 snd_hda_codec_realtek
ledtrig_audio 12288 1 snd_hda_codec_generic
snd_hda_codec_hdmi 86016 1
snd_hda_intel 53248 2
intel_rapl_msr 12288 0
intel_rapl_common 28672 1 intel_rapl_msr
snd_intel_dspcfg 28672 1 snd_hda_intel
snd_intel_sdw_acpi 12288 1 snd_intel_dspcfg
libarc4 12288 1 mac80211
edac_mce_amd 40960 0
snd_hda_codec 204800 4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
iwlwifi 417792 1 iwlmvm
snd_hda_core 131072 5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep 16384 1 snd_hda_codec
kvm 1355776 0
snd_pcm 192512 4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
cfg80211 1232896 3 iwlmvm,iwlwifi,mac80211
snd_timer 45056 3 snd_seq,snd_hrtimer,snd_pcm
irqbypass 12288 1 kvm
snd 139264 16 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
wmi_bmof 12288 0
acpi_cpufreq 20480 0
efi_pstore 12288 0
sg 49152 0
soundcore 16384 1 snd
rfkill 40960 5 iwlmvm,bluetooth,cfg80211
k10temp 12288 0
sp5100_tco 12288 0
ext4 1105920 3
crc16 12288 2 bluetooth,ext4
mbcache 16384 1 ext4
jbd2 184320 1 ext4
btrfs 2056192 0
blake2b_generic 20480 0
raid10 73728 0
raid456 172032 0
async_raid6_recov 16384 1 raid456
async_memcpy 12288 2 raid456,async_raid6_recov
async_pq 12288 2 raid456,async_raid6_recov
async_xor 16384 3 async_pq,raid456,async_raid6_recov
async_tx 12288 5 async_pq,async_memcpy,async_xor,raid456,async_raid6_recov
xor 20480 2 async_xor,btrfs
raid6_pq 122880 4 async_pq,btrfs,raid456,async_raid6_recov
libcrc32c 12288 2 btrfs,raid456
crc32c_generic 12288 0
raid1 57344 0
raid0 20480 0
multipath 12288 0
linear 16384 0
md_mod 208896 6 raid1,raid10,raid0,linear,raid456,multipath
vmd 20480 0
hid_apple 20480 0
hid_logitech_hidpp 49152 0
hid_logitech_dj 32768 0
usbhid 61440 2 hid_logitech_dj,hid_logitech_hidpp
amdgpu 11034624 18
drm_buddy 20480 1 amdgpu
gpu_sched 53248 1 amdgpu
video 61440 1 amdgpu
i2c_algo_bit 16384 1 amdgpu
drm_suballoc_helper 12288 1 amdgpu
drm_ttm_helper 12288 1 amdgpu
ttm 102400 2 amdgpu,drm_ttm_helper
agpgart 49152 1 ttm
drm_display_helper 217088 1 amdgpu
cec 98304 1 drm_display_helper
rc_core 61440 1 cec
crct10dif_pclmul 12288 1
crc32_pclmul 12288 0
crc32c_intel 16384 7
drm_kms_helper 237568 3 drm_display_helper,amdgpu
polyval_clmulni 12288 0
polyval_generic 12288 1 polyval_clmulni
syscopyarea 12288 1 drm_kms_helper
ghash_clmulni_intel 16384 0
sysfillrect 12288 1 drm_kms_helper
sysimgblt 12288 1 drm_kms_helper
sha512_ssse3 53248 0
aesni_intel 360448 4
crypto_simd 16384 1 aesni_intel
cryptd 32768 2 crypto_simd,ghash_clmulni_intel
ccp 122880 0
drm 741376 22 gpu_sched,drm_kms_helper,drm_suballoc_helper,drm_display_helper,drm_buddy,amdgpu,drm_ttm_helper,ttm
i2c_piix4 20480 0
rng_core 20480 1 ccp
xhci_pci 20480 0
xhci_pci_renesas 12288 1 xhci_pci
wmi 32768 2 video,wmi_bmof
gpio_amdpt 12288 0
gpio_generic 20480 1 gpio_amdpt
Code: Select all
groups
siamhie lp dialout cdrom floppy sudo audio dip video plugdev users netdev lpadmin vboxsf scanner nordvpn sambashare
Re: Volume level drops back to default level when logging out of desktop
Posted: Mon Aug 07, 2023 7:22 pm
by BitterTruth
The cat /proc/ command tells me that when you disabled the onboard sound and installed the soundblaster, the soundblaster forced the hdmi to become card 1 (it was card 0) before. If your sound config files were causing issues by referring to card 0 (or 1) something would have changed.
Re: Volume level drops back to default level when logging out of desktop
Posted: Mon Aug 07, 2023 7:59 pm
by BitterTruth
Thank you for staying with me.
1) I compared the lsmod output from both inits and there is a difference between the the number of modules that one loaded but the other didn't:
systemd
========
dmis_sys
dm_mod
ip_tables
x_tables
sysV
========
fscache
netfs
nfs
everything else was the same. None of these seem related to sound output though.
2) Next we can see from the groups command output that you are indeed a member of the audio group in both inits (I don't know why this would be different but I was hoping that somehow a script might be responsible and maybe the init was determining whether that script was running). Also I was wondering if it is a permissions issue since it happens when you log out.
3) the lspci | grep command shows me that the hdmi controller was the only one present in all the 3 scenarios including when you thought you disabled the onboard sound. In otherwords the hdmi controller was still active:
Code: Select all
0b:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller
This the one device I am seeing in all cases. This hdmi device.
4) You did change your software since you first noticed the problem on Fluxbox liquorix kernel after which you installed:
MX23 + XFCE with the 6.4.1 kernel
MX23 + KDE with the 6.1.0 kernel
By doing this you eliminated the kernels, DE and any missing packages/install issues
The only other thing that was coming to mind is some kind of power management at play especially if you had pulseaudio installed but since you are using pipewire, I can't say.
I would suggest that for the time being you
1) try disabling the hdmi controller if you are not using it.
2) try plugging the 3.5mm plug to front panel connectors if you have them
3) remove yourself from the audio group, if that is what is working.
This is from an Ubuntu article on the implications of adding yourself to the audio group:
Implications
If you decide you want the user to be in the Audio group, you should know that this user can access the sound card even if he is not logged in. And at the lowest level, only one user/application can grab access to the sound card at the same time.
So assume, for example, that user A is in the audio group is logged in, and is playing music. User B wants the computer temporarily, so they switch users (via fast-user-switching, without user A logging out). Since A can still use the sound card, A's music will continue to play and user B can't access the sound card (regardless of whether B is in the audio group or not).
Or assume that B is sitting in front of the computer, not using the sound card at the moment. A, who is in the audio group, logs in remotely, and can now grab access to the sound card. Should A decide to do so, this means that B suddenly cannot play audio anymore while A is using it. A can also record from the sound cards inputs, so if the machine e g has a built-in microphone, A could in a sense "spy" on B.
Re: Volume level drops back to default level when logging out of desktop
Posted: Mon Aug 07, 2023 8:57 pm
by siamhie
BitterTruth wrote: Mon Aug 07, 2023 7:59 pm
2) Next we can see from the groups command output that you are indeed a member of the audio group in both inits (I don't know why this would be different but I was hoping that somehow a script might be responsible and maybe the init was determining whether that script was running). Also I was wondering if it is a permissions issue since it happens when you log out.
I don't believe it's a permission issue as there are two display managers this is happening with. LightDM and SDDM.
3) the lspci | grep command shows me that the hdmi controller was the only one present in all the 3 scenarios including when you thought you disabled the onboard sound. In otherwords the hdmi controller was still active:
Code: Select all
0b:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller
This the one device I am seeing in all cases. This hdmi device.
This is the lspci command when the on-board audio is connected
Code: Select all
0b:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller
14:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller
and this is when the sound blaster card was installed (Starship/Matisse disabled in BIOS)
Code: Select all
05:00.0 Audio device: Creative Labs CA0132 Sound Core3D [Sound Blaster Recon3D / Z-Series / Sound BlasterX AE-5 Plus] (rev 01)
0b:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller
As I stated earlier, the system sees the GPU's HDMI port but I'm connected via display port with no audio devices on the monitor.
I connect to the on-board sound card via the 3.5mm plug.
4) You did change your software since you first noticed the problem on Fluxbox liquorix kernel after which you installed:
MX23 + XFCE with the 6.4.1 kernel
MX23 + KDE with the 6.1.0 kernel
By doing this you eliminated the kernels, DE and any missing packages/install issues
All audio is handled by the Pipewire package and all three desktops run the same script for loading Pipewire.
pipewire-start located in /usr/bin
Code: Select all
#/bin/bash
INITSKIP="false"
#first init check for pure systemd, no shim
INITCHECK=$(readlink /usr/sbin/init)
echo $INITCHECK
if [ "$INITCHECK" = "/lib/systemd/systemd" ]; then
INITSKIP="true"
fi
#second init check for system-shim configuration
INITCHECK=$(/usr/bin/ps -p 1 -o cmd -h)
echo $INITCHECK
if [ "$INITCHECK" = "/lib/systemd/systemd" ]; then
INITSKIP="true"
fi
#else start them up
echo "start pipewire"
if [ "$INITSKIP" = "false" ]; then
if [ -z "$(pgrep -x -u $USER pipewire)" ]; then
/usr/bin/pipewire &
fi
if [ -z "$(pgrep -x -u $USER pipewire-pulse)" ]; then
/usr/bin/pipewire-pulse &
fi
#wireplumber doesn't always close down
if [ -z "$(pgrep -x -u $USER wireplumber)" ]; then
sleep 2
/usr/bin/wireplumber &
else
pkill wireplumber
sleep 2
/usr/bin/wireplumber &
fi
fi
exit 0
The only other thing that was coming to mind is some kind of power management at play especially if you had pulseaudio installed but since you are using pipewire, I can't say.
MX-23 doesn't come with PulseAudio anymore. They've switched to Pipewire.
I would suggest that for the time being you
1) try disabling the hdmi controller if you are not using it.
It's not connected.
Code: Select all
xrandr --prop
DisplayPort-0 connected primary 2560x1440+0+0
DisplayPort-1 disconnected
DisplayPort-2 disconnected
HDMI-A-0 disconnected
2) try plugging the 3.5mm plug to front panel connectors if you have them
The tower (Cooler Master NR600) only has a headphone jack at the front.
3) remove yourself from the audio group, if that is what is working.
That means I would have to do that every time I install the ISO.
This is from an Ubuntu article on the implications of adding yourself to the audio group:
I came across that over the weekend.
https://wiki.ubuntu.com/Audio/TheAudioGroup
Re: Volume level drops back to default level when logging out of desktop
Posted: Mon Aug 07, 2023 9:14 pm
by dolphin_oracle
there is a key difference in how pipewire runs on sysVinit vs. systemd. under systemd, pipewire and wireplumber run as a "user service" and when you logout they quit running.
sysVinit doens't have the concept of a user service, so we just run them, but we don't kill them at logout.
now why the volume gets reset I can't say. I can confirm that after a reboot, if my user is not part of the audio group then the volume doens't reset on logout.
seems like a bug in the pipewire sound server to me, don't know.
Re: Volume level drops back to default level when logging out of desktop
Posted: Mon Aug 07, 2023 10:50 pm
by siamhie
dolphin_oracle wrote: Mon Aug 07, 2023 9:14 pm
there is a key difference in how pipewire runs on sysVinit vs. systemd. under systemd, pipewire and wireplumber run as a "user service" and when you logout they quit running.
sysVinit doens't have the concept of a user service, so we just run them, but we don't kill them at logout.
now why the volume gets reset I can't say. I can confirm that after a reboot, if my user is not part of the audio group then the volume doens't reset on logout.
seems like a bug in the pipewire sound server to me, don't know.
Thanks for confirming the log out issue
@dolphin_oracle . I see trixie has 0.3.76-1 (
https://packages.debian.org/search?keywords=pipewire) but I'm hesitant to give it a try.
I've searched all weekend on pipewire's github page reading through the issues section but nothing comes close to this issue.
I'll leave this thread open for the time being until we can figure out a solution.
Re: Volume level drops back to default level when logging out of desktop
Posted: Mon Aug 07, 2023 11:40 pm
by CharlesV
as a work around, you can setup a script to run amixer at login and set the volume to what ever you want.
or ( what I use )
Re: Volume level drops back to default level when logging out of desktop
Posted: Tue Aug 08, 2023 1:27 am
by siamhie
CharlesV wrote: Mon Aug 07, 2023 11:40 pm
as a work around, you can setup a script to run amixer at login and set the volume to what ever you want.
or ( what I use )
It only happens when I log out of the desktop, then log back in. Cold boots and reboots are fine.
Does that run in the background
@CharlesV? I could probably put it in my fluxbox startup file.
Re: Volume level drops back to default level when logging out of desktop
Posted: Tue Aug 08, 2023 1:34 am
by CharlesV
siamhie wrote: Tue Aug 08, 2023 1:27 am
CharlesV wrote: Mon Aug 07, 2023 11:40 pm
as a work around, you can setup a script to run amixer at login and set the volume to what ever you want.
or ( what I use )
It only happens when I log out of the desktop, then log back in. Cold boots and reboots are fine.
Does that run in the background @CharlesV? I could probably put it in my fluxbox startup file.
No, its a one time setting. I would put it in a script and launch it at login.
Re: Volume level drops back to default level when logging out of desktop
Posted: Tue Aug 08, 2023 1:41 am
by siamhie
CharlesV wrote: Tue Aug 08, 2023 1:34 am
No, its a one time setting. I would put it in a script and launch it at login.
OK, then I won't bother with it. Even if I set my account to log in from boot, the volume stays at my setting of 70.
It's only when I log out of the desktop that the level drops back to 40 when I log back in and only when booted to systemd.
Sys-V is not affected by this issue.
Re: Volume level drops back to default level when logging out of desktop
Posted: Tue Aug 08, 2023 1:43 am
by CharlesV
Gotcha.
Re: Volume level drops back to default level when logging out of desktop
Posted: Tue Aug 08, 2023 1:54 am
by siamhie
@CharlesV I've bookmarked this topic for future reference (if needed).
viewtopic.php?t=76405
Re: Volume level drops back to default level when logging out of desktop
Posted: Tue Aug 08, 2023 1:59 am
by BitterTruth
@siamhie , @dolphin_oracle , @CharlesV
Pipewire doesn't use the audio group. It has it's own 'pipewire' group instead. I think alsa-utils sets the audio group membership. How about making yourself part of that group and see if that helps (instead of audio).
Also @siamhe: How are you checking that the volume is back at 40%? Is it via the session volume icon or alsa mixer? Is only one changed? Is it alsamixer settings being reset?
Instead of logging out, you could try just locking your screen with xscreensaver (don't use the xfce4-screensaver, since it's been causing a lot of issues). You can also check what processes are running before and after login. See if anything changed.
After you log back in try doing dmesg and see if that shows you any errors.
Re: Volume level drops back to default level when logging out of desktop
Posted: Tue Aug 08, 2023 11:09 am
by siamhie
@BitterTruth
I don't have xscreensaver installed. Plus, if I had two user accounts on this computer, both would have their volume level reset back to 40 when they log back in from the display manager.
When I log back in I check both Alsamixer and Pulse Volume Control (located in the Multimedia category of fluxbox) and they both report 40 instead of 70.
I then just open PVC from the menu (I've remove the volume icon from the tint2 toolbar) and set it back to my preferred level.
*edited for spelling
Re: Volume level drops back to default level when logging out of desktop
Posted: Tue Aug 08, 2023 11:37 am
by siamhie
BitterTruth wrote: Tue Aug 08, 2023 1:59 am
@siamhie , @dolphin_oracle , @CharlesV
Pipewire doesn't use the audio group. It has it's own 'pipewire' group instead. I think alsa-utils sets the audio group membership. How about making yourself part of that group and see if that helps (instead of audio).
alsa-utils is not a group
groups.png
Re: Volume level drops back to default level when logging out of desktop
Posted: Tue Aug 08, 2023 11:43 am
by BitterTruth
Did you try adding yourself to the pipewire group so that when your applications run and start pipewire, they have permission to access the audio devices?
The 2nd user would be root. It's possible that wireplumber is defaulting to roots volume config settings when you login.
There's a possibility that Bluetooth might be causing a problem with pipewire and wireplumber when you are logging out. You could try disabling that in autostart if you have it enabled.
With xcsreensaver installed you wouldn't need to log out. Just lock your screen.
Re: Volume level drops back to default level when logging out of desktop
Posted: Tue Aug 08, 2023 11:57 am
by BitterTruth
@siamhe
"alsa-utils is not a group"
I should have been more clearer: alsa-utils added you to the audio group. The audio group has permissions to access the audio devices (microphone etc)
In a perfect world, the user shouldn't need to add themselves to the audio group. The applications, policy should take care of that i.e. they should be able to use them without elevated privileges. But in real life sometimes people who don't have any sound at allfind that they have to add themselves to it.
Pipewire didn't use the audio group. It has its own called pipewire through which it accesses the devices on your behalf. You can try adding yourself to this group.
Just document everything you do, so that it is ready to reverse
Re: Volume level drops back to default level when logging out of desktop
Posted: Tue Aug 08, 2023 1:31 pm
by siamhie
@dolphin_oracle
I installed Gnome 43.6 along side of MX-23 XFCE and it made no difference when I switched to it. Volume dropped to default of 40 (Starship/Matisse HD Audio Controller)

Re: Volume level drops back to default level when logging out of desktop
Posted: Tue Aug 08, 2023 1:56 pm
by anticapitalista
try installing alsa-ucm-conf
Re: Volume level drops back to default level when logging out of desktop
Posted: Tue Aug 08, 2023 2:00 pm
by siamhie
anticapitalista wrote: Tue Aug 08, 2023 1:56 pm
try installing alsa-ucm-conf
@anticapitalista
Already installed
alsa-ucm-conf.png
Re: Volume level drops back to default level when logging out of desktop
Posted: Tue Aug 08, 2023 2:12 pm
by dolphin_oracle
siamhie wrote: Tue Aug 08, 2023 1:31 pm
@dolphin_oracle
I installed Gnome 43.6 along side of MX-23 XFCE and it made no difference when I switched to it. Volume dropped to default of 40 (Starship/Matisse HD Audio Controller)
yes, you've already discovered the probably solution of removing the user from the audio group. I do believe something is happening at logout when running systemd that is setting the alsa sound level to 40%, removing the user from the audio group prevents that, but we've had it that way for a long time without an ill effect. If that supposition is true, then likely having pulseaudio installed would do the ame.
I'm running that way at the moment to see if anything negative crops up over time.
Re: Volume level drops back to default level when logging out of desktop
Posted: Tue Aug 08, 2023 2:18 pm
by siamhie
BitterTruth wrote: Tue Aug 08, 2023 11:43 am
Did you try adding yourself to the pipewire group so that when your applications run and start pipewire, they have permission to access the audio devices?
Made no difference adding myself to the group. Pipewire, Pipewire-Pulse and Wireplumber all get started at boot time per the pipewire-start script with all three desktops.
The 2nd user would be root. It's possible that wireplumber is defaulting to roots volume config settings when you login.
No. All three *wire apps are running as my user.
wire.png
There's a possibility that Bluetooth might be causing a problem with pipewire and wireplumber when you are logging out. You could try disabling that in autostart if you have it enabled.
I've removed all traces of bluetooth when I initially installed the ISO as I have no need for it.
With xcsreensaver installed you wouldn't need to log out. Just lock your screen.
Doesn't help if I want to load a different desktop.
Re: Volume level drops back to default level when logging out of desktop
Posted: Tue Aug 08, 2023 2:31 pm
by siamhie
dolphin_oracle wrote: Tue Aug 08, 2023 2:12 pm
yes, you've already discovered the probably solution of removing the user from the audio group. I do believe something is happening at logout when running systemd that is setting the alsa sound level to 40%, removing the user from the audio group prevents that, but we've had it that way for a long time without an ill effect. If that supposition is true, then likely having pulseaudio installed would do the ame.
I'm running that way at the moment to see if anything negative crops up over time.
@dolphin_oracle
I didn't see this minor issue when using pulseaudio with MX-21 and multiple desktops with systemd. Volume always stayed at my set level when switching back and forth.
I downloaded the Debian 12.1 XFCE live ISO to see how they may have had pipewire setup but they were using pulseaudio.
I think I'll download Debian 12.1 Gnome next and check it out. There's got to be a simple explanation somewhere.
@MadMax has put together a guide to revert back to pulseaudio for those who are interested.
MX 23 Going back to pulseaudio (step-by-step tutorial)
viewtopic.php?t=76405
Re: Volume level drops back to default level when logging out of desktop
Posted: Tue Aug 08, 2023 2:38 pm
by BitterTruth
dolphin_oracle wrote: Tue Aug 08, 2023 2:12 pm
I do believe something is happening at logout when running systemd that is setting the alsa sound level to 40%, removing the user from the audio group prevents that, but we've had it that way for a long time without an ill effect.
Could it be the login manager doing something or the way you are logging in?
console =====> startx,
xinitrc
login manager
@siamhe how are you logging in btw?
I didn't see this minor issue when using pulseaudio with MX-21 and multiple desktops with systemd.
Points more and more to pipewire and wireplumber then?
The configuration files for wireplumber are in ~/.config/wireplumber/ (user configuration), /etc/wireplumber/ (global configuration), and then /usr/share/wireplumber/ (stock configuration).
If you guys are feeling brave enough you can have a look in there. Some people have had good results deleting their user configuration or replacing it with the stock one. If you don't want to do that, you could create a temporary user and see if the same problem occurs. That'll give you a clue that maybe it's your wireplumber config.
Re: Volume level drops back to default level when logging out of desktop
Posted: Tue Aug 08, 2023 2:51 pm
by richb
The same set back to 40% happens as well in my KDE install. I have considered it a minor issue.
Re: Volume level drops back to default level when logging out of desktop
Posted: Tue Aug 08, 2023 3:48 pm
by siamhie
BitterTruth wrote: Tue Aug 08, 2023 2:38 pm
dolphin_oracle wrote: Tue Aug 08, 2023 2:12 pm
I do believe something is happening at logout when running systemd that is setting the alsa sound level to 40%, removing the user from the audio group prevents that, but we've had it that way for a long time without an ill effect.
Could it be the login manager doing something or the way you are logging in?
console =====> startx,
xinitrc
login manager
@siamhe how are you logging in btw?
I've already mentioned this happens with LightDM (fluxbox, XFCE) and SDDM (KDE).
Re: Volume level drops back to default level when logging out of desktop
Posted: Tue Aug 08, 2023 4:03 pm
by siamhie
richb wrote: Tue Aug 08, 2023 2:51 pm
The same set back to 40% happens as well in my KDE install. I have considered it a minor issue.
@richb I'm going to go ahead and call it a nuance but livable as I'll explain below.
@dolphin_oracle
I don't think there is anything we can do about the volume dropping when logging out and in to the desktop while booted to systemd.
I downloaded the Debian 12.1 Gnome live ISO and it also uses Pipewire for the audio server. XFCE and KDE versions use PulseAudio.
When logging out of the desktop and back in the volume level dropped back to their default value.
I set the master volume to 100
volume-level-100.png
After I log back in it resets to default of 36
volume-level-36.png
Re: Volume level drops back to default level when logging out of desktop
Posted: Tue Aug 08, 2023 4:29 pm
by dolphin_oracle
Give that a user group has some interaction I’m actually blaming systemd’s user session management.
so a one-liner to remove a user from the audio group:
and for any future users, you could edit /etc/adduser.conf and look for the line with the EXTRA_GROUPS and remove audio from it.
Re: Volume level drops back to default level when logging out of desktop
Posted: Tue Aug 08, 2023 5:12 pm
by siamhie
dolphin_oracle wrote: Tue Aug 08, 2023 4:29 pm
Give that a user group has some interaction I’m actually blaming systemd’s user session management.
so a one-liner to remove a user from the audio group:
and for any future users, you could edit /etc/adduser.conf and look for the line with the EXTRA_GROUPS and remove audio from it.
I'm kinda of blaming both pipewire and systemd for this. PulseAudio never needed the user removed from the audio group when booted to systemd.
@dolphin_oracle Can editing the adduser.conf be done during the live ISO install? I'm thinking of removing the spare SSD and reinstall MX-23 fluxbox.
Re: Volume level drops back to default level when logging out of desktop
Posted: Tue Aug 08, 2023 6:20 pm
by dolphin_oracle
siamhie wrote: Tue Aug 08, 2023 5:12 pm
dolphin_oracle wrote: Tue Aug 08, 2023 4:29 pm
Give that a user group has some interaction I’m actually blaming systemd’s user session management.
so a one-liner to remove a user from the audio group:
and for any future users, you could edit /etc/adduser.conf and look for the line with the EXTRA_GROUPS and remove audio from it.
I'm kinda of blaming both pipewire and systemd for this. PulseAudio never needed the user removed from the audio group when booted to systemd.
@dolphin_oracle Can editing the adduser.conf be done during the live ISO install? I'm thinking of removing the spare SSD and reinstall MX-23 fluxbox.
yes, but you'll still need to remove the default user from the group.
Re: Volume level drops back to default level when logging out of desktop [Solved]
Posted: Sat May 25, 2024 12:39 pm
by siamhie
I finally cracked the code.
To recap, when you boot up to systemd and log out of the desktop and then log back in, the volume level gets reset back to 40% regardless if you've set a predetermined level (say 50%) in pavucontrol.
If you have set a predetermined level (say 50%) and reboot the computer, the volume level will stay at 50% at login. Seems to only get reset when logging out of the desktop and back in.
This does not happen if you boot up in sys-v, only systemd.
The fix.
Edit the file policy-device-routes.lua in /usr/share/wireplumber/scripts
Code: Select all
-- the default volume to apply
default_volume = tonumber(config["default-volume"] or 0.4^3)
and change the value 0.4^3 to the volume level you want to set it to. I have tested all these values and they work.
10% volume
20% volume
30% volume
40% volume
50% volume
60% volume
70% volume
80% volume
90% volume
100% volume
Re: Volume level drops back to default level when logging out of desktop
Posted: Sat May 25, 2024 12:57 pm
by BV206
siamhie wrote: Sat May 25, 2024 12:39 pm
I finally cracked the code.
I don't have a /usr/share/wireplumber/scripts/policy-device-routes.lua. Is it supposed to exist already or do you have to create it?
Do you know of a similar way to set the input audio level?
Re: Volume level drops back to default level when logging out of desktop
Posted: Sat May 25, 2024 2:23 pm
by siamhie
BV206 wrote: Sat May 25, 2024 12:57 pm
siamhie wrote: Sat May 25, 2024 12:39 pm
I finally cracked the code.
I don't have a /usr/share/wireplumber/scripts/policy-device-routes.lua. Is it supposed to exist already or do you have to create it?
Do you know of a similar way to set the input audio level?
Are you using MX-23? MX-21 uses PulseAudio for it's sound server. (post your QSI)
Re: Volume level drops back to default level when logging out of desktop
Posted: Sat May 25, 2024 2:25 pm
by siamhie
Just tested this theory with Debian's 12.5.0 Gnome live ISO and it worked. (I had the same issue with it in the past)
Re: Volume level drops back to default level when logging out of desktop
Posted: Sat May 25, 2024 3:51 pm
by Eadwine Rose
Can everyone please start their own topic? Thanks.
Re: Volume level drops back to default level when logging out of desktop
Posted: Sat Feb 08, 2025 3:30 pm
by Fernent
After much searching I came across this solution to the relatively minor annoyance of the master volume being reset to 40% on logging out and back in, but not on reboot.
https://unix.stackexchange.com/question ... ireplumber
and
https://wiki.debian.org/PipeWire#Device ... d_on_login
Note that the 'systemd-container' package is required; it's in the MX repo.
Re: Volume level drops back to default level when logging out of desktop
Posted: Sat Feb 08, 2025 3:50 pm
by Eadwine Rose
Glad to hear you solved this, but next time please don't dig up an older topic, and don't double post the same thing. Thanks :)
Now locked.