Ubuntu 20.04 only detects 1 GPU


I have a multi-gpu system and I recently installed ubuntu onto 2nd SSD drive,it’a fresh installation but the OS only detects 1 GPU, I don’t face this problem while booting into windows, it detects both GPUs just fine, also the display is connected to the GPU (RTX 3060Ti )not being detected by ubuntu and it shows the other GPU connected (GTX 1060).

My configuration is:
RTX 3060Ti + GTX 1060
16GB Ram
z390 Aorus Pro Wifi
Ubuntu version : 20.04
Windows version : 11

Please run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post.