NVIDIA: could not open the device file /dev/nvidia0 (Input/output error).
cudaSafeCall() Runtime API error in file <nbody.cpp>, line 553 : initialization error.[/codebox]
This happens when I run any SDK code. I have a dell studio xps 13 laptop, with the hybrid sli vid cards (9200G+9400GS). Is CUDA trying to use one of the two vid cards that I do not currently have enabled?
Check the permissions on the /dev/video device, and give yourself group membership to whatever group owns it. If you don’t have it, then you need to make sure that the driver module is actually loaded and you have some ruleset active to create the devices and set permissions at boot time. What distro are you running?
I checked the permissions, both are set to root root. I should mention that on my desktop (8800GTS), I have the exact same settings/distro/everything (and also have /dev/nvidia0 as root root), and all CUDA code runs great.
The driver module is actually loaded on the laptop, and do I realy need to have a ruleset active to set my permissions at boot, given that I do not have this on the desktop and it works fine?
I have been suspecting that it is the Hybrid SLI that is confusing the computer. /dev/nvidia0 may be the one I do not have activated in my xorg.conf files.
I am running Ubuntu 8.10 x86_64, with the 181.22 drivers.
Nothing past what is discussed here: [topic=“96451”]Topic 96451[/topic]
But that basically set it up so CUDA would work - but only on the integrated GPU - never got access to the discrete card on our laptop. Its pretty frustrating - It was one of the reasons why I got this laptop - ability to do useful things on CUDA and get good overall performance otherwise while still having decent battery life.