Before making the changes:
/etc/X11
ls -1
mhwd.d
xinit
xorg.conf.d
Xsession.d
/etc/X11/xorg.conf.d
ls -1
00-keyboard.conf
30-touchpad.conf
90-mhwd.conf
/etc/X11/mhwd.d
ls -1
//*nothing*
After making changes
/etc/X11
mhwd.d
xinit
xorg.conf.d
Xsession.d
/etc/X11/xorg.conf.d
00-keyboard.conf
30-touchpad.conf
90-mhwd.conf
/etc/X11/mhwd.d
nvidia.conf
I checked, 90-mhwd.conf is a link to /etc/X11/mhwd.d/nvida.conf
Contents of nvidia.conf
Still the same issue.
I logged in as root in the tty and checked some logs, the following one I found interesting.
My laptop’s screen was not working so I removed it and I am only using external display.
Well, the chassis (body) of the laptop broke, I was just using the motherboard connected to the display. And even that display gave out. So its now just the motherboard connected to external monitor.