I cannot use my GPU in Ubuntu 20.04

I used to connect my 2nd monitor but after darknet training I cannot. After this my gpu is not used. I checked nvidia-smi but there is error NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

When I use the command lspci -k | grep -A 2 -i “VGA” I am getting this output :
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 630 (Mobile)
Subsystem: Lenovo UHD Graphics 630 (Mobile)
Kernel driver in use: i915

01:00.0 VGA compatible controller: NVIDIA Corporation GP107M [GeForce GTX 1050 Ti Mobile] (rev a1)
Subsystem: Lenovo GP107M [GeForce GTX 1050 Ti Mobile]
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia

And nvidia bug report has been attached to this topic.
1
nvidia-bug-report.log.gz (162.3 KB)

Please try this:
https://forums.developer.nvidia.com/t/i-cannot-use-my-gpu-in-ubuntu-20-04/200686/2?u=generix