cudaErrorUnknown / cudaGraphicsGLRegisterBuffer

I advise against the advice to install the driver seperate to cuda - it leaves you w/ nouveau, try:

glxinfo | grep -i opengl