Hang/kernel panic only when gaming

Hello. As stated in the title my laptop hangs or gets a kernel panic only when gaming. Went trough all the possibilities and now im just lost. This error is happening on windows the same as on manjaro. Tested and stressed every component i have for hours at a time. Ran memtest for the ram for 12 passes with 0 errors. SSDs are 96% and 91% healthy. Stress tested the GPU and the CPU with FurMark and mPrime separately and at the same time for hours each, resulting 0 errors (not counting 2 or 3 segfaults of mprime). Highest temperature recorded was 96 degrees C on the CPU. Tested even the network card, no errors. But, after 2-3 minutes of DarkSouls for example, either the system hangs or the kernel panics. Please ask for any logs and ill happily provide them.

PC Specs:
-CPU: AMD Ryzen 7 4800HS
-GPU: NVIDIA RTX 3050M
-RAM: 24GB
-Storage: 2x M2 500GB SSD (Intel and Samsung)

have a look in journal log

sudo journalctl -b0 -p1..3 -xb

or under steam log ( /home/ < user > /.local/steam/)

iul 05 10:23:46 jesser kernel: 
iul 05 10:23:48 jesser gdm-autologin][921]: gkr-pam: couldn't unlock the login keyring.
iul 05 10:23:49 jesser bluetoothd[837]: src/device.c:set_wake_allowed_complete() Set device flags return status: Invalid Parameters
iul 05 10:23:49 jesser bluetoothd[837]: src/device.c:set_wake_allowed_complete() Set device flags return status: Invalid Parameters
iul 05 10:23:50 jesser systemd[930]: Failed to start Application launched by gnome-session-binary.
░░ Subject: A start job for unit UNIT has failed
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░ 
░░ A start job for unit UNIT has finished with a failure.
░░ 
░░ The job identifier is 376 and the job result is failed.

steamlog has nothing in it.

If you are not already - use the latest kernel available - at time of writing Linux 6.15.

sudo mhwd-kernel -i linux615

updated and somehow it made my situation worse, now i mainly get kernel panics instead of hangs, and games barely go over 20fps. i dont think the kernel was the problem since the same problem happens on windows too.

Does not sound good - but since you have tested your hardware

But your test show there may be a hardware issue…

stressed it again after posting the thread (ram, cpu, gpu) for 8 hours and 20 mins, no issues. booted 2 different games after, kernel panicked both times.

Assuming you are multi-booting;

These games… are you sharing them between Manjaro and Linux on a common NTFS formatted partition?

If the answer is yes, consider running ChkDsk on that partition from within Windows to verify the consistency of the NTFS filesystem.

It’s possible a filesystem error is the root cause, especially considering it occurs on each OS, and if both Manjaro and Windows are running the games from that location, this seems more than plausible.

Apart from that possibility, there seems nothing to indicate that Manjaro has anything to do with the issue.

Nonetheless, please provide system information as described (below), as it might allow possible contibutors to be recognised.

Regards.


Welcome to the Manjaro community

As a new or infrequent forum user, please take some time to familiarise yourself with Forum requirements, and the many ways to use the forum to your benefit:


Update Announcements

The Update Announcements contain important information and a Known Issues and Solutions section that should generally be checked before posting a request for support.

System Information

While information from *-fetch type apps might be fine for someone wishing to buy your computer, for Support purposes it’s better to ask your system directly; :eyes:

Output of the inxi command with appropriate parameters will achieve this (naturally, formatted according to forum guidelines) and will generally be more useful for those wishing to help:

inxi --filter --verbosity=8

or the short form:

inxi -zv8

Be prepared to provide output from other commands whenever asked. It’s equally important to provide as much actionable information as possible in your first post, rather than simply indicating there is a problem.

Highly Recommended
Required Reading
Technical Resources

System:
  Kernel: 6.15.3-1-MANJARO arch: x86_64 bits: 64 compiler: gcc v: 15.1.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-6.15-x86_64
    root=UUID=1eb3d3d8-cef5-4e07-ac6d-5f99b3043174 rw rootflags=subvol=@
    quiet splash apparmor=1 security=apparmor udev.log_priority=3
  Desktop: GNOME v: 48.2 tk: GTK v: 3.24.49 wm: gnome-shell
    tools: gsd-screensaver-proxy dm: GDM v: 48.0 Distro: Manjaro
    base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: ROG Strix G513IC_G513IC v: 1.0
    serial: <superuser required>
  Mobo: ASUSTeK model: G513IC v: 1.0 serial: <superuser required>
    uuid: <superuser required> UEFI: American Megatrends LLC. v: G513IC.329
    date: 03/01/2023
Battery:
  ID-1: BAT0 charge: 39.3 Wh (100.0%) condition: 39.3/56.0 Wh (70.2%)
    volts: 16.8 min: 15.9 model: AS3FYBC3KC G513-36 type: Li-ion
    serial: <filter> status: full
Memory:
  System RAM: total: 24 GiB available: 22.89 GiB used: 3.33 GiB (14.5%)
  Message: For most reliable report, use superuser + dmidecode.
  Array-1: capacity: 32 GiB slots: 2 modules: 2 EC: None
    max-module-size: 16 GiB note: est.
  Device-1: Channel-A DIMM 0 type: DDR4 detail: synchronous unbuffered
    (unregistered) size: 16 GiB speed: 3200 MT/s volts: note: check curr: 1
    min: 1 max: 1 width (bits): data: 64 total: 64 manufacturer: TeamGroup
    part-no: TIMETEC-SD4-3200 serial: N/A
  Device-2: Channel-B DIMM 0 type: DDR4 detail: synchronous unbuffered
    (unregistered) size: 8 GiB speed: 3200 MT/s volts: note: check curr: 1
    min: 1 max: 1 width (bits): data: 64 total: 64
    manufacturer: Micron Technology part-no: 4ATF1G64HZ-3G2E2 serial: <filter>
PCI Slots:
  Permissions: Unable to run dmidecode. Root privileges required.
CPU:
  Info: model: AMD Ryzen 7 4800H with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 2 gen: 2 level: v3 note: check built: 2020-22
    process: TSMC n7 (7nm) family: 0x17 (23) model-id: 0x60 (96) stepping: 1
    microcode: 0x860010D
  Topology: cpus: 1x dies: 1 clusters: 1 cores: 8 threads: 16 tpc: 2
    smt: enabled cache: L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB
    desc: 8x512 KiB L3: 8 MiB desc: 2x4 MiB
  Speed (MHz): avg: 1113 min/max: 405/4301 boost: enabled scaling:
    driver: amd-pstate-epp governor: performance cores: 1: 1113 2: 1113 3: 1113
    4: 1113 5: 1113 6: 1113 7: 1113 8: 1113 9: 1113 10: 1113 11: 1113 12: 1113
    13: 1113 14: 1113 15: 1113 16: 1113 bogomips: 92625
  Flags: 3dnowprefetch abm adx aes aperfmperf apic arat avic avx avx2 bmi1
    bmi2 bpext cat_l3 cdp_l3 clflush clflushopt clwb clzero cmov cmp_legacy
    constant_tsc cpb cppc cpuid cqm cqm_llc cqm_mbm_local cqm_mbm_total
    cqm_occup_llc cr8_legacy cx16 cx8 de decodeassists extapic extd_apicid
    f16c flushbyasid fma fpu fsgsbase fxsr fxsr_opt ht hw_pstate ibpb ibrs
    ibs irperf lahf_lm lbrv lm mba mca mce misalignsse mmx mmxext monitor
    movbe msr mtrr mwaitx nonstop_tsc nopl npt nrip_save nx osvw
    overflow_recov pae pat pausefilter pclmulqdq pdpe1gb perfctr_core
    perfctr_llc perfctr_nb pfthreshold pge pni popcnt pse pse36 rapl rdpid
    rdpru rdrand rdseed rdt_a rdtscp rep_good sep sha_ni skinit smap smca
    smep ssbd sse sse2 sse4_1 sse4_2 sse4a ssse3 stibp succor svm svm_lock
    syscall tce topoext tsc tsc_scale umip v_spec_ctrl v_vmsave_vmload vgif
    vmcb_clean vme vmmcall wbnoinvd wdt xgetbv1 xsave xsavec xsaveerptr
    xsaveopt xtopology
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: ghostwrite status: Not affected
  Type: indirect_target_selection status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: reg_file_data_sampling status: Not affected
  Type: retbleed mitigation: untrained return thunk; SMT enabled with STIBP
    protection
  Type: spec_rstack_overflow mitigation: Safe RET
  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; STIBP:
    always-on; RSB filling; PBRSB-eIBRS: Not affected; BHI: Not affected
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: NVIDIA GA107M [GeForce RTX 3050 Mobile] vendor: ASUSTeK
    driver: nvidia v: 575.64 alternate: nouveau,nova_core,nvidia_drm
    non-free: 550-570.xx+ status: current (as of 2025-04; EOL~2026-12-xx)
    arch: Ampere code: GAxxx process: TSMC n7 (7nm) built: 2020-2023 pcie:
    gen: 1 speed: 2.5 GT/s lanes: 8 link-max: gen: 4 speed: 16 GT/s lanes: 16
    ports: active: none empty: DP-1 bus-ID: 01:00.0 chip-ID: 10de:25a2
    class-ID: 0300
  Device-2: Advanced Micro Devices [AMD/ATI] Renoir [Radeon Vega Series /
    Radeon Mobile Series] vendor: ASUSTeK driver: N/A alternate: amdgpu
    arch: GCN-5 code: Vega process: GF 14nm built: 2017-20 pcie: gen: 3
    speed: 8 GT/s lanes: 16 bus-ID: 06:00.0 chip-ID: 1002:1636 class-ID: 0300
  Display: wayland server: X.Org v: 24.1.8 with: Xwayland v: 24.1.8
    compositor: gnome-shell driver: X: loaded: modesetting,nvidia
    unloaded: nouveau,radeon,vesa alternate: fbdev,nv gpu: nvidia
    display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
    s-diag: 582mm (22.93")
  Monitor-1: Unknown-1 mapped: None-1 res: mode: 1920x1080 hz: 60
    scale: 100% (1) dpi: 96 size: 508x285mm (20x11.22") modes: 1920x1080
  API: EGL v: 1.5 hw: drv: nvidia platforms: device: 0 drv: nvidia device: 2
    drv: swrast gbm: drv: nvidia surfaceless: drv: nvidia wayland: drv: nvidia
    x11: drv: nvidia inactive: device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: nvidia mesa v: 575.64
    glx-v: 1.4 direct-render: yes renderer: NVIDIA GeForce RTX 3050 Laptop
    GPU/PCIe/SSE2 memory: 3.91 GiB
  API: Vulkan v: 1.4.313 layers: 6 device: 0 type: discrete-gpu name: NVIDIA
    GeForce RTX 3050 Laptop GPU driver: nvidia v: 575.64 device-ID: 10de:25a2
    surfaces: N/A
  Info: Tools: api: eglinfo, glxinfo, vulkaninfo
    gpu: nvidia-settings,nvidia-smi x11: xdriinfo, xdpyinfo, xprop, xrandr
Audio:
  Device-1: NVIDIA GA107 High Definition Audio vendor: ASUSTeK
    driver: snd_hda_intel v: kernel alternate: nova_core pcie: gen: 3
    speed: 8 GT/s lanes: 8 link-max: gen: 4 speed: 16 GT/s lanes: 16
    bus-ID: 01:00.1 chip-ID: 10de:2291 class-ID: 0403
  Device-2: Advanced Micro Devices [AMD/ATI] Renoir Radeon High Definition
    Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie: gen: 3
    speed: 8 GT/s lanes: 16 bus-ID: 06:00.1 chip-ID: 1002:1637 class-ID: 0403
  Device-3: Advanced Micro Devices [AMD] Audio Coprocessor vendor: ASUSTeK
    driver: N/A alternate: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x,
    snd_pci_acp6x, snd_acp_pci, snd_rpl_pci_acp6x, snd_pci_ps,
    snd_sof_amd_renoir, snd_sof_amd_rembrandt, snd_sof_amd_vangogh,
    snd_sof_amd_acp63, snd_sof_amd_acp70 pcie: gen: 3 speed: 8 GT/s lanes: 16
    bus-ID: 06:00.5 chip-ID: 1022:15e2 class-ID: 0480
  Device-4: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
    vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s
    lanes: 16 bus-ID: 06:00.6 chip-ID: 1022:15e3 class-ID: 0403
  API: ALSA v: k6.15.3-1-MANJARO status: kernel-api with: aoss
    type: oss-emulator tools: alsactl,alsamixer,amixer
  Server-1: JACK v: 1.9.22 status: off tools: N/A
  Server-2: PipeWire v: 1.4.5 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: ASUSTeK driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: e000 bus-ID: 02:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp2s0 state: down mac: <filter>
  Device-2: MEDIATEK MT7921 802.11ax PCI Express Wireless Network Adapter
    vendor: AzureWave driver: mt7921e v: kernel pcie: gen: 2 speed: 5 GT/s
    lanes: 1 bus-ID: 03:00.0 chip-ID: 14c3:7961 class-ID: 0280
  IF: wlp3s0 state: up mac: <filter>
  IP v4: <filter> type: dynamic noprefixroute scope: global
    broadcast: <filter>
  IP v6: <filter> type: noprefixroute scope: link
  Info: services: NetworkManager, systemd-timesyncd, wpa_supplicant
  WAN IP: <filter>
Bluetooth:
  Device-1: IMC Networks Wireless_Device driver: btusb v: 0.8 type: USB
    rev: 2.1 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-4:3 chip-ID: 13d3:3563
    class-ID: e001 serial: <filter>
  Report: rfkill ID: hci0 rfk-id: 0 state: up address: see --recommends
Logical:
  Message: No logical block device data found.
RAID:
  Message: No RAID data found.
Drives:
  Local Storage: total: 942.7 GiB used: 45.93 GiB (4.9%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Intel model: SSDPEKNU512GZ
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 002C temp: 30.9 C scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:1 vendor: Samsung model: SSD 980 500GB
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 3B4QFXO7 temp: 31.9 C
    scheme: GPT
  Message: No optical or floppy data found.
Partition:
  ID-1: / raw-size: 465.47 GiB size: 465.47 GiB (100.00%)
    used: 45.93 GiB (9.9%) fs: btrfs dev: /dev/nvme1n1p2 maj-min: 259:3
    label: N/A uuid: 1eb3d3d8-cef5-4e07-ac6d-5f99b3043174
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 616 KiB (0.2%) fs: vfat dev: /dev/nvme1n1p1 maj-min: 259:2 label: N/A
    uuid: 2C0A-2020
  ID-3: /home raw-size: 465.47 GiB size: 465.47 GiB (100.00%)
    used: 45.93 GiB (9.9%) fs: btrfs dev: /dev/nvme1n1p2 maj-min: 259:3
    label: N/A uuid: 1eb3d3d8-cef5-4e07-ac6d-5f99b3043174
  ID-4: /var/cache raw-size: 465.47 GiB size: 465.47 GiB (100.00%)
    used: 45.93 GiB (9.9%) fs: btrfs dev: /dev/nvme1n1p2 maj-min: 259:3
    label: N/A uuid: 1eb3d3d8-cef5-4e07-ac6d-5f99b3043174
  ID-5: /var/log raw-size: 465.47 GiB size: 465.47 GiB (100.00%)
    used: 45.93 GiB (9.9%) fs: btrfs dev: /dev/nvme1n1p2 maj-min: 259:3
    label: N/A uuid: 1eb3d3d8-cef5-4e07-ac6d-5f99b3043174
Swap:
  Alert: No swap data was found.
Unmounted:
  Message: No unmounted partitions found.
USB:
  Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 1-3:3 info: ASUSTek N-KEY Device type: keyboard
    driver: asus,usbhid interfaces: 1 rev: 2.0 speed: 12 Mb/s (1.4 MiB/s)
    lanes: 1 mode: 1.1 power: 100mA chip-ID: 0b05:1866 class-ID: 0301
  Hub-2: 2-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0
    speed: 480 Mb/s (57.2 MiB/s) lanes: 1 mode: 2.0 chip-ID: 1d6b:0002
    class-ID: 0900
  Device-1: 3-4:3 info: IMC Networks Wireless_Device type: bluetooth
    driver: btusb interfaces: 3 rev: 2.1 speed: 480 Mb/s (57.2 MiB/s) lanes: 1
    mode: 2.0 power: 100mA chip-ID: 13d3:3563 class-ID: e001 serial: <filter>
  Hub-4: 4-0:1 info: super-speed hub ports: 2 rev: 3.1
    speed: 10 Gb/s (1.16 GiB/s) lanes: 1 mode: 3.2 gen-2x1 chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: 55.5 C mobo: 36.0 C
  Fan Speeds (rpm): cpu: 2200
Repos:
  Packages: 1334 pm: pacman pkgs: 1333 libs: 358 tools: gnome-software,pamac
    pm: flatpak pkgs: 1
  Active pacman repo servers in: /etc/pacman.d/mirrorlist
    1: http://ftp.belnet.be/mirrors/manjaro/repos/stable/$repo/$arch
    2: https://distrohub.kyiv.ua/manjaro/stable/$repo/$arch
    3: https://mirror.dkm.cz/manjaro/stable/$repo/$arch
    4: http://mirror.datacenter.by/pub/mirrors/manjaro/stable/$repo/$arch
    5: https://mirrors.eric.ovh/manjaro/stable/$repo/$arch
    6: http://ftp.rz.tu-bs.de/pub/mirror/manjaro.org/repos/stable/$repo/$arch
    7: https://mirror.dc.uz/manjaro/stable/$repo/$arch
    8: https://mirrors.ustc.edu.cn/manjaro/stable/$repo/$arch
Processes:
  CPU top: 5 of 466
  1: cpu: 19.0% command: kgx pid: 15183 mem: 335.8 MiB (1.4%)
  2: cpu: 14.6% command: firefox pid: 14600 mem: 572.5 MiB (2.4%)
  3: cpu: 8.6% command: firefox pid: 14781 mem: 279.5 MiB (1.1%)
  4: cpu: 3.1% command: gnome-shell pid: 4330 mem: 418.9 MiB (1.7%)
  5: cpu: 3.0% command: exe pid: 5094 mem: 444.0 MiB (1.8%)
  Memory top: 5 of 466
  1: mem: 572.5 MiB (2.4%) command: firefox pid: 14600 cpu: 14.6%
  2: mem: 457.8 MiB (1.9%) command: nautilus pid: 13755 cpu: 1.1%
  3: mem: 444.0 MiB (1.8%) command: exe pid: 5094 cpu: 3.0%
  4: mem: 418.9 MiB (1.7%) command: gnome-shell pid: 4330 cpu: 3.1%
  5: mem: 335.8 MiB (1.4%) command: kgx pid: 15183 cpu: 19.0%
Info:
  Processes: 466 Power: uptime: 4h 7m states: freeze,mem,disk suspend: s2idle
    wakeups: 2 hibernate: platform avail: shutdown, reboot, suspend, test_resume
    image: 9.12 GiB services: gsd-power, power-profiles-daemon, upowerd
    Init: systemd v: 257 default: graphical tool: systemctl
  Compilers: gcc: 15.1.1 Shell: Zsh v: 5.9 running-in: kgx inxi: 3.3.38

no, not dual booting, im running just manjaro at the moment. The issues were happening on windows 10 and 11, therefore i decided to switch to linux to see if the problem persists. Manjaro install was made after formatting both ssds.

A few more questions that might help others;

  • Were you sharing the games between Windows 10 and 11; playing them from the same partition?; and…
  • Did you copy the installed games from the Windows location, or did you install them from scratch in Manjaro (presumedly via Steam)?

no, no sharing. BSODs started in windows 10 so i clean reainstalled it, no benefit in that. Moved to another clean install on windows 11, same thing. Formatted the ssds again and installed manjaro. So no, no sharing between nothing, fresh, clean installs everytime.

Have you considered that the issue might be with the games themselves?

Also, a quick copy/paste in case the following links might lead to something useful;


Asking for help with running Games

Before asking for help about running Games on Manjaro, we usually ask members to see the pinned topic in the Gaming category:

As the article suggests:


Just to recap;

You’re experiencing crashes with these games on now three operating systems, each on a different machine…

We’ve ruled out the shared partition possibility.

Failing hardware is unlikely; especially not on three machines simultaneously.

Again, the only commonality seems to be the games themselves.

WINE 10.9 now incorporates WOW64 for running 32-bit Windows applications. It was mentioned in the latest Stable Update announcement Known Issues and Solutions:

Whether this might be related, I can’t say; it seems less likely, as you’re also experiencing the crashing issues in Windows.

I’m afraid I can’t add much more at this time.

Regards.

your bios is from 2023. please check if there is a newer one avaiable and update if possible.
also check your bios settings.did you change something ? especially RAM-timings ? Overclocking ?

I`m afraid there has been a misunderstanding. I am using the same machine. Not the games are crashing, but the whole system. BSODs on Windows 10 and 11, kernel panics and/or hangs on Manjaro. Each OS has been separatley tested, no multi boot. Hardware tests were run as well an all 3 OSs.

@Olli this is the latest Asus BIOS. No overclocking has been made, the BIOS is on stock settings, i do not have acces to RAM-timing settings in the BIOS.

this is not good to have , two sort of DDR4 ( different manufacturer) , Capacity not same value

1 Like

Tested with each one. Same result.

you’ve tested your system on windows 10, windows 11 and linux and all systems generate some defective. this is a strong indication that it is not related to the operating system. a possible failure might be a wrong setting of the bios otherwise i would point to a real hardware-defect.

@Olli as i said earlier, i stress-tested everything separately and simultaneously, no issues appeared. 8h:20m on 100% usage on every component. Used mprime for cpu, furmark 2 for gpu, memtest86 for testing ram off os and a script made by myself to test ram on userspace. This yelded no errors, yet no matter which game im trying to play (cs2, darksouls 3, etc) system crashes, kernel hangs or panics within 5 minutes. Why would a stress test work fine for hours yet gaming would kill my os in a matter of minutes?

You might also try removing the RAM, checking for dust/grit/etc, and reseating the modules.

Additionally, check your cables - particularly power cables - random power fluctuations can result in crashes; often in times of high resource usage.

Is your power supply adequate?

Also check mainboard power couplings; any possible areas an intermittant short could occur.