System freezes frequently after not using Kernel 5.9 anymore

Hello,

I switched from Kernel 5.9 to 5.10 (because the latter has LTS) and since then my system freezes from time to time when I am e.g. using Chrome and, what is really annoying, every time a couple of seconds after entering a Zoom meeting. The sound keeps playing (so it could be worse) but everything else is frozen. I tried all kernels with LTS and also increased my SWAP partition but the problem persists.

My inxi output:

System:
  Kernel: 4.19.189-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-4.19-x86_64 
  root=UUID=66d75c2d-755b-4b7b-a0bf-f1d712c4597c rw quiet splash apparmor=1 
  security=apparmor 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: ASUSTeK model: P8B75-M LX PLUS v: Rev X.0x 
  serial: <filter> UEFI: American Megatrends v: 0501 date: 10/10/2012 
Battery:
  Message: No system battery data found. Is one present? 
Memory:
  RAM: total: 7.66 GiB used: 1.62 GiB (21.2%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
CPU:
  Info: Quad Core model: Intel Core i5-3330 bits: 64 type: MCP 
  arch: Ivy Bridge family: 6 model-id: 3A (58) stepping: 9 microcode: 21 
  cache: L2: 6 MiB bogomips: 23945 
  Speed: 2743 MHz min/max: 1600/3200 MHz Core speeds (MHz): 1: 2743 2: 2746 
  3: 2750 4: 2612 
  Flags: acpi aes aperfmperf apic arat arch_perfmon avx bts clflush cmov 
  constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm dts epb ept 
  erms est f16c flexpriority flush_l1d fpu fsgsbase fxsr ht ibpb ibrs ida 
  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 rdrand 
  rdtscp rep_good sep smep ss 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: Vulnerable 
  Type: l1tf mitigation: PTE Inversion 
  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 status: Vulnerable: No microcode 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics 
  vendor: ASUSTeK P8H77-I driver: i915 v: kernel bus-ID: 00:02.0 
  chip-ID: 8086:0152 class-ID: 0380 
  Device-2: NVIDIA GK106 [GeForce GTX 650 Ti] vendor: Gigabyte driver: nouveau 
  v: kernel bus-ID: 01:00.0 chip-ID: 10de:11c6 class-ID: 0300 
  Device-3: Microdia Webcam Vitade AF type: USB driver: snd-usb-audio,uvcvideo 
  bus-ID: 4-1.6:4 chip-ID: 0c45:6366 class-ID: 0102 serial: <filter> 
  Display: wayland server: X.org 1.20.11 compositor: gnome-shell driver: 
  loaded: nvidia display-ID: 0 resolution: <missing: xdpyinfo> 
  OpenGL: renderer: NVE6 v: 4.3 Mesa 21.0.3 direct render: Yes 
Audio:
  Device-1: Intel 7 Series/C216 Family High Definition Audio 
  vendor: ASUSTeK P8Z77-V LX driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 
  chip-ID: 8086:1e20 class-ID: 0403 
  Device-2: NVIDIA GK106 HDMI Audio vendor: Gigabyte driver: snd_hda_intel 
  v: kernel bus-ID: 01:00.1 chip-ID: 10de:0e0b class-ID: 0403 
  Device-3: Microdia Webcam Vitade AF type: USB driver: snd-usb-audio,uvcvideo 
  bus-ID: 4-1.6:4 chip-ID: 0c45:6366 class-ID: 0102 serial: <filter> 
  Sound Server-1: ALSA v: k4.19.189-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.26 running: no 
Network:
  Device-1: Realtek RTL8192CE PCIe Wireless Network Adapter vendor: ASUSTeK 
  driver: rtl8192ce v: kernel port: d000 bus-ID: 03:00.0 chip-ID: 10ec:8178 
  class-ID: 0280 
  IF: wlp3s0 state: up mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: noprefixroute scope: link 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: ASUSTeK P8 series driver: r8169 v: kernel port: c000 bus-ID: 04:00.0 
  chip-ID: 10ec:8168 class-ID: 0200 
  IF: enp4s0 state: down mac: <filter> 
  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: 931.51 GiB used: 66.33 GiB (7.1%) 
  SMART Message: Required tool smartctl not installed. Check --recommends 
  ID-1: /dev/sda maj-min: 8:0 vendor: Hitachi model: HDS721010DLE630 
  size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s 
  rotation: 7200 rpm serial: <filter> rev: A650 scheme: GPT 
  Optical-1: /dev/sr0 vendor: TSSTcorp model: CDDVDW SH-S203B rev: SB00 
  dev-links: cdrom 
  Features: speed: 48 multisession: yes audio: yes dvd: yes 
  rw: cd-r,cd-rw,dvd-r,dvd-ram state: running 
Partition:
  ID-1: / raw-size: 48.83 GiB size: 47.81 GiB (97.92%) used: 29.16 GiB (61.0%) 
  fs: ext4 dev: /dev/sda9 maj-min: 8:9 label: N/A 
  uuid: 66d75c2d-755b-4b7b-a0bf-f1d712c4597c 
  ID-2: /boot/efi raw-size: 512 MiB size: 511 MiB (99.80%) 
  used: 324 KiB (0.1%) fs: vfat dev: /dev/sda7 maj-min: 8:7 label: N/A 
  uuid: C279-385A 
  ID-3: /home raw-size: 50.63 GiB size: 49.59 GiB (97.94%) 
  used: 37.17 GiB (75.0%) fs: ext4 dev: /dev/sda10 maj-min: 8:10 label: N/A 
  uuid: 7976b5e6-39be-4a5b-a650-f56773265bdc 
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 15.96 GiB used: 0 KiB (0.0%) priority: -2 
  dev: /dev/sda8 maj-min: 8:8 label: N/A 
  uuid: d671cdcc-21fa-44ba-b230-f1a1f61a6bcf 
Unmounted:
  ID-1: /dev/sda1 maj-min: 8:1 size: 450 MiB fs: ntfs label: Wiederherstellung 
  uuid: A838697B38694A00 
  ID-2: /dev/sda2 maj-min: 8:2 size: 100 MiB fs: vfat label: N/A 
  uuid: 786B-D832 
  ID-3: /dev/sda3 maj-min: 8:3 size: 16 MiB fs: <superuser required> 
  label: N/A uuid: N/A 
  ID-4: /dev/sda4 maj-min: 8:4 size: 194.24 GiB fs: ntfs label: Programme 
  uuid: 9A087C53087C2FFD 
  ID-5: /dev/sda5 maj-min: 8:5 size: 527 MiB fs: ntfs label: N/A 
  uuid: 9AD2E141D2E121ED 
  ID-6: /dev/sda6 maj-min: 8:6 size: 594.24 GiB fs: ntfs label: Daten 
  uuid: 6E8005C2800591AF 
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 
  Hub-3: 2-0:1 info: Full speed (or root) Hub ports: 4 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 2-3:2 info: Logitech M90/M100 Optical Mouse type: Mouse 
  driver: hid-generic,usbhid interfaces: 1 rev: 2.0 speed: 1.5 Mb/s 
  power: 100mA chip-ID: 046d:c05a class-ID: 0301 
  Hub-4: 3-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.0 speed: 5 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Hub-5: 4-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-6: 4-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: 4-1.5:3 info: Logitech Corded Keyboard K280e type: Keyboard,HID 
  driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 1.5 Mb/s 
  power: 98mA chip-ID: 046d:c328 class-ID: 0300 
  Device-2: 4-1.6:4 info: Microdia Webcam Vitade AF type: Video,Audio 
  driver: snd-usb-audio,uvcvideo interfaces: 5 rev: 2.0 speed: 480 Mb/s 
  power: 500mA chip-ID: 0c45:6366 class-ID: 0102 serial: <filter> 
Sensors:
  System Temperatures: cpu: 29.8 C mobo: 27.8 C gpu: nouveau temp: 29.0 C 
  Fan Speeds (RPM): cpu: 0 gpu: nouveau fan: 1320 
Info:
  Processes: 201 Uptime: 16m wakeups: 0 Init: systemd v: 247 tool: systemctl 
  Compilers: gcc: 10.2.0 Packages: 1595 pacman: 1589 lib: 431 rpm: 0 
  flatpak: 0 snap: 6 Shell: Zsh v: 5.8 running-in: gnome-terminal inxi: 3.3.04 

What could I try to solve that problem?

You could also provide a log from the time this happens.

Start journactl -f, then do the thing that leads to the crash (e.g. entering a Zoom call), and look for error messages in the journal.
(Similar with dmesg -w)

1 Like

I piped the output into a file and after freeze → restart the last lines of this file are

May 18 11:56:00 manjaro gnome-shell[1301]: libinput error: event3  - Logitech USB Optical Mouse: client bug: event processing lagging behind by 11ms, your system is too slow
May 18 11:56:00 manjaro gnome-shell[1301]: libinput error: event3  - Logitech USB Optical Mouse: WARNING: log rate limit exceeded (5 msgs per 60min). Discarding future messages.
May 18 11:56:00 manjaro dbus-daemon[1253]: [session uid=1000 pid=1253] Successfully activated service 'org.manjaro.pamac.manager'
May 18 11:56:07 manjaro dbus-daemon[1253]: [session uid=1000 pid=1253] Successfully activated service 'org.gnome.Lollypop.SearchProvider'
May 18 11:56:22 manjaro kernel: nouveau 0000:01:00.0: gr: TRAP ch 6 [003f5cb000 systemd-logind[689]]
May 18 11:56:22 manjaro kernel: nouveau 0000:01:00.0: gr: GPC1/PROP trap: 00000008 [] x = 1856, y = 1056, format = 0, storage type = 0
May 18 11:56:22 manjaro kernel: nouveau 0000:01:00.0: gr: TRAP ch 6 [003f5cb000 systemd-logind[689]]
May 18 11:56:22 manjaro kernel: nouveau 0000:01:00.0: gr: GPC1/PROP trap: 00000008 [] x = 384, y = 1056, format = 0, storage type = 0
May 18 11:56:22 manjaro kernel: nouveau 0000:01:00.0: gr: TRAP ch 6 [003f5cb000 systemd-logind[689]]
May 18 11:56:22 manjaro kernel: nouveau 0000:01:00.0: gr: GPC1/PROP trap: 00000008 [] x = 1520, y = 1072, format = 0, storage type = 0
May 18 11:56:22 manjaro kernel: nouveau 0000:01:00.0: gr: TRAP ch 6 [003f5cb000 systemd-logind[689]]
May 18 11:56:22 manjaro kernel: nouveau 0000:01:00.0: gr: GPC1/PROP trap: 00000008 [] x = 1888, y = 1056, format = 0, storage type = 0
May 18 11:56:25 manjaro dbus-daemon[684]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms)
May 18 11:56:26 manjaro kernel: nouveau 0000:01:00.0: fifo: SCHED_ERROR 0a [CTXSW_TIMEOUT]
May 18 11:56:26 manjaro kernel: nouveau 0000:01:00.0: fifo: runlist 0: scheduled for recovery
May 18 11:56:26 manjaro kernel: nouveau 0000:01:00.0: fifo: channel 6: killed
May 18 11:56:26 manjaro kernel: nouveau 0000:01:00.0: fifo: engine 7: scheduled for recovery
May 18 11:56:26 manjaro kernel: nouveau 0000:01:00.0: fifo: engine 0: scheduled for recovery
May 18 11:56:26 manjaro kernel: nouveau 0000:01:00.0: systemd-logind[689]: channel 6 killed!
May 18 11:56:27 manjaro nautilus[2753]: Unable to create connection for session-wide Tracker indexer: Timeout was reached
May 18 11:56:27 manjaro nautilus[2753]: Could not establish a connection to Tracker: Timeout was reached
May 18 11:56:29 manjaro audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-timedated comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
May 18 11:56:29 manjaro systemd[1]: systemd-timedated.service: Succeeded.
May 18 11:56:29 manjaro kernel: audit: type=1131 audit(1621331789.583:105): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=systemd-timedated comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

Have you tried the proprietary NVIDIA driver? There are some errors in the log related to the open source Nouveau driver. You can install it either with Manjaro Settings Manager or with MHWD.

1 Like

It looks like there is already a proprietary driver installed.

(base) manjaro% mhwd -li  
> Installed PCI configs:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
          video-nvidia            2020.11.30               false            PCI

Even though I don’t think it is being used for anything

(base) manjaro% inxi -G   
Graphics:  Device-1: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics driver: i915 
           v: kernel 
           Device-2: NVIDIA GK106 [GeForce GTX 650 Ti] driver: nouveau v: kernel 
           Device-3: Microdia Webcam Vitade AF type: USB driver: snd-usb-audio,uvcvideo 
           Display: wayland server: X.org 1.20.11 driver: loaded: nvidia 
           resolution: <missing: xdpyinfo> 
           OpenGL: renderer: NVE6 v: 4.3 Mesa 21.0.3 

Can I just remove this installed driver with sudo mhwd -r pci video-nvidia and install the driver I need with sudo mhwd -i pci video-nvidia-390xx ?
I think this is the one I need because

(base) manjaro% mhwd -l
> 0000:01:00.0 (0300:10de:11c6) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
    video-nvidia-390xx            2020.11.30               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:04:00.0 (0200:10ec:8168) Network controller Realtek Semiconductor Co., Ltd.:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
         network-r8168            2016.04.20                true            PCI


> 0000:00:02.0 (0380:8086:0152) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI


Yes, worth a shot.

Now the system boots into a black screen.
Any idea why that happens?

Try kernel 5.4 or newer.

… and install the hybrid driver?

Device-1: Intel Xeon E3-1200 v2/3rd Gen Core processor Graphics 
Device-2: NVIDIA GK106
1 Like

How is this driver called that I need?
I tried video-hybrid-intel-nvidia-390xx-prime which does not exist.

Should be video-hybrid-intel-nvidia-390xx-bumblebee (meh) or video-hybrid-intel-nvidia-prime (preferred) but from the output of your MHWD list none appear there, which is not really normal to me (unless your hardware is blacklisted for whatever reason in MHWD databases). Try to remove mhwd-nvidia, and reinstall it then. Try to reinstall MHWD database it is weird, or just try to install sudo mhwd -i pci video-hybrid-intel-nvidia-prime manually and see the output.

1 Like

After installing video-hybrid-intel-nvidia-390xx-bumblebee, the system again only boots into a black screen.
After removing and reinstalling mhwd-nvidia, mhwd, mhwd-db, the result of mhwd -l was

base) manjaro% mhwd -l
> 0000:01:00.0 (0300:10de:11c6) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
          video-nvidia            2020.11.30               false            PCI
    video-nvidia-390xx            2020.11.30               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI

So now, there is another proprietary driver (namely video-nvidia) shown. I installed it and it works.
I will let you know whether the system still freezes.

Is it full output of mhwd -l command? Where’s your Intel CPU graphic chip now?

I think it is not listed, right?

(base) manjaro% mhwd -l
> 0000:01:00.0 (0300:10de:11c6) Display controller nVidia Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
          video-nvidia            2020.11.30               false            PCI
    video-nvidia-390xx            2020.11.30               false            PCI
           video-linux            2018.05.04                true            PCI
     video-modesetting            2020.01.13                true            PCI
            video-vesa            2017.03.12                true            PCI


> 0000:04:00.0 (0200:10ec:8168) Network controller Realtek Semiconductor Co., Ltd.:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
         network-r8168            2016.04.20                true            PCI


> 0000:00:02.0 (0380:8086:0152) Display controller Intel Corporation:
--------------------------------------------------------------------------------
                  NAME               VERSION          FREEDRIVER           TYPE
--------------------------------------------------------------------------------
           video-linux            2018.05.04                true            PCI


OK it is there, at the bottom, with video-linux being the only available driver. I don’t know maybe your Intel hardware is not supported for the hybrid drivers (but as you didn’t provide a full inxi output for graphic cards (give inxi -Gazy output) we don’t have your hardware ID for intel).

In theory, with supported hardware, MHWD should list the hybrid drivers for both the Nvidia and Intel cards. It doesn’t list any hybrid driver in your case so either your Intel card is blacklisted (the Nvidia card for sure is compatible), or there is something weird happening in MHWD for some reason (to be determined).

//EDIT: I’m dumb the ID is in MHWD output, let me check.

//EDIT2: from my understanding, when I look into /var/lib/mhwd/db/pci/graphic_drivers/hybrid-intel-nvidia-prime/MHWDCONFIG file I can see conditions for Nvidia and Intel card needed to have the hybrid driver seen as available in MHWD:

# NVIDIA cards
CLASSIDS="0300 0302"
VENDORIDS="10de"
DEVICEIDS=">/var/lib/mhwd/ids/pci/nvidia.ids"

# Intel cards
CLASSIDS="0300"
VENDORIDS="8086"
DEVICEIDS="*"
BLACKLISTEDDEVICEIDS="0be1 8108"

Your Nvidia card is good for hybrid driver, class=0300, vendor=10de, device=11c6 (device ID which is listed in /var/lib/mhwd/ids/pci/nvidia.ids)

0300:10de:11c6

But your Intel card, as far as I understand is not compatible, as its class is not 0300 but 0380:

0380:8086:0152

So from here I’m not really confident, why, as I don’t really know what the ‘class’ of hardware is. But I think this is why we don’t see any hybrid driver there listed in MHWD.

Anyway, if having pure Nvidia driver installed works properly for you then maybe just stick with that?
by the way video-nvidia is the latest drivers, and video-nvidia-390xx is the old legacy drivers for old hardware.

1 Like

I very much appreciate your answer!

Yes, I will just hope that video-nvidia works fine.

Edit: It think the problem is gone, so thank you very much for you help. :slightly_smiling_face:

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