Random freeze and missing sound after reboot

Hello Manjaro community!
I have random freezes mostly during gaming, sometimes sound would continue but system won’t recognize any input via mouse/keyboard. Also there were situations where sound wouldn’t work after boot, all my audio devices would be recognized, unplugging wouldn’t solve the issue, just another reboot.
Here’s info about my device:

inxi -Fxzcc0

System:    Kernel: 5.4.64-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 Desktop: KDE Plasma 5.19.5 Distro: Manjaro Linux 
Machine:   Type: Desktop Mobo: ASUSTeK model: PRIME A320M-K v: Rev X.0x serial: <filter> UEFI: American Megatrends v: 4029 
           date: 11/30/2018 
CPU:       Topology: Quad Core model: AMD Ryzen 3 1200 bits: 64 type: MCP arch: Zen rev: 1 L2 cache: 2048 KiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 24761 
           Speed: 1375 MHz min/max: 1550/3100 MHz Core speeds (MHz): 1: 1358 2: 2112 3: 1470 4: 2933 
Graphics:  Device-1: NVIDIA GP107 [GeForce GTX 1050] vendor: ASUSTeK driver: nvidia v: 440.100 bus ID: 07:00.0 
           Display: x11 server: X.Org 1.20.8 driver: nvidia resolution: 1: 1680x1050~60Hz 2: 1280x1024~60Hz 
           OpenGL: renderer: GeForce GTX 1050/PCIe/SSE2 v: 4.6.0 NVIDIA 440.100 direct render: Yes 
Audio:     Device-1: NVIDIA GP107GL High Definition Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel bus ID: 07:00.1 
           Device-2: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel 
           bus ID: 09:00.3 
           Device-3: JMTek LLC. USB PnP Audio Device type: USB driver: hid-generic,snd-usb-audio,usbhid bus ID: 3-3:3 
           Sound Server: ALSA v: k5.4.64-1-MANJARO 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: ASUSTeK driver: r8169 v: kernel port: f000 
           bus ID: 05:00.0 
           IF: enp5s0 state: up speed: 100 Mbps duplex: full mac: <filter> 
Drives:    Local Storage: total: 1.36 TiB used: 125.87 GiB (9.0%) 
           ID-1: /dev/sda vendor: Crucial model: CT500MX500SSD1 size: 465.76 GiB 
           ID-2: /dev/sdb vendor: Seagate model: ST1000DM010-2EP102 size: 931.51 GiB 
Partition: ID-1: / size: 457.16 GiB used: 125.87 GiB (27.5%) fs: ext4 dev: /dev/sda2 
Swap:      Alert: No Swap data was found. 
Sensors:   System Temperatures: cpu: 41.9 C mobo: N/A gpu: nvidia temp: 46 C 
           Fan Speeds (RPM): N/A gpu: nvidia fan: 30% 
Info:      Processes: 216 Uptime: 4h 36m Memory: 7.77 GiB used: 2.90 GiB (37.3%) Init: systemd Compilers: gcc: 10.2.0 
           Packages: 1310 Shell: Bash v: 5.0.18 inxi: 3.1.05 

I can’t recreate issue, so if you can provide me command to list logs before last shutdown so i can give more info about what was happening right before the freeze and deliver that info here.

can you check

sudo journalctl -p 3 -xb
sudo journalctl -b0 | grep fsck

sudo journalctl -p 3 -xb

– Logs begin at Sun 2020-05-31 19:52:45 CEST, end at Wed 2020-09-23 16:41:23 CEST. –
Sep 23 11:34:17 darko-pc kernel: sp5100-tco sp5100-tco: Watchdog hardware is disabled
Sep 23 11:34:24 darko-pc systemd-coredump[1252]: Process 1097 (conky) of user 1000 dumped core.

                                             Stack trace of thread 1097:
                                             #0  0x00007fc415451615 raise (libc.so.6 + 0x3d615)
                                             #1  0x00007fc41543a862 abort (libc.so.6 + 0x26862)
                                             #2  0x00005648f9b62263 _ZL17x11_error_handlerP9_XDisplayP11XErrorEvent (conky + 0x88263)
                                             #3  0x00007fc415d6682b _XError (libX11.so.6 + 0x4382b)
                                             #4  0x00007fc415d635d8 n/a (libX11.so.6 + 0x405d8)
                                             #5  0x00007fc415d63675 n/a (libX11.so.6 + 0x40675)
                                             #6  0x00007fc415d645ed _XReply (libX11.so.6 + 0x415ed)
                                             #7  0x00007fc415d4a92a _XGetWindowAttributes (libX11.so.6 + 0x2792a)
                                             #8  0x00007fc415d4aa9b XGetWindowAttributes (libX11.so.6 + 0x27a9b)
                                             #9  0x00005648f9b620b2 _ZL14find_subwindowmii (conky + 0x880b2)
                                             #10 0x00005648f9b62d36 _ZL19find_desktop_windowPmS_.constprop.0 (conky + 0x88d36)
                                             #11 0x00005648f9b6536d _ZL11init_windowRN3lua5stateEb (conky + 0x8b36d)
                                             #12 0x00005648f9b6799e _ZN4priv18own_window_setting10lua_setterERN3lua5stateEb (conky + 0x8d99e)
                                             #13 0x00005648f9b365b7 _ZN5conky4priv19config_setting_base15process_settingERN3lua5stateEb (conky + 0x>
                                             #14 0x00005648f9b37317 _ZN5conky19set_config_settingsERN3lua5stateE (conky + 0x5d317)
                                             #15 0x00005648f9b010bc _Z14initialisationiPPc (conky + 0x270bc)
                                             #16 0x00005648f9af5c6c main (conky + 0x1bc6c)
                                             #17 0x00007fc41543c152 __libc_start_main (libc.so.6 + 0x28152)
                                             #18 0x00005648f9afaebe _start (conky + 0x20ebe)

░░ Subject: Process 1097 (conky) dumped core
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░ Documentation: man:core(5)

sudo journalctl -b0 | grep fsck

Sep 23 11:34:16 darko-pc systemd[1]: Created slice system-systemd\x2dfsck.slice.
Sep 23 11:34:17 darko-pc systemd-fsck[445]: fsck.fat 4.1 (2017-01-24)
Sep 23 11:34:17 darko-pc systemd-fsck[445]: /dev/sda1: 6 files, 70/76646 clusters
Sep 23 11:34:17 darko-pc audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg=‘unit=systemd-fsck@dev-disk-by\x2duuid-
FE61\x2d2E1A comm=“systemd” exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success’

I forgot to mention, this only happens on sda drive Crucial SSD, on sdb Seagate HDD is WIN10 that i rarely boot into.

have you changed something in conky ?
have you converted scripts

On this install i didn’t. Conky not starting isn’t an issue for me it’s on other monitor that always has something opened on it anyways. Guess I’ll have to wait for freeze to occur again so i can provide information what happend, but looking at log i provided there weren’t any crashes other than conky but i had 2 or 3 freezes since sunday, all happend in Dota 2 with Brave browser running in background.
Could it be hardware problem with SSD? Because i had similar issue with faulty HDD maybe 2 years ago, sorry but i’m quite new with linux, just trying to connect dots here and provide as much information as i can so the issue can be resolved.

Assuming that you haven’t heating problems and bad RAM, you can try for freeze: sudo nvidia-smi -pm 1 and if persist append to /etc/default/grub and at line GRUB_CMDLINE_LINUX_DEFAULT pcie_aspm=off , sudo update-grub, reboot

shows temperatures 39 degrees C at start and it tops at around 47 C when i try to recreate crashing environment. RAM is fine as well.

I ran

nvidia-smi -pm 1

So now I’ll just wait few days to see if crash will come back.