[BUG] GeForce GTX 460M falls off the bus in Ubuntu 21.10

I have an ASUS G73Sw laptop with GeForce GTX 460M graphics. Every so often, X crashes, with the message “NVRM: Xid (PCI:0000:01:00): 79, GPU has fallen off the bus.” in syslog. I do not know how to reproduce the problem. I was able to ssh in from my phone and generate a debug log. nvidia-bug-report.log.gz (203.7 KB)

I am running Ubuntu Linux 21.10 (impish), but this problem has also occurred with previous versions of Ubuntu. I have Wayland enabled. I have a 1920x1080 built-in LCD at 60Hz, and a 1920x1080 LG monitor at 60Hz as a second (extended) desktop via built-in HDMI output.

Please let me know if there is any other information I could provide to help diagnose the problem.

$ uname -a
Linux asus 5.13.0-20-generic #20-Ubuntu SMP Fri Oct 15 14:21:35 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

xorg package version: xorg-server 2:1.20.13-1ubuntu1

Installed Nvidia packages:

$ dpkg -l '*nvidia*' | grep '^i'
ii  libnvidia-cfg1-390:amd64      390.144-0ubuntu2   amd64        NVIDIA binary OpenGL/GLX configuration library
ii  libnvidia-common-390          390.144-0ubuntu2   all          Shared files used by the NVIDIA libraries
ii  libnvidia-compute-390:amd64   390.144-0ubuntu2   amd64        NVIDIA libcompute package
ii  libnvidia-compute-390:i386    390.144-0ubuntu2   i386         NVIDIA libcompute package
ii  libnvidia-decode-390:amd64    390.144-0ubuntu2   amd64        NVIDIA Video Decoding runtime libraries
ii  libnvidia-decode-390:i386     390.144-0ubuntu2   i386         NVIDIA Video Decoding runtime libraries
ii  libnvidia-encode-390:amd64    390.144-0ubuntu2   amd64        NVENC Video Encoding runtime library
ii  libnvidia-encode-390:i386     390.144-0ubuntu2   i386         NVENC Video Encoding runtime library
ii  libnvidia-fbc1-390:amd64      390.144-0ubuntu2   amd64        NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-fbc1-390:i386       390.144-0ubuntu2   i386         NVIDIA OpenGL-based Framebuffer Capture runtime library
ii  libnvidia-gl-390:amd64        390.144-0ubuntu2   amd64        NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-gl-390:i386         390.144-0ubuntu2   i386         NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii  libnvidia-ifr1-390:amd64      390.144-0ubuntu2   amd64        NVIDIA OpenGL-based Inband Frame Readback runtime library
ii  libnvidia-ifr1-390:i386       390.144-0ubuntu2   i386         NVIDIA OpenGL-based Inband Frame Readback runtime library
ii  nvidia-compute-utils-390      390.144-0ubuntu2   amd64        NVIDIA compute utilities
ii  nvidia-dkms-390               390.144-0ubuntu2   amd64        NVIDIA DKMS package
ii  nvidia-driver-390             390.144-0ubuntu2   amd64        NVIDIA driver metapackage
ii  nvidia-kernel-common-390      390.144-0ubuntu2   amd64        Shared files used with the kernel module
ii  nvidia-kernel-source-390      390.144-0ubuntu2   amd64        NVIDIA kernel source package
ii  nvidia-prime                  0.8.17.1           all          Tools to enable NVIDIA Prime
ii  nvidia-settings               470.57.01-0ubuntu3 amd64        Tool for configuring the NVIDIA graphics driver
ii  nvidia-utils-390              390.144-0ubuntu2   amd64        NVIDIA driver support binaries
ii  xserver-xorg-video-nvidia-390 390.144-0ubuntu2   amd64        NVIDIA binary Xorg driver

Please monitor temperatures (using nvidia-smi or nvidia-settings) while the nvidia gpu is still working, maybe the cooling system is just clogged with dust so it’s shutting down. Otherwise, this could be the first sign of a dying gpu.