Hey,
I just installed (or was in the process of installing) a steam game on my laptop, when my CPU usage went up to 99% and garuda crashed, the only thing that isn't frozen is my mouse (tho I can't click anything).
Now I'm wondering how to shutdown/restart my system?
I could just remove my battery but I don't want that, so is there another way?
Edit: Latte Dock shows it's 17:24pm which indicates that the crash happened nearly 20mins ago (It's 17:43pm in my time).
try changing your TTY first. It fixes the crash most of the time atleast for me. If the screen is stuck aka you can't change TTY you can first unraw the keyboard using
alt+PrtSc+r
then change the tty and back again using alt + -> and then alt+<-. We can use this shortcut because we can unrawed the keyboard. If that helps and then no need to shutdown the PC just keep playing the game and once done
sudo kbd_mode -s
to put keyboard in scanmode again if you don't want to face shortcut conflicts. Or you can simply reboot too.
If just changing TTY doesn't help then,
alt+PrtSc+s Will attempt to sync all mounted filesystems. alt+PrtSc+u Will attempt to remount all mounted filesystems read-only. alt+PrtSc+o Will shut your system off
This is the best way to poweroff your device using SysRq command. On most keyboards alt+PrtSc is what equates to SysRq. You can check if your keyboard does the same too via.
sudo dmesg -w
and then press alt+PrtSc+h this would be equivalent of SysRq+h and should output
sysrq: HELP : loglevel(0-9) reboot(b) crash(c) terminate-all-tasks(e) memory-full-oom-kill(f) k
ill-all-tasks(i) thaw-filesystems(j) sak(k) show-backtrace-all-active-cpus(l) show-memory-usage(m) nice-all-RT
-tasks(n) poweroff(o) show-registers(p) show-all-timers(q) unraw(r) sync(s) show-task-states(t) unmount(u) for
ce-fb(v) show-blocked-tasks(w) dump-ftrace-buffer(z)
in your dmesg. If it does then you are good to go. SysRq is enabled for your kernel and your keyboard is able to send the SysRq signal to your device. If it doesn't then first try going to garuda boot options and enable SysRq from there and reboot. If it still doesn't work then google what key combo is the equivalent of SysRq for your device.
I too am on a laptop and print screen is a button that I do have . It's right beside delete key on the function key row. Or check on google what is the equivalent of SysRq on your device. On lenovo Alt+Fn+s or Alt+Fn+PrtSc both mean SysRq.
Yeah it's a Lenovo ThinkPad t470 and I have a german keyboard, so I needed a little while to remind myself that 'Druck' (german=print) the same as PrtSc is...
Thanks again for your help, I really appreciate it