Help With The Random Freezing Gnome

My system randomly freezes and leaves my no choice but to switch off the power of desktop. I have waited for like an half hour to see if it get responsive but no.
Please help when i was on manjaro lxqt & lubuntu this issue was not there and now i installed gnome it happens 2 out of three times i boot my system.

Please Help Me I love gnome and i dont want to switch to another desktop environment.

Here is my inxi -Fazy

System:
  Kernel: 5.4.118-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.4-x86_64 
  root=UUID=8d682308-c48b-4c51-b984-5cc50a54c311 rw quiet 
  resume=UUID=b6d06ca8-16fe-46e6-9189-4ec73fd991b1 udev.log_priority=3 
  Desktop: GNOME 3.38.4 tk: GTK 3.24.29 wm: gnome-shell dm: GDM 40.0 
  Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Desktop Mobo: ASRock model: G31M-S serial: <filter> 
  BIOS: American Megatrends v: P1.60 date: 04/02/2009 
CPU:
  Info: Dual Core model: Pentium E5300 bits: 64 type: MCP arch: Penryn 
  family: 6 model-id: 17 (23) stepping: A (10) microcode: A0B cache: L2: 2 MiB 
  flags: lm nx pae sse sse2 sse3 ssse3 bogomips: 10378 
  Speed: 1495 MHz min/max: 1203/2603 MHz Core speeds (MHz): 1: 1495 2: 1202 
  Vulnerabilities: Type: itlb_multihit status: KVM: Vulnerable 
  Type: l1tf mitigation: PTE Inversion 
  Type: mds 
  status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass status: Vulnerable 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 
  mitigation: Full generic retpoline, STIBP: disabled, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: NVIDIA GK208 [GeForce GT 710] driver: nvidia v: 390.143 
  alternate: nouveau,nvidia_drm bus-ID: 04:00.0 chip-ID: 10de:1281 
  class-ID: 0300 
  Display: x11 server: X.org 1.20.11 compositor: gnome-shell driver: 
  loaded: nvidia resolution: <missing: xdpyinfo> 
  OpenGL: renderer: GeForce GT 710/PCIe/SSE2 v: 4.6.0 NVIDIA 390.143 
  direct render: Yes 
Audio:
  Device-1: Intel NM10/ICH7 Family High Definition Audio vendor: ASRock 
  driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:27d8 
  class-ID: 0403 
  Device-2: NVIDIA GF119 HDMI Audio driver: snd_hda_intel v: kernel 
  bus-ID: 04:00.1 chip-ID: 10de:0e08 class-ID: 0403 
  Device-3: Generalplus USB Audio Device type: USB 
  driver: hid-generic,snd-usb-audio,usbhid bus-ID: 3-1:2 chip-ID: 1b3f:2008 
  class-ID: 0300 
  Sound Server-1: ALSA v: k5.4.118-1-MANJARO running: yes 
  Sound Server-2: JACK v: 0.125.0 running: no 
  Sound Server-3: PulseAudio v: 14.2 running: yes 
  Sound Server-4: PipeWire v: 0.3.28 running: no 
Network:
  Device-1: Realtek RTL810xE PCI Express Fast Ethernet vendor: ASRock 
  driver: r8169 v: kernel port: d800 bus-ID: 01:00.0 chip-ID: 10ec:8136 
  class-ID: 0200 
  IF: enp1s0 state: down mac: <filter> 
  Device-2: Ralink MT7601U Wireless Adapter type: USB driver: mt7601u 
  bus-ID: 1-4:5 chip-ID: 148f:7601 class-ID: 0000 serial: <filter> 
  IF: wlp0s29f7u4 state: up mac: <filter> 
Drives:
  Local Storage: total: 232.89 GiB used: 20.54 GiB (8.8%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST3250318AS 
  size: 232.89 GiB block-size: physical: 512 B logical: 512 B speed: <unknown> 
  rotation: 7200 rpm serial: <filter> rev: CC44 scheme: MBR 
Partition:
  ID-1: / raw-size: 225.51 GiB size: 220.91 GiB (97.96%) 
  used: 20.54 GiB (9.3%) fs: ext4 dev: /dev/sda1 maj-min: 8:1 
Swap:
  Kernel: swappiness: 21 (default 60) cache-pressure: 50 (default 100) 
  ID-1: swap-1 type: partition size: 7.38 GiB used: 0 KiB (0.0%) priority: -2 
  dev: /dev/sda2 maj-min: 8:2 
Sensors:
  System Temperatures: cpu: 51.0 C mobo: N/A gpu: nvidia temp: 55 C 
  Fan Speeds (RPM): N/A gpu: nvidia fan: 40% 
Info:
  Processes: 166 Uptime: 12m wakeups: 0 Memory: 3.35 GiB 
  used: 1.76 GiB (52.6%) Init: systemd v: 247 tool: systemctl Compilers: 
  gcc: 10.2.0 Packages: pacman: 993 lib: 284 Shell: Zsh v: 5.8 
  running-in: gnome-terminal inxi: 3.3.04

Welcome to the forum :wave:

When pasting terminal output, highlight it and use the Preformatted text </> button.

Alternatively, add three backticks ` above and below the text:

```
text
```

Please edit your post accordingly.

Not that will make the system fly, but there are BIOS updates from 2012 for your mainboard
https://www.asrock.com/mb/intel/g31m-s/#BIOS

This might help, from the archived forum by @BS86