Have you tried changing settings in the grub during the boot? I mean, when you can change the different kernels, you could press
E and then add
quiet splash. Then
This should ensure no freezes during the first boot.
Then, you need to add the repository with
sudo add-apt-repository ppa:graphics-drivers/ppa and then
sudo apt-get upgrade.
Finally, you can install Nvidia drivers. First, look at the best one for your card with the command
ubuntu-drivers devices. Then
sudo apt-install nvidia-drivers-xxxx. Choose the new drivers from driver settings and reboot.