I have a Lenovo legion notebook with Nvidia 1050Ti GPU along with Intel graphics. I installed Ubuntu 17.0 in june and painstakingly installed Nvidia drivers 375.22 and Cuda etc. This morning after an upgrade to Ubuntu 17.10, nvidia commands like
nvidia-settings stopped working. I was getting errors that libnvidia.so was missing. I checked the Nvidia driver version with
lspci -k and found it to be 384.xx. In order to fix this issue, I made the mistake of running the old driver installer (ver 375.22) and rebooting.
Now I am not even able to reach the login screen. I tried to restore
/etc/X11/xorg.conffrom an older version by booting into recovery, with no luck. Is there a way to fix this (atleast be able to run the system using Intel graphics) without doing a fresh install?