NVIDIA: could not open the device file /dev/nvidiactl (No such file or directory).

Has anybody successfully resolved the issue:

Run cuda code and find following error: “NVIDIA: could not open the device file /dev/nvidiactl (No such file or directory).”

Tried to run the script provided by the previous note below and got the error “fix: line 9: /etc/init.d/functions: No such file or directory”.

=> “http://forums.nvidia.com/lofiversion/index.php?t52629.html

The environment is S870 with SUSE 10.

Thanks in advance!

Have you tried starting X with the nvidia driver?

Thx netllama!

Tried “startx” and got following message. It seems to be running already. ??

[codebox]

xauth: creating new authority file /home/xxxx/.serverauth.8608

Fatal server error:

Server is already active for display 0

    If this server is no longer running, remove /tmp/.X0-lock

    and start again.

Please consult the The X.Org Foundation support

     at <a target='_blank' rel='noopener noreferrer' href='"http://wiki.X.Org"'>http://wiki.X.Org</a>

for help.

Xlib: connection to “:0.0” refused by server

Xlib: Invalid MIT-MAGIC-COOKIE-1 key

giving up.

/usr/X11R6/bin/xinit: unable to connect to X server

/usr/X11R6/bin/xinit: No such process (errno 3): Server error.

Fatal server error:

Server is already active for display 0

    If this server is no longer running, remove /tmp/.X0-lock

    and start again.

Please consult the The X.Org Foundation support

     at <a target='_blank' rel='noopener noreferrer' href='"http://wiki.X.Org"'>http://wiki.X.Org</a>

for help.

Xlib: connection to “:0.0” refused by server

Xlib: Invalid MIT-MAGIC-COOKIE-1 key

giving up.

/usr/X11R6/bin/xinit: unable to connect to X server

/usr/X11R6/bin/xinit: No such process (errno 3): Server error.

[/codebox]

Please generate and attach an nvidia-bug-report.log