To compile the nvidia kernel module install and unpack the kernel source which matches your currently running kernel. The package is about 30MB, expanding to much more. Your kernel upgrade probably causes a mismatch here. The way out is to roll your own kernel - I'm not sure if you're comfortable doing that.
I don't know about dual displays / DPI stuff.