GT1660 Nvidia errors in ubuntu 18.04 - nvidia-gpu i2c timeout error e0000000

I have to install my system in ubuntu with Nvidia GPU for setting up a server for a Face recognition software with CCTV.
I have a runtime error which delays my reboots or do not enable them at all or teh system reboots after 15 mins
Can you check it out, please?

CPU~6 core Intel Core i5-8400 (-MCP-) speed/max~1535/4000 MHz Kernel~5.4.0-42-generic x86_64 Up~11:09 Mem~2995.4/15955.8MB HDD~370.1GB(5.4% used) Procs~293 Client~Shell inxi~2.3.56
Fri Jul 31 01:36:37 2020
±----------------------------------------------------------------------------+
| NVIDIA-SMI 450.57 Driver Version: 450.57 CUDA Version: 11.0 |
|-------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 GeForce GTX 1660 On | 00000000:01:00.0 On | N/A |
| 0% 43C P8 13W / 130W | 347MiB / 5941MiB | 4% Default |
| | | N/A |
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 1062 G /usr/lib/xorg/Xorg 182MiB |
| 0 N/A N/A 1257 G /usr/bin/gnome-shell 162MiB |
±----------------------------------------------------------------------------+
I cannot upload here the nvidia-bu-report file…

Assume you adopt the 5.4 kernel on amd64. In this condition, it seems to either update Linux kernel at Software Updater and install the specific patches.

1. Verify the system kernel

$ uname -r
5.4.0-42-generic

2. Update the system or install specific kernel patches

1). Update all the system

If you install Ubuntu 18.04, you can find out Software Updater in ShowApplications or update from the popup while your system is opened.

or

2). Install the specific update patches

Build for amd64 with all the linux systems

$ sudo dpkg -i linux-headers-5.4.0-050400_5.4.0-050400.201911242031_all.deb

$ sudo dpkg -i linux-headers-5.4.0-050400-generic_5.4.0-050400.201911242031_amd64.deb

$ sudo dpkg -i linux-image-unsigned-5.4.0-050400-generic_5.4.0-050400.201911242031_amd64.deb

$ sudo dpkg -i linux-modules-5.4.0-050400-generic_5.4.0-050400.201911242031_amd64.deb

3. Install the system again

If the issue is still existed, you may consider re-installing your system and GPU applications.

Please see the following links for detailed information.

ubuntu kernel: Index of /~kernel-ppa/mainline/v5.4

github: linux/i2c-nvidia-gpu.c at master · torvalds/linux · GitHub

Another way is to blacklist the nvidia-gpu i2c with the commands as follows:

$ sudo su

root@user# echo “blacklist i2c_nvidia_gpu” > /etc/modprobe.d/blacklist_i2c-nvidia-gpu.conf

root@user# sudo update-initramfs -u

root@user# reboot

With this mothod, you can not see the nvidia-gpu i2c error again.

Please remind that user is your own registering name while installing the Ubuntu system.

Cheers,

Mike