As I need the nvidia driver for compute-only use with various cards, but not for display, I have installed it and load it manually. However, although the kernel module gets loaded on OS startup, it does not get initialized (?) as the devices are not present in /dev. Therefor nothing can be executed unless and until I run any binary in superuser mode that uses CUDA. After this everything works just fine.
$ lsmod | grep nvidia nvidia 9630504 0 $ sudo tools/NVIDIA_GPU_Computing_SDK/C/bin/linux/release/deviceQuery [...] $ ls -l /dev/nv* ls: cannot access /dev/nv*: No such file or directory $ ls -l /dev/nv* crw-rw---- 1 root video 195, 0 2010-01-26 21:19 /dev/nvidia0 crw-rw---- 1 root video 195, 255 2010-01-26 21:19 /dev/nvidiactl
I assume this is because some kind of initialization is missing that is normally done when X loads, I just could not find neither in the “NVIDIA Accelerated Linux Graphics Driver README and Installation Guide” nor in other online Linux kernel module loading related guides/documentations. Any ideas how to fix this?
OS: Ubuntu 9.10 AMD64
NVIDIA driver: NVIDIA-Linux-x86_64-190.53-pkg2.run
If I am right and I did not miss the section that talks about how to install and use the driver for compute-only purposes, then I guess this is something that would be really useful for many people.
Suggestion for NVIDIA:
the readme would badly need a section which details how to install the driver for compute-only use;
the driver installer should have some built-in mechanism for choosing compute-only installation (which would obviously disable the installation of nvidia-xconfig, vdpau libs, etc.) and also selecting which of the other non-essential components are needed.
If I did miss any of the above suggested features, and in fact these do exist then please let me know where can I find the appropriate information and also disregard my requests.