Hi everyone (and thanks in advance for taking your time even if just reading):
I’m an old linux user (since 2001), and migrated to Manjaro (from Suse, OpenSuse, Ubuntu and Mint previously) in my new laptop just about two monthes ago. And very happy, I must say, till a couple of weeks ago…
My system was working marvellously. But suddenly one day sound started to stop when I changed from one source to another (let’s say seeing a youtube video in browser and then changing into some music on Spotify client, or starting any other application with sound).
Could be after an upgrade? Perhaps, but it was in a moment with such amount of work that I didn’t took the time to check, and I forgot the exact moment.
I’ve just discovered that I was able to touch some options on pavucontrol and alsamixer and, usually, recover sound again, at least for the moment, so I decided to continue like that provisionally. Not a concrete series os steps, but chaging things and returning to origin used to work.
But a couple of days ago, having more time, I start to investigate all of this. And I saw that really, what was happening is that sound stops in a non completely consistent way. Most of the time (but not really always) it stops working whenever sound is stoppped and then started again. Not just changing from browser to another app, for example, but also stopping a video in browser and the sarting another one, even in the same tab (chrome, BTW).
But sometimes it does not happen, and works ok for some time.
Usually, when trying to reproduce sound after booting computer or recovering from sleep, there is the same problem. I have to fiddle a bit, and then sound works… till it stops again.
What I discovered I have to do to recover sound is to open pavucontrol, go to the last tab (configuration), and set the profile for my card (integrated for intel, Tiger lake-LP… more info later) to stopped (don’t know the exact word in English, my system is in Spanish), so that sound is disabled, and turn again it to the only option in my case, “Play HiFi quality Music”.
And then I have to take headphones out and in again, if plugged, or use the mute on and off if on speakers, and sound reappears.
It’s like it would have started muted after the reinititialization (even if in alsamixer doesn’t appear as muted) and needs to change into real mute and again unmuted to properly work.
It’s just unbearable. You cannot be using continually the workaround each time you use sound, or stop it and star a new video, audio, or whatever… And I’m also musician, and use to edit sound on my laptop when doing recordings, and that’s not a possibility to be doing so… I have to use may old computer by now for this. Thanks God is still working…
Searching a lot of things (none seem to help…), I realised that even if I was using pulseaudio and jack, as always since years ago, pipewire was installed and running, for some dependencies. I could not unninstall it, so I tried to stop it or even systemctl mask it. But there was no improvement.
So, seeing that pipewire seems to be in a very usable state, I changed into it, and deleted my pulse and jack servers, to avoid mixing things, for it could create difficulties. Pipewire is working fine… when it does, exactly the same as pulseaudio before. So I guess is more an alsa or a driver question. But there is nothing that’s shown in logs related to that.
I’ve being thoughly trying to check and investigate my dmesg and jounal, but there is nothing that can give me a hint of what’s happening there.
My system is an Lenovo Ideapad Gaming, wifh following characteristics:
Type: Laptop System: LENOVO product: 82K1 v: IdeaPad Gaming 3 15IHU6
Host: nacho-Lenovo Kernel: 5.15.85-1-MANJARO arch: x86_64 bits: 64
Desktop: Xfce v: 4.18.0 Distro: Manjaro Linux
Info: quad core 11th Gen Intel Core i5-11320H [MT MCP] speed (MHz):
avg: 1213 min/max: 400/4500
Memory: 16 GiB
Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] driver: i915 v: kernel
Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] driver: nvidia
Device-3: Syntek Integrated Camera type: USB driver: uvcvideo
Display: x11 server: X.Org v: 21.1.6 driver: X: loaded: modesetting,nvidia
dri: iris gpu: i915 resolution: 1920x1080~60Hz
API: OpenGL v: 4.6 Mesa 22.3.1 renderer: Mesa Intel Xe Graphics (TGL GT2)
Device-1: Intel Tiger Lake-LP Smart Sound Audio
Sound API: ALSA v: k5.15.85-1-MANJARO running: yes
Sound Server-1: PipeWire v: 0.3.63 running: yes
The only messages I can find on journal from the moments when sound fails (but not really always) are
wireplumber: Failed to enable ucm device Headphones
wireplumber: Failed to enable ucm Mic2
wireplumber: Failed to enable ucm Mic1
But this seem not to be the problem, but a consequence of it. I’ve tried to downgrade my alsa-ucm-conf package, for it could be a bad upgrade, or an incompatibility, but there was no change.
Also, some times I get a pipewire segfault in dmesg, or some messages in journal about pipewire about "double free or corrupted (fasttop), about being failed with ‘core-dump’ and other ones in the same styke, but they, once again, seem to be consequence and not couse (it was happening axacly the same with pulse and no pipewire, and I’ve googled a lot about the messages, but found nothig that makes sens in my case).
I’m completely lost, for first time in my 20 years linux experience, I have to say.
Any help would be really welcome.
Last state would be reinstall completelly system… I would like to avoid that, i should say. For I’m not sure if it’s happening again, since I cannot identify what’s happening. If reintalling, I would probably try againg another of the distros I was using previously, for security, but I have to say that I’m enjoying Manjaro and would like to stick to it, if I’m able to manage this serious problem.