Ubuntu/Mint -> NVIDIA -> Blender -> Cuda nur als Root nutzbar

Lösung

In der Datei /etc/rc.local als Root folgendes eintragen.


modprobe nvidia-uvm
mknod -m 666 /dev/nvidia-uvm c 250 0

Die vollständige Datei sollte dann so oder ähnlich aussehen.

#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

modprobe nvidia-uvm
mknod -m 666 /dev/nvidia-uvm c 250 0

exit 0

Beschreibung

modprobe nvidia-uvm

Startet das Modul nvidia-uvm

 

mknod -m 666 /dev/nvidia-uvm c 250 0

Erzeugt das Device nvidia-uvm im Verzeichnis /dev