No CUDA after NVIDIA 331.113 update

Solution 1:

I got OpenCL working with the nvidia 331.113 update. You have to install nvidia-modprobe and reboot:

sudo apt-get install nvidia-modprobe

Solution 2:

I have the same error this morning after updating from 331.38 to 331.113. CUDA doesn't work anymore for me in Blender.

Blender displays the following error when switched to Cycles engine:

CUDA cuInit: Unknown error

I suspect the bug is caused by the following change in nvidia-331.113 package:

 * debian/templates/control.in:
    - Make libcuda1-$flavour depend on nvidia-$flavour-uvm.

Edit: I've just downgraded all the nvidia-331 packages back to version 331.38, and CUDA is working again under Blender.