Regular freezes if using X11

Hello,
Ive been using EndeavourOS for quite some time, around a month. However yesterday I decided to dicth Wayland, as it just flat out refuses to work for me (I use optimus HP laptop, and multi-monitor setup). Using X11 has been a dream, everything works smooth and how its supposed to, however, my system freezes completely after anywhere from 5 to 30 minutes. Sound sometimes still plays, but nothing else works, no tty, only way out is hard reset.
Honestly this feels like a punch in the gut and if I wont be able to fix this, I think that will be the end of my linux adventure.
Here is my journalctl -b-1 at the moment freeze happened:

lip 24 12:24:22 coolkatop discord[2261]: mainScreen.UpdaterEvents: UPDATER_HISTORY_QUERY_AND_TRUNCATE
lip 24 12:24:23 coolkatop discord[2261]: mainScreen.UpdaterEvents: UPDATER_HISTORY_QUERY_AND_TRUNCATE
lip 24 12:24:23 coolkatop discord[2261]: mainScreen.UpdaterEvents: UPDATER_HISTORY_QUERY_AND_TRUNCATE
lip 24 12:24:23 coolkatop discord[2396]: DiscordProcessObserver: Skipping ''
lip 24 12:24:23 coolkatop discord[2396]: DiscordProcessObserver: Skipping ''
lip 24 12:24:23 coolkatop discord[2396]: DiscordProcessObserver: Skipping ''
lip 24 12:24:23 coolkatop discord[2396]: DiscordProcessObserver: Skipping ''
lip 24 12:24:23 coolkatop discord[2396]: DiscordProcessObserver: Skipping ''
lip 24 12:24:23 coolkatop discord[2396]: DiscordProcessObserver: Skipping ''
lip 24 12:24:23 coolkatop discord[2396]: DiscordProcessObserver: Skipping ''
lip 24 12:24:23 coolkatop discord[2396]: DiscordProcessObserver: Skipping ''
lip 24 12:24:23 coolkatop discord[2396]: DiscordProcessObserver: Skipping ''
lip 24 12:24:23 coolkatop discord[2396]: DiscordProcessObserver: Skipping ''
lip 24 12:24:23 coolkatop discord[2396]: DiscordProcessObserver: Skipping ''
lip 24 12:24:23 coolkatop discord[2396]: DiscordProcessObserver: Skipping ''
lip 24 12:24:23 coolkatop discord[2396]: DiscordProcessObserver: Skipping ''
lip 24 12:24:23 coolkatop discord[2396]: DiscordProcessObserver: Skipping ''
lip 24 12:24:23 coolkatop discord[2396]: DiscordProcessObserver: Skipping ''
lip 24 12:24:23 coolkatop discord[2396]: DiscordProcessObserver: Skipping ''
lip 24 12:24:23 coolkatop discord[2396]: DiscordProcessObserver: Skipping ''
lip 24 12:24:23 coolkatop discord[2396]: DiscordProcessObserver: Skipping ''
lip 24 12:24:23 coolkatop discord[2396]: DiscordProcessObserver: Skipping ''
lip 24 12:24:23 coolkatop discord[2396]: DiscordProcessObserver: Skipping ''
lip 24 12:24:23 coolkatop discord[2396]: DiscordProcessObserver: Skipping ''
lip 24 12:24:23 coolkatop discord[2396]: DiscordProcessObserver: Skipping ''
lip 24 12:24:30 coolkatop discord[2396]: DiscordProcessObserver: Skipping ''
lip 24 12:24:30 coolkatop discord[2396]: DiscordProcessObserver: Skipping ''
lip 24 12:24:30 coolkatop discord[2396]: DiscordProcessObserver: Skipping ''
lip 24 12:24:30 coolkatop discord[2396]: DiscordProcessObserver: Skipping ''
lip 24 12:24:59 coolkatop discord[2261]: blackbox: 2024-07-24T10:24:59.858Z 11 window.close win2
lip 24 12:25:19 coolkatop rtkit-daemon[1018]: Supervising 8 threads of 5 processes of 1 users.
lip 24 12:25:19 coolkatop rtkit-daemon[1018]: Supervising 8 threads of 5 processes of 1 users.
lip 24 12:25:19 coolkatop rtkit-daemon[1018]: Supervising 8 threads of 5 processes of 1 users.
lip 24 12:25:19 coolkatop rtkit-daemon[1018]: Supervising 8 threads of 5 processes of 1 users.
lip 24 12:25:20 coolkatop rtkit-daemon[1018]: Supervising 8 threads of 5 processes of 1 users.
lip 24 12:25:20 coolkatop rtkit-daemon[1018]: Supervising 8 threads of 5 processes of 1 users.
lip 24 12:26:32 coolkatop kernel: [drm:amdgpu_dm_atomic_check [amdgpu]] *ERROR* [CRTC:73:crtc-0] hw_done or flip_done timed out

Let me know what information I can provide to help.
What I have done so far:

  • changed to lts kernel
  • added “amdgpu.dcdebugmask=0x10 amd_pstate=active” to GRUB_CMDLINE_LINUX_DEFAULT
  • updated all drivers and system
  • turned off safe boot in BIOS

Welcome to the community! :vulcan_salute: :enos_flag:

What’s the output of:

inxi -FGAxxz

If you’re using KDE or Gnome, it’s very likely you just need to try Cinnamon, Budgie, or Xfce.
Or instead use KDE or Gnome on a static release distro.

Thank you for your reply.

System:
  Kernel: 6.6.40-2-lts arch: x86_64 bits: 64 compiler: gcc v: 14.1.1
  Desktop: KDE Plasma v: 6.1.3 tk: Qt v: N/A wm: kwin_x11 dm: SDDM
    Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Laptop System: HP product: Victus by HP Gaming Laptop 15-fb0xxx v: N/A
    serial: <superuser required> Chassis: type: 10 serial: <superuser required>
  Mobo: HP model: 8A3C v: 35.46 serial: <superuser required>
    part-nu: 72J72EA#AKD UEFI: AMI v: F.21 date: 05/23/2024
Battery:
  ID-1: BAT0 charge: 63.3 Wh (100.0%) condition: 63.3/63.3 Wh (100.0%)
    volts: 17.4 min: 15.4 model: HP Primary serial: <filter> status: full
CPU:
  Info: 6-core model: AMD Ryzen 5 5600H with Radeon Graphics bits: 64
    type: MT MCP arch: Zen 3 rev: 0 cache: L1: 384 KiB L2: 3 MiB L3: 16 MiB
  Speed (MHz): avg: 663 high: 1514 min/max: 400/4280 cores: 1: 400 2: 400
    3: 1397 4: 400 5: 400 6: 1448 7: 400 8: 400 9: 400 10: 1514 11: 400 12: 400
    bogomips: 79080
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: NVIDIA GA107M [GeForce RTX 3050 Ti Mobile] vendor: Hewlett-Packard
    driver: nvidia v: 555.58.02 arch: Ampere pcie: speed: 8 GT/s lanes: 8 ports:
    active: none off: HDMI-A-1 empty: none bus-ID: 01:00.0 chip-ID: 10de:25a0
  Device-2: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series]
    vendor: Hewlett-Packard driver: amdgpu v: kernel arch: GCN-5 pcie:
    speed: 8 GT/s lanes: 16 ports: active: eDP-1 empty: DP-1 bus-ID: 06:00.0
    chip-ID: 1002:1638 temp: 51.0 C
  Device-3: Quanta HP Wide Vision HD Camera driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 bus-ID: 1-3:2 chip-ID: 0408:5481
  Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 24.1.1
    compositor: kwin_x11 driver: X: loaded: amdgpu,nvidia unloaded: modesetting
    alternate: fbdev,nouveau,nv,vesa dri: radeonsi
    gpu: amdgpu,nvidia,nvidia-nvswitch display-ID: :0 screens: 1
  Screen-1: 0 s-res: 3840x1080 s-dpi: 96
  Monitor-1: HDMI-A-1 mapped: HDMI-1-0 note: disabled pos: primary,left
    model: AOC 24G2WG3- res: 1920x1080 dpi: 94 diag: 598mm (23.5")
  Monitor-2: eDP-1 mapped: eDP pos: right model: ChiMei InnoLux 0x1521
    res: 1920x1080 dpi: 142 diag: 394mm (15.5")
  API: EGL v: 1.5 platforms: device: 0 drv: nvidia device: 2 drv: radeonsi
    device: 3 drv: swrast gbm: drv: nvidia surfaceless: drv: nvidia x11:
    drv: radeonsi inactive: wayland,device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: amd mesa v: 24.1.4-arch1.2
    glx-v: 1.4 direct-render: yes renderer: AMD Radeon Graphics (radeonsi
    renoir LLVM 18.1.8 DRM 3.54 6.6.40-2-lts) device-ID: 1002:1638
  API: Vulkan v: 1.3.279 surfaces: xcb,xlib device: 0 type: discrete-gpu
    driver: nvidia device-ID: 10de:25a0
Audio:
  Device-1: NVIDIA vendor: Hewlett-Packard driver: snd_hda_intel v: kernel
    pcie: speed: 8 GT/s lanes: 8 bus-ID: 01:00.1 chip-ID: 10de:2291
  Device-2: AMD Renoir Radeon High Definition Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16
    bus-ID: 06:00.1 chip-ID: 1002:1637
  Device-3: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Hewlett-Packard
    driver: snd_rn_pci_acp3x v: kernel pcie: speed: 8 GT/s lanes: 16
    bus-ID: 06:00.5 chip-ID: 1022:15e2
  Device-4: AMD Family 17h/19h HD Audio vendor: Hewlett-Packard
    driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16
    bus-ID: 06:00.6 chip-ID: 1022:15e3
  API: ALSA v: k6.6.40-2-lts status: kernel-api
  Server-1: PipeWire v: 1.2.1 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel pcie: speed: 2.5 GT/s
    lanes: 1 port: e000 bus-ID: 02:00.0 chip-ID: 10ec:8168
  IF: eno1 state: down mac: <filter>
  Device-2: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter
    vendor: AzureWave driver: mt7921e v: kernel pcie: speed: 5 GT/s lanes: 1
    bus-ID: 03:00.0 chip-ID: 14c3:7961
  IF: wlan0 state: up mac: <filter>
Bluetooth:
  Device-1: IMC Networks Wireless_Device driver: btusb v: 0.8 type: USB
    rev: 2.1 speed: 480 Mb/s lanes: 1 bus-ID: 1-4:3 chip-ID: 13d3:3567
  Report: btmgmt ID: hci0 rfk-id: 0 state: down bt-service: enabled,running
    rfk-block: hardware: no software: yes address: <filter> bt-v: 5.2 lmp-v: 11
Drives:
  Local Storage: total: 1.83 TiB used: 30.92 GiB (1.6%)
  ID-1: /dev/nvme0n1 vendor: SK Hynix model: PC711 HFS512GDE9X073N
    size: 476.94 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> temp: 45.9 C
  ID-2: /dev/sda vendor: Samsung model: PSSD T7 size: 931.51 GiB type: USB
    rev: 3.2 spd: 10 Gb/s lanes: 1 serial: <filter>
  ID-3: /dev/sdb vendor: Samsung model: PSSD T7 size: 465.76 GiB type: USB
    rev: 3.2 spd: 10 Gb/s lanes: 1 serial: <filter>
Partition:
  ID-1: / size: 211.55 GiB used: 30.88 GiB (14.6%) fs: ext4
    dev: /dev/nvme0n1p5
  ID-2: /boot/efi size: 96 MiB used: 50.5 MiB (52.6%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 62.2 C mobo: 44.0 C gpu: amdgpu temp: 51.0 C
  Fan Speeds (rpm): fan-1: 2702 fan-2: 2409
Info:
  Memory: total: 16 GiB note: est. available: 14.96 GiB used: 2.77 GiB (18.5%)
  Processes: 314 Power: uptime: 2m wakeups: 0 Init: systemd v: 256
    default: graphical
  Packages: pm: pacman pkgs: 1079 Compilers: gcc: 14.1.1 Shell: Bash
    v: 5.2.26 running-in: konsole inxi: 3.3.35

Is KDE known to be problematic?

At the moment, both Gnome and KDE are in a stage of rapid development, so for some users, compatibility and performance issues may become true, while for others things have got better.

You have an Nvidia card — KDE, for me and some other users, doesn’t like Nvidia cards. Again, though, for some users, they experience no issues or very little.

So, if it is that KDE on an Arch-based distro isn’t working out for you, you may want to try Gnome, Cinnamon, Budgie, etc.

If all of those are also somehow not great, then a static release distro, like Linux Mint with Cinnamon, or Fedora with KDE/Gnome, or Debian with KDE, may work just fine.

Static release distros use a “stable” version of DEs like KDE and Gnome and are less likely to have issues. But, before you try a static release, you should probably just try Cinnamon on EndeavourOS. It is based on an older version of Gnome, but it has recent and stable updates and is way less likely to give trouble than Gnome itself.

Plus, it has many of the features KDE has, unlike Gnome which is intentionally limited.

Finally, installing other DEs is easy to do. Just sudo sudo pacman -S cinnamon. However, installing multiple DEs on the same installation is not usually a good idea because they may interfere with each other and degrade each other’s experience. So, it would be better to backup any important files you have, then reinstall with a fresh DE.

All right, thank you for your advice and time, I’ll consider my options. Have a great day!

You’re welcome. You too. :vulcan_salute: