Sound not working

Hey, I installed Endeavour OS with GNOME yesterday. Unfortunately, I’m having an issue with the sound. On the login screen, there’s a sound icon, and the sound works. However, as soon as I log into my account, the sound stops working (the icon is also missing). After a fresh start, I run the following command: systemctl --user restart wireplumber pipewire pipewire-pulse , and everything starts working again. But after a restart, I have to run this command again to get the sound back.

After fresh start:

systemctl --user status wireplumber pipewire pipewire-pulse
● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
     Active: active (running) since Thu 2023-09-07 10:06:46 CEST; 7min ago
   Main PID: 1345 (wireplumber)
      Tasks: 7 (limit: 19072)
     Memory: 12.1M
        CPU: 261ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─1345 /usr/bin/wireplumber

wrz 07 10:06:46 ms7c56 systemd[1260]: Started Multimedia Service Session Manager.
wrz 07 10:06:46 ms7c56 wireplumber[1345]: [0:00:16.504166544] [1345] ERROR IPAModule ipa_module.cpp:1>
wrz 07 10:06:46 ms7c56 wireplumber[1345]: [0:00:16.504175924] [1345] ERROR IPAModule ipa_module.cpp:2>
wrz 07 10:06:46 ms7c56 wireplumber[1345]: [0:00:16.504194574] [1345]  INFO Camera camera_manager.cpp:>
wrz 07 10:06:48 ms7c56 wireplumber[1345]: GetManagedObjects() failed: org.freedesktop.DBus.Error.Name>

● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: enabled)
     Active: active (running) since Thu 2023-09-07 10:06:46 CEST; 7min ago
TriggeredBy: ● pipewire.socket
   Main PID: 1344 (pipewire)
      Tasks: 3 (limit: 19072)
     Memory: 7.0M
        CPU: 28ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─1344 /usr/bin/pipewire

wrz 07 10:06:46 ms7c56 systemd[1260]: Started PipeWire Multimedia Service.

● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; enabled; preset: enabled)
     Active: active (running) since Thu 2023-09-07 10:06:46 CEST; 7min ago
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 1346 (pipewire-pulse)
      Tasks: 3 (limit: 19072)
     Memory: 1.6M
        CPU: 8ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
             └─1346 /usr/bin/pipewire-pulse

wrz 07 10:06:46 ms7c56 systemd[1260]: Started PipeWire PulseAudio.
inxi -Fzxxxa
System:
  Kernel: 6.4.12-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-linux
    root=UUID=a41bcd8b-d220-4506-bc87-f3dae74afe4e rw nowatchdog
    nvme_load=YES resume=UUID=7bc6809b-98e0-4ad2-a000-37b481d4923a loglevel=3
  Desktop: GNOME v: 44.4 tk: GTK v: 3.24.38 wm: gnome-shell dm: GDM v: 44.1
    Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Desktop Mobo: Micro-Star model: MPG B550 GAMING PLUS (MS-7C56) v: 1.0
    serial: <superuser required> UEFI: American Megatrends LLC. v: 1.E0
    date: 07/03/2023
CPU:
  Info: model: AMD Ryzen 5 5600X bits: 64 type: MT MCP arch: Zen 3+ gen: 4
    level: v3 note: check built: 2022 process: TSMC n6 (7nm) family: 0x19 (25)
    model-id: 0x21 (33) stepping: 0 microcode: 0xA201025
  Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
    L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB
    L3: 32 MiB desc: 1x32 MiB
  Speed (MHz): avg: 2200 min/max: 2200/4650 boost: enabled scaling:
    driver: acpi-cpufreq governor: schedutil cores: 1: 2200 2: 2200 3: 2200
    4: 2200 5: 2200 6: 2200 7: 2200 8: 2200 9: 2200 10: 2200 11: 2200 12: 2200
    bogomips: 88827
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  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 status: Not affected
  Type: spec_rstack_overflow mitigation: safe RET, no microcode
  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, IBRS_FW,
    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 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]
    vendor: Sapphire driver: amdgpu v: kernel arch: RDNA-1 code: Navi-1x
    process: TSMC n7 (7nm) built: 2019-20 pcie: gen: 4 speed: 16 GT/s
    lanes: 16 ports: active: DP-1 empty: DP-2,DP-3,HDMI-A-1 bus-ID: 2d:00.0
    chip-ID: 1002:731f class-ID: 0300
  Display: wayland server: X.org v: 1.21.1.8 with: Xwayland v: 23.2.0
    compositor: gnome-shell driver: gpu: amdgpu display-ID: 0
  Monitor-1: DP-1 model: AOC 27G2G4 serial: <filter> built: 2020
    res: 1920x1080 dpi: 82 gamma: 1.2 size: 598x336mm (23.54x13.23")
    diag: 686mm (27") ratio: 16:9 modes: max: 1920x1080 min: 720x400
  API: OpenGL v: 4.6 Mesa 23.1.6-arch1.4 renderer: AMD Radeon RX 5600 XT
    (navi10 LLVM 16.0.6 DRM 3.52 6.4.12-arch1-1) direct-render: Yes
Audio:
  Device-1: AMD Navi 10 HDMI Audio driver: snd_hda_intel v: kernel pcie:
    gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 2d:00.1 chip-ID: 1002:ab38
    class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 2f:00.4 chip-ID: 1022:1487 class-ID: 0403
  Device-3: C-Media Audio Adapter (Unitek Y-247A)
    driver: cmedia_hs100b,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 1-9:4 chip-ID: 0d8c:0014 class-ID: 0300
    serial: <filter>
  API: ALSA v: k6.4.12-arch1-1 status: kernel-api
    tools: alsactl,alsamixer,amixer
  Server-1: PipeWire v: 0.3.79 status: active (process) 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: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Micro-Star MSI driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: f000 bus-ID: 2a:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp42s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IF-ID-1: br-3a5943beb073 state: down mac: <filter>
  IF-ID-2: docker0 state: down mac: <filter>
Drives:
  Local Storage: total: 1.49 TiB used: 22.66 GiB (1.5%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: A-Data model: SX8200PNP
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 42A4SANA temp: 37.9 C
    scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Crucial model: CT1000MX500SSD1
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 033 scheme: GPT
  ID-3: /dev/sdb maj-min: 8:16 vendor: SanDisk model: Ultra USB 3.0
    size: 114.61 GiB block-size: physical: 512 B logical: 512 B type: USB
    rev: 3.2 spd: 5 Gb/s lanes: 1 mode: 3.2 gen-1x1 tech: N/A serial: <filter>
    fw-rev: 1.00 scheme: GPT
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  ID-1: / raw-size: 96 GiB size: 93.93 GiB (97.85%) used: 10.32 GiB (11.0%)
    fs: ext4 dev: /dev/sda4 maj-min: 8:4
  ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%)
    used: 288 KiB (0.1%) fs: vfat dev: /dev/sda2 maj-min: 8:2
  ID-3: /home raw-size: 71 GiB size: 69.33 GiB (97.65%)
    used: 7.72 GiB (11.1%) fs: ext4 dev: /dev/sda6 maj-min: 8:6
  ID-4: /var raw-size: 48 GiB size: 46.95 GiB (97.80%) used: 2.82 GiB (6.0%)
    fs: ext4 dev: /dev/sda5 maj-min: 8:5
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: yes
    compressor: zstd max-pool: 20%
  ID-1: swap-1 type: partition size: 16 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/sda3 maj-min: 8:3
Sensors:
  System Temperatures: cpu: 48.0 C mobo: N/A gpu: amdgpu temp: 51.0 C
    mem: 52.0 C
  Fan Speeds (rpm): N/A gpu: amdgpu fan: 610
Info:
  Processes: 325 Uptime: 10m wakeups: 0 Memory: total: 16 GiB
  available: 15.54 GiB used: 3.01 GiB (19.4%) Init: systemd v: 254
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 Packages:
  pm: pacman pkgs: 941 libs: 265 tools: yay Shell: Zsh v: 5.9
  running-in: alacritty inxi: 3.3.29

bump

Your running for pipewire:
$ systemctl --user restart wireplumber pipewire pipewire-pulse , and everything starts working again. But after a restart, I have to run this command again to get the sound back.

You are doing right.
I do the same thing in each os reboot, though your restart order for pipewire should be changed to “$ systemctl --user restart wireplumber pipewire-pulse pipewire”.

My cinfiguration for pipewire:::

‘~/home/userxxx/.config/pipewire/
client.conf
jack.conf
pipewire.conf
pipewire-pulse.conf’

~/home/userxxx/.config/pulse/ (for pavucontrol)
client.conf with content as the following::

';---------------------
;default-sink = Lv2_EQ16-Reggae_input
;default-source = Lv2_EQ16-Reggae_input.monitor
default-server = /opt/pulse/pipee-socket
; default-dbus-server=

autospawn = no
; autospawn = yes
; daemon-binary = /usr/bin/pulseaudio
; extra-arguments = --log-target=syslog

; cookie-file =

; enable-shm = yes
; shm-size-bytes = 0 # setting this 0 will use the system-default, usually 64 MiB

; auto-connect-localhost = no
; auto-connect-display = no
;---------------------’

~/home/userxxx/.config/wireplumber/main.lua.d/
50-alsa-config.lua

/etc/pipewire/ (copied from /usr/share/pipewire without any self-coded plugins inserted in pipewire.conf)

‘client.conf
jack.conf
pipewire.conf
pipewire-pulse.conf’

My Application :::::

I have the following self-coded plugins inserted in pipewire.conf.

'Lv2_EQ-Rock Sink
Lv2_EQ-Soft Sink
Lv2_EQ-Highno Sink
Lv2_EQ-Ska Sink
Lv2_EQ-Techno Sink

Reverb-calf Sink
ReverseDelay-calf Sink
Surround-Lad-71 Sink
Surround-Lv2-71 Sink
Lv2_Airwin_Tube2 Sink
Lv2_Airwin_Drumslam Sink
Lv2_Airwin_spiral Sink
Lv2_Airwin_Purestdrive Sink
Lv2_Airwin_Slew Sink
Lv2_Airwin_Srsly2 Sink
Lv2_Airwin_vibrato Sink
Lv2_Airwin_Focus Sink’

When i do not need to use self-coded plugins, i do the following things.

'~/home/userxxx/.config/pipewire/ - - > ~/home/userxxx/.config/pipewire00/
default-server = /opt/pulse/pipee-socket - - > ;default-server = /opt/pulse/pipee-socket (~/home/userxxx/.config/pulse/client.conf)

$ systemctl --user restart wireplumber.service
$ systemctl --user restart pipewire-pulse.service
$ systemctl --user restart pipewire.service’
In this case pipewire read configure files only from /etc/pipewire/ and pavucontrol reads configure files from ~/home/userxxx/.config/pulse/

When i need to use self-coded plugins, i do the following things.

'~/home/userxxx/.config/pipewire00/ - - > ~/home/userxxx/.config/pipewire/
;default-server = /opt/pulse/pipee-socket - - > default-server = /opt/pulse/pipee-socket (~/home/userxxx/.config/pulse/client.conf)

$ systemctl --user restart wireplumber.service
pavucontrol
$ systemctl --user restart pipewire-pulse.service
$ systemctl --user restart pipewire.service
celluloid
carla’

In this case pipewire reads configure files from ~/home/userxxx/.config/pipewire/ and pavucontrol reads configure files from ~/home/userxxx/.config/pulse/

For some OSs, i need to do the following things.

‘$ systemctl --user restart wireplumber.service
pavucontrol
$ systemctl --user restart pipewire-pulse.service
$ systemctl --user restart pipewire.service
celluloid
carla
$ systemctl --user restart wireplumber.service
$ systemctl --user restart pipewire-pulse.service
$ systemctl --user restart pipewire.service’