Every time I install Wine on Ubuntu 14.04 my CUDA gets disabled, so I can't use GPU compute with Cycles in Blender. For some reason I can either use Wine or CUDA, not both. I forgot to mention that even the OpenCL (Open Computing Language) driver gets disabled.
I have tried both of the NVIDIA CUDA toolkits, from the Ubuntu Software Center and the CUDA 6.5 toolkit from the Nvidia website. Unfortunately I get the same problem. I have three GPUs - 2 GTX 760s and one GTX 560 Ti. The moment I install Wine, Blender stops detecting them under the Compute Device. I have tried the nvidia-331 graphics driver and also nvidia-340 from the website. I don't know what else to do.
Is there a workaround for this?