A newer version of this document is available. Customers should click here to go to the newest version.
GPU: Disable Hangcheck
This section applies only to applications with long-running GPU compute workloads in native environments. It is not recommended for virtualizations or other standard usages of GPU, such as gaming.
A workload that takes more than four seconds for GPU hardware to execute is a long-running workload. By default, individual threads that qualify as long-running workloads are considered hung and are terminated. By disabling the hangcheck timeout period, you can avoid this problem.
To disable hangcheck until the next reboot:
sudo sh -c "echo N> /sys/module/i915/parameters/enable_hangcheck"
To disable hangcheck across multiple reboots:
Open a terminal.
Open the grub file in /etc/default.
In the grub file, find the line GRUB_CMDLINE_LINUX_DEFAULT="".
Enter the following text between the quotes (“”):
Run the following command:
Reboot the system. Hangcheck remains disabled.
Did you find the information on this page useful?