My second monitor is not getting detected

I assume your software updates are up-to-date and you have kernel 6.8. As you have Nvidia graphics, please see this post by the devs: After update, display is really slow and screen is tearing - #6 by AZorin