My laptop has Nvidia Geforce 920M but it was not getting detected on Ubuntu 21.04 when nouveau open source drivers were set. Today I installed propietary tested drivers(nvidia-driver-460) through command line and rebooted and then my gpu was detected. But with these drivers, I am facing a problem. If I put my laptop to suspend mode, it does not wake up properly. There is only a blank screen and an underscore symbol. I have to restart my laptop.
After I faced this issue, I changed the drivers to nouveau opensource again and there is no such issue of not waking up there. But with these opensource drivers, my graphics card is not getting detected.