Random freezes are happening, how can I fix it?

inxi -Fxz  :heavy_check_mark:  30s 

System:
  Kernel: 5.4.184-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
    Desktop: KDE Plasma v: 5.24.3 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: HP product: HP Pavilion Gaming Notebook
    v: Type1ProductConfigId serial: <superuser required>
  Mobo: HP model: 816B v: 91.1E serial: <superuser required> UEFI: Insyde
    v: F.91 date: 08/20/2019
Battery:
  ID-1: BAT0 charge: 20.4 Wh (100.0%) condition: 20.4/20.4 Wh (100.0%)
    volts: 16.5 min: 14.8 model: Hewlett-Packard Primary status: full
CPU:
  Info: quad core model: Intel Core i7-6700HQ bits: 64 type: MT MCP
    arch: Skylake-S rev: 3 cache: L1: 256 KiB L2: 1024 KiB L3: 6 MiB
  Speed (MHz): avg: 3190 high: 3270 min/max: 800/3500 cores: 1: 3229
    2: 3208 3: 3132 4: 3176 5: 3201 6: 3270 7: 3127 8: 3177 bogomips: 41621
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel HD Graphics 530 vendor: Hewlett-Packard driver: i915
    v: kernel bus-ID: 00:02.0
  Device-2: NVIDIA GM107M [GeForce GTX 950M] driver: nvidia v: 510.54
    bus-ID: 01:00.0
  Device-3: Intel Intel RealSense 3D Camera (Front F200) type: USB
    driver: uvcvideo bus-ID: 2-3:2
  Display: x11 server: X.Org v: 1.21.1.3 with: Xwayland v: 22.1.0 driver:
    X: loaded: modesetting,nvidia unloaded: nouveau gpu: i915
    resolution: 1920x1080~60Hz
  OpenGL: renderer: Mesa Intel HD Graphics 530 (SKL GT2) v: 4.6 Mesa 21.3.7
    direct render: Yes
Audio:
  Device-1: Intel 100 Series/C230 Series Family HD Audio
    vendor: Hewlett-Packard driver: snd_hda_intel v: kernel bus-ID: 00:1f.3
  Sound Server-1: ALSA v: k5.4.184-1-MANJARO running: yes
  Sound Server-2: JACK v: 1.9.20 running: no
  Sound Server-3: PulseAudio v: 15.0 running: yes
  Sound Server-4: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Realtek RTL8723BE PCIe Wireless Network Adapter
    vendor: Hewlett-Packard driver: rtl8723be v: kernel port: 4000
    bus-ID: 08:00.0
  IF: wlo1 state: up mac: <filter>
  Device-2: Realtek RTL810xE PCI Express Fast Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel port: 3000 bus-ID: 09:00.0
  IF: eno1 state: down mac: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth Radio type: USB driver: btusb v: 0.8
    bus-ID: 1-7:3
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Drives:
  Local Storage: total: 931.51 GiB used: 17.18 GiB (1.8%)
  ID-1: /dev/sda vendor: Toshiba model: MQ02ABD100H size: 931.51 GiB
Partition:
  ID-1: / size: 906.86 GiB used: 17.18 GiB (1.9%) fs: ext4 dev: /dev/sda2
  ID-2: /boot/efi size: 299.4 MiB used: 288 KiB (0.1%) fs: vfat
    dev: /dev/sda1
Swap:
  ID-1: swap-1 type: partition size: 8.8 GiB used: 0 KiB (0.0%)
    dev: /dev/sda3
Sensors:
  System Temperatures: cpu: 64.0 C pch: 51.5 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 278 Uptime: 3m Memory: 7.62 GiB used: 3.56 GiB (46.7%)
  Init: systemd Compilers: gcc: 11.2.0 clang: 13.0.1 Packages: 1225
  Shell: Zsh v: 5.8.1 inxi: 3.3.15

You have fairly high CPU temperatures and are using almost 8GB of RAM. So I am assuming this is during a gaming episode? Does it only happen when you are stressing your system?

I also see you are using Nouveau drivers so I suppose you could try nVidia instead if you think the random freezes are video related.

Is Nvidia already.


That is a 5400 RPM HDD and performs better between 0 and 45 °C even tho the specifications say max 60 °C, and as mentioned above, the temperatures seems quite high, so it could glitch from time to time making the system freeze.

Is the fan spining/working? Make sure there is no dust obstructing the airflow …