Skip to main content
Topic: Random freezes/hard crashes (Read 2769 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

Random freezes/hard crashes

I have occasional hard crashes that happen randomly. It happens about once or twice per day. I can't move my mouse or press anything on the keyboard, so I have to force restart with the power button. I thought it was related to the video driver but I have used Artix on both AMD and Nvidia machines and the crashes appear on both. I have the same problem on both KDE and bspwm.

Also, when it happens, audio lags for 2-3 seconds and then it stops. Perhaps an ALSA driver bug? Kernel related?

I would be happy to post outputs/logs, except I don't know which ones exactly.

Any help would be most welcome, as this is the only problem I have with Artix.


Re: Random freezes/hard crashes

Reply #2
Thank you. My init is OpenRC. Here are my outputs:

Code: [Select]
lspci -v
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Root Complex
        Subsystem: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Root Complex
        Flags: fast devsel

00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) I/O Memory Management Unit
        Subsystem: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) I/O Memory Management Unit
        Flags: fast devsel, IRQ 25
        Capabilities: <access denied>

00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
        Flags: fast devsel, IOMMU group 0

00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 26, IOMMU group 1
        Bus: primary=00, secondary=01, subordinate=05, sec-latency=0
        I/O behind bridge: 0000f000-0000ffff [size=4K]
        Memory behind bridge: f7500000-f76fffff [size=2M]
        Prefetchable memory behind bridge: 00000000f2200000-00000000f22fffff [size=1M]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
        Flags: fast devsel, IOMMU group 2

00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
        Flags: fast devsel, IOMMU group 3

00:03.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe GPP Bridge (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 27, IOMMU group 4
        Bus: primary=00, secondary=06, subordinate=06, sec-latency=0
        I/O behind bridge: 0000e000-0000efff [size=4K]
        Memory behind bridge: f6000000-f70fffff [size=17M]
        Prefetchable memory behind bridge: 00000000e0000000-00000000f20fffff [size=289M]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
        Flags: fast devsel, IOMMU group 5

00:07.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
        Flags: fast devsel, IOMMU group 6

00:07.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 28, IOMMU group 7
        Bus: primary=00, secondary=07, subordinate=07, sec-latency=0
        I/O behind bridge: [disabled]
        Memory behind bridge: f7200000-f74fffff [size=3M]
        Prefetchable memory behind bridge: [disabled]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
        Flags: fast devsel, IOMMU group 8

00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Internal PCIe GPP Bridge 0 to Bus B (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 30, IOMMU group 9
        Bus: primary=00, secondary=08, subordinate=08, sec-latency=0
        I/O behind bridge: [disabled]
        Memory behind bridge: f7700000-f77fffff [size=1M]
        Prefetchable memory behind bridge: [disabled]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 59)
        Subsystem: Gigabyte Technology Co., Ltd Device 5001
        Flags: 66MHz, medium devsel, IOMMU group 10
        Kernel driver in use: piix4_smbus
        Kernel modules: i2c_piix4, sp5100_tco

00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
        Subsystem: Gigabyte Technology Co., Ltd Device 5001
        Flags: bus master, 66MHz, medium devsel, latency 0, IOMMU group 10

00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 0
        Flags: fast devsel, IOMMU group 11

00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 1
        Flags: fast devsel, IOMMU group 11

00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 2
        Flags: fast devsel, IOMMU group 11

00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 3
        Flags: fast devsel, IOMMU group 11
        Kernel driver in use: k10temp
        Kernel modules: k10temp

00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 4
        Flags: fast devsel, IOMMU group 11

00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 5
        Flags: fast devsel, IOMMU group 11

00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 6
        Flags: fast devsel, IOMMU group 11

00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 7
        Flags: fast devsel, IOMMU group 11

01:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset USB 3.1 xHCI Controller (rev 02) (prog-if 30 [XHCI])
        Subsystem: ASMedia Technology Inc. Device 1142
        Flags: bus master, fast devsel, latency 0, IRQ 43, IOMMU group 12
        Memory at f76a0000 (64-bit, non-prefetchable) [size=32K]
        Capabilities: <access denied>
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci

01:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset SATA Controller (rev 02) (prog-if 01 [AHCI 1.0])
        Subsystem: ASMedia Technology Inc. Device 1062
        Flags: bus master, fast devsel, latency 0, IRQ 37, IOMMU group 12
        Memory at f7680000 (32-bit, non-prefetchable) [size=128K]
        Expansion ROM at f7600000 [disabled] [size=512K]
        Capabilities: <access denied>
        Kernel driver in use: ahci

01:00.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 43b2 (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 32, IOMMU group 12
        Bus: primary=01, secondary=02, subordinate=05, sec-latency=0
        I/O behind bridge: 0000f000-0000ffff [size=4K]
        Memory behind bridge: f7500000-f75fffff [size=1M]
        Prefetchable memory behind bridge: 00000000f2200000-00000000f22fffff [size=1M]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 33, IOMMU group 12
        Bus: primary=02, secondary=03, subordinate=03, sec-latency=0
        I/O behind bridge: 0000f000-0000ffff [size=4K]
        Memory behind bridge: f7500000-f75fffff [size=1M]
        Prefetchable memory behind bridge: 00000000f2200000-00000000f22fffff [size=1M]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

02:01.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 35, IOMMU group 12
        Bus: primary=02, secondary=04, subordinate=04, sec-latency=0
        I/O behind bridge: [disabled]
        Memory behind bridge: [disabled]
        Prefetchable memory behind bridge: [disabled]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

02:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 300 Series Chipset PCIe Port (rev 02) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 36, IOMMU group 12
        Bus: primary=02, secondary=05, subordinate=05, sec-latency=0
        I/O behind bridge: [disabled]
        Memory behind bridge: [disabled]
        Prefetchable memory behind bridge: [disabled]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
        DeviceName: Broadcom 5762
        Subsystem: Gigabyte Technology Co., Ltd Onboard Ethernet
        Flags: bus master, fast devsel, latency 0, IRQ 29, IOMMU group 12
        I/O ports at f000 [size=256]
        Memory at f7500000 (64-bit, non-prefetchable) [size=4K]
        Memory at f2200000 (64-bit, prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: r8169
        Kernel modules: r8169

06:00.0 VGA compatible controller: NVIDIA Corporation TU116 [GeForce GTX 1660] (rev a1) (prog-if 00 [VGA controller])
        Subsystem: NVIDIA Corporation TU116 [GeForce GTX 1660]
        Flags: bus master, fast devsel, latency 0, IRQ 55, IOMMU group 13
        Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
        Memory at e0000000 (64-bit, prefetchable) [size=256M]
        Memory at f0000000 (64-bit, prefetchable) [size=32M]
        I/O ports at e000 [size=128]
        Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: nvidia
        Kernel modules: nouveau, nvidia_drm, nvidia

06:00.1 Audio device: NVIDIA Corporation TU116 High Definition Audio Controller (rev a1)
        Subsystem: NVIDIA Corporation Device 2184
        Flags: bus master, fast devsel, latency 0, IRQ 50, IOMMU group 13
        Memory at f7080000 (32-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

06:00.2 USB controller: NVIDIA Corporation TU116 USB 3.1 Host Controller (rev a1) (prog-if 30 [XHCI])
        Subsystem: NVIDIA Corporation Device 2184
        Flags: fast devsel, IRQ 45, IOMMU group 13
        Memory at f2000000 (64-bit, prefetchable) [size=256K]
        Memory at f2040000 (64-bit, prefetchable) [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci

06:00.3 Serial bus controller [0c80]: NVIDIA Corporation TU116 USB Type-C UCSI Controller (rev a1)
        Subsystem: NVIDIA Corporation Device 2184
        Flags: bus master, fast devsel, latency 0, IRQ 49, IOMMU group 13
        Memory at f7084000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: nvidia-gpu
        Kernel modules: i2c_nvidia_gpu

07:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Raven/Raven2 PCIe Dummy Function
        Subsystem: Advanced Micro Devices, Inc. [AMD] Zeppelin/Raven/Raven2 PCIe Dummy Function
        Flags: fast devsel, IOMMU group 14
        Capabilities: <access denied>

07:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Platform Security Processor
        Subsystem: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Platform Security Processor
        Flags: bus master, fast devsel, latency 0, IRQ 40, IOMMU group 15
        Memory at f7300000 (32-bit, non-prefetchable) [size=1M]
        Memory at f7400000 (32-bit, non-prefetchable) [size=8K]
        Capabilities: <access denied>
        Kernel driver in use: ccp
        Kernel modules: ccp

07:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) USB 3.0 Host Controller (prog-if 30 [XHCI])
        Subsystem: Gigabyte Technology Co., Ltd Device 5007
        Flags: bus master, fast devsel, latency 0, IRQ 47, IOMMU group 16
        Memory at f7200000 (64-bit, non-prefetchable) [size=1M]
        Capabilities: <access denied>
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci

08:00.0 Non-Essential Instrumentation [1300]: Advanced Micro Devices, Inc. [AMD] Zeppelin/Renoir PCIe Dummy Function
        Subsystem: Advanced Micro Devices, Inc. [AMD] Zeppelin/Renoir PCIe Dummy Function
        Flags: fast devsel, IOMMU group 17
        Capabilities: <access denied>

08:00.2 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 51) (prog-if 01 [AHCI 1.0])
        Subsystem: Gigabyte Technology Co., Ltd Device b002
        Flags: bus master, fast devsel, latency 0, IRQ 39, IOMMU group 18
        Memory at f7708000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: ahci

08:00.3 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) HD Audio Controller
        Subsystem: Gigabyte Technology Co., Ltd Device a182
        Flags: bus master, fast devsel, latency 0, IRQ 52, IOMMU group 19
        Memory at f7700000 (32-bit, non-prefetchable) [size=32K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

Code: [Select]
lModule                  Size  Used by
udp_diag               16384  0
tcp_diag               16384  0
inet_diag              24576  2 tcp_diag,udp_diag
exfat                  86016  1
bnep                   28672  2
bluetooth             741376  7 bnep
ecdh_generic           16384  1 bluetooth
ecc                    36864  1 ecdh_generic
crc16                  16384  1 bluetooth
rfkill                 28672  2 bluetooth
nvidia_drm             61440  3
nvidia_modeset       1220608  6 nvidia_drm
nvidia              28286976  299 nvidia_modeset
nls_iso8859_1          16384  1
nls_cp437              20480  1
vfat                   24576  1
fat                    86016  1 vfat
ppdev                  24576  0
ucsi_ccg               24576  0
typec_ucsi             36864  1 ucsi_ccg
wmi_bmof               16384  0
typec                  53248  1 typec_ucsi
drm_kms_helper        266240  1 nvidia_drm
snd_hda_codec_realtek   143360  1
snd_hda_codec_generic    98304  1 snd_hda_codec_realtek
edac_mce_amd           32768  0
cec                    73728  1 drm_kms_helper
snd_hda_codec_hdmi     73728  1
ledtrig_audio          16384  1 snd_hda_codec_generic
rc_core                61440  1 cec
snd_hda_intel          57344  6
snd_intel_dspcfg       24576  1 snd_hda_intel
snd_hda_codec         167936  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
kvm                   851968  0
drm                   585728  6 drm_kms_helper,nvidia_drm
r8169                  98304  0
snd_hda_core          106496  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
realtek                24576  1
mdio_devres            16384  1 r8169
snd_hwdep              16384  1 snd_hda_codec
of_mdio                24576  1 mdio_devres
snd_pcm               147456  5 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
irqbypass              16384  1 kvm
fixed_phy              16384  1 of_mdio
sp5100_tco             20480  0
parport_pc             53248  0
joydev                 28672  0
mousedev               24576  0
input_leds             16384  0
rapl                   16384  0
pcspkr                 16384  0
k10temp                16384  0
libphy                151552  5 r8169,mdio_devres,of_mdio,realtek,fixed_phy
i2c_piix4              28672  0
crypto_user            16384  0
parport                69632  2 parport_pc,ppdev
snd_timer              45056  2 snd_pcm
agpgart                53248  1 drm
syscopyarea            16384  1 drm_kms_helper
snd                   114688  18 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
fb_sys_fops            16384  1 drm_kms_helper
gpio_amdpt             20480  0
pinctrl_amd            32768  0
wmi                    36864  1 wmi_bmof
i2c_nvidia_gpu         16384  0
soundcore              16384  1 snd
evdev                  28672  11
mac_hid                16384  0
acpi_cpufreq           28672  0
hid_generic            16384  0
usbhid                 65536  0
hid                   147456  2 usbhid,hid_generic
uas                    32768  1
usb_storage            81920  1 uas
dm_crypt               57344  1
cbc                    16384  0
encrypted_keys         24576  1 dm_crypt
dm_mod                163840  3 dm_crypt
trusted                32768  1 encrypted_keys
tpm                    77824  1 trusted
crct10dif_pclmul       16384  1
crc32_pclmul           16384  0
ghash_clmulni_intel    16384  0
aesni_intel           372736  2
crypto_simd            16384  1 aesni_intel
cryptd                 24576  3 crypto_simd,ghash_clmulni_intel
glue_helper            16384  1 aesni_intel
xhci_pci               20480  0
xhci_pci_renesas       20480  1 xhci_pci
ccp                   118784  0
xhci_hcd              286720  1 xhci_pci
rng_core               16384  2 ccp,tpm
btrfs                1527808  1
blake2b_generic        20480  0
libcrc32c              16384  1 btrfs
crc32c_generic         16384  0
crc32c_intel           24576  2
xor                    24576  1 btrfs
raid6_pq              122880  1 btrfs

Code: [Select]
cat /var/log/Xorg.0.log
[    16.220]
X.Org X Server 1.20.9
X Protocol Version 11, Revision 0
[    16.220] Build Operating System: Linux Artix Linux
[    16.220] Current Operating System: Linux artix 5.9.10-artix1-1 #1 SMP PREEMPT Sun, 22 Nov 2020 17:02:30 +0000 x86_64
[    16.220] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=UUID=c3d37a3b-3792-4884-9659-964f4c7801e1 rw rootflags=subvol=@ cryptdevice=/dev/sda2:cryptroot loglevel=3 quiet
[    16.220] Build Date: 19 November 2020  10:06:01AM
[    16.220] 
[    16.220] Current version of pixman: 0.40.0
[    16.220]    Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
[    16.220] Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    16.220] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Nov 30 23:32:54 2020
[    16.222] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    16.223] (==) No Layout section.  Using the first Screen section.
[    16.223] (==) No screen section available. Using defaults.
[    16.223] (**) |-->Screen "Default Screen Section" (0)
[    16.223] (**) |   |-->Monitor "<default monitor>"
[    16.223] (==) No monitor specified for screen "Default Screen Section".
        Using a default monitor configuration.
[    16.223] (==) Automatically adding devices
[    16.223] (==) Automatically enabling devices
[    16.223] (==) Automatically adding GPU devices
[    16.223] (==) Automatically binding GPU devices
[    16.223] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    16.224] (WW) The directory "/usr/share/fonts/misc" does not exist.
[    16.224]    Entry deleted from font path.
[    16.225] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    16.225]    Entry deleted from font path.
[    16.225] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    16.225]    Entry deleted from font path.
[    16.226] (==) FontPath set to:
        /usr/share/fonts/TTF,
        /usr/share/fonts/100dpi,
        /usr/share/fonts/75dpi
[    16.226] (==) ModulePath set to "/usr/lib/xorg/modules"
[    16.226] (II) The server relies on udev to provide the list of input devices.
        If no devices become available, reconfigure udev or disable AutoAddDevices.
[    16.226] (II) Module ABI versions:
[    16.226]    X.Org ANSI C Emulation: 0.4
[    16.226]    X.Org Video Driver: 24.1
[    16.226]    X.Org XInput driver : 24.1
[    16.227]    X.Org Server Extension : 10.0
[    16.227] (++) using VT number 7

[    16.227] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    16.227] (II) xfree86: Adding drm device (/dev/dri/card0)
[    16.230] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[    16.232] (--) PCI:*(6@0:0:0) 10de:2184:10de:2184 rev 161, Mem @ 0xf6000000/16777216, 0xe0000000/268435456, 0xf0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[    16.232] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    16.232] (II) LoadModule: "glx"
[    16.233] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    16.253] (II) Module glx: vendor="X.Org Foundation"
[    16.253]    compiled for 1.20.9, module version = 1.0.0
[    16.253]    ABI class: X.Org Server Extension, version 10.0
[    16.253] (II) Applying OutputClass "nvidia" to /dev/dri/card0
[    16.253]    loading driver: nvidia
[    16.253] (==) Matched nvidia as autoconfigured driver 0
[    16.253] (==) Matched nouveau as autoconfigured driver 1
[    16.253] (==) Matched nv as autoconfigured driver 2
[    16.253] (==) Matched modesetting as autoconfigured driver 3
[    16.253] (==) Matched fbdev as autoconfigured driver 4
[    16.253] (==) Matched vesa as autoconfigured driver 5
[    16.253] (==) Assigned the driver to the xf86ConfigLayout
[    16.253] (II) LoadModule: "nvidia"
[    16.254] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    16.277] (II) Module nvidia: vendor="NVIDIA Corporation"
[    16.277]    compiled for 1.6.99.901, module version = 1.0.0
[    16.277]    Module class: X.Org Video Driver
[    16.277] (II) LoadModule: "nouveau"
[    16.277] (WW) Warning, couldn't open module nouveau
[    16.277] (EE) Failed to load module "nouveau" (module does not exist, 0)
[    16.277] (II) LoadModule: "nv"
[    16.278] (WW) Warning, couldn't open module nv
[    16.278] (EE) Failed to load module "nv" (module does not exist, 0)
[    16.278] (II) LoadModule: "modesetting"
[    16.278] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    16.288] (II) Module modesetting: vendor="X.Org Foundation"
[    16.288]    compiled for 1.20.9, module version = 1.20.9
[    16.288]    Module class: X.Org Video Driver
[    16.288]    ABI class: X.Org Video Driver, version 24.1
[    16.288] (II) LoadModule: "fbdev"
[    16.288] (WW) Warning, couldn't open module fbdev
[    16.288] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    16.288] (II) LoadModule: "vesa"
[    16.288] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[    16.289] (II) Module vesa: vendor="X.Org Foundation"
[    16.289]    compiled for 1.20.9, module version = 2.5.0
[    16.289]    Module class: X.Org Video Driver
[    16.289]    ABI class: X.Org Video Driver, version 24.1
[    16.289] (II) NVIDIA dlloader X Driver  455.45.01  Thu Nov  5 23:01:05 UTC 2020
[    16.289] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    16.289] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    16.289] (II) VESA: driver for VESA chipsets: vesa
[    16.292] (II) Loading sub module "fb"
[    16.292] (II) LoadModule: "fb"
[    16.292] (II) Loading /usr/lib/xorg/modules/libfb.so
[    16.294] (II) Module fb: vendor="X.Org Foundation"
[    16.294]    compiled for 1.20.9, module version = 1.0.0
[    16.294]    ABI class: X.Org ANSI C Emulation, version 0.4
[    16.294] (II) Loading sub module "wfb"
[    16.294] (II) LoadModule: "wfb"
[    16.294] (II) Loading /usr/lib/xorg/modules/libwfb.so
[    16.295] (II) Module wfb: vendor="X.Org Foundation"
[    16.296]    compiled for 1.20.9, module version = 1.0.0
[    16.296]    ABI class: X.Org ANSI C Emulation, version 0.4
[    16.296] (II) Loading sub module "ramdac"
[    16.296] (II) LoadModule: "ramdac"
[    16.296] (II) Module "ramdac" already built-in
[    16.296] (WW) Falling back to old probe method for modesetting
[    16.296] (II) NVIDIA(0): Creating default Display subsection in Screen section
        "Default Screen Section" for depth/fbbpp 24/32
[    16.296] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[    16.296] (==) NVIDIA(0): RGB weight 888
[    16.296] (==) NVIDIA(0): Default visual is TrueColor
[    16.296] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[    16.297] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[    16.297] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[    16.297] (**) NVIDIA(0): Enabling 2D acceleration
[    16.297] (II) Loading sub module "glxserver_nvidia"
[    16.297] (II) LoadModule: "glxserver_nvidia"
[    16.297] (II) Loading /usr/lib/nvidia/xorg/libglxserver_nvidia.so
[    16.539] (II) Module gl

Re: Random freezes/hard crashes

Reply #3
I noticed the same problem on my computer today. After waking up the computer. Dmesg shows some problems with the AMD driver. In my opinion, the kernel  5.9.10. does it. The 5.9.12 kernel should be released in the coming days, maybe it will help.

Re: Random freezes/hard crashes

Reply #4
in my case seems fixed now by linux-zen 5.9.11.zen2-1

Re: Random freezes/hard crashes

Reply #5
Hey, is it ok now? I'm expecting a kernel update. For me, it happens much more often, about once every 15 mins. At first, I felt stupid for not installing amd-gpu but that didn't help. And what is the linux-zen kernel? Is it the regular linux kernel that Artix OpenRC provides? Because if there's no solution to this, I might as well install the linux-lts kernel tomorrow.

 

Re: Random freezes/hard crashes

Reply #6
Unfortunately it's not fixed. Just happened again even after the kernel update. I'm also thinking of installing linux-lts.

Code: [Select]
uname -srm
Linux 5.9.10-artix1-1 x86_64

Re: Random freezes/hard crashes

Reply #7
Hey, is it ok now? I'm expecting a kernel update. For me, it happens much more often, about once every 15 mins. At first, I felt stupid for not installing amd-gpu but that didn't help. And what is the linux-zen kernel? Is it the regular linux kernel that Artix OpenRC provides? Because if there's no solution to this, I might as well install the linux-lts kernel tomorrow.
kernel 5.9.12 is in our testing. Linux-zen is provide by artixlinux too. Do upgrade your kernel! (you not wrote which version you have ;-))

Re: Random freezes/hard crashes

Reply #8
Unfortunately it's not fixed. Just happened again even after the kernel update. I'm also thinking of installing linux-lts.

Code: [Select]
uname -srm
Linux 5.9.10-artix1-1 x86_64
yes, 5.9.10 is not ok for me, install linux-zen-5.9.11 or linux-5.9.12 from testing

i use
Code: [Select]
5.9.12-zen1-1-zen

Re: Random freezes/hard crashes

Reply #9
Sorry alium, I missed that you used the zen kernel! I'm on linux-zen-5.9.12 as well now. Hopefully no more crashes as you said :)

Re: Random freezes/hard crashes

Reply #10
Hey. I tried the zen kernel and it kept happening. So I reinstalled with the lts kernel and its still happening. I guess I missed an important step during the installation both times. Its kernel panic as it prints out.

Here's my dmesg output. I'm not so good at understanding this but here are the errors (what i could see in red):

Code: [Select]
[  23.576615] brcmsmac bcma0:1: brcms_ops_bss_info_changed: qos enabled: false (implement)
[   23.576629] brcmsmac bcma0:1: brcms_ops_config: change power-save mode: false (implement)
[   23.982560] wlp4s0b1: authenticate with 78:32:1b:66:1b:ad
[   23.986224] wlp4s0b1: send auth to 78:32:1b:66:1b:ad (try 1/3)
[   23.992069] wlp4s0b1: authenticated
[   23.999813] wlp4s0b1: associate with 78:32:1b:66:1b:ad (try 1/3)
[   24.004107] wlp4s0b1: RX AssocResp from 78:32:1b:66:1b:ad (capab=0x411 status=0 aid=7)
[   24.004659] brcmsmac bcma0:1: brcmsmac: brcms_ops_bss_info_changed: associated
[   24.004664] brcmsmac bcma0:1: brcms_ops_bss_info_changed: qos enabled: true (implement)

Code: [Select]
[   15.511517] Support for cores revisions 0x17 and 0x18 disabled by module param
allhwsupport=0. Try b43.allhwsupport=1

Code: [Select]
[   15.151909] kvm: disabled by bios


Re: Random freezes/hard crashes

Reply #12
Sorry about that!

Code: [Select]
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
        Subsystem: Hewlett-Packard Company Device 1670
        Flags: bus master, fast devsel, latency 0
        Capabilities: <access denied>

00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 24
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
        I/O behind bridge: 00004000-00004fff [size=4K]
        Memory behind bridge: c2600000-c35fffff [size=16M]
        Prefetchable memory behind bridge: 00000000a0000000-00000000afffffff [size=256M]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:01.1 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 25
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        I/O behind bridge: [disabled]
        Memory behind bridge: [disabled]
        Prefetchable memory behind bridge: [disabled]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:01.2 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 26
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
        I/O behind bridge: [disabled]
        Memory behind bridge: [disabled]
        Prefetchable memory behind bridge: [disabled]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09) (prog-if 00 [VGA controller])
        Subsystem: Hewlett-Packard Company Device 1670
        Flags: bus master, fast devsel, latency 0, IRQ 34
        Memory at c0000000 (64-bit, non-prefetchable) [size=4M]
        Memory at b0000000 (64-bit, prefetchable) [size=256M]
        I/O ports at 5000 [size=64]
        Expansion ROM at 000c0000 [virtual] [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: i915
        Kernel modules: i915

00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
        Subsystem: Hewlett-Packard Company Device 1670
        Flags: bus master, fast devsel, latency 0, IRQ 32
        Memory at c3604000 (64-bit, non-prefetchable) [size=16]
        Capabilities: <access denied>
        Kernel driver in use: mei_me
        Kernel modules: mei_me

00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05) (prog-if 20 [EHCI])
        Subsystem: Hewlett-Packard Company Device 1670
        Flags: bus master, medium devsel, latency 0, IRQ 16
        Memory at c3609000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: <access denied>
        Kernel driver in use: ehci-pci
        Kernel modules: ehci_pci

00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
        Subsystem: Hewlett-Packard Company Device 1670
        Flags: bus master, fast devsel, latency 0, IRQ 36
        Memory at c3600000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 27
        Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
        I/O behind bridge: [disabled]
        Memory behind bridge: c2500000-c25fffff [size=1M]
        Prefetchable memory behind bridge: [disabled]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 2 (rev b5) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 28
        Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
        I/O behind bridge: 00003000-00003fff [size=4K]
        Memory behind bridge: [disabled]
        Prefetchable memory behind bridge: 00000000c0400000-00000000c04fffff [size=1M]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b5) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0, IRQ 29
        Bus: primary=00, secondary=06, subordinate=06, sec-latency=0
        I/O behind bridge: 00002000-00002fff [size=4K]
        Memory behind bridge: c1500000-c24fffff [size=16M]
        Prefetchable memory behind bridge: 00000000c0500000-00000000c14fffff [size=16M]
        Capabilities: <access denied>
        Kernel driver in use: pcieport

00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05) (prog-if 20 [EHCI])
        Subsystem: Hewlett-Packard Company Device 1670
        Flags: bus master, medium devsel, latency 0, IRQ 21
        Memory at c3608000 (32-bit, non-prefetchable) [size=1K]
        Capabilities: <access denied>
        Kernel driver in use: ehci-pci
        Kernel modules: ehci_pci

00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset LPC Controller (rev 05)
        Subsystem: Hewlett-Packard Company Device 1670
        Flags: bus master, medium devsel, latency 0
        Capabilities: <access denied>
        Kernel driver in use: lpc_ich
        Kernel modules: lpc_ich

00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port Mobile SATA AHCI Controller (rev 05) (prog-if 01 [AHCI 1.0])
        Subsystem: Hewlett-Packard Company Device 1670
        Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 31
        I/O ports at 5088 [size=8]
        I/O ports at 5094 [size=4]
        I/O ports at 5080 [size=8]
        I/O ports at 5090 [size=4]
        I/O ports at 5060 [size=32]
        Memory at c3607000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: <access denied>
        Kernel driver in use: ahci
        Kernel modules: ahci

00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
        Subsystem: Hewlett-Packard Company Device 1670
        Flags: medium devsel, IRQ 19
        Memory at c3605000 (64-bit, non-prefetchable) [size=256]
        I/O ports at 5040 [size=32]
        Kernel driver in use: i801_smbus
        Kernel modules: i2c_i801

01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Seymour [Radeon HD 6400M/7400M Series] (prog-if 00 [VGA controller])
        DeviceName: ATI SEYMOUR XT
        Subsystem: Hewlett-Packard Company Radeon HD 6470M
        Flags: bus master, fast devsel, latency 0, IRQ 35
        Memory at a0000000 (64-bit, prefetchable) [size=256M]
        Memory at c2600000 (64-bit, non-prefetchable) [size=128K]
        I/O ports at 4000 [size=256]
        Expansion ROM at c2620000 [disabled] [size=128K]
        Capabilities: <access denied>
        Kernel driver in use: radeon
        Kernel modules: radeon

04:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4313 802.11bgn Wireless Network Adapter (rev 01)
        Subsystem: Hewlett-Packard Company Device 1795
        Flags: bus master, fast devsel, latency 0, IRQ 16
        Memory at c2500000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: bcma-pci-bridge
        Kernel modules: bcma

05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL810xE PCI Express Fast Ethernet controller (rev 05)
        DeviceName: Realtek Gbe Lan Connection
        Subsystem: Hewlett-Packard Company Device 1670
        Flags: bus master, fast devsel, latency 0, IRQ 17
        I/O ports at 3000 [size=256]
        Memory at c0404000 (64-bit, prefetchable) [size=4K]
        Memory at c0400000 (64-bit, prefetchable) [size=16K]
        Capabilities: <access denied>
        Kernel driver in use: r8169
        Kernel modules: r8169

06:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5209 PCI Express Card Reader (rev 01)
        Subsystem: Hewlett-Packard Company Device 1670
        Flags: bus master, fast devsel, latency 0, IRQ 30
        Memory at c1500000 (32-bit, non-prefetchable) [size=4K]
        Capabilities: <access denied>
        Kernel driver in use: rtsx_pci
        Kernel modules: rtsx_pci

Code: [Select]
Module                  Size  Used by
ccm                    20480  3
fuse                  139264  2
snd_hda_codec_hdmi     73728  1
snd_hda_codec_idt      65536  1
snd_hda_codec_generic    94208  1 snd_hda_codec_idt
ledtrig_audio          16384  1 snd_hda_codec_generic
brcmsmac              622592  0
intel_rapl_msr         20480  0
brcmutil               20480  1 brcmsmac
intel_rapl_common      28672  1 intel_rapl_msr
b43                   458752  0
x86_pkg_temp_thermal    20480  0
intel_powerclamp       20480  0
cordic                 16384  2 b43,brcmsmac
mac80211              974848  2 b43,brcmsmac
coretemp               20480  0
cfg80211              843776  3 b43,mac80211,brcmsmac
kvm                   794624  0
ssb                    98304  1 b43
irqbypass              16384  1 kvm
pcmcia                 77824  1 ssb
pcmcia_core            32768  1 pcmcia
libarc4                16384  1 mac80211
rng_core               16384  1 b43
crct10dif_pclmul       16384  1
i915                 2392064  13
radeon               1662976  2
hp_wmi                 20480  0
joydev                 28672  0
crc32_pclmul           16384  0
mousedev               24576  0
sparse_keymap          16384  1 hp_wmi
ghash_clmulni_intel    16384  0
uvcvideo              114688  0
videobuf2_vmalloc      20480  1 uvcvideo
videobuf2_memops       20480  1 videobuf2_vmalloc
videobuf2_v4l2         28672  1 uvcvideo
rfkill                 28672  4 hp_wmi,cfg80211
aesni_intel           372736  2
videobuf2_common       57344  2 videobuf2_v4l2,uvcvideo
ttm                   118784  1 radeon
i2c_algo_bit           16384  2 radeon,i915
videodev              249856  3 videobuf2_v4l2,uvcvideo,videobuf2_common
mei_hdcp               24576  0
drm_kms_helper        221184  2 radeon,i915
crypto_simd            16384  1 aesni_intel
wmi_bmof               16384  0
drm                   520192  11 drm_kms_helper,radeon,i915,ttm
cryptd                 24576  2 crypto_simd,ghash_clmulni_intel
snd_hda_intel          53248  0
glue_helper            16384  1 aesni_intel
snd_intel_nhlt         20480  1 snd_hda_intel
iTCO_wdt               16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
rapl                   16384  0
snd_hda_codec         159744  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_idt
snd_hda_core          102400  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_idt
intel_cstate           16384  0
snd_hwdep              16384  1 snd_hda_codec
r8169                 102400  0
intel_gtt              24576  1 i915
intel_uncore          147456  0
psmouse               184320  0
mc                     61440  4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
snd_pcm               143360  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
rtsx_pci_ms            24576  0
agpgart                53248  3 intel_gtt,ttm,drm
pcspkr                 16384  0
realtek                24576  1
input_leds             16384  0
memstick               20480  1 rtsx_pci_ms
snd_timer              40960  1 snd_pcm
syscopyarea            16384  1 drm_kms_helper
libphy                102400  2 r8169,realtek
snd                   110592  8 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm,snd_hda_codec_idt
sysfillrect            16384  1 drm_kms_helper
bcma                   65536  3 b43,brcmsmac
sysimgblt              16384  1 drm_kms_helper
soundcore              16384  1 snd
wmi                    36864  2 hp_wmi,wmi_bmof
fb_sys_fops            16384  1 drm_kms_helper
battery                20480  0
mei_me                 45056  1
evdev                  28672  13
mei                   118784  3 mei_hdcp,mei_me
ac                     16384  0
mac_hid                16384  0
i2c_i801               36864  0
lpc_ich                28672  0
ext4                  778240  2
crc32c_generic         16384  0
crc16                  16384  1 ext4
mbcache                16384  1 ext4
jbd2                  131072  1 ext4
sr_mod                 28672  0
cdrom                  77824  1 sr_mod
sd_mod                 61440  4
rtsx_pci_sdmmc         32768  0
mmc_core              184320  3 rtsx_pci_sdmmc,b43,ssb
serio_raw              20480  0
ahci                   40960  3
atkbd                  36864  0
libahci                40960  1 ahci
libps2                 20480  2 atkbd,psmouse
libata                278528  2 libahci,ahci
crc32c_intel           24576  4
scsi_mod              253952  3 sd_mod,libata,sr_mod
ehci_pci               20480  0
ehci_hcd               98304  1 ehci_pci
rtsx_pci               86016  2 rtsx_pci_sdmmc,rtsx_pci_ms
i8042                  32768  0
serio                  28672  6 serio_raw,atkbd,psmouse,i8042

Code: [Select]
Bus 002 Device 003: ID 04f2:b249 Chicony Electronics Co., Ltd HP Webcam-101
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

And the dmesg is already in the previous reply :)

Re: Random freezes/hard crashes

Reply #13
please put here full dmesg output

Re: Random freezes/hard crashes

Reply #14
The forum doesn't allow me to paste the full output (>40000 chars). But now it seems fixed. It doesn't crash anymore.