Volume level drops back to default level when logging out of desktop  [Solved]

Message
Author
User avatar
siamhie
Global Moderator
Posts: 3377
Joined: Fri Aug 20, 2021 5:45 pm

Volume level drops back to default level when logging out of desktop

#1 Post 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
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.

BitterTruth
Posts: 620
Joined: Tue Sep 22, 2020 7:36 pm

Re: Volume level drops back to default level when logging out of desktop

#2 Post 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

User avatar
siamhie
Global Moderator
Posts: 3377
Joined: Fri Aug 20, 2021 5:45 pm

Re: Volume level drops back to default level when logging out of desktop

#3 Post 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.
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.

BitterTruth
Posts: 620
Joined: Tue Sep 22, 2020 7:36 pm

Re: Volume level drops back to default level when logging out of desktop

#4 Post 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.

User avatar
junoluna
Posts: 522
Joined: Sun Sep 29, 2019 11:53 pm

Re: Volume level drops back to default level when logging out of desktop

#5 Post 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

User avatar
siamhie
Global Moderator
Posts: 3377
Joined: Fri Aug 20, 2021 5:45 pm

Re: Volume level drops back to default level when logging out of desktop

#6 Post 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.
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.

User avatar
siamhie
Global Moderator
Posts: 3377
Joined: Fri Aug 20, 2021 5:45 pm

Re: Volume level drops back to default level when logging out of desktop

#7 Post 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.
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.

User avatar
siamhie
Global Moderator
Posts: 3377
Joined: Fri Aug 20, 2021 5:45 pm

Re: Volume level drops back to default level when logging out of desktop

#8 Post 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
This is my Fluxbox . There are many others like it, but this one is mine. My Fluxbox is my best friend. It is my life.
I must master it as I must master my life. Without me, my Fluxbox is useless. Without my Fluxbox, I am useless.

BitterTruth
Posts: 620
Joined: Tue Sep 22, 2020 7:36 pm

Re: Volume level drops back to default level when logging out of desktop

#9 Post 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.
Last edited by BitterTruth on Mon Aug 07, 2023 8:11 pm, edited 1 time in total.

BitterTruth
Posts: 620
Joined: Tue Sep 22, 2020 7:36 pm

Re: Volume level drops back to default level when logging out of desktop

#10 Post 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.

Locked

Return to “Hardware /Configuration”