After researching I solved it by adding the ConnectedMonitor
option to my Screen Section in xorg.conf file.
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "ConnectedMonitor" "DFP-0"
EndSection
I was also facing overheating issues, then solved it by adding the Nvidia PowerMizer options in xorg, as shown here: