====== Ubuntu - GPU - AMD GPU - Modules - Restart a failed amdgpu kernel module ======
If the video card crashes, an option is to just restart the graphics modules.
----
===== Restart the graphics modules =====
sudo cat /sys/kernel/debug/dri/N/amdgpu_gpu_recover
----
===== Another approach to restart the graphics modules =====
Start your system with **amdgpu.gpu_recovery=1** kernel parameter to automatically reset it on a crash.
**NOTE:** Using the **gpu_recovery** kernel parameter, allows you to save your work even if it is not visible, and then reboot.
----
====== References ======
https://github.com/RadeonOpenCompute/ROCK-Kernel-Driver/blob/roc-2.0.0/drivers/gpu/drm/amd/amdgpu/amdgpu_drv.c#L493