this post was submitted on 10 Jun 2024
23 points (100.0% liked)

Linux Gaming

15842 readers
15 users here now

Gaming on the GNU/Linux operating system.

Recommended news sources:

Related chat:

Related Communities:

Please be nice to other members. Anyone not being nice will be banned. Keep it fun, respectful and just be awesome to each other.

founded 4 years ago
MODERATORS
 

Graphics related info:

  • Driver: Mesa 24
  • GPU: Intel Arc A770
  • DE: KDE 6
  • WM: KWin (Wayland)
you are viewing a single comment's thread
view the rest of the comments
[–] Max_P@lemmy.max-p.me 6 points 5 months ago (1 children)

Not in the way that Windows does, at that point your best bet is SysRq+REISUB or SSH in and kill kwin and possibly issue a manual reset in /sys. But even if successful, half your apps will have died as Wayland compositor handover isn't quite reliable yet.

I also believe if the GPU hangs the kernel already tries a reset, I would start with a manual reset via SSH to confirm it's even worth pursuing and then you can figure out a hotkey situation. Even if the GUI is locked up, you can listen to evdev devices and catch an arbitrary keyboard shortcut and run a shell script that resets the system to your liking.

[–] n3cr0@lemmy.world 5 points 5 months ago (1 children)

REISUB would sync all remaining disk operations and then restart the entire machine.

You could try the old combo for restarting X: Ctrl+Alt+Backspace. I'm not sure though, whether it will work on your system.

[–] nestor@mastorol.es 3 points 5 months ago

@n3cr0 @Max_P sysrq and ctrl-alt-backspace shouldn't be configured on modern systems.

If the machine is still responsive, ctrl+alt+f2 , login and restart the display manager should work