Warning: Undefined variable $s_watching_topic_img in /usr/home/zenrat/public_html/tech/forums/viewtopic.php on line 677
|
[RESOLVED] Sound freezes on Intel Atom x5-Z8300 using Liquorix Kernels
Hello Everyone :)
I have a sound issues on my machine with Intel Atom x5-Z8300 processor using Liquorix Kernels. In general, the full system works very well on Liquorix Kernels and pretty fast, but in random moments sound freezes. And there are 2 ways to temporary solve it: stop play music/video in a player/web browser and wait until sound totally stops and then freeze automatically disappears after couple of seconds or better and faster option, restart wirepluber.service or pipewire.service. Do You know, how to solve this issue guys ? Regards :) Back to top |
|||||
|
Can you provide more information about your system? Pasting output of inxi -b with code tags should be enough.
Also provide the output of cat /proc/cmdline. Back to top |
|||||
|
Yes, sure. Here it is:
:: Code :: inxi -b
System: Host: piotrze-tablet Kernel: 6.15.8-lqx1-1-lqx arch: x86_64 bits: 64 Desktop: LXDE v: 0.10.1 Distro: Arch Linux Machine: Type: Laptop System: HP product: HP Pavilion x2 Detachable v: Type1ProductConfigId serial: <superuser required> Mobo: HP model: 813E v: 34.12 serial: <superuser required> UEFI: Insyde v: F.20 date: 05/14/2019 Battery: ID-1: axp288_fuel_gauge charge: 87% condition: N/A CPU: Info: quad core Intel Atom x5-Z8300 [MCP] speed (MHz): avg: 1840 min/max: 480/1840 Graphics: Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Integrated Graphics driver: i915 v: kernel Display: x11 server: X.org v: 1.21.1.18 driver: X: loaded: modesetting dri: crocus gpu: i915 resolution: 1280x800~60Hz API: OpenGL v: 4.5 vendor: mesa v: 25.1.6-arch1.1.1 renderer: llvmpipe (LLVM 20.1.8 128 bits) Info: Tools: api: eglinfo, glxinfo, vulkaninfo x11: xprop,xrandr Network: Device-1: Intel Wireless 3165 driver: iwlwifi Drives: Local Storage: total: 148.21 GiB used: 114.08 GiB (77.0%) Info: Memory: total: N/A available: 1.85 GiB used: 1.4 GiB (75.6%) Processes: 211 Uptime: 6m Shell: Zsh inxi: 3.3.38 cat /proc/cmdline audit=0 intel_pstate=disable amd_pstate=disable BOOT_IMAGE=/vmlinuz-linux-lqx root=UUID=2e22dabf-3971-43e5-9e49-68eab099774d rw quiet loglevel=0 audit=0 nvme_load=yes mitigations=off nowatchdog intel_idle.max_cstate=1 nosmap noexec=off noexec32=off numa=off use_tracers=off ignore_ppc=1 intel_pstate=disable zswap.enabled=1 zswap.max_pool_percent=100 Back to top |
|||||
|
Any ideas, what can be wrong ?
Back to top |
|||||
|
|
|||||
|
Ahh, sure. So here it is:
:: Code ::
inxi -Aa Audio: Device-1: Intel Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series Imaging Unit vendor: Hewlett-Packard driver: atomisp-isp2 alternate: atomisp bus-ID: 00:03.0 chip-ID: 8086:22b8 class-ID: 0480 API: ALSA v: k6.15.8-lqx1-1-lqx status: kernel-api tools: alsactl,alsamixer,amixer Server-1: JACK v: 1.9.22 status: off tools: N/A Server-2: PulseAudio v: 17.0-43-g3e2bb status: active with: 1: pulseaudio-alsa type: plugin 2: pulseaudio-jack type: module tools: pacat,pactl,pavucontrol For now I have configured setup with pulseaudio to check if it will help, but it did not help. And prviously it was configured with pipewire. So on both setups, effect is the same: sound freezes/suspends. Back to top |
|||||
|
So regardless of what I ask next, I wanted to point out that your system is relatively exotic or unpopular. That means that we could be dealing with a standard kernel bug that only affects your system. Most likely PDS (Periodic Deadline Scheduler from Project-C), is exacerbating a bug that already exists in the sound driver
With that out of the way, here's some more things questions and ideas. 1. When your sound freezes, is anything logged in dmesg or pipewire/pulseaudio logs? If you're not sure, having journalctl -f open to monitor for anything interesting when the freeze happens might help. 2. Are you able to unload and reload the sound modules to get your audio back without rebooting? 3. Does adding threadirqs change the behavior any? 4. Does reducing zswap.max_pool_percent=100 to a lower value change anything? 5. Have you tried removing any/all of the other custom kernel boot parameters on your system to see what happens with default settings? Back to top |
|||||
|
Hello,
Sorry for that almost a week delay, but here are the answers: 1. Unfortunately not. In "dmesg" and in "pipewire/pulseaudio" logs are nothing. Everything looks fine. No any warnings and errors. 2. Yes, when sound just suspends/freezes, I do "systemctl restart pipewire.service/pulseaudio.service" and sound immediately back to normal playing. 3. I have added "threadirqs" to kernel params in grub config file and this did not help in any way. 4. "zswap.max_pool_percent=100", same as above, also did not help. 5. Yes, I did it, but sound still suspends/freezes. Regards, Back to top |
|||||
|
In addition, I can tell that I have used other following kernels: linux-zen-pds and linux-prjc. And these kernels works wery well and sound works perfectly. So the issue is only with linux-lqx. Maybe it can be related to additional lib which has to be installed: sof-linux ? Because without this lib, thre is totally no sound when I using linux-lqx. But linux-zen-pds and linux-prjc do not need this lib installed to get sound working.
Back to top |
|||||
|
:: Quote :: Maybe it can be related to additional lib which has to be installed: sof-linuxThanks, this narrows it down. Most likely there's a difference in the sound module configuration between Liquorix and the other kernels you mentioned. Multiple drivers _can_ be used for the same device for audio playback, but distributions turn some off and on depending on bug reports they get back from users. I'll compare the differences and sync them up, most likely with Arch Linux upstream. Back to top |
|||||
|
All times are GMT - 8 Hours
|
|||||