I solved this issue by logging in TTY1, purging snapd and everything nvidia related (sudo apt purge snapd nvidia* && sudo apt autoremove --purge, libcuda1-361 couldn't be removed but that's not a problem), then I ran the following script which resets all snaps, https://github.com/zyga/devtools/blob/master/reset-state (from the TTY1 use "curl https://raw.githubusercontent.com/zyga/devtools/master/reset-state >> reset.sh && chmod +x reset.sh && sudo ./reset.sh").
After all of these I reinstalled nvidia drivers (sudo apt install nvidia-361) and created the xorg conf (sudo nvidia-xconvig).
Hope this helped :)
I solved this issue by logging in TTY1, purging snapd and everything nvidia related (sudo apt purge snapd nvidia* && sudo apt autoremove --purge, libcuda1-361 couldn't be removed but that's not a problem), then I ran the following script which resets all snaps, https:/ /github. com/zyga/ devtools/ blob/master/ reset-state (from the TTY1 use "curl https:/ /raw.githubuser content. com/zyga/ devtools/ master/ reset-state >> reset.sh && chmod +x reset.sh && sudo ./reset.sh").
After all of these I reinstalled nvidia drivers (sudo apt install nvidia-361) and created the xorg conf (sudo nvidia-xconvig).
Hope this helped :)