NVIDIA-setting is not working...! Unable to use the HDMI

I have a laptop with intel/Nvidia GPU i am trying to connect my tv as a monitor via HDMI. I am trying every solution presented out there but it’s not working. my laptop is hp bc406tx and my Nvidia card is gtx1050. I am using Parrotos[debian based] Linux.

nvidia-bug-report.log.gz (261.7 KB)

Please uninstall the intel driver, delete /usr/share/X11/xorg.conf.d/20-intel.conf
then follow this:

After installing a proprietary driver from Nvidia. Nvidia-settings is working and it is also showing my tv in the settings as HDMI-1-0 (SONYTV). I am able to see the login screen on the tv. but once I try to log in it just comes back to the login screen again saying failed to start the session. I am attaching the latest report log. please check and help me.

nvidia-bug-report.log.gz (303.7 KB)

You did nothing from my post, instead you did completely different things.