gaming: watchdog + sysrq so a GPU hang reboots itself

This commit is contained in:
rope 2026-08-06 21:07:46 +01:00
parent bd0ca4a93d
commit e5fd60a5ae

View file

@ -76,6 +76,16 @@
boot.kernel.sysctl = {
"net.ipv6.conf.all.accept_ra" = 0;
"net.ipv6.conf.default.accept_ra" = 0;
# Escape hatch for a wedged GPU: Alt+SysRq+B reboots without the power
# button (amdgpu MODE1 reset hung the box on 2026-08-06).
"kernel.sysrq" = 1;
};
# ...and if the hang takes systemd with it, the chipset watchdog reboots
# after 30s on its own, landing back at the autologin session.
systemd.settings.Manager = {
RuntimeWatchdogSec = "30s";
RebootWatchdogSec = "10min";
};
# NetworkManager only re-runs its connectivity probe on link-up or every