/sbin/modprobe nvidia-uvm
if [ "$?" -eq 0 ]; then
# Find out the major device number used by the nvidia-uvm driver
D=`grep nvidia-uvm /proc/devices | awk '{print $1}'`
mknod -m 666 /dev/nvidia-uvm c $D 0
else
exit 1
fi
With nvidia-modprobe installed, "lsmod | grep nvi" does list nvidia-uvm, but there is not /dev/nvidia-uvm device created. Running the above script snippet creates /dev/nvidia-uvm, but CUDA is still not working in Blender.
It would be great if CUDA worked out of the box, either when you install the nvidia-352 driver, or at least when you install libcuda1-352.
With the nvidia-352 driver in 14.04, there no longer seems to be an uvm package, and the nvidia-modprobe package is at version 340.21.
In the past I've added "nvidia-uvm" to /etc/modules, and the following from here [ http:// developer. download. nvidia. com/compute/ cuda/6_ 5/rel/docs/ CUDA_Getting_ Started_ Linux.pdf ] to /etc/rc.local to get CUDA working in Blender:
/sbin/modprobe nvidia-uvm
if [ "$?" -eq 0 ]; then
# Find out the major device number used by the nvidia-uvm driver
D=`grep nvidia-uvm /proc/devices | awk '{print $1}'`
mknod -m 666 /dev/nvidia-uvm c $D 0
else
exit 1
fi
With nvidia-modprobe installed, "lsmod | grep nvi" does list nvidia-uvm, but there is not /dev/nvidia-uvm device created. Running the above script snippet creates /dev/nvidia-uvm, but CUDA is still not working in Blender.
It would be great if CUDA worked out of the box, either when you install the nvidia-352 driver, or at least when you install libcuda1-352.