I’m brand new to EndeavourOS and KDE and I was looking into ways to improve the battery life of my system (Thinkpad P14s Gen5 - Intel version). After way too much reading, I decided to try TLP, which caused me to uninstall power-profiles-daemon
and auto-cpufreq
with pacman -Rns
(I didn’t even know I had the latter). I didn’t see any positive benefits from TLP, so I decided to restore things to how they were. I reinstalled both power-profiles-daemon
and auto-cpufreq
. I have not fiddled with any config at all.
I’m now experiencing very inconsistent behavior from my video and audio. When watching videos on the browser, they will randomly freeze and my audio will make a sputtering or crackling sound. This goes on for several seconds and they both are in sync with each other - they start misbehaving at the same time and get back to working properly at the same time.
When this happens, I do still have internet, can search on the browser, and my mouse and keyboard seem to be fine.
When using Powertop with autotune, I noticed my wireless keyboard and mouse didn’t respond well, so I made adjustments to the service to not tune that receiver and it worked.
I’m thinking maybe power-profiles-daemon or cpu-autofreq may be suspending something related to audio and video randomly? But I really have no idea.
Here are my hardware specs: https://0x0.st/XhFv.txt
Edit: Looks like it’s an issue with pipewire.
Journalctl output after it occurred:
...
Dec 11 17:45:46 kwin_wayland[1150]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
Dec 11 17:45:46 kwin_wayland[1150]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
Dec 11 17:45:49 kernel: sof-audio-pci-intel-mtl 0000:00:1f.3: no llp found, fall back to default HDA path
Dec 11 17:46:54 pipewire[1215]: spa.alsa: hw:sofhdadspp: (25 suppressed) snd_pcm_avail after recover: Broken pipe
Dec 11 17:46:56 pipewire[1215]: spa.alsa: hw:sofhdadspp: (46 suppressed) snd_pcm_avail after recover: Broken pipe
Dec 11 17:46:58 pipewire[1215]: spa.alsa: hw:sofhdadspp: (46 suppressed) snd_pcm_avail after recover: Broken pipe
Dec 11 17:47:00 pipewire[1215]: spa.alsa: hw:sofhdadspp: (46 suppressed) snd_pcm_avail after recover: Broken pipe
Dec 11 17:47:02 pipewire[1215]: spa.alsa: hw:sofhdadspp: (46 suppressed) snd_pcm_avail after recover: Broken pipe
Dec 11 17:47:04 pipewire[1215]: spa.alsa: hw:sofhdadspp: (46 suppressed) snd_pcm_avail after recover: Broken pipe
Dec 11 17:47:06 pipewire[1215]: spa.alsa: hw:sofhdadspp: (46 suppressed) snd_pcm_avail after recover: Broken pipe
Dec 11 17:47:07 kwin_wayland[1150]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
Dec 11 17:47:07 kwin_wayland[1150]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
Dec 11 17:47:07 kwin_wayland[1150]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
Dec 11 17:47:08 pipewire[1215]: spa.alsa: hw:sofhdadspp: (46 suppressed) snd_pcm_avail after recover: Broken pipe
Dec 11 17:47:10 pipewire[1215]: spa.alsa: hw:sofhdadspp: (46 suppressed) snd_pcm_avail after recover: Broken pipe
Dec 11 17:47:12 pipewire[1215]: spa.alsa: hw:sofhdadspp: (46 suppressed) snd_pcm_avail after recover: Broken pipe
Dec 11 17:47:14 pipewire[1215]: spa.alsa: hw:sofhdadspp: (46 suppressed) snd_pcm_avail after recover: Broken pipe
Dec 11 17:47:16 pipewire[1215]: spa.alsa: hw:sofhdadspp: (46 suppressed) snd_pcm_avail after recover: Broken pipe
Dec 11 17:47:20 kwin_wayland[1150]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
Dec 11 17:47:20 kwin_wayland[1150]: kwin_scene_opengl: 0x2: GL_INVALID_OPERATION in glDrawBuffers(unsupported buffer GL_BACK_LEFT)
...
Any ideas on how to get to the bottom of this?