Page 1 of 1

CUDA error 2

Posted: Fri Jun 01, 2018 7:59 pm
by chreff
Hello, what's wrong? what could be the problem?
1080ti + 780ti

log

CUDA error 2 on device 0: out of memory
-> failed to bind device to current thread
device 0: failed to initialize context
CUDA error 201 on device 0: invalid device context
-> failed to create link
device 0: failed to create OSL compile context:

device 0: failed to compile module 0

Re: CUDA error 2

Posted: Thu Jun 21, 2018 11:38 pm
by ossdesign
Exact same setup (1080ti + 780ti) and same problem, when updating to latest Nvidia Driver. (398.11)

Worked while on 390-something. Trying to roll back.

But rolling back can' t be a permanent solution?

Did you figure out a fix?

"device 0: failed to compile module 0
CUDA error 201 on device 0: invalid device context
-> failed to create link
device 0: failed to create OSL compile context:

device 0: failed to compile module 0"

Re: CUDA error 2

Posted: Sat Aug 18, 2018 9:50 am
by Micha3D
Is the problem solved? I have seen errors like this at Rhino too and I ask me, could it be a driver problem too.

Re: CUDA error 2

Posted: Tue Aug 21, 2018 7:47 am
by bepeg4d
Hi,
try to use DDU to completely remove the previously installed drivers:
http://www.guru3d.com/files-details/dis ... nload.html
then perform a clean installation installation of 391.35 drivers for your operating system.
ciao Beppe