sudo apt-get install nvidia-current

always works for me.