Running Intel HD Graphics for UI and Nvidia GT640m for CUDA

view story

https://bbs.archlinux.org – Hello,I wanted to configure my laptop with arch64 in such a way that I can run all the UI stuff on the Intel integrated video card and still being able to debug my CUDA application without having my desktop freezing. But there's conflict between libgl and nvidia-utils. When libgl is installed then GNOME shows up in good quality, but CUDA doesn't work. On the other side, when nvdiai-utils is installed GNOME goes to fallback mode and the CUDA stuff runs. In the first case, the nvidia cuda driver aren't loaded. In the second case, Cuda works, but i don't know on which device t (HowTos)