Audio randomly stops working

I am a new user of manjaro. Ever since i have installed it, the audio randomly stops working. I have tried changing the kernel version but it has not worked for me. This is my system information

System:
  Kernel: 6.0.5-2-rt14-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.0-rt-x86_64
    root=UUID=add8d14f-29a5-4df6-a43e-54d98b6cb17e rw quiet
    resume=UUID=abcda96a-cd7e-4ccc-9928-69b95ebc50d4 udev.log_priority=3
  Desktop: KDE Plasma v: 5.26.4 tk: Qt v: 5.15.7 wm: kwin_x11 dm: SDDM
    Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: TIMI product: Mi NoteBook 14 v: N/A serial: <filter>
    Chassis: type: 10 serial: <filter>
  Mobo: TIMI model: TM1901 serial: <filter> UEFI: TIMI v: XMRCM400P0A04
    date: 05/06/2020
Battery:
  ID-1: BAT0 charge: 27.8 Wh (61.9%) condition: 44.9/47.0 Wh (95.6%)
    volts: 17.0 min: 15.2 model: SUNWODA type: Li-ion serial: <filter>
    status: charging
CPU:
  Info: model: Intel Core i5-10210U socket: BGA1528 (U3E1) note: check bits: 64
    type: MT MCP arch: Comet/Whiskey Lake note: check gen: core 10 level: v3
    note: check built: 2018 process: Intel 14nm family: 6 model-id: 0x8E (142)
    stepping: 0xC (12) microcode: 0xF4
  Topology: cpus: 1x cores: 4 tpc: 2 threads: 8 smt: enabled cache:
    L1: 256 KiB desc: d-4x32 KiB; i-4x32 KiB L2: 1024 KiB desc: 4x256 KiB
    L3: 6 MiB desc: 1x6 MiB
  Speed (MHz): avg: 2255 high: 2701 min/max: 400/4200 base/boost: 1485/8300
    scaling: driver: intel_pstate governor: powersave volts: 0.6 V
    ext-clock: 100 MHz cores: 1: 2204 2: 2701 3: 2472 4: 2100 5: 2266 6: 2100
    7: 2100 8: 2100 bogomips: 33599
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: Enhanced IBRS
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB
    filling, PBRSB-eIBRS: SW sequence
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel CometLake-U GT2 [UHD Graphics] vendor: Xiaomi driver: i915
    v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20 ports:
    active: eDP-1 empty: HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:9b41
    class-ID: 0300
  Device-2: NVIDIA GP108M [GeForce MX250] vendor: Xiaomi driver: nvidia
    v: 525.60.11 alternate: nouveau,nvidia_drm non-free: 525.xx+
    status: current (as of 2022-12) arch: Pascal code: GP10x process: TSMC 16nm
    built: 2016-21 pcie: gen: 1 speed: 2.5 GT/s lanes: 4 link-max: gen: 3
    speed: 8 GT/s bus-ID: 06:00.0 chip-ID: 10de:1d13 class-ID: 0302
  Display: x11 server: X.Org v: 21.1.6 compositor: kwin_x11 driver: X:
    loaded: modesetting,nvidia unloaded: nouveau alternate: fbdev,nv,vesa
    dri: iris gpu: i915 display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 model: BOE Display 0x07ec built: 2018 res: 1920x1080
    hz: 60 dpi: 158 gamma: 1.2 size: 309x174mm (12.17x6.85") diag: 355mm (14")
    ratio: 16:9 modes: 1920x1080
  API: OpenGL v: 4.6 Mesa 22.3.1 renderer: Mesa Intel UHD Graphics (CML GT2)
    direct render: Yes
Audio:
  Device-1: Intel Comet Lake PCH-LP cAVS vendor: Xiaomi
    driver: sof-audio-pci-intel-cnl
    alternate: snd_hda_intel,snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3
    chip-ID: 8086:02c8 class-ID: 0401
  Sound API: ALSA v: k6.0.5-2-rt14-MANJARO running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: no
  Sound Server-3: PipeWire v: 0.3.63 running: yes
Network:
  Device-1: Intel Comet Lake PCH-LP CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:02f0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
Bluetooth:
  Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB
    driver: btusb v: 0.8 bus-ID: 1-10:2 chip-ID: 8087:0aaa class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
  Local Storage: total: 476.94 GiB used: 81.56 GiB (17.1%)
  ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: MZNLN512HAJQ-00000
    family: based SSDs size: 476.94 GiB block-size: physical: 512 B
    logical: 512 B sata: 3.1 speed: 6.0 Gb/s type: SSD serial: <filter>
    rev: 300Q temp: 33 C scheme: GPT
  SMART: yes state: enabled health: PASSED on: 50d 2h cycles: 1881
    read: 5.1 MiB written: 4.2 MiB
Partition:
  ID-1: / raw-size: 467.84 GiB size: 459.43 GiB (98.20%)
    used: 81.56 GiB (17.8%) fs: ext4 block-size: 4096 B dev: /dev/sda2
    maj-min: 8:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 312 KiB (0.1%) fs: vfat block-size: 512 B dev: /dev/sda1 maj-min: 8:1
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default)
  ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%) priority: -2
    dev: /dev/sda3 maj-min: 8:3
Sensors:
  System Temperatures: cpu: 42.0 C pch: 48.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 287 Uptime: 17m wakeups: 1163 Memory: 7.6 GiB
  used: 2.62 GiB (34.5%) Init: systemd v: 252 default: graphical
  tool: systemctl Compilers: gcc: 12.2.0 clang: 14.0.6 Packages: pm: pacman
  pkgs: 1272 libs: 347 tools: pamac pm: flatpak pkgs: 0 Shell: Zsh (sudo)
  v: 5.9 default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.24

You must have deliberately installed that kernel you are currently using - an rt kernel.

Kernel: 6.0.5-2-rt14-MANJARO

That’s not how the system comes by default.

Does it not work wit the “regular” kernels?
like the LTS ?

Yes i installed the kernel, it was not working with 5.15

Try the 6 series - but not rt. :man_shrugging:

Beyond that I can’t help with the “random” description.
Perhaps power saving? TLP ?.. but that would not be random …

Hey, my issue is fixed now, I just re installed manjaro on my system and it works fine now

well - you didn’t really fix it - you just re-installed
and that would give you a version 6 kernel - but not the rt variant that you had been using

It seems to me that you could have just installed that same kernel - as suggested
and the re-installation would not have been necessary.

Anyway - we will never know - good that it works now with the fresh install.

My kernel version is still 5.15

might have been a different version of it

it’s now impossible to find out the cause for the malfunction in the system that does no longer exist :man_shrugging: