Gnome freezes everyday

My gpu is intel hd graphics 3000… and I use the video-linux driver…
after running my laptop for about 1.5-2.5 hours, my laptop freezes - theres nothing I can do… my mouse and keyboard doesn’t work when pc freezes. I always have to hard reboot it…
Someone told me to change my display server from wayland to xorg… What should I do!?

1 Like

Please post your system info as outlined here:

System:
  Kernel: 5.4.105-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.4-x86_64 
  root=UUID=58be6df1-4173-425c-bb5f-e8585e518acd ro quiet udev.log_priority=3 
  Desktop: GNOME 3.38.4 tk: GTK 3.24.27 wm: gnome-shell dm: GDM 3.38.2.1 
  Distro: Manjaro Linux base: Arch Linux 
Machine:
  Type: Portable System: Dell product: Inspiron N4050 v: N/A serial: <filter> 
  Chassis: type: 8 serial: <filter> 
  Mobo: Dell model: 0X0DC1 v: A09 serial: <filter> BIOS: Dell v: A09 
  date: 11/02/2012 
Memory:
  RAM: total: 3.76 GiB used: 2.64 GiB (70.4%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: Dual Core model: Intel Core i3-2310M bits: 64 type: MT MCP 
  arch: Sandy Bridge family: 6 model-id: 2A (42) stepping: 7 microcode: 2F 
  cache: L2: 3 MiB bogomips: 16768 
  Speed: 798 MHz min/max: 800/2100 MHz Core speeds (MHz): 1: 798 2: 798 3: 798 
  4: 798 
  Flags: acpi aperfmperf apic arat arch_perfmon avx bts clflush cmov 
  constant_tsc cpuid cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept est 
  flexpriority flush_l1d fpu fxsr ht ibpb ibrs lahf_lm lm mca mce md_clear mmx 
  monitor msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm pebs 
  pge pln pni popcnt pse pse36 pti pts rdtscp rep_good sep ssbd sse sse2 
  sse4_1 sse4_2 ssse3 stibp syscall tm tm2 tpr_shadow tsc tsc_deadline_timer 
  vme vmx vnmi vpid x2apic xsave xsaveopt xtopology xtpr 
  Vulnerabilities: Type: itlb_multihit status: KVM: Split huge pages 
  Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
  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: conditional, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics 
  vendor: Dell driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:0116 
  class-ID: 0300 
  Device-2: Realtek Integrated Webcam type: USB driver: uvcvideo 
  bus-ID: 1-1.5:4 chip-ID: 0bda:58c1 class-ID: 0e02 serial: <filter> 
  Display: x11 server: X.org 1.20.10 compositor: gnome-shell driver: 
  loaded: intel unloaded: modesetting alternate: fbdev,vesa 
  resolution: <missing: xdpyinfo> 
  OpenGL: renderer: Mesa DRI Intel HD Graphics 3000 (SNB GT2) 
  v: 3.3 Mesa 20.3.4 compat-v: 3.0 direct render: Yes 
Audio:
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio 
  vendor: Dell driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 
  chip-ID: 8086:1c20 class-ID: 0403 
  Sound Server-1: ALSA v: k5.4.105-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.23 running: yes 
Network:
  Device-1: Realtek RTL810xE PCI Express Fast Ethernet vendor: Dell 
  driver: r8169 v: kernel port: e000 bus-ID: 05:00.0 chip-ID: 10ec:8136 
  class-ID: 0200 
  IF: enp5s0 state: up speed: 100 Mbps duplex: full mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  Device-2: Broadcom BCM4313 802.11bgn Wireless Network Adapter 
  vendor: Hewlett-Packard driver: wl v: kernel modules: bcma port: e000 
  bus-ID: 09:00.0 chip-ID: 14e4:4727 class-ID: 0280 
  IF: wlp9s0 state: down mac: <filter> 
  WAN IP: <filter> 
Bluetooth:
  Message: No Bluetooth data was found. 
Logical:
  Message: No LVM data was found. 
RAID:
  Message: No RAID data was found. 
Drives:
  Local Storage: total: 465.76 GiB used: 12.7 GiB (2.7%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/sda maj-min: 8:0 vendor: Toshiba model: MQ01ABD050 
  size: 465.76 GiB block-size: physical: 4096 B logical: 512 B speed: 3.0 Gb/s 
  rotation: 5400 rpm serial: <filter> rev: 1A scheme: GPT 
  Optical-1: /dev/sr0 vendor: MATSHITA model: DVD+-RW UJ8B1 rev: D.05 
  dev-links: cdrom 
  Features: speed: 24 multisession: yes audio: yes dvd: yes 
  rw: cd-r,cd-rw,dvd-r,dvd-ram state: running 
Partition:
  ID-1: / raw-size: 15 GiB size: 14.71 GiB (98.01%) used: 9.74 GiB (66.2%) 
  fs: ext4 dev: /dev/sda2 maj-min: 8:2 label: N/A 
  uuid: 58be6df1-4173-425c-bb5f-e8585e518acd 
  ID-2: /home raw-size: 45.53 GiB size: 44.56 GiB (97.88%) 
  used: 2.96 GiB (6.6%) fs: ext4 dev: /dev/sda3 maj-min: 8:3 label: N/A 
  uuid: d4712707-27f4-4b68-a587-ece89f82f88b 
Swap:
  Kernel: swappiness: 1 (default 60) cache-pressure: 50 (default 100) 
  ID-1: swap-1 type: file size: 1.5 GiB used: 101 MiB (6.6%) priority: -2 
  file: /swapfile 
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 8 MiB fs: <superuser required> label: N/A 
  uuid: N/A 
  ID-2: /dev/sda4 maj-min: 8:4 size: 32.69 GiB fs: ext4 label: Timeshift 
  uuid: fc02e91a-f5bd-4c86-95b4-534aa78466a5 
  ID-3: /dev/sda5 maj-min: 8:5 size: 93.13 GiB fs: ext4 label: Rakin 
  uuid: 991d4bc0-8150-4947-b570-667f5dbe2eb9 
  ID-4: /dev/sda6 maj-min: 8:6 size: 93.13 GiB fs: ext4 label: Entertainment 
  uuid: 2a4331b1-4da5-4503-a171-bb916cf52ebb 
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: 6 rev: 2.0 
  speed: 480 Mb/s chip-ID: 8087:0024 class-ID: 0900 
  Device-1: 1-1.2:3 info: Xiaomi Mi Wireless Combo type: Keyboard,Mouse 
  driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 12 Mb/s 
  power: 100mA chip-ID: 2717:5010 class-ID: 0301 
  Device-2: 1-1.5:4 info: Realtek Integrated Webcam type: Video 
  driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA 
  chip-ID: 0bda:58c1 class-ID: 0e02 serial: <filter> 
  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: 8 rev: 2.0 
  speed: 480 Mb/s chip-ID: 8087:0024 class-ID: 0900 
  Device-1: 2-1.2:3 info: China Resource Semico Usb Mouse type: Mouse 
  driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 1.5 Mb/s 
  power: 98mA chip-ID: 1a2c:0042 class-ID: 0301 
  Device-2: 2-1.6:4 info: Realtek RTS5138 Card Reader Controller 
  type: Mass Storage driver: ums-realtek interfaces: 1 rev: 2.0 
  speed: 480 Mb/s power: 500mA chip-ID: 0bda:0138 class-ID: 0806 
  serial: <filter> 
Sensors:
  System Temperatures: cpu: 54.0 C mobo: N/A 
  Fan Speeds (RPM): cpu: 3495 
Info:
  Processes: 217 Uptime: 4h 36m wakeups: 1 Init: systemd v: 247 
  tool: systemctl Compilers: gcc: 10.2.0 Packages: pacman: 1122 lib: 363 
  flatpak: 0 Shell: Zsh v: 5.8 running-in: gnome-terminal inxi: 3.3.03

I switched to xorg… Im having no problem with that… Should I stick with that!?

You might want to increase your swapfile size to at least 5.5 GB. I would set swappiness to 10 so you’re not completely out of RAM when swapping starts.

Try it out and see. I’m not sure why you would be having issues with Wayland but not Xorg.

1 Like

I have that swap file made of a hard disk, not ssd… and I dont go out of RAM even when swapping doesnt start. I always look my RAM and swap usage at htop…
But should I increase swappiness?? RAM is faster that hdd…that’s why I did set swappiness to 1.

Why Gnome uses wayland instead of xorg??

I am using Xorg as I was having some other issues with Wayland. but I am currently facing similar freezing issue.

@Yochanan I have 16 GB or ram and 18 GB of swap on an SSD ( I don’t know why I configured it this way!!) and my swappiness is set to 10 still my laptop freezes.

@rakin09 Take a look at this post if you have not done so already. “Hard Reset” can be damaging for your HDD.

for me, Alt + PrtScr worked as the SysRq key. Making the change in sysctl did not work for me. I had to edit the /etc/default/grub file.