Manjaro GNOME freezes

Hello to all.
I use manjaro gnome in a laptop with SSD 250 GB dual boot with Windows. Sometimes, especially if I have too many tabs open in Firefox, the system freezes and I can do nothing but force shutdown button. The screen freezes (doesn’t get black), mouse and keyboard doesn’t work (can’t switch to tty). I think this is related to RAM usage, because it’s more frequent when I have many tabs open in Firefox, but it shouldn’t be happening anyway, since I have 8 GB RAM and SSD, and I use the computer only for web, I don’t play games nor use heavy applications. The system usually works pretty smooth, everything is fast and it doesn’t lag at all. Also when the bug happens, many times I have nothing but Firefox running.

I will paste some system info, please tell me if you need more info ou logs and I will provide.

sudo fdisk -l                                            ✔ 
[sudo] senha para lucasgossen: 
Disco /dev/nvme0n1: 238,47 GiB, 256060514304 bytes, 500118192 setores
Modelo de disco: IM2P33F3A NVMe ADATA 256GB              
Unidades: setor de 1 * 512 = 512 bytes
Tamanho de setor (lógico/físico): 512 bytes / 512 bytes
Tamanho E/S (mínimo/ótimo): 512 bytes / 512 bytes
Tipo de rótulo do disco: gpt
Identificador do disco: E17AAE3F-63DD-4693-91FB-24321B87F098

Dispositivo       Início       Fim   Setores Tamanho Tipo
/dev/nvme0n1p1      2048    309247    307200    150M Sistema EFI
/dev/nvme0n1p2    309248    571391    262144    128M Microsoft reservado
/dev/nvme0n1p3    571392 210751109 210179718  100,2G Microsoft dados bás
/dev/nvme0n1p4 210751111 500115455 289364345    138G Linux sistema de arquivos
uname -r                                                         ✔ 
6.1.126-1-MANJARO

mhwd -li                                                         ✔ 
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
video-hybrid-intel-nvidia-prime            2023.03.23               false            PCI
     video-modesetting            2020.01.13                true            PCI


Warning: No installed USB configs!

lsmod | grep nvidia                                          0|1 ✘ 
nvidia_uvm           6455296  0
nvidia_drm            106496  2
nvidia_modeset       1564672  2 nvidia_drm
nvidia              59805696  26 nvidia_uvm,nvidia_modeset
video                  69632  4 dell_wmi,dell_laptop,i915,nvidia_modeset

Thanks for the information provided.
But a more comprehensive report of system information would be

inxi -Farz

Thats not really very much RAM.
And if you dont have any SWAP space … when that 8gb runs out we can expect lockups (freezes).
The fstab does not indicate any SWAP partition. But the inxi will tell us for for sure whether a swapfile or alternative is in use, among other things.

1 Like

Firefox is a memory hog, or maybe it just leaks like a sieve. :roll_eyes:
You’ll find you will be starting to go into swap after watching YouTube videos for more than a few days in some cases, maybe less; depends on usage.

Restarting the browser periodically does buy time between reboots, but not all the cruft is cleared out by doing so and therefore it still builds up.

A handy command to use to keep an eye of memory usage:

watch -n30 free -h

…. change the time (in seconds) as desired.
We’ll await the inxi report. :wink:

Please edit your topic title to be clear and concise about the issue you’re experiencing.

Please see:

EDIT: Thank you for editing the topic title.

1 Like

Trust me, with firefox and the way modern websites are designed, you will easily run out of RAM if you only have 8 GiB, and without swap, that’s going to cause you problems.

1 Like

Thanks for the answers so far.

inxi -Farz                                                       ✔ 
System:
  Kernel: 6.1.126-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 14.2.1
    clocksource: tsc avail: acpi_pm
    parameters: BOOT_IMAGE=/boot/vmlinuz-6.1-x86_64
    root=UUID=0f777067-40cb-4e71-9c4f-0a5bfb383a15 rw quiet splash apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: GNOME v: 47.3 tk: GTK v: 3.24.43 wm: gnome-shell
    tools: gsd-screensaver-proxy dm: GDM v: 47.0 Distro: Manjaro
    base: Arch Linux
Machine:
  Type: Laptop System: Dell product: Inspiron 3501 v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: Dell model: 09J0NJ v: A00 serial: <superuser required> part-nu: 0A25
    uuid: <superuser required> UEFI: Dell v: 1.25.0 date: 06/12/2023
Battery:
  ID-1: BAT0 charge: 32.9 Wh (90.9%) condition: 36.2/42.0 Wh (86.1%)
    volts: 12.7 min: 11.4 model: SMP DELL VM73297 type: Li-poly serial: <filter>
    status: not charging
CPU:
  Info: model: 11th Gen Intel Core i7-1165G7 bits: 64 type: MT MCP
    arch: Tiger Lake gen: core 11 level: v4 note: check built: 2020
    process: Intel 10nm family: 6 model-id: 0x8C (140) stepping: 1
    microcode: 0xB8
  Topology: cpus: 1x dies: 1 clusters: 4 cores: 4 threads: 8 tpc: 2
    smt: enabled cache: L1: 320 KiB desc: d-4x48 KiB; i-4x32 KiB L2: 5 MiB
    desc: 4x1.2 MiB L3: 12 MiB desc: 1x12 MiB
  Speed (MHz): avg: 400 min/max: 400/4700 scaling: driver: intel_pstate
    governor: powersave cores: 1: 400 2: 400 3: 400 4: 400 5: 400 6: 400 7: 400
    8: 400 bogomips: 44864
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling mitigation: Microcode
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  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 / Automatic IBRS; IBPB:
    conditional; RSB filling; PBRSB-eIBRS: SW sequence; BHI: SW loop, KVM: SW
    loop
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel TigerLake-LP GT2 [Iris Xe Graphics] vendor: Dell
    driver: i915 v: kernel arch: Xe process: Intel 10nm built: 2020-21 ports:
    active: eDP-1 empty: HDMI-A-1 bus-ID: 0000:00:02.0 chip-ID: 8086:9a49
    class-ID: 0300
  Device-2: NVIDIA GP108M [GeForce MX330] vendor: Dell driver: nvidia
    v: 550.144.03 alternate: nouveau,nvidia_drm non-free: 550/565.xx+
    status: current (as of 2025-01; EOL~2026-12-xx) arch: Pascal code: GP10x
    process: TSMC 16nm built: 2016-2021 bus-ID: 0000:01:00.0
    chip-ID: 10de:1d16 class-ID: 0302
  Device-3: Microdia Integrated_Webcam_HD driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-6:2 chip-ID: 0c45:671e
    class-ID: 0e02
  Display: x11 server: X.org v: 1.21.1.15 with: Xwayland v: 24.1.4
    compositor: gnome-shell driver: X: loaded: modesetting,nvidia
    alternate: fbdev,nouveau,nv,vesa dri: iris gpu: i915 display-ID: :1
    screens: 1
  Screen-1: 0 s-res: 1366x768 s-size: <missing: xdpyinfo>
  Monitor-1: eDP-1 model: AU Optronics 0x5b94 built: 2019 res:
    mode: 1366x768 hz: 60 scale: 100% (1) dpi: 101 gamma: 1.2
    size: 344x194mm (13.54x7.64") diag: 395mm (15.5") ratio: 16:9
    modes: 1366x768
  API: EGL v: 1.5 hw: drv: intel iris drv: nvidia platforms: device: 0
    drv: nvidia gbm: drv: kms_swrast surfaceless: drv: nvidia x11: drv: iris
    inactive: wayland
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 24.3.4-arch1.1
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel Iris Xe Graphics (TGL
    GT2) device-ID: 8086:9a49 memory: 3.66 GiB unified: yes
  Info: Tools: api: eglinfo,glxinfo gpu: nvidia-settings,nvidia-smi
    x11: xprop,xrandr
Audio:
  Device-1: Intel Tiger Lake-LP Smart Sound Audio vendor: Dell
    driver: sof-audio-pci-intel-tgl
    alternate: snd_hda_intel,snd_sof_pci_intel_tgl bus-ID: 0000:00:1f.3
    chip-ID: 8086:a0c8 class-ID: 0401
  API: ALSA v: k6.1.126-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: JACK v: 1.9.22 status: off tools: N/A
  Server-3: PipeWire v: 1.2.7 status: off with: wireplumber status: active
    tools: pw-cli,wpctl
  Server-4: PulseAudio v: 17.0-43-g3e2bb status: active
    with: pulseaudio-alsa type: plugin tools: pacat,pactl
Network:
  Device-1: Intel Wi-Fi 6 AX201 driver: iwlwifi v: kernel bus-ID: 0000:00:14.3
    chip-ID: 8086:a0f0 class-ID: 0280
  IF: wlp0s20f3 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Dell driver: r8169 v: kernel port: 3000 bus-ID: 0000:02:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: enp2s0 state: down mac: <filter>
  Info: services: mld, NetworkManager, systemd-timesyncd, wpa_supplicant
Bluetooth:
  Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) driver: btusb
    v: 0.8 type: USB rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-10:3
    chip-ID: 8087:0aaa class-ID: e001
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
RAID:
  Hardware-1: Intel Volume Management Device NVMe RAID Controller driver: vmd
    v: 0.6 port: N/A bus-ID: 0000:00:0e.0 chip-ID: 8086:9a0b rev: class-ID: 0104
Drives:
  Local Storage: total: 238.47 GiB used: 112.17 GiB (47.0%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: A-Data
    model: IM2P33F3A NVMe 256GB size: 238.47 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 tech: SSD serial: <filter>
    fw-rev: 92209301 temp: 41.9 C scheme: GPT
Partition:
  ID-1: / raw-size: 137.98 GiB size: 134.76 GiB (97.66%)
    used: 112.09 GiB (83.2%) fs: ext4 dev: /dev/nvme0n1p4 maj-min: 259:4
  ID-2: /boot/efi raw-size: 150 MiB size: 146 MiB (97.33%)
    used: 77.6 MiB (53.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 55.0 C mobo: 47.0 C
  Fan Speeds (rpm): cpu: 3033
Repos:
  Packages: pm: pacman pkgs: 1368 libs: 377 tools: gnome-software,pamac
    pm: flatpak pkgs: 0
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: https://codingflyboy.mm.fcix.net/manjaro/stable/$repo/$arch
    2: http://ftp.free.org/mirrors/repo.manjaro.org/repos/stable/$repo/$arch
    3: https://manjaro.mirror.garr.it/manjaro/stable/$repo/$arch
    4: https://mirror1.sox.rs/manjaro/stable/$repo/$arch
    5: https://mirrors.sonic.net/manjaro/stable/$repo/$arch
    6: https://mirror.kamtv.ru/manjaro/stable/$repo/$arch
    7: https://mirrors.sjtug.sjtu.edu.cn/manjaro/stable/$repo/$arch
    8: https://ftp.caliu.cat/pub/distribucions/manjaro/stable/$repo/$arch
Info:
  Memory: total: 8 GiB note: est. available: 7.49 GiB used: 3.07 GiB (40.9%)
  Processes: 290 Power: uptime: 20m states: freeze,mem,disk suspend: s2idle
    wakeups: 0 hibernate: platform avail: shutdown, reboot, suspend, test_resume
    image: 2.98 GiB services: gsd-power, power-profiles-daemon, upowerd
    Init: systemd v: 257 default: graphical tool: systemctl
  Compilers: clang: 19.1.7 gcc: 14.2.1 Shell: Zsh v: 5.9
    running-in: gnome-terminal inxi: 3.3.37

I really don’t use swap in this system. It was manjaro’s default simplified install.
I think I will reserve 8 GB for swap and see if it helps…

Swap:
  Alert: No swap data was found.

It is always recommended to have at least some swap; this should help to avoid the freezes you describe. I’d go for at least half your RAM size (preferably a bit more than the total, though; in this case I’d suggest ~9G).

Note: swap can either be a partition, or a file (or maybe a combination of both). I prefer a partition but it’s up to you to decide.

I would rectify that.

You can create some swap space without formatting any partitions.

One approach is in fact zram;

Or another is to use a swap file;

https://wiki.archlinux.org/title/Swap#Swap_file_creation


PS.

Your root partition is getting dangerously close to full.
It may be a good idea to do some cleaning.

1 Like

Well spotted; I missed that.

Not enough space left to download and install the next raft of updates, probably.

Check how much you have in your pacman cache:

du -h /var/cache/pacman/pkg/

… it builds up over time and needs to be attended to periodically. This may be a useful resource:
https://wiki.archlinux.org/title/Pacman#Cleaning_the_package_cache