No Audio and failure to shutdown on Manjaro Xfce

Hello everyone,
I had to fix my Laptop, and wasn’t able to use it for nearly four months because of that. Now, after returning and doing 10Gbs of updates, my laptop hasn’t been able to properly shut down for a few days now. No matter if I use shutdown, reboot, suspend or poweroff, it will always has some sort of issue.
Additionally, there is no audio anymore. I usually used PulseAudio, and the audio still works in other OSes.

inxi -Aa:

Audio:
  Device-1: Intel Comet Lake PCH-LP cAVS vendor: Lenovo driver: snd_hda_intel
    v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
    chip-ID: 8086:02c8 class-ID: 0403
  API: ALSA v: k6.6.26-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.0.3 status: off tools: pw-cli
  Server-3: PulseAudio v: 17.0 status: active with: 1: pulseaudio-alsa
    type: plugin 2: pulseaudio-jack type: module tools: pacat,pactl,pavucontrol

pactl info:

Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 17
Tile Size: 65472
User Name: actwo
Host Name: actwo
Server Name: pulseaudio
Server Version: 17.0
Default Sample Specification: s16le 2ch 44100Hz
Default Channel Map: front-left,front-right
Default Sink: auto_null
Default Source: auto_null.monitor
Cookie: 6a3a:59e5

pactl list cards:

none

amixer:

Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 65536
  Mono:
  Front Left: Playback 65536 [100%] [on]
  Front Right: Playback 65536 [100%] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch cswitch-joined
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 65536
  Front Left: Capture 65536 [100%] [on]
  Front Right: Capture 65536 [100%] [on]

Please tell me if you need further information, I am currently using LTS 6.6.26-1

Exagerating you are - I believe - but impossible to provide any meaningful response.

Lack of audio doesn’t prevent usage - neither does it prevent shutdown.

Jugding from a part of the initial topic - you are using some kind of Lenovo hardware - that rarely causes any issues.

pulseaudio is - kind’a - a dying beast - pipewire to replace - giving no issues that I know of - at least not with the variety of hardware at my disposal.

Does audio work and the computer shutdown if you use a current, live .iso?

Use amixer --card=0 to show ALSA mixer controls for onboard audio device

PulseAudio creates auto_null sink (Dummy Output) only if it cannot detect any audio playback devices

If PulseAudio is unable to detect onboard audio device it should be possible to play audio direct to onboard audio device in ALSA to confirm ALSA & hardware is working

If audio playback to ALSA device works as expected, remove PulseAudio user configuration databases and restart PulseAudio

rm ~/.config/pulse/*.tdb ~/.config/pulse/cookie; systemctl --user restart pulseaudio

No no, the laptop itself was broken, so I wasn’t able to use it from December 29th til last friday. Had to do board repair.

I am using a Lenovo T14 Gen 1 (Intel).

@jrichard326 I am triple booting. Audio and shutdown works on Windows, I haven’t tried on the second Linux Distro yet.

@nikgnomic amixer --card=0 outputs "Invalid card number ‘0’ ".

I will now try to install pipewire

Update:
The other Distro (Debian based but also XFCE) doesn’t shutdown either, and also lacks sound.

I just now managed to get working audio again. I installed pipewire, and after some troubleshooting, the following commands fixed it:

systemctl --user unmask pipewire.socket
systemctl --user unmask pipewire.service
systemctl --user unmask pipewire
systemctl --user start pipewire.service

The restart issue seems to have fixed itself the moment after I installed pipewire.

So you masked pipewire services at some point?

Of course they would not work then.

PS.

In the future, or for other visitors, the metapackage manjaro-pipewire can most easily be used to ‘switch’ to pipewire.

1 Like

I only just installed pipewire today.

Sadly, it isn’t fixed. After a successful reboot the audio is gone again, and just running those commands isn’t enough anymore. I can’t figure out how to get it to run again.

Well your system looked a little off to begin with.

So … please do what I suggested;

sudo pacman -Syu manjaro-pipewire

PS.

This would only start the service during that one session.

I could also give a comparison of my system here;
pipewire.socket and pipewire-pulse.socket should both be enabled.
(pipewire.service and pipewire-pulse.service are disabled)

But maybe we should skip that manual service control stuff until you have the correct packages :wink:

did that, package is up to date

OK.
So how about the services/sockets?

systemctl --user status pipewire*
● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; enabled; preset: enabled)
     Active: active (running) since Mon 2024-04-22 22:21:35 CEST; 3min 26s ago
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 6817 (pipewire-pulse)
      Tasks: 3 (limit: 38076)
     Memory: 10.4M (peak: 11.0M)
        CPU: 91ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
             └─6817 /usr/bin/pipewire-pulse

Apr 22 22:21:35 actwo systemd[862]: Started PipeWire PulseAudio.
Apr 22 22:24:32 actwo pipewire-pulse[6817]: mod.protocol-pulse: client 0x5625e130f370 [libcanberra]: ERROR command:-1 (invalid) tag:>
Apr 22 22:24:32 actwo pipewire-pulse[6817]: mod.protocol-pulse: client 0x5625e130f370 [libcanberra]: ERROR command:-1 (invalid) tag:>
Apr 22 22:24:32 actwo pipewire-pulse[6817]: mod.protocol-pulse: client 0x5625e130f370 [libcanberra]: ERROR command:-1 (invalid) tag:>
Apr 22 22:24:32 actwo pipewire-pulse[6817]: mod.protocol-pulse: client 0x5625e130f370 [libcanberra]: ERROR command:-1 (invalid) tag:>
Apr 22 22:24:33 actwo pipewire-pulse[6817]: mod.protocol-pulse: client 0x5625e130f370 [libcanberra]: ERROR command:-1 (invalid) tag:>

● pipewire-pulse.socket - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.socket; enabled; preset: enabled)
     Active: active (running) since Mon 2024-04-22 22:08:25 CEST; 16min ago
   Triggers: ● pipewire-pulse.service
     Listen: /run/user/1000/pulse/native (Stream)
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/pipewire-pulse.socket

Apr 22 22:08:25 actwo systemd[862]: Listening on PipeWire PulseAudio.

● pipewire.socket - PipeWire Multimedia System Sockets
     Loaded: loaded (/usr/lib/systemd/user/pipewire.socket; enabled; preset: enabled)
     Active: active (running) since Mon 2024-04-22 22:08:25 CEST; 16min ago
   Triggers: ● pipewire.service
     Listen: /run/user/1000/pipewire-0 (Stream)
             /run/user/1000/pipewire-0-manager (Stream)
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/pipewire.socket

Apr 22 22:08:25 actwo systemd[862]: Listening on PipeWire Multimedia System Sockets.

● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: enabled)
     Active: active (running) since Mon 2024-04-22 22:21:42 CEST; 3min 19s ago
TriggeredBy: ● pipewire.socket
   Main PID: 6915 (pipewire)
      Tasks: 4 (limit: 38076)
     Memory: 4.0M (peak: 4.5M)
        CPU: 53ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─6915 /usr/bin/pipewire

Apr 22 22:21:42 actwo systemd[862]: Started PipeWire Multimedia Service.

Systemd services should not be enabled if they are controlled by a systemd socket

Use -l or --full option when checking systemctl units so response shows full output

systemctl -l --user status pipewire.socket pipewire.service

And check Wireplumber session manager service

systemctl -l --user status wireplumber
● pipewire.socket - PipeWire Multimedia System Sockets
     Loaded: loaded (/usr/lib/systemd/user/pipewire.socket; enabled; preset: enabled)
     Active: active (running) since Mon 2024-04-22 22:08:25 CEST; 33min ago
   Triggers: ● pipewire.service
     Listen: /run/user/1000/pipewire-0 (Stream)
             /run/user/1000/pipewire-0-manager (Stream)
     CGroup: /user.slice/user-1000.slice/user@1000.service/app.slice/pipewire.socket

Apr 22 22:08:25 actwo systemd[862]: Listening on PipeWire Multimedia System Sockets.

● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; enabled; preset: enabled)
     Active: active (running) since Mon 2024-04-22 22:21:42 CEST; 20min ago
TriggeredBy: ● pipewire.socket
   Main PID: 6915 (pipewire)
      Tasks: 4 (limit: 38076)
     Memory: 4.0M (peak: 4.5M)
        CPU: 66ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─6915 /usr/bin/pipewire

Apr 22 22:21:42 actwo systemd[862]: Started PipeWire Multimedia Service.

wireplumber:

● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
     Active: active (running) since Mon 2024-04-22 22:21:42 CEST; 21min ago
   Main PID: 6916 (wireplumber)
      Tasks: 7 (limit: 38076)
     Memory: 4.6M (peak: 5.1M)
        CPU: 220ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─6916 /usr/bin/wireplumber

Apr 22 22:21:42 actwo systemd[862]: Started Multimedia Service Session Manager.
Apr 22 22:21:42 actwo wireplumber[6916]: [0:13:41.261659089] [6916] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
Apr 22 22:21:42 actwo wireplumber[6916]: [0:13:41.261670509] [6916] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
Apr 22 22:21:42 actwo wireplumber[6916]: [0:13:41.261690727] [6916]  INFO Camera camera_manager.cpp:284 libcamera v0.2.0
Apr 22 22:21:42 actwo wireplumber[6916]: <WpPortalPermissionStorePlugin:0x555f3a2c7600> Failed to call Lookup: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for camera

As mentioned, here the services are not enabled (while the sockets are).

systemctl --user disable pipewire.service
systemctl --user disable pipewire-pulse.service

(reboot)

1 Like

still no sound, also rebooting didn’t work after I disabled those services, I again had to power shutoff the machine.

I also wonder about random unsupported packages…
Something like printing all foreign might show something;

pacman -Qmq

Oh yeah, forgot about that half of the issue.

We can maybe get the last logs of that shutdown attempt;

journalctl -b -1 | tail -n100 | curl -F 'file=@-' https://0x0.st

well, rebooting did work after fixing the audio. So I guess the w
two are related…

qmp:

jlink-software-and-documentation
libsidplay
minecraft-launcher
nrfconnect-appimage
podofo-0.9
realvnc-vnc-viewer
systemd-fsck-silent
teams-for-linux
webkit2gtk-5.0

journal:
https://0x0.st/XoRf.txt

Are bad aliens - no package exist in repos or AUR.
It is possible these are manually built packages.
But more than likely they are simply packages you should not have.

It is also notable that some of these have current replacements in the repos;

libsidplayfp
podofo
webkit2gtk

Are all available in the repos as current versions (note the lack of a trailing version in the package name itself).

In the case of systemd-fsck-silent I do not know if it is replacing regular systemd or what … but do make sure you have systemd.

It looks mostly like its doing what it should during shutdown.
There is that watchdog with a timeout of 10 minutes … and you probably dont need or want a watchdog anyways.

I know you noted it shutdown properly when sound was working … but we might try to get rid of the watchdog regardless;
To unload the module now:

sudo rmmod iTCO_wdt

To blacklist the module:

echo "blacklist iTCO_wdt" | sudo tee /etc/modprobe.d/blacklist-watchdog.conf

Theres also a guide on watchdogs of sorts:

I notice you have a number of redundant snaps.
(and as usual for snaps they are all mounted concurrently for no good reason …)
I also note that none of these are applications … they are things like mesa and gnome.
You arent running on these things are you? Like your desktop session is not using the SNAP mesa, is it?
My real suggestion is to remove all things snap in general.
But short of that you may wish to go cleaning it up. If only not to have multiple snapd and so on.

First off, I do need some of those tools - like NRF Connect.

The last time I was able to use my machine before it broke, end of December 2023, it all worked flawlessly. Just now after the updates it broke in that manner. The machine’s display broke, which led to me being unable to use it for months until I did Boardrepair on the PCB. I have removed the watchdog for now, and will see if rebooting still works.

Mesa should be there due to WINE, as i tried WINE/Proton quite some time ago.

My session shouldn’t be using gnome or MESA, no. I just removed gnome and some other stuff. I am going to reboot now to see what happens.