AMD + NVIDIA setup on Linux


I have an AMD graphics I want to use for OpenGL and an Nvidia card for Cycles preview on an Ubuntu setup. Does anyone know how to set up drivers and such to make this work? I remember I once managed to but dont remember how :confused:

Thanks for any help you could give me!

Could moderators move this to Support->Technical Support plrrrrease?

First install the NVIDIA drivers, then use this command to install cuda,

sudo apt-get install nvidia-cuda-toolkit

This should install cuda on Ubuntu.

Took me a while to get it working on linux mint, but Iā€™m almost positive this is the command I used.