Chinese Yellow Pages | Classifieds | Knowledge | Tax | IME

how to prevent nvidia GPU hangup on ( debian 10)

debian 10 have nvidia GPU driver, cuda 9 etc, it is a good thing  for deep learning ( keras or pytorch).

but  if let it running for some time ( without any interrupt), it hang after the power management kick in.

Work around is to

turn off the power management by doing:

sudo systemctl mask

you may also want to turn off the interactive in the /etc/X11/xorg.conf

# to create new xorg.conf with vvida driver,

sudo nvidia-xconfig

then edit /etc/x11/xorg.conf:

Section “Device”
Identifier “Device0”
Driver “nvidia”
VendorName “NVIDIA Corporation”
Option “Interactive” “0”

Please rate this

Comments are closed here.