Sound system and management not working after update (but sound works)

Hi community,
I have a lenovo thinkpad carbon X1 with manjaro+plasma KDE. This is the output of inxi -Fxz

System:
  Kernel: 6.11.11-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
  Desktop: KDE Plasma v: 6.2.4 Distro: Manjaro base: Arch Linux
Machine:
  Type: Laptop System: LENOVO product: 20QESA1200 v: ThinkPad X1 Carbon 7th
    serial: <superuser required>
  Mobo: LENOVO model: 20QESA1200 serial: <superuser required> UEFI: LENOVO
    v: N2HET46W (1.29 ) date: 02/21/2020
Battery:
  ID-1: BAT0 charge: 37.9 Wh (73.6%) condition: 51.5/51.0 Wh (100.9%)
    volts: 15.6 min: 15.4 model: LGC 5B10W13930 status: discharging
CPU:
  Info: quad core model: Intel Core i7-8565U bits: 64 type: MT MCP
    arch: Comet/Whiskey Lake note: check rev: C cache: L1: 256 KiB L2: 1024 KiB
    L3: 8 MiB
  Speed (MHz): avg: 800 min/max: 400/4600 cores: 1: 800 2: 800 3: 800 4: 800
    5: 800 6: 800 7: 800 8: 800 bogomips: 32012
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
Graphics:
  Device-1: Intel WhiskeyLake-U GT2 [UHD Graphics 620] vendor: Lenovo
    driver: i915 v: kernel arch: Gen-9.5 bus-ID: 00:02.0
  Device-2: Chicony Integrated Camera driver: uvcvideo type: USB
    bus-ID: 1-8:2
  Display: x11 server: X.Org v: 21.1.14 with: Xwayland v: 24.1.4 driver: X:
    loaded: modesetting dri: iris gpu: i915 resolution: 2560x1440~60Hz
  API: EGL v: 1.5 drivers: iris,swrast platforms:
    active: gbm,x11,surfaceless,device inactive: wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: intel mesa v: 24.2.8-arch1.1
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel UHD Graphics 620 (WHL
    GT2)
  API: Vulkan v: 1.4.303 drivers: N/A surfaces: xcb,xlib devices: 1
Audio:
  Device-1: Intel Cannon Point-LP High Definition Audio vendor: Lenovo
    driver: sof-audio-pci-intel-cnl bus-ID: 00:1f.3
  API: ALSA v: k6.11.11-1-MANJARO status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 1.2.7 status: off
  Server-3: PulseAudio v: 17.0-43-g3e2bb status: off
Network:
  Device-1: Intel Cannon Point-LP CNVi [Wireless-AC] driver: iwlwifi v: kernel
    bus-ID: 00:14.3
  IF: wlp0s20f3 state: up mac: <filter>
  Device-2: Intel Ethernet I219-V vendor: Lenovo driver: e1000e v: kernel
    port: N/A bus-ID: 00:1f.6
  IF: enp0s31f6 state: down mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) driver: btusb
    v: 0.8 type: USB bus-ID: 1-10:4
  Report: rfkill ID: hci0 rfk-id: 2 state: up address: see --recommends
Drives:
  Local Storage: total: 953.87 GiB used: 170.65 GiB (17.9%)
  ID-1: /dev/nvme0n1 vendor: Western Digital model: PC SN730
    SDBQNTY-1T00-1001 size: 953.87 GiB temp: 32.9 C
Partition:
  ID-1: / size: 928.86 GiB used: 170.65 GiB (18.4%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 299.4 MiB used: 280 KiB (0.1%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%)
    dev: /dev/nvme0n1p3
Sensors:
  System Temperatures: cpu: 41.0 C pch: 47.0 C mobo: N/A
  Fan Speeds (rpm): fan-1: 0
Info:
  Memory: total: 16 GiB available: 15.43 GiB used: 2.75 GiB (17.8%)
  Processes: 253 Uptime: 3m Init: systemd
  Packages: 1851 Compilers: clang: 18.1.8 gcc: 14.2.1 Shell: Bash v: 5.2.37
    inxi: 3.3.36

in particular the Audio section reads

Audio:
  Device-1: Intel Cannon Point-LP High Definition Audio vendor: Lenovo
    driver: sof-audio-pci-intel-cnl bus-ID: 00:1f.3
  API: ALSA v: k6.11.11-1-MANJARO status: kernel-api
  Server-1: JACK v: 1.9.22 status: off
  Server-2: PipeWire v: 1.2.7 status: off
  Server-3: PulseAudio v: 17.0-43-g3e2bb status: off

After a recent update, the audio system is completely gone, BUT the sound works fine if I start any application which emits sound.

Any dedicated test to detect speakers/microphone and let them emit sounds fails. The graphic interface for selecting audio devices for input/output just says β€œConnection to Sound Service lost”. Volume buttons on keyboard don’t work (mute button does though).

Running systemctl --user restart pulseaudio
gives

Job for pulseaudio.service failed because the control process exited with error code.
See "systemctl --user status pulseaudio.service" and "journalctl --user -xeu pulseaudio.service" for details.

Running systemctl --user -l --no-pager status pulseaudio.socket pulseaudio.service gives:

● pulseaudio.socket - Sound System
     Loaded: loaded (/usr/lib/systemd/user/pulseaudio.socket; enabled; preset: enabled)
     Active: active (running) since Fri 2024-12-27 11:14:48 CET; 51s ago
 Invocation: 3c28bff16aaf4b858e4dd70a5aad550f
   Triggers: ● pulseaudio.service
     Listen: /run/user/1000/pulse/native (Stream)
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/pulseaudio.socket

Dec 27 11:14:48 matteo-carbonX1 systemd[1435]: Listening on Sound System.

● pulseaudio.service - Sound Service
     Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; disabled; preset: enabled)
     Active: activating (auto-restart) (Result: exit-code) since Fri 2024-12-27 11:15:39 CET; 158ms ago
 Invocation: 4126ac52fecd4210b55360fbc81f599c
TriggeredBy: ● pulseaudio.socket
    Process: 4137 ExecStart=/usr/bin/pulseaudio --daemonize=no --log-target=journal (code=exited, status=1/FAILURE)
   Main PID: 4137 (code=exited, status=1/FAILURE)
   Mem peak: 8.5M
        CPU: 196ms

Dec 27 11:15:39 matteo-carbonX1 systemd[1435]: pulseaudio.service: Scheduled restart job, restart counter is at 38.
Dec 27 11:15:39 matteo-carbonX1 systemd[1435]: Starting Sound Service...

and journalctl --user -xeu pulseaudio.service

Dec 27 11:23:33 matteo-carbonX1 pulseaudio[26005]: module-combine is deprecated: Please use module-combine-sink instead of module-combine!
Dec 27 11:23:33 matteo-carbonX1 pulseaudio[26005]: We will now load module-combine-sink. Please make sure to remove module-combine from your configuration.
Dec 27 11:23:33 matteo-carbonX1 pulseaudio[26005]: Failed to load module "module-alsa-sink" (argument: "device=hw:0,0 channels=4"): initialization failed.
Dec 27 11:23:33 matteo-carbonX1 pulseaudio[26005]: Module load failed.
Dec 27 11:23:33 matteo-carbonX1 pulseaudio[26005]: Failed to initialize daemon due to errors while executing startup commands. Source of commands: /etc/pulse/default.pa
Dec 27 11:23:33 matteo-carbonX1 systemd[1435]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
β–‘β–‘ Subject: Unit process exited
β–‘β–‘ Defined-By: systemd
β–‘β–‘ Support: https://forum.manjaro.org/c/support
β–‘β–‘ 
β–‘β–‘ An ExecStart= process belonging to unit UNIT has exited.
β–‘β–‘ 
β–‘β–‘ The process' exit code is 'exited' and its exit status is 1.
Dec 27 11:23:33 matteo-carbonX1 systemd[1435]: pulseaudio.service: Failed with result 'exit-code'.
β–‘β–‘ Subject: Unit failed
β–‘β–‘ Defined-By: systemd
β–‘β–‘ Support: https://forum.manjaro.org/c/support
β–‘β–‘ 
β–‘β–‘ The unit UNIT has entered the 'failed' state with result 'exit-code'.
Dec 27 11:23:33 matteo-carbonX1 systemd[1435]: Failed to start Sound Service.
β–‘β–‘ Subject: A start job for unit UNIT has failed
β–‘β–‘ Defined-By: systemd
β–‘β–‘ Support: https://forum.manjaro.org/c/support
β–‘β–‘ 
β–‘β–‘ A start job for unit UNIT has finished with a failure.
β–‘β–‘ 
β–‘β–‘ The job identifier is 7493 and the job result is failed.
Dec 27 11:23:34 matteo-carbonX1 systemd[1435]: pulseaudio.service: Scheduled restart job, restart counter is at 12.
β–‘β–‘ Subject: Automatic restarting of a unit has been scheduled
β–‘β–‘ Defined-By: systemd
β–‘β–‘ Support: https://forum.manjaro.org/c/support
β–‘β–‘ 
β–‘β–‘ Automatic restarting of the unit UNIT has been scheduled, as the result for
β–‘β–‘ the configured Restart= setting for the unit.
Dec 27 11:23:34 matteo-carbonX1 systemd[1435]: Starting Sound Service...
β–‘β–‘ Subject: A start job for unit UNIT has begun execution
β–‘β–‘ Defined-By: systemd
β–‘β–‘ Support: https://forum.manjaro.org/c/support
β–‘β–‘ 
β–‘β–‘ A start job for unit UNIT has begun execution.
β–‘β–‘ 
β–‘β–‘ The job identifier is 7510.
Dec 27 11:23:35 matteo-carbonX1 pulseaudio[26050]: module-combine is deprecated: Please use module-combine-sink instead of module-combine!
Dec 27 11:23:35 matteo-carbonX1 pulseaudio[26050]: We will now load module-combine-sink. Please make sure to remove module-combine from your configuration.
Dec 27 11:23:35 matteo-carbonX1 pulseaudio[26050]: Failed to load module "module-alsa-sink" (argument: "device=hw:0,0 channels=4"): initialization failed.
Dec 27 11:23:35 matteo-carbonX1 pulseaudio[26050]: Module load failed.
Dec 27 11:23:35 matteo-carbonX1 pulseaudio[26050]: Failed to initialize daemon due to errors while executing startup commands. Source of commands: /etc/pulse/default.pa
Dec 27 11:23:35 matteo-carbonX1 systemd[1435]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
β–‘β–‘ Subject: Unit process exited
β–‘β–‘ Defined-By: systemd
β–‘β–‘ Support: https://forum.manjaro.org/c/support
β–‘β–‘ 
β–‘β–‘ An ExecStart= process belonging to unit UNIT has exited.
β–‘β–‘ 
β–‘β–‘ The process' exit code is 'exited' and its exit status is 1.
Dec 27 11:23:35 matteo-carbonX1 systemd[1435]: pulseaudio.service: Failed with result 'exit-code'.
β–‘β–‘ Subject: Unit failed
β–‘β–‘ Defined-By: systemd
β–‘β–‘ Support: https://forum.manjaro.org/c/support
β–‘β–‘ 
β–‘β–‘ The unit UNIT has entered the 'failed' state with result 'exit-code'.
Dec 27 11:23:35 matteo-carbonX1 systemd[1435]: Failed to start Sound Service.
β–‘β–‘ Subject: A start job for unit UNIT has failed
β–‘β–‘ Defined-By: systemd
β–‘β–‘ Support: https://forum.manjaro.org/c/support
β–‘β–‘ 
β–‘β–‘ A start job for unit UNIT has finished with a failure.
β–‘β–‘ 
β–‘β–‘ The job identifier is 7510 and the job result is failed.
Dec 27 11:23:35 matteo-carbonX1 systemd[1435]: pulseaudio.service: Scheduled restart job, restart counter is at 13.
β–‘β–‘ Subject: Automatic restarting of a unit has been scheduled
β–‘β–‘ Defined-By: systemd
β–‘β–‘ Support: https://forum.manjaro.org/c/support
β–‘β–‘ 
β–‘β–‘ Automatic restarting of the unit UNIT has been scheduled, as the result for
β–‘β–‘ the configured Restart= setting for the unit.
Dec 27 11:23:35 matteo-carbonX1 systemd[1435]: Starting Sound Service...
β–‘β–‘ Subject: A start job for unit UNIT has begun execution
β–‘β–‘ Defined-By: systemd
β–‘β–‘ Support: https://forum.manjaro.org/c/support
β–‘β–‘ 
β–‘β–‘ A start job for unit UNIT has begun execution.
β–‘β–‘ 
β–‘β–‘ The job identifier is 7527.
Dec 27 11:23:36 matteo-carbonX1 pulseaudio[26113]: module-combine is deprecated: Please use module-combine-sink instead of module-combine!
Dec 27 11:23:36 matteo-carbonX1 pulseaudio[26113]: We will now load module-combine-sink. Please make sure to remove module-combine from your configuration.

so it seems it fails to load some modules, and indeed running pactl load-module module-alsa-sink device=hw:0,0 channels=4:

Connection failure: Connection refused
pa_context_connect() failed: Connection refused

Even if I change kernel back to 6.6 or 5.15 I get the same issues.

Any suggestion how to fix this is appreciated!

inxi says see above

ie no sound

Hi @mmarc28,

I’m in no way an expert, but this:

…might be the reason…

Let’s try and enable 'em to see if it helps:

systemctl --user enable --now pipewire.socket pulseaudio.socket

See if that makes a difference. If not, well

:man_shrugging:

2 Likes

think you should choose either pipewire or pulseaudio and for pipewire install wireplumber the media server

PulseAudio module module-combine was deprecated many years ago
Replacement module module-combine-sink is not very much use on this system since there is only one audio sink output available

I suggest turn off the option in KDE GUI controls for Simultaneous Outputs to more than one audio sink. That should allow PulseAudio daemon to start without errors

Hi @Mirdarthos and @robin0800 , thanks for your replies.

I had found that a potential cause of pulseaudio not working was conflict with pipiwire. Therefore I had disabled pipewire and masked pipewire.socket and pipewire.service. Unfortunately this didn’t affect the issue I’m having at all.

Running systemctl --user enable --now pipewire.socket gives (expected):

Failed to enable unit: Unit /home/matteo/.config/systemd/user/pipewire.socket is masked

While systemctl --user enable --now pulseaudio.socket executes with no errors, but I still can’t start pulseaudio.service and none of the sound controls are back.

Hi @nikgnomic thanks for your comment.

I’m not sure I can do anything about the simultaneous output settings via the GUI. None of the sound devices of my laptop are found or detected, the sound settings are all empty since a connection to pulseaudio can’t be established.

In case you had a specific procedure in mind to try that, could you tell me how to execute it? Thanks!

PipeWire is a multimedia server and is needed for wayland, even for systems using pulseaudio instead of pipewire-pulse as default audio server

I’m not sure I can do anything about the simultaneous output settings via the GUI

I suggest delete /etc/pulse/default.pa and reset PulseAudio to default configuration

  1. sudo rm /etc/pulse/default.pa
    
  2. pamac reinstall pulseaudio
    
  3. rm ~/.config/pulse/*
    
  4. reboot system
1 Like

I followed the steps and all the issues are gone! Thank you very much @nikgnomic, I’ll mark this as solved.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.