I recently installed CUDA 8.0 on my Ubuntu 14.04 and everything was working fine until I rebooted the computer and it is now stuck in a login loop. I heard that there is some incompatibility between Nvidia drivers and ubuntu which causes this problem. I have an GeForce GT 650M GPU I would appreciate any help.
To add a bit more information, when I execute sudo lshw -C display it says that my 650M is UNCLAIMED. and when I do nvidia-setting it shows an error saying that the control display is undefined.