SDK example: Particle cudaGLUnregisterBufferObject

I had installed CUDA 1.1 SDK and toolkits, but when I execute the .exe file that will show a message:
“Cuda error in file ‘particleSystem.cu’ in line 80: invalid argument”

I found out the code in line 80:
“CUDA_SAFE_CALL(cudaGLUnregisterBufferObject(vbo));”

If I execute some examples that include this kind of code, the error will generate.

Why did I get this error? How do I solve this problem?

Thank you.

What GPU are you using? Are you running with the recommended driver (169.09 or above)?

I am using G80 and had installed the latest driver 169.21.

I already found out the way why I got the problem, because I didn’t uninstall the whole driver before I installed the new one.

Thanks for your reply. :)