gaming: watchdog + sysrq so a GPU hang reboots itself
This commit is contained in:
parent
bd0ca4a93d
commit
e5fd60a5ae
1 changed files with 10 additions and 0 deletions
|
|
@ -76,6 +76,16 @@
|
||||||
boot.kernel.sysctl = {
|
boot.kernel.sysctl = {
|
||||||
"net.ipv6.conf.all.accept_ra" = 0;
|
"net.ipv6.conf.all.accept_ra" = 0;
|
||||||
"net.ipv6.conf.default.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
|
# NetworkManager only re-runs its connectivity probe on link-up or every
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue