Downgrading Nvidia Drivers

Hello

I am working with OpenCL (note that is different from OpenGL) and recently upgraded from nvidia driver 190.29 to 195.36.15 . After a bit of experimentation i decided to downgrade back to 190.29

However after i did this X complains that i have nvidia kernel module 190.42 and it does not match with nvidia drive 190.29 . Could some one tell me how to recompile the kernel module for 190.29??

Ok i have made some progress, when installing 190.29 , the nvidia installer says building kernel module and everything goes through sucessfully, the kernel module is built from /lib/modules/2.6.27.39-0.2-default/source .

Once all this is done, it some how ends up with kernel module 190.42 . I am not sure what to change in the source directory

You are trying to install by using the .run-file, right?

Try deinstalling the old driver before proceeding.