Keyboard freezes and can't shut down laptop at random from games

So at random times while playing games laptop's keyboard freezes and can't shut down laptop if I hold the power button down.

  1. Happens only from games so far, switched from manjaro like a week ago and this never happened there so must be garuda specific?
  2. It happens regardless of how demanding a game is, since did with yume nikki, a 2d rpgmaker game after 5 mins of playing once, mostly longer.
  3. Happens from 2-3 mins to sometimes a few hours in.
  4. Closing the game doesn't fix it.
  5. Trying to restart/shutdown pc softlocks it, giving a black screen with builtin keyboard backlight still on and mouse turning off and on for a second if i click then off again, so only way to shut it down it is to disconnect battery from motherboard when it's in this state.
  6. Changed kernel to tkg-pds and thought that fixed it, apparently not.
System:    Kernel: 5.13.4-182-tkg-pds x86_64 bits: 64 compiler: gcc v: 11.1.0 
           parameters: intel_pstate=passive BOOT_IMAGE=/@/boot/vmlinuz-linux-tkg-pds 
           root=UUID=94e092ba-3f99-47d2-a412-c63c35c2e21c rw rootflags=subvol=@ splash rd.udev.log_priority=3 
           vt.global_cursor_default=0 systemd.unified_cgroup_hierarchy=1 loglevel=3 
           Desktop: KDE Plasma 5.22.3 tk: Qt 5.15.2 info: latte-dock wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux 
           base: Arch Linux 
Machine:   Type: Laptop System: Notebook product: NP50DE_DB v: N/A serial: <filter> Chassis: type: 10 serial: <filter> 
           Mobo: Notebook model: NP50DE_DB serial: <filter> UEFI: INSYDE v: 1.07.07N date: 02/17/2020 
CPU:       Info: 8-Core model: Intel Core i7-10870H bits: 64 type: MT MCP arch: Comet Lake family: 6 model-id: A5 (165) 
           stepping: 2 microcode: EA cache: L2: 16 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 70478 
           Speed: 3337 MHz min/max: 800/5000 MHz Core speeds (MHz): 1: 3337 2: 3326 3: 3309 4: 1577 5: 3342 6: 3402 7: 3403 
           8: 3355 9: 3200 10: 3222 11: 3898 12: 4149 13: 3580 14: 3405 15: 3831 16: 1917 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
           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 and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling 
           Type: srbds status: Not affected 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel CometLake-H GT2 [UHD Graphics] vendor: CLEVO/KAPOK driver: i915 v: kernel bus-ID: 00:02.0 
           chip-ID: 8086:9bc4 class-ID: 0300 
           Device-2: NVIDIA TU117M [GeForce GTX 1650 Ti Mobile] vendor: CLEVO/KAPOK driver: nouveau v: kernel bus-ID: 01:00.0 
           chip-ID: 10de:1f95 class-ID: 0300 
           Device-3: Chicony Chicony USB2.0 Camera type: USB driver: uvcvideo bus-ID: 1-8:4 chip-ID: 04f2:b685 class-ID: 0e02 
           Display: x11 server: X.Org 1.20.12 compositor: kwin_x11 driver: loaded: intel,modesetting,nouveau 
           alternate: fbdev,nv,vesa display-ID: :0 screens: 1 
           Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") s-diag: 582mm (22.9") 
           Monitor-1: eDP1 res: 1920x1080 hz: 144 dpi: 143 size: 340x190mm (13.4x7.5") diag: 389mm (15.3") 
           OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 21.1.5 direct render: Yes 
Audio:     Device-1: Intel Comet Lake PCH cAVS vendor: CLEVO/KAPOK driver: snd_hda_intel v: kernel 
           alternate: snd_soc_skl,snd_sof_pci_intel_cnl bus-ID: 00:1f.3 chip-ID: 8086:06c8 class-ID: 0403 
           Sound Server-1: ALSA v: k5.13.4-182-tkg-pds running: yes 
           Sound Server-2: JACK v: 0.125.0 running: no 
           Sound Server-3: PulseAudio v: 14.2 running: yes 
           Sound Server-4: PipeWire v: 0.3.32 running: no 
Network:   Device-1: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel port: 4000 bus-ID: 07:00.0 chip-ID: 8086:2723 
           class-ID: 0280 
           IF: wlp7s0 state: up mac: <filter> 
           Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: CLEVO/KAPOK driver: r8169 v: kernel 
           port: 3000 bus-ID: 08:00.1 chip-ID: 10ec:8168 class-ID: 0200 
           IF: enp8s0f1 state: down mac: <filter> 
Bluetooth: Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8 bus-ID: 1-14:5 chip-ID: 8087:0029 class-ID: e001 
           Report: rfkill ID: hci0 rfk-id: 1 state: down bt-service: disabled rfk-block: hardware: no software: no 
           address: see --recommends 
Drives:    Local Storage: total: 2.29 TiB used: 674.77 GiB (28.8%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Seagate model: XPG GAMMIX S11 Pro size: 476.94 GiB block-size: 
           physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 rotation: SSD serial: <filter> rev: 32B3T8EA scheme: GPT 
           ID-2: /dev/sda maj-min: 8:0 vendor: Seagate model: ST2000LX001-1RG174 size: 1.82 TiB block-size: physical: 4096 B 
           logical: 512 B speed: 6.0 Gb/s rotation: 5400 rpm serial: <filter> rev: SDM1 scheme: GPT 
Partition: ID-1: / raw-size: 149.19 GiB size: 149.19 GiB (100.00%) used: 58.68 GiB (39.3%) fs: btrfs dev: /dev/nvme0n1p7 
           maj-min: 259:6 
           ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%) used: 25.4 MiB (26.5%) fs: vfat dev: /dev/nvme0n1p2 
           maj-min: 259:2 
           ID-3: /home raw-size: 149.19 GiB size: 149.19 GiB (100.00%) used: 58.68 GiB (39.3%) fs: btrfs dev: /dev/nvme0n1p7 
           maj-min: 259:6 
           ID-4: /var/log raw-size: 149.19 GiB size: 149.19 GiB (100.00%) used: 58.68 GiB (39.3%) fs: btrfs 
           dev: /dev/nvme0n1p7 maj-min: 259:6 
           ID-5: /var/tmp raw-size: 149.19 GiB size: 149.19 GiB (100.00%) used: 58.68 GiB (39.3%) fs: btrfs 
           dev: /dev/nvme0n1p7 maj-min: 259:6 
Swap:      Kernel: swappiness: 133 (default 60) cache-pressure: 50 (default 100) 
           ID-1: swap-1 type: zram size: 15.45 GiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0 
Sensors:   System Temperatures: cpu: 71.0 C mobo: N/A gpu: nouveau temp: 37.0 C 
           Fan Speeds (RPM): N/A 
Info:      Processes: 380 Uptime: 48m wakeups: 1 Memory: 15.45 GiB used: 6.2 GiB (40.2%) Init: systemd v: 249 tool: systemctl 
           Compilers: gcc: 11.1.0 clang: 12.0.1 Packages: pacman: 1444 lib: 462 Shell: Bash v: 5.1.8 running-in: yakuake 
           inxi: 3.3.05 

Additional info:
Dual booting with windows | with an additional manjaro installation used for testing
Heard that dual booting w windows bad but can't properly pass GPU to virtual machines since this is a muxless laptop, and dunno how to make optimus work on them or even if it's possible sooo yeahh.....

So this is on a vm

1 Like

I need you to try atleast 4 different kernels.
Linux and linux-lts will be good for starters

1 Like

Nouveau isn't the best driver for using an nVidia card for gaming. It might do to swap it for the proprietary driver.

Of course it's been two years since I've had to deal with an nVidia card, so… bit of salt with the above.

1 Like

Had problems w the proprietary driver randomly not letting me boot like 20% of the time so had to force shut off, guess I'll try again or sth and this time actually try to fix it?
Recently removed it and keyboard dying was happening with it too so yeah...
Well off to test diff kernels for now, will report back when/if it happens.
Gonna test xanmod -> cacule -> linux -> lts
Any logs I should check when it happens tho or sth?

You may also want to search for kernel boot parameters that are commonly used with your Comet Lake mainboard and graphics chip(s).

2 Likes

3 hours in and didn’t happen w the first one huh, xanmod ftw lolol
still don’t know if it’s trully fixed so will leave this open for like 2 more days just to make sure, so don’t have to start 9000 threads

You may also want to search for kernel boot parameters that are commonly used with your Comet Lake mainboard and graphics chip(s).

I haven’t the slightest idea where to find them, didn’t even know specific boot params were a thing, at most dabbled with them with GPU passthrough.
Searching on duck found nothing & on here nothing either, so beats me.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.