System randomly freezes on login page

Hello, just installed manjaro on my new laptop, in dual-boot with windows 10 on the same SSD. Half the times i try to login it freezes on the login page and responds to nothing. Sometimes i have to hard shut down and sometimes it shuts down itself after 1-2 minutes. I have seen a lot of similar threads but none of them helped me.

Here is info about my system:

inxi -Fxz                                                                                                                                                              ✔  8s  
System:    Kernel: 5.15.2-1-rt19-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 Desktop: KDE Plasma 5.23.3
           Distro: Manjaro Linux base: Arch Linux
Machine:   Type: Laptop System: Dell product: Inspiron 5593 v: N/A serial: <superuser required>
           Mobo: Dell model: 0HFDR0 v: A00 serial: <superuser required> UEFI: Dell v: 1.18.0 date: 10/06/2021
Battery:   ID-1: BAT0 charge: 23.3 Wh (66.2%) condition: 35.2/42.0 Wh (83.8%) volts: 11.8 min: 11.4
           model: LGC-LGC3.65 DELL FDRHM05 status: Discharging
CPU:       Info: Quad Core model: Intel Core i7-1065G7 bits: 64 type: MT MCP arch: Ice Lake rev: 5 cache: L2: 2 MiB
           flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 23961
           Speed: 1235 MHz min/max: 400/3900 MHz Core speeds (MHz): 1: 1199 2: 1252 3: 1211 4: 1208 5: 1172 6: 1296 7: 1197
           8: 1264
Graphics:  Device-1: Intel Iris Plus Graphics G7 vendor: Dell driver: i915 v: kernel bus-ID: 00:02.0
           Device-2: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo bus-ID: 1-6:4
           Display: x11 server: X.Org 1.21.1.1 driver: loaded: modesetting resolution: 1920x1080~60Hz
           OpenGL: renderer: Mesa Intel Iris Plus Graphics (ICL GT2) v: 4.6 Mesa 21.2.5 direct render: Yes
Audio:     Device-1: Intel Ice Lake-LP Smart Sound Audio vendor: Dell driver: snd_hda_intel v: kernel bus-ID: 00:1f.3
           Sound Server-1: ALSA v: k5.15.2-1-rt19-MANJARO running: yes
           Sound Server-2: JACK v: 1.9.19 running: no
           Sound Server-3: PulseAudio v: 15.0 running: yes
           Sound Server-4: PipeWire v: 0.3.40 running: yes
Network:   Device-1: Realtek RTL810xE PCI Express Fast Ethernet vendor: Dell driver: r8169 v: kernel port: 3000
           bus-ID: 01:00.0
           IF: enp1s0 state: down mac: <filter>
           Device-2: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter vendor: Dell driver: ath10k_pci v: kernel
           bus-ID: 02:00.0
           IF: wlp2s0 state: up mac: <filter>
Bluetooth: Device-1: Qualcomm Atheros type: USB driver: btusb v: 0.8 bus-ID: 1-10:5
           Report: rfkill ID: hci0 rfk-id: 1 state: down bt-service: enabled,running rfk-block: hardware: no software: yes
           address: see --recommends
Drives:    Local Storage: total: 476.94 GiB used: 16.7 GiB (3.5%)
           ID-1: /dev/nvme0n1 vendor: Toshiba model: KBG40ZNS512G NVMe KIOXIA 512GB size: 476.94 GiB temp: 27.9 C
Partition: ID-1: / size: 117.07 GiB used: 16.7 GiB (14.3%) fs: ext4 dev: /dev/nvme0n1p9
           ID-2: /boot/efi size: 511 MiB used: 292 KiB (0.1%) fs: vfat dev: /dev/nvme0n1p8
Swap:      ID-1: swap-1 type: partition size: 8 GiB used: 0 KiB (0.0%) dev: /dev/nvme0n1p7
Sensors:   System Temperatures: cpu: 27.8 C mobo: N/A
           Fan Speeds (RPM): cpu: 0
Info:      Processes: 288 Uptime: 1h 17m Memory: 15.41 GiB used: 2.43 GiB (15.8%) Init: systemd Compilers: gcc: 11.1.0
           Packages: 1236 Shell: Zsh v: 5.8 inxi: 3.3.09

Also i saw the logs after a successful login, there seems to be a problem with resolving host api.snapcraft.io:

journalctl --boot -1 --no-pager | grep error                                                                                                                                  ✔ 
Δεκ 02 22:45:33 manjaro kernel: pcieport 0000:00:1d.0: DPC: error containment capabilities: Int Msg #0, RPExt+ PoisonedTLP+ SwTrigger+ RP PIO Log 4, DL_ActiveErr+
Δεκ 02 22:45:33 manjaro kernel: pcieport 0000:00:1d.4: DPC: error containment capabilities: Int Msg #0, RPExt+ PoisonedTLP+ SwTrigger+ RP PIO Log 4, DL_ActiveErr+
Δεκ 02 22:45:34 manjaro snapd[399]: stateengine.go:149: state ensure error: Get "https://api.snapcraft.io/api/v1/snaps/sections": dial tcp: lookup api.snapcraft.io: no such host

Same problem apperars sometimes even when i boot from usb.
When system freezes the caps-lock led starts blinking, which i read is a sign of kernel panic.
If i complete a successful login everything works fine.
Can anyone help?

UPDATE: After i tested the behavior out a bit more i found out that it freezes 100% of the times if i wait a bit more. What i mean is that the freezing will always happen somewhere after grub and before logging in. So if i don’t login fast enough it will freeze 100% of the times.

Also if i put my computer to sleep i can never return cause after sleep it returns to a black screen with the cursor somewhere on it, but you cannot move the cursor and it does not respond to anything.

I tried kernels 5.13 and 5.10 but nothing changed. Then i tried kernel 5.4 with which the freeze on startup seems to be resolved, but not the freeze after sleep.

May be to try to improve filtering by reading man journalctl.
You can try at least:

journalctl --boot -1 --no-pager --priority 3
journalctl --boot -1 --no-pager --priority 4 --dmesg

These are logs from when it freezes at startup:

journalctl --boot -1 --no-pager --priority 4 --dmesg                                                                                                                          ✔ 
-- Journal begins at Wed 2021-12-01 01:50:14 EET, ends at Fri 2021-12-03 02:33:15 EET. --
Dec 03 02:28:37 manjaro kernel: x86/cpu: SGX disabled by BIOS.
Dec 03 02:28:37 manjaro kernel: ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
Dec 03 02:28:37 manjaro kernel: hpet_acpi_add: no address or irqs in _CRS
Dec 03 02:28:37 manjaro kernel: i8042: Warning: Keylock active
Dec 03 02:28:37 manjaro kernel: usb: port power management may be unreliable
Dec 03 02:28:37 manjaro kernel: request_module fs-efivarfs succeeded, but still no fs?
Dec 03 02:28:37 manjaro kernel: ipmi_si: Unable to find any System Interface(s)
Dec 03 02:28:37 manjaro kernel: acpi PNP0C14:02: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:01)
Dec 03 02:28:37 manjaro kernel: wmi_bus wmi_bus-PNP0C14:03: WQBC data block query control method not found
Dec 03 02:28:37 manjaro kernel: acpi PNP0C14:03: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:01)
Dec 03 02:28:37 manjaro kernel: acpi PNP0C14:04: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:01)
Dec 03 02:28:37 manjaro kernel: acpi PNP0C14:05: duplicate WMI GUID 05901221-D566-11D1-B2F0-00A0C9062910 (first instance was on PNP0C14:01)
Dec 03 02:28:37 manjaro kernel: mtd: partition "BIOS" extends beyond the end of device "0000:00:1f.5" -- size truncated to 0x800000
Dec 03 02:28:43 manjaro kernel: kauditd_printk_skb: 61 callbacks suppressed

And these are from when it freezes after sleep:

journalctl --boot -1 --no-pager --priority 4 --dmesg                                                                                                                          ✔ 
-- Journal begins at Wed 2021-12-01 01:50:14 EET, ends at Fri 2021-12-03 02:40:56 EET. --
Dec 03 02:30:29 manjaro kernel: ENERGY_PERF_BIAS: Set to 'normal', was 'performance'
Dec 03 02:30:29 manjaro kernel: hpet_acpi_add: no address or irqs in _CRS
Dec 03 02:30:29 manjaro kernel: i8042: Warning: Keylock active
Dec 03 02:30:29 manjaro kernel: usb: port power management may be unreliable
Dec 03 02:30:29 manjaro kernel: cgroup2: Unknown parameter 'memory_recursiveprot'
Dec 03 02:30:29 manjaro kernel: ipmi_si: Unable to find any System Interface(s)
Dec 03 02:30:29 manjaro kernel: wmi_bus wmi_bus-PNP0C14:03: WQBC data block query control method not found
Dec 03 02:30:29 manjaro kernel: i2c_hid i2c-DELL097C:00: i2c-DELL097C:00 supply vdd not found, using dummy regulator
Dec 03 02:30:29 manjaro kernel: i2c_hid i2c-DELL097C:00: i2c-DELL097C:00 supply vddl not found, using dummy regulator
Dec 03 02:30:30 manjaro kernel: mce: CPU2: Core temperature above threshold, cpu clock throttled (total events = 1)
Dec 03 02:30:30 manjaro kernel: mce: CPU6: Core temperature above threshold, cpu clock throttled (total events = 1)
Dec 03 02:30:30 manjaro kernel: mce: CPU6: Package temperature above threshold, cpu clock throttled (total events = 1)
Dec 03 02:30:30 manjaro kernel: mce: CPU2: Package temperature above threshold, cpu clock throttled (total events = 1)
Dec 03 02:30:30 manjaro kernel: mce: CPU5: Package temperature above threshold, cpu clock throttled (total events = 1)
Dec 03 02:30:30 manjaro kernel: mce: CPU1: Package temperature above threshold, cpu clock throttled (total events = 1)
Dec 03 02:30:30 manjaro kernel: mce: CPU0: Package temperature above threshold, cpu clock throttled (total events = 1)
Dec 03 02:30:30 manjaro kernel: mce: CPU4: Package temperature above threshold, cpu clock throttled (total events = 1)
Dec 03 02:30:30 manjaro kernel: mce: CPU7: Package temperature above threshold, cpu clock throttled (total events = 1)
Dec 03 02:30:30 manjaro kernel: mce: CPU3: Package temperature above threshold, cpu clock throttled (total events = 1)
Dec 03 02:30:30 manjaro kernel: mtd: partition "BIOS" extends beyond the end of device "0000:00:1f.5" -- size truncated to 0x800000
Dec 03 02:30:30 manjaro kernel: proc: Bad value for 'hidepid'
Dec 03 02:30:30 manjaro kernel: proc: Bad value for 'hidepid'
Dec 03 02:30:30 manjaro kernel: proc: Bad value for 'hidepid'
Dec 03 02:30:31 manjaro kernel: ath10k_pci 0000:02:00.0: unsupported HTC service id: 1536
Dec 03 02:30:31 manjaro kernel: ath10k_pci 0000:02:00.0: unsupported HTC service id: 1536
Dec 03 02:30:31 manjaro kernel: ath10k_pci 0000:02:00.0: unsupported HTC service id: 1536
Dec 03 02:30:35 manjaro kernel: kauditd_printk_skb: 47 callbacks suppressed
Dec 03 02:32:17 manjaro kernel: kauditd_printk_skb: 4 callbacks suppressed

Before you manually installed and booted into the real time kernel, does the typical kernel also have exactly the same issues?

Yes, after installation i booted with 5.13 and i had that problem from the beginning. Then i tried 5.15 and 5.10 and now i am booting in 5.4 which has only one of the aforementioned problems.