HP monitor " going to sleep " randomly

Thanks very much, if that is the case how can it be resolved? does it mean new GPU or CPU?

any suggestion for monitoring software? only issue is as soon as I launch MSFS it shuts down,