Freezing while audio continues to play

The audio will continue to play and the mouse and keyboard becomes completely unresponsive. Sometimes the cursor turns into a loading wheel and I can move it around. After I downgraded my kernel and made a swapfile to try to fix it it seems to have been occuring less, it usually occurs 1-2 hours after booting. I’m new to Linux and manjaro was installed a few days ago.

  Kernel: 5.13.13-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.13-x86_64 
  root=UUID=908e90fc-6162-419f-abf1-269748546baf rw quiet apparmor=1 
  security=apparmor udev.log_priority=3 
  Desktop: Xfce 4.16.0 tk: Gtk 3.24.29 info: xfce4-panel wm: xfwm 4.16.1 vt: 7 
  dm: LightDM 1.30.0 Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Desktop System: ASUS product: All Series v: N/A serial: <filter> 
  Mobo: ASUSTeK model: H81M-E v: Rev X.0x serial: <filter> 
  BIOS: American Megatrends v: 0301 date: 07/18/2013 
Battery:
  Message: No system battery data found. Is one present? 
Memory:
  RAM: total: 7.71 GiB used: 1.27 GiB (16.5%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: Dual Core model: Intel Pentium G3220 bits: 64 type: MCP arch: Haswell 
  family: 6 model-id: 3C (60) stepping: 3 microcode: 28 cache: L2: 3 MiB 
  bogomips: 11977 
  Speed: 798 MHz min/max: 800/3000 MHz Core speeds (MHz): 1: 798 2: 851 
  Flags: abm acpi aperfmperf apic arat arch_perfmon bts clflush cmov 
  constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept 
  ept_ad erms est flexpriority flush_l1d fpu fsgsbase fxsr ht ibpb ibrs 
  invpcid invpcid_single lahf_lm lm mca mce md_clear mmx monitor movbe msr 
  mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm pdpe1gb pebs pge 
  pln pni popcnt pse pse36 pti pts rdrand rdtscp rep_good sdbg sep ss ssbd sse 
  sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_adjust 
  tsc_deadline_timer vme vmx vnmi vpid xsave xsaveopt xtopology xtpr 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT disabled 
  Type: mds mitigation: Clear CPU buffers; SMT disabled 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: disabled, RSB filling 
  Type: srbds mitigation: Microcode 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: NVIDIA GK107 [GeForce GTX 650] vendor: ASUSTeK driver: nouveau 
  v: kernel bus-ID: 01:00.0 chip-ID: 10de:0fc6 class-ID: 0300 
  Display: x11 server: X.Org 1.20.13 compositor: xfwm4 v: 4.16.1 driver: 
  loaded: modesetting alternate: fbdev,vesa display-ID: :0.0 screens: 1 
  Screen-1: 0 s-res: 2560x1440 s-dpi: 96 s-size: 677x381mm (26.7x15.0") 
  s-diag: 777mm (30.6") 
  Monitor-1: HDMI-1 res: 2560x1440 hz: 60 dpi: 118 
  size: 553x311mm (21.8x12.2") diag: 634mm (25") 
  OpenGL: renderer: NVE7 v: 4.3 Mesa 21.2.1 direct render: Yes 
Audio:
  Device-1: Intel 8 Series/C220 Series High Definition Audio vendor: ASUSTeK 
  driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8c20 
  class-ID: 0403 
  Device-2: NVIDIA GK107 HDMI Audio vendor: ASUSTeK driver: snd_hda_intel 
  v: kernel bus-ID: 01:00.1 chip-ID: 10de:0e1b class-ID: 0403 
  Device-3: Dell AC511 Sound Bar type: USB 
  driver: hid-generic,snd-usb-audio,usbhid bus-ID: 3-10:7 chip-ID: 413c:a503 
  class-ID: 0300 
  Device-4: C-Media Sharkoon SKILLER SGH30 type: USB 
  driver: hid-generic,snd-usb-audio,usbhid bus-ID: 3-3:3 chip-ID: 0d8c:0012 
  class-ID: 0300 
  Sound Server-1: ALSA v: k5.13.13-1-MANJARO running: yes 
  Sound Server-2: JACK v: 1.9.19 running: no 
  Sound Server-3: PulseAudio v: 15.0 running: yes 
  Sound Server-4: PipeWire v: 0.3.34 running: no 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: ASUSTeK H81M-C driver: r8169 v: kernel port: d000 bus-ID: 03:00.0 
  chip-ID: 10ec:8168 class-ID: 0200 
  IF: enp3s0 state: down mac: <filter> 
  Device-2: Qualcomm Atheros AR9271 802.11n type: USB driver: ath9k_htc 
  bus-ID: 3-1.2:6 chip-ID: 0cf3:9271 class-ID: ff00 serial: <filter> 
  IF: wlp0s20u1u2 state: up mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  WAN IP: <filter> 
Bluetooth:
  Message: No bluetooth data found. 
Logical:
  Message: No logical block device data found. 
RAID:
  Message: No RAID data found. 
Drives:
  Local Storage: total: 704.24 GiB used: 19.83 GiB (2.8%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 840 PRO Series 
  size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s 
  type: SSD serial: <filter> rev: 6B0Q scheme: MBR 
  ID-2: /dev/sdb maj-min: 8:16 vendor: Western Digital 
  model: WD5000AAKS-65YGA0 size: 465.76 GiB block-size: physical: 512 B 
  logical: 512 B speed: 3.0 Gb/s type: N/A serial: <filter> rev: 1C02 
  scheme: MBR 
  Message: No optical or floppy data found. 
Partition:
  ID-1: / raw-size: 238.47 GiB size: 233.67 GiB (97.99%) 
  used: 19.83 GiB (8.5%) fs: ext4 dev: /dev/sda1 maj-min: 8:1 label: N/A 
  uuid: 908e90fc-6162-419f-abf1-269748546baf 
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) 
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 
  file: /swapfile 
Unmounted:
  ID-1: /dev/sdb1 maj-min: 8:17 size: 465.76 GiB fs: ntfs label: N/A 
  uuid: 7C963BD9963B929E 
USB:
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-2: 1-1:2 info: Intel Integrated Rate Matching Hub ports: 4 rev: 2.0 
  speed: 480 Mb/s chip-ID: 8087:8008 class-ID: 0900 
  Hub-3: 2-0:1 info: Full speed (or root) Hub ports: 2 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-4: 2-1:2 info: Intel Integrated Rate Matching Hub ports: 6 rev: 2.0 
  speed: 480 Mb/s chip-ID: 8087:8000 class-ID: 0900 
  Hub-5: 3-0:1 info: Full speed (or root) Hub ports: 10 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Hub-6: 3-1:2 info: Texas Instruments TUSB8041 4-Port Hub ports: 4 rev: 2.1 
  speed: 480 Mb/s chip-ID: 0451:8142 class-ID: 0900 
  Device-1: 3-1.1:4 info: Cooler Master CK530 type: Keyboard,HID 
  driver: hid-generic,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s 
  power: 100mA chip-ID: 2516:009f class-ID: 0300 
  Device-2: 3-1.2:6 info: Qualcomm Atheros AR9271 802.11n type: Network 
  driver: ath9k_htc interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 500mA 
  chip-ID: 0cf3:9271 class-ID: ff00 serial: <filter> 
  Hub-7: 3-1.4:8 info: Texas Instruments TUSB8041 4-Port Hub ports: 2 rev: 2.1 
  speed: 480 Mb/s chip-ID: 0451:8142 class-ID: 0900 
  Device-1: 3-3:3 info: C-Media Sharkoon SKILLER SGH30 type: Audio,HID 
  driver: hid-generic,snd-usb-audio,usbhid interfaces: 4 rev: 1.1 
  speed: 12 Mb/s power: 100mA chip-ID: 0d8c:0012 class-ID: 0300 
  Device-2: 3-9:5 info: Pixart Imaging Optical Mouse type: Mouse 
  driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 1.5 Mb/s 
  power: 100mA chip-ID: 093a:2521 class-ID: 0301 
  Device-3: 3-10:7 info: Dell AC511 Sound Bar type: Audio,HID 
  driver: hid-generic,snd-usb-audio,usbhid interfaces: 4 rev: 1.1 
  speed: 12 Mb/s power: 200mA chip-ID: 413c:a503 class-ID: 0300 
  Hub-8: 4-0:1 info: Full speed (or root) Hub ports: 2 rev: 3.0 speed: 5 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-9: 4-1:2 info: Texas Instruments TUSB8041 4-Port Hub ports: 4 rev: 3.0 
  speed: 5 Gb/s chip-ID: 0451:8140 class-ID: 0900 
  Hub-10: 4-1.4:3 info: Texas Instruments TUSB8041 4-Port Hub ports: 2 
  rev: 3.0 speed: 5 Gb/s chip-ID: 0451:8140 class-ID: 0900 
Sensors:
  System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: nouveau temp: 68.0 C 
  Fan Speeds (RPM): N/A gpu: nouveau fan: 0 
Info:
  Processes: 162 Uptime: 11m wakeups: 0 Init: systemd v: 248 tool: systemctl 
  Compilers: gcc: N/A Packages: pacman: 1079 lib: 304 flatpak: 0 Shell: Bash 
  v: 5.1.8 running-in: xfce4-terminal inxi: 3.3.06 

What should I do?

Hello and welcome @Maximus :wink:

That could be of course an issue of heavy memory usage of some sort of application. So adding a swap is the correct move what everyone would have recommended.

If this is really every time 1-2 hours after boot, then I fear it could be 2 reasons:

  1. A running application has a memory leak or need a lot or RAM. Can’t say anythin here, since I have no idea what you are running.
  2. Your RAM Module is defect. You will need to check it. On a running system you can check ram with memtester:
sudo memtester <MEMORY> ITERATIONS

:arrow_down:

sudo memtester 1024  1

That tests 1024MB of the RAM one time. And note: This memory will be locked, and can not be used by the kernel at the test time. So don’t allocate to much memory for the stress-test.

What could be also an issue is that the open source driver nouveau does not clock up in general because of non-existing function. It stays all the time at the base clock. Installing the nvidia driver could speed it up…

sudo mhwd --auto pci nonfree 0300

After a reboot the driver should be available.

Yeah I would say it is the video driver.

I suggest you update BIOS - H81M-E - Support | Asus Global
A lot of the later BIOS versions mention “Improve system stability”

Ho! yeah it’s pretty outdated :smiley: It never hurts (unless you have an issue during the BIOS flash) to update your BIOS when you missed five years worth of BIOS updates :nerd_face: (just be ready to restore GRUB with a live USB, everyone I know, as well as many people on the forum, have to do that after updating the BIOS or else Manjaro shows as ‘UEFI OS’ in the boot options, and doesn’t boot at all).

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.