I cannot use my GPU in Ubuntu 20.04

Hi. I used to connect my 2nd monitor but after training of darknet I cannot connect it. I checked the monitor and cable with other laptop, it is working. When I try to use OpenCV, it says that GPU is not started. I changed the different driver 2 times (version 495 and version 470(recommended) ) but it did not work. NVIDIA bug report and some useful images have been attached to the topic. Has anyone encountered to this problem before? What can be the solution?Thank you in advance.

When I run the command lspci -k | grep -A 2 -i “VGA” the output is
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*

When I try to sudo prime-select nvidia , it says that Info: the nvidia profile is already set. And I cannot run nvidia-smi, it gives 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.
Uploading: nvidia-bug-report.log.gz…