My laptop keeps on freezing randomly

My laptop keeps on freezing randomly
I tried switching kernels and it still freezes, so I tried taking a look at the journal
Here is what I have found so far.

Nov 07 01:53:37 euki kernel: DMAR: DRHD: handling fault status reg 3
Nov 07 01:53:37 euki kernel: DMAR: [DMA Read NO_PASID] Request device [00:02.0] fault addr 0x3cdd6000 [fault reason 0x06] PTE Read access is not set
Nov 07 01:53:37 euki kernel: x86/cpu: SGX disabled by BIOS.
Nov 07 01:53:37 euki kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.TDGC], AE_NOT_FOUND (20220331/psargs-330)
Nov 07 01:53:37 euki kernel: ACPI Error: Aborting method \_SB.PCI0.RP05.PC01._ON due to previous error (AE_NOT_FOUND) (20220331/psparse-529)
Nov 07 01:53:37 euki kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.IPPF._STA.POS1], AE_NOT_FOUND (20220331/psargs-330)
Nov 07 01:53:37 euki kernel: ACPI Error: Aborting method \_SB.IPPF._STA due to previous error (AE_NOT_FOUND) (20220331/psparse-529)
Nov 07 01:53:37 euki kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.IPPF._STA.POS1], AE_NOT_FOUND (20220331/psargs-330)
Nov 07 01:53:37 euki kernel: ACPI Error: Aborting method \_SB.IPPF._STA due to previous error (AE_NOT_FOUND) (20220331/psparse-529)
Nov 07 01:53:37 euki kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.IPPF._STA.POS1], AE_NOT_FOUND (20220331/psargs-330)
Nov 07 01:53:37 euki kernel: ACPI Error: Aborting method \_SB.IPPF._STA due to previous error (AE_NOT_FOUND) (20220331/psparse-529)
Nov 07 01:53:37 euki kernel: intel-spi 0000:00:1f.5: invalid resource
Nov 07 01:53:38 euki systemd-udevd[289]: could not read from '/sys/module/pcc_cpufreq/initstate': No such device
Nov 07 01:53:38 euki kernel: platform idma64.0: failed to claim resource 0: [mem 0x00000800-0x00000fff]
Nov 07 01:53:38 euki kernel: platform idma64.0: failed to claim resource 0: [mem 0x00000800-0x00000fff]
Nov 07 01:53:38 euki kernel: platform idma64.0: failed to claim resource 0: [mem 0x00000800-0x00000fff]
Nov 07 01:53:38 euki kernel: platform idma64.0: failed to claim resource 0: [mem 0x00000800-0x00000fff]
Nov 07 01:53:43 euki lightdm[911]: gkr-pam: unable to locate daemon control file
Nov 07 01:53:51 euki systemd-coredump[1651]: Failed to connect to coredump service: Connection refuse

d

This happened before a random freeze yesterday. What can I do??
Thank You Very Much!

can you return

inxi -Fza

Here it is:

[euki@euki ~]$ inxi -Fza
System:
  Kernel: 5.19.17-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/boot/vmlinuz-5.19-x86_64
    root=UUID=846d6e8e-7a8e-4beb-94b0-3f6d858347d2 rw quiet apparmor=1
    security=apparmor udev.log_priority=3
  Desktop: Xfce v: 4.16.1 tk: Gtk v: 3.24.34 info: xfce4-panel, plank
    wm: xfwm v: 4.16.1 vt: 7 dm: LightDM v: 1.32.0 Distro: Manjaro Linux
    base: Arch Linux
Machine:
  Type: Laptop System: HP product: HP Pavilion Laptop 15-cs3xxx
    v: Type1ProductConfigId serial: <superuser required> Chassis: type: 10
    serial: <superuser required>
  Mobo: HP model: 86AB v: 95.31 serial: <superuser required> UEFI: Insyde
    v: F.05 date: 01/01/2020
Battery:
  ID-1: BAT0 charge: 25.0 Wh (66.5%) condition: 37.6/37.6 Wh (100.0%)
    volts: 12.7 min: 11.3 model: HP Primary type: Li-ion serial: N/A
    status: charging
CPU:
  Info: model: Intel Core i3-1005G1 bits: 64 type: MT MCP arch: Ice Lake
    gen: core 10 level: v4 note: check built: 2019-21 process: Intel 10nm
    family: 6 model-id: 0x7E (126) stepping: 5 microcode: 0xB2
  Topology: cpus: 1x cores: 2 tpc: 2 threads: 4 smt: enabled cache:
    L1: 160 KiB desc: d-2x48 KiB; i-2x32 KiB L2: 1024 KiB desc: 2x512 KiB
    L3: 4 MiB desc: 1x4 MiB
  Speed (MHz): avg: 1084 high: 1200 min/max: 400/3400 scaling:
    driver: intel_pstate governor: powersave cores: 1: 953 2: 1200 3: 1200
    4: 985 bogomips: 9524
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: itlb_multihit status: KVM: VMX disabled
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable
  Type: retbleed mitigation: Enhanced IBRS
  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 IBRS, IBPB: conditional, RSB
    filling, PBRSB-eIBRS: SW sequence
  Type: srbds mitigation: Microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Iris Plus Graphics G1 vendor: Hewlett-Packard driver: i915
    v: kernel arch: Gen-11 process: Intel 10nm built: 2019-21 ports:
    active: eDP-1 empty: HDMI-A-1 bus-ID: 00:02.0 chip-ID: 8086:8a56
    class-ID: 0300
  Device-2: Chicony HP Wide Vision HD Camera type: USB driver: uvcvideo
    bus-ID: 1-3:2 chip-ID: 04f2:b627 class-ID: 0e02
  Display: x11 server: X.Org v: 21.1.4 compositor: xfwm v: 4.16.1 driver: X:
    loaded: modesetting alternate: fbdev,vesa dri: iris gpu: i915
    display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: eDP-1 model: AU Optronics 0x61ed built: 2018 res: 1920x1080
    dpi: 142 gamma: 1.2 size: 344x194mm (13.54x7.64") diag: 395mm (15.5")
    ratio: 16:9 modes: 1920x1080
  API: OpenGL Message: Unable to show GL data. Required tool glxinfo
    missing.
Audio:
  Device-1: Intel Ice Lake-LP Smart Sound Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel alternate: snd_sof_pci_intel_icl
    bus-ID: 00:1f.3 chip-ID: 8086:34c8 class-ID: 0403
  Sound API: ALSA v: k5.19.17-1-MANJARO running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.59 running: yes
Network:
  Device-1: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter
    vendor: Hewlett-Packard driver: rtw_8821ce v: N/A modules: rtw88_8821ce
    pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: 5000 bus-ID: 01:00.0
    chip-ID: 10ec:c821 class-ID: 0280
  IF: wlo1 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: 4000 bus-ID: 06:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: eno1 state: down mac: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth 4.2 Adapter type: USB driver: btusb v: 0.8
    bus-ID: 1-10:3 chip-ID: 0bda:b00a class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 2 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
RAID:
  Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci
    v: 3.0 port: 6060 bus-ID: 00:17.0 chip-ID: 8086:282a rev: N/A class-ID: 0104
Drives:
  Local Storage: total: 1.14 TiB used: 220.08 GiB (18.8%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Samsung
    model: MZVLQ256HAJD-000H1 size: 238.47 GiB block-size: physical: 512 B
    logical: 512 B speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: HPS2NFXV temp: 20.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST1000LM035-1RK172
    size: 931.51 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    type: HDD rpm: 5400 serial: <filter> rev: RTM2 scheme: GPT
Partition:
  ID-1: / raw-size: 238.17 GiB size: 233.38 GiB (97.99%)
    used: 220.08 GiB (94.3%) fs: ext4 dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 312 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 56.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 256 Uptime: 12h 12m wakeups: 2 Memory: 7.55 GiB
  used: 5.69 GiB (75.4%) Init: systemd v: 251 default: graphical
  tool: systemctl Compilers: gcc: 12.2.0 clang: 14.0.6 Packages: pm: pacman
  pkgs: 1609 libs: 411 tools: pamac,yay pm: flatpak pkgs: 0 Shell: Bash
  v: 5.1.16 running-in: xfce4-terminal inxi: 3.3.23

The DMAR thing seems usually related to the “nvidia” closed, binary driver which is more or less immediately to say that unless you by chance happen to run into someone with the same issue “the community” as such has little chance of advising on other than switching to the open source “nouveau” driver or on a dual-graphics system to the onboard – even if only to see if indeed “nvidia” is the issue.

Which it may not be. The rest of the log excerpt you post would not indicate problems, but freezes are a fairly common issue with early Ryzen also for example. In any case hardware information is needed to possibly say anything; the output of

sudo inxi -Fxz

could in that sense be useful.

[EDIT] Was writing the above while you in fast posted inxi output…

Thank You
Here it goes:

sudo inxi -Fxz
[sudo] Passwort für euki: 
System:
  Kernel: 5.19.17-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    Desktop: Xfce v: 4.16.1 Distro: Manjaro Linux base: Arch Linux
Machine:
  Type: Laptop System: HP product: HP Pavilion Laptop 15-cs3xxx
    v: Type1ProductConfigId serial: <filter>
  Mobo: HP model: 86AB v: 95.31 serial: <filter> UEFI: Insyde v: F.05
    date: 01/01/2020
Battery:
  ID-1: BAT0 charge: 27.1 Wh (72.1%) condition: 37.6/37.6 Wh (100.0%)
    volts: 12.8 min: 11.3 model: HP Primary status: charging
CPU:
  Info: dual core model: Intel Core i3-1005G1 bits: 64 type: MT MCP
    arch: Ice Lake rev: 5 cache: L1: 160 KiB L2: 1024 KiB L3: 4 MiB
  Speed (MHz): avg: 975 high: 1200 min/max: 400/3400 cores: 1: 963 2: 841
    3: 898 4: 1200 bogomips: 9524
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
  Device-1: Intel Iris Plus Graphics G1 vendor: Hewlett-Packard driver: i915
    v: kernel arch: Gen-11 bus-ID: 00:02.0
  Device-2: Chicony HP Wide Vision HD Camera type: USB driver: uvcvideo
    bus-ID: 1-3:2
  Display: x11 server: X.Org v: 21.1.4 driver: X: loaded: modesetting
    dri: iris gpu: i915 resolution: 1920x1080
  API: OpenGL Message: Unable to show GL data. Required tool glxinfo
    missing.
Audio:
  Device-1: Intel Ice Lake-LP Smart Sound Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel bus-ID: 00:1f.3
  Sound API: ALSA v: k5.19.17-1-MANJARO running: yes
  Sound Server-1: JACK v: 1.9.21 running: no
  Sound Server-2: PulseAudio v: 16.1 running: yes
  Sound Server-3: PipeWire v: 0.3.59 running: yes
Network:
  Device-1: Realtek RTL8821CE 802.11ac PCIe Wireless Network Adapter
    vendor: Hewlett-Packard driver: rtw_8821ce v: N/A port: 5000 bus-ID: 01:00.0
  IF: wlo1 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel port: 4000 bus-ID: 06:00.0
  IF: eno1 state: down mac: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth 4.2 Adapter type: USB driver: btusb v: 0.8
    bus-ID: 1-10:3
  Report: rfkill ID: hci0 rfk-id: 2 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: see --recommends
RAID:
  Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci
    v: 3.0 bus-ID: 00:17.0
Drives:
  Local Storage: total: 1.14 TiB used: 220.08 GiB (18.8%)
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLQ256HAJD-000H1
    size: 238.47 GiB temp: 20.9 C
  ID-2: /dev/sda vendor: Seagate model: ST1000LM035-1RK172 size: 931.51 GiB
Partition:
  ID-1: / size: 233.38 GiB used: 220.08 GiB (94.3%) fs: ext4
    dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 299.4 MiB used: 312 KiB (0.1%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 52.0 C mobo: N/A
  Fan Speeds (RPM): N/A
Info:
  Processes: 259 Uptime: 12h 18m Memory: 7.55 GiB used: 5.77 GiB (76.4%)
  Init: systemd Compilers: gcc: 12.2.0 clang: 14.0.6 Packages: 1609
  Shell: Bash v: 5.1.16 inxi: 3.3.23

By the way, I have no nvidia drivers installed:

mhwd -l -d
--------------------------------------------------------------------------------
> PCI Device: /devices/pci0000:00/0000:00:1d.1/0000:06:00.0 (0200:10ec:8168)
  Network controller Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
--------------------------------------------------------------------------------
  > AVAILABLE:

   NAME:	network-r8168
   ATTACHED:	PCI
   VERSION:	2016.04.20
   INFO:	RealTek RTL-8168 Gigabit Ethernet driver
   PRIORITY:	0
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0200 
   VENDORIDS:	1186 10ec 


--------------------------------------------------------------------------------
> PCI Device: /devices/pci0000:00/0000:00:02.0 (0300:8086:8a56)
  Display controller Intel Corporation Iris Plus Graphics G1 (Ice Lake)
--------------------------------------------------------------------------------
  > INSTALLED:

   NAME:	video-linux
   ATTACHED:	PCI
   VERSION:	2018.05.04
   INFO:	Standard open source drivers.
   PRIORITY:	2
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 0380 0302 
   VENDORIDS:	1002 8086 10de 



  > AVAILABLE:

   NAME:	video-linux
   ATTACHED:	PCI
   VERSION:	2018.05.04
   INFO:	Standard open source drivers.
   PRIORITY:	2
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 0380 0302 
   VENDORIDS:	1002 8086 10de 

   NAME:	video-modesetting
   ATTACHED:	PCI
   VERSION:	2020.01.13
   INFO:	X.org modesetting video driver.
   PRIORITY:	1
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 
   VENDORIDS:	* 

   NAME:	video-vesa
   ATTACHED:	PCI
   VERSION:	2017.03.12
   INFO:	X.org vesa video driver.
   PRIORITY:	0
   FREEDRIVER:	true
   DEPENDS:	-
   CONFLICTS:	-
   CLASSIDS:	0300 
   VENDORIDS:	* 


Warning: no configs for USB devices found!

So no “nvidia” at least. There’s a fair number of reports of similar out there for your CPU but unfortunately none that seem to definitively diagnose this. The Ryzen thing I noted is a C-state issue though and this looks possibly same.

You’d want to try to boot with the kernel parameter

intel_idle.max_cstate=0

to see if that helps. To do do you edit as root /etc/default/grub, f.e.,

sudo nano /etc/default/grub

and add the above to the GRUB_CMDLINE_LINUX_DEFAULT=“…” string, inside of the quotes. Save and run

sudo update-grub

and reboot to see if things are then stable.

If not, another suggestion specifically related to the DMAR thing could be the kernel parameter

intel_iommu=igfx_off

but that has less chance (i.e., if I’m not mistaken a default Arch/Manjaro kernel should not enable it by default anyway).

The first suggestion stands fair chance – but note that you may eat more battery even if it does. For now just treat it as a debugging step though; if it works you may be able to adjust things “better” through your BIOS setup rather than the kernel parameter.

Thank You
I have just done it. Let’s see if it helps.
By the way, What do you mean by: adjusting things “better” through my BIOS setup?

You’ve now completely disabled the intel_idle driver – which has the kernel retreat to the ACPI driver and which might in fact be good enough but you may also have some configuration available in your BIOS setup as to C-states and perhaps tweaking something there could cause you less battery than the possibly suboptimal ACPI driver (I’ve noticed that on a laptop you have less chance of that than on a desktop, though).

Anycase, yes, let’s first try and see if it does anything at all…

ok…

How can I do that? i am not a real expert i am relatively new to manjaro
Thank You

First just don’t do anything; I may be barking up a completely wrong tree here :slight_smile:

It’s otherwise not related to Manjaro; you’d enter your BIOS-setup by tapping e.g. the Del key, or F2 or F9, or … when the system starts up and then look around for anything suspicious. But for now just wait and see.

ohh ok, ok
Thank You!!
I`ll just wait and see

:grinning: :grinning: :grinning: :grinning: :grinning:

Please switch to a supported kernel or LTS one, as the one you are using is EOL.

Might want to address that too, was covered multiple times on the forum.

Use at least a swapfile, or use zram-generator package from repositories.

Edit: Also, just saw that

LTS freezing was worse than with the one I am using right now.

What do you mean by this?

how can I do it?

Thank You Very Much

Because maybe you have to take care of the other things i mentioned too.

When both audio servers run, in some instances, on some systems things can start to choke. Happened on one of my installs. Here is how to avoid that, if that could be part of your issue.

Same as explained from here:

but you use the intel_pstate=active kernel parameter instead.

How can i boot with the kernel parameter?

Ok I get it… How can I uninstall pulseaudio?

There are two ways:

  • on Grub boot menu you press the e key and then on the Linux Kernel Line, you add right after the quiet the intel_pstate=active and then press F10 to save it and continue booting. That is not a permanent entry
  • or permanent entry, by editing the file

but honestly, there is no point to repeat that …

You don’t. is required, but in order to not keep it active you simply install manjaro-pipewire and will do for you all is required. Just reboot after that to take effect.

ohh This I did already before your first post