Operating System Freezes

So every now and then; randomly when launching either Lutris, Firefox or even just the Settings application. The OS will freeze. The program will be “launching” and then it won’t launch. And a moment later the OS will freeze. I then will either hard shutdown or reset the computer.

EndeavourOS; Build ID: 2021.12.17
Gnome version 41.5
Windowing System: Wayland
CPU: AMD 5950x
GPU: RX 5700 XT
kernel: 5.16.16

Only OS installed on an NVME (Btrfs)

Only issue i have faced a handful of times already. Other than that, everything else has worked fine.

with TTY or terminal

inxi -Fza
df -Th
sudo journalctl -b0 -p4
sudo journalctl -b -1 -p4
System:
  Kernel: 5.17.1-arch1-1 arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux
    root=UUID=ae70944d-b084-4f0c-af65-b213563d1934 rw rootflags=subvol=@
    quiet loglevel=3 nowatchdog nvme_load=YES
  Desktop: GNOME v: 41.5 tk: GTK v: 3.24.33 wm: gnome-shell dm: GDM v: 41.3
    Distro: EndeavourOS base: Arch Linux
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: ROG CROSSHAIR VIII HERO v: Rev X.0x
    serial: <superuser required> UEFI: American Megatrends v: 3801
    date: 07/30/2021
CPU:
  Info: model: AMD Ryzen 9 5950X bits: 64 type: MT MCP arch: Zen 3
    family: 0x19 (25) model-id: 0x21 (33) stepping: 0 microcode: 0xA201016
  Topology: cpus: 1x cores: 16 tpc: 2 threads: 32 smt: enabled cache:
    L1: 1024 KiB desc: d-16x32 KiB; i-16x32 KiB L2: 8 MiB desc: 16x512 KiB
    L3: 64 MiB desc: 2x32 MiB
  Speed (MHz): avg: 3173 high: 3598 min/max: 2200/5083 boost: enabled
    scaling: driver: acpi-cpufreq governor: schedutil cores: 1: 2993 2: 2876
    3: 3596 4: 2877 5: 2875 6: 3597 7: 2875 8: 3596 9: 2878 10: 2878 11: 3598
    12: 2897 13: 2870 14: 2877 15: 3598 16: 3597 17: 3594 18: 2876 19: 3595
    20: 2873 21: 2878 22: 3597 23: 2876 24: 3594 25: 2875 26: 3062 27: 3597
    28: 2876 29: 2877 30: 2879 31: 3422 32: 3592 bogomips: 217671
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
  Vulnerabilities:
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown 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: Retpolines, IBPB: conditional, IBRS_FW,
    STIBP: always-on, RSB filling
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]
    vendor: ASUSTeK driver: amdgpu v: kernel pcie: gen: 4 speed: 16 GT/s
    lanes: 16 ports: active: DP-1 empty: DP-2,DP-3,HDMI-A-1 bus-ID: 0d:00.0
    chip-ID: 1002:731f class-ID: 0300
  Display: wayland server: X.org v: 1.21.1.3 with: Xwayland v: 22.1.0
    compositor: gnome-shell driver: gpu: amdgpu display-ID: 0
  Monitor-1: DP-1 model: Pixio PX278 serial: <filter> built: 2020
    res: 2560x1440 dpi: 108 gamma: 1.2 size: 597x336mm (23.5x13.23")
    diag: 685mm (27") ratio: 16:9 modes: max: 2560x1440 min: 720x400
  OpenGL:
    renderer: AMD Radeon RX 5700 XT (navi10 LLVM 13.0.1 DRM 3.44 5.17.1-arch1-1)
    v: 4.6 Mesa 22.0.0 direct render: Yes
Audio:
  Device-1: Creative Labs driver: snd_hda_intel v: kernel bus-ID: 06:00.0
    chip-ID: 1102:0010 class-ID: 0403
  Device-2: AMD Navi 10 HDMI Audio driver: snd_hda_intel v: kernel pcie:
    gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 0d:00.1 chip-ID: 1002:ab38
    class-ID: 0403
  Device-3: AMD Starship/Matisse HD Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel pcie: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 0f:00.4 chip-ID: 1022:1487 class-ID: 0403
  Sound Server-1: ALSA v: k5.17.1-arch1-1 running: yes
  Sound Server-2: PulseAudio v: 15.0 running: no
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Realtek RTL8125 2.5GbE vendor: ASUSTeK driver: r8169 v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 port: e000 bus-ID: 04:00.0
    chip-ID: 10ec:8125 class-ID: 0200
  IF: enp4s0 state: down mac: <filter>
  Device-2: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb
    v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: d000 bus-ID: 07:00.0
    chip-ID: 8086:1539 class-ID: 0200
  IF: enp7s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 1.85 TiB used: 69.86 GiB (3.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Western Digital
    model: WDS100T1X0E-00AFY0 size: 931.51 GiB block-size: physical: 512 B
    logical: 512 B speed: 63.2 Gb/s lanes: 4 type: SSD serial: <filter>
    rev: 613200WD temp: 50.9 C scheme: GPT
  ID-2: /dev/sda maj-min: 8:0 vendor: Western Digital model: WDBNCE0010PNC
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    type: SSD serial: <filter> rev: 20RL scheme: GPT
  ID-3: /dev/sdb maj-min: 8:16 type: USB vendor: SanDisk model: Ultra T C
    size: 28.64 GiB block-size: physical: 512 B logical: 512 B type: N/A
    serial: <filter> rev: 1.00 scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  ID-1: / raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
    used: 69.85 GiB (7.5%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 576 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:1
  ID-3: /home raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
    used: 69.85 GiB (7.5%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
  ID-4: /var/log raw-size: 931.22 GiB size: 931.22 GiB (100.00%)
    used: 69.85 GiB (7.5%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:2
Swap:
  Alert: No swap data was found.
Sensors:
  System Temperatures: cpu: 38.0 C mobo: 35.0 C gpu: amdgpu temp: 60.0 C
    mem: 62.0 C
  Fan Speeds (RPM): cpu: 0 gpu: amdgpu fan: 0
Info:
  Processes: 518 Uptime: 1m wakeups: 0 Memory: 15.6 GiB
  used: 1.99 GiB (12.8%) Init: systemd v: 250 tool: systemctl Compilers:
  gcc: 11.2.0 Packages: pacman: 1016 lib: 383 Shell: Bash v: 5.1.16
  running-in: gnome-terminal inxi: 3.3.14
Filesystem     Type      Size  Used Avail Use% Mounted on
dev            devtmpfs  7.8G     0  7.8G   0% /dev
run            tmpfs     7.8G  2.0M  7.8G   1% /run
/dev/nvme0n1p2 btrfs     932G   70G  861G   8% /
tmpfs          tmpfs     7.8G     0  7.8G   0% /dev/shm
tmpfs          tmpfs     7.8G  8.7M  7.8G   1% /tmp
/dev/nvme0n1p2 btrfs     932G   70G  861G   8% /var/cache
/dev/nvme0n1p2 btrfs     932G   70G  861G   8% /home
/dev/nvme0n1p2 btrfs     932G   70G  861G   8% /var/log
/dev/nvme0n1p1 vfat      300M  576K  299M   1% /boot/efi
tmpfs          tmpfs     1.6G   56K  1.6G   1% /run/user/1000
/dev/sdb1      vfat       29G   17M   29G   1% /run/media/mgarcia/7937-FA89
[sudo] password for mgarcia: 
Mar 29 16:09:16 mGarcia1 kernel:  #17 #18 #19 #20 #21 #22 #23 #24 #25 #26 #27 #>
Mar 29 16:09:16 mGarcia1 systemd-udevd[559]: Configuration file /usr/lib/udev/r>
Mar 29 16:09:16 mGarcia1 kernel: acpi PNP0C14:02: duplicate WMI GUID 05901221-D>
Mar 29 16:09:16 mGarcia1 kernel: acpi PNP0C14:03: duplicate WMI GUID 05901221-D>
Mar 29 16:09:16 mGarcia1 kernel: acpi PNP0C14:04: duplicate WMI GUID 05901221-D>
Mar 29 16:09:16 mGarcia1 kernel: acpi PNP0C14:05: duplicate WMI GUID 05901221-D>
Mar 29 16:09:16 mGarcia1 kernel: sp5100-tco sp5100-tco: Watchdog hardware is di>
Mar 29 16:09:16 mGarcia1 systemd-journald[540]: File /var/log/journal/6d20a9f26>
Mar 29 16:09:16 mGarcia1 kernel: kvm: support for 'kvm_amd' disabled by bios
Mar 29 16:09:16 mGarcia1 kernel: amdgpu 0000:0d:00.0: amdgpu: PSP runtime datab>
Mar 29 16:09:16 mGarcia1 kernel: kvm: support for 'kvm_amd' disabled by bios
Mar 29 16:09:17 mGarcia1 kernel: usb 1-5.3: config 1 has an invalid interface n>
Mar 29 16:09:17 mGarcia1 kernel: usb 1-5.3: config 1 has no interface number 1
Mar 29 16:09:17 mGarcia1 kernel: kvm: support for 'kvm_amd' disabled by bios
Mar 29 16:09:17 mGarcia1 kernel: amdgpu: SRAT table not found
Mar 29 16:09:17 mGarcia1 kernel: hid-generic 0003:1532:0096.0009: No inputs reg>
Mar 29 16:09:17 mGarcia1 kernel: kvm: support for 'kvm_amd' disabled by bios
Mar 29 16:09:17 mGarcia1 kernel: kvm: support for 'kvm_amd' disabled by bios
Mar 29 16:09:17 mGarcia1 kernel: kvm: support for 'kvm_amd' disabled by bios
Mar 29 16:09:17 mGarcia1 kernel: kvm: support for 'kvm_amd' disabled by bios
Mar 29 16:09:17 mGarcia1 systemd-journald[540]: File /var/log/journal/6d20a9f26>
Mar 29 16:09:17 mGarcia1 systemd[856]: org.gnome.Shell@x11.service: Start reque>
Mar 29 16:09:17 mGarcia1 kernel: kvm: support for 'kvm_amd' disabled by bios
lines 1-23

Mar 29 16:09:16 mGarcia1 kernel:  #17 #18 #19 #20 #21 #22 #23 #24 #25 #26 #27 #2>
Mar 29 16:09:16 mGarcia1 systemd-udevd[559]: Configuration file /usr/lib/udev/ru>
Mar 29 16:09:16 mGarcia1 kernel: acpi PNP0C14:02: duplicate WMI GUID 05901221-D5>
Mar 29 16:09:16 mGarcia1 kernel: acpi PNP0C14:03: duplicate WMI GUID 05901221-D5>
Mar 29 16:09:16 mGarcia1 kernel: acpi PNP0C14:04: duplicate WMI GUID 05901221-D5>
Mar 29 16:09:16 mGarcia1 kernel: acpi PNP0C14:05: duplicate WMI GUID 05901221-D5>
Mar 29 16:09:16 mGarcia1 kernel: sp5100-tco sp5100-tco: Watchdog hardware is dis>
Mar 29 16:09:16 mGarcia1 systemd-journald[540]: File /var/log/journal/6d20a9f261>
Mar 29 16:09:16 mGarcia1 kernel: kvm: support for 'kvm_amd' disabled by bios
Mar 29 16:09:16 mGarcia1 kernel: amdgpu 0000:0d:00.0: amdgpu: PSP runtime databa>
Mar 29 16:09:16 mGarcia1 kernel: kvm: support for 'kvm_amd' disabled by bios
Mar 29 16:09:17 mGarcia1 kernel: usb 1-5.3: config 1 has an invalid interface nu>
Mar 29 16:09:17 mGarcia1 kernel: usb 1-5.3: config 1 has no interface number 1
Mar 29 16:09:17 mGarcia1 kernel: kvm: support for 'kvm_amd' disabled by bios
Mar 29 16:09:17 mGarcia1 kernel: amdgpu: SRAT table not found
Mar 29 16:09:17 mGarcia1 kernel: hid-generic 0003:1532:0096.0009: No inputs regi>
Mar 29 16:09:17 mGarcia1 kernel: kvm: support for 'kvm_amd' disabled by bios
Mar 29 16:09:17 mGarcia1 kernel: kvm: support for 'kvm_amd' disabled by bios
Mar 29 16:09:17 mGarcia1 kernel: kvm: support for 'kvm_amd' disabled by bios
Mar 29 16:09:17 mGarcia1 kernel: kvm: support for 'kvm_amd' disabled by bios
Mar 29 16:09:17 mGarcia1 systemd-journald[540]: File /var/log/journal/6d20a9f261>
Mar 29 16:09:17 mGarcia1 systemd[856]: org.gnome.Shell@x11.service: Start reques>
Mar 29 16:09:17 mGarcia1 kernel: kvm: support for 'kvm_amd' disabled by bios
lines 1-23...skipping...
Mar 29 16:09:16 mGarcia1 kernel:  #17 #18 #19 #20 #21 #22 #23 #24 #25 #26 #27 #28 >
Mar 29 16:09:16 mGarcia1 systemd-udevd[559]: Configuration file /usr/lib/udev/rule>
Mar 29 16:09:16 mGarcia1 kernel: acpi PNP0C14:02: duplicate WMI GUID 05901221-D566>
Mar 29 16:09:16 mGarcia1 kernel: acpi PNP0C14:03: duplicate WMI GUID 05901221-D566>
Mar 29 16:09:16 mGarcia1 kernel: acpi PNP0C14:04: duplicate WMI GUID 05901221-D566>
Mar 29 16:09:16 mGarcia1 kernel: acpi PNP0C14:05: duplicate WMI GUID 05901221-D566>
Mar 29 16:09:16 mGarcia1 kernel: sp5100-tco sp5100-tco: Watchdog hardware is disab>
Mar 29 16:09:16 mGarcia1 systemd-journald[540]: File /var/log/journal/6d20a9f261b1>
Mar 29 16:09:16 mGarcia1 kernel: kvm: support for 'kvm_amd' disabled by bios
Mar 29 16:09:16 mGarcia1 kernel: amdgpu 0000:0d:00.0: amdgpu: PSP runtime database>
Mar 29 16:09:16 mGarcia1 kernel: kvm: support for 'kvm_amd' disabled by bios
Mar 29 16:09:17 mGarcia1 kernel: usb 1-5.3: config 1 has an invalid interface numb>
Mar 29 16:09:17 mGarcia1 kernel: usb 1-5.3: config 1 has no interface number 1
Mar 29 16:09:17 mGarcia1 kernel: kvm: support for 'kvm_amd' disabled by bios
Mar 29 16:09:17 mGarcia1 kernel: amdgpu: SRAT table not found
Mar 29 16:09:17 mGarcia1 kernel: hid-generic 0003:1532:0096.0009: No inputs regist>
Mar 29 16:09:17 mGarcia1 kernel: kvm: support for 'kvm_amd' disabled by bios
Mar 29 16:09:17 mGarcia1 kernel: kvm: support for 'kvm_amd' disabled by bios
Mar 29 16:09:17 mGarcia1 kernel: kvm: support for 'kvm_amd' disabled by bios
Mar 29 16:09:17 mGarcia1 kernel: kvm: support for 'kvm_amd' disabled by bios
Mar 29 16:09:17 mGarcia1 systemd-journald[540]: File /var/log/journal/6d20a9f261b1>
Mar 29 16:09:17 mGarcia1 systemd[856]: org.gnome.Shell@x11.service: Start request >
Mar 29 16:09:17 mGarcia1 kernel: kvm: support for 'kvm_amd' disabled by bios
Mar 29 16:09:18 mGarcia1 kernel: kvm: support for 'kvm_amd' disabled by bios
lines 1-24

type or paste code here

EDIT: The actual terminal return text to what you advised to type into the terminal is actually a lot of text. I don’t know if you wanted the entire thing. I only added the few first information/blocks.

You should run it in full screen terminal. It might be better to run it with these commands and post the links.

sudo journalctl -b0 -p4 | eos-sendlog
sudo journalctl -b -1 -p4 | eos-sendlog

https://clbin.com/BvZZK
https://clbin.com/EPMkJ

@GarMr
First thing is there are two newer UEFI Bios version for that board. I would update to the latest version if it were me.

I see you are running on the latest kernel. I also don’t see many kernel parameters for Ryzen so there may be some required.

I do see quite a few error messages in the logs. Because you are on btrfs and you have /home partition. It could be an issue with the btrfs setup? Maybe not. I’m not the expert here on that. It would require more information on and logs to show that and someone with more knowledge on btrfs to look at the subvolumes and such.

The logs are much better in this format as you can look at them yourself also and see information much easier and clearer.

For now i would say first update the UEFI firmware to the latest if you are comfortable doing that. It’s quite easy now a days. I usually download the new firmware to a usb jump drive and boot into the UEFI setup screen and run the update from there as it has a flash ability built in.

you need to add theses options
in /etc/default/group

line GRUB_CMDLINE_LINUX_DEFAULT=

“amd_iommu=on iommu=pt processor.max_cstate=5 rcu_nocbs=0_31 systemd.unified_cgroup_hierarchy=true scsi_mod.use_blk_mq=1”

on UEFI , activate virtual option , SVM mode