Intel + nVida simultaneously. Is it possible for Linux desktop?

Because I only use cuda to program, I only need to load dev without module nvidia.

I simply comment the line # /sbin/modprobe nvidia, and it works.

[url]12.04 - How to use Intel integrated graphic card for display and NVidia card for CUDA on a desktop - Ask Ubuntu

I tried it on ubuntu 13.10, xps 8700 dekstop with nvidia 635, driver 331, cuda 5.5.

To install cuda 5.5 on ubuntu 13.10, I followed this:

[url]http://pastebin.com/fDpqvSi5[/url]

A quick update on the situation after two years…
I tried again and I was able to achieve this without having to do difficult configurations. So easy for common users as it should be.
What I’ve done: I’am using 346.59 nvidia drivers on Kubuntu 15.04. You make sure you have installed “nvidia-prime” and “nvidia-modprobe” packages. Reboot the system and from BIOS configuration select iGPU as Primary Display and Multi Monitor (or Multi GPU) enabled. On Kubuntu (or Ubuntu) in nvidia-settings in PRIME Profile choosing “Intel - Power Saving mode”. Use Blender with precompiled CUDA Kernel downloaded from official Blender site, or Blender buildbot (tar.bz2 file, unpack to a folder and run “blender” file).
So, Display with the Intel iGPU in the system works fast, while Blender render with CUDA!

Some clarifications:

  • I have connected my monitor (one monitor) with DVI to nvidia GPU and VGA to intel at the same time. My monitor is set to Auto Detect the input signal source.
  • If you have had any problems setting this, for go back to the original state rename the hidden folder “/home/YOUR_USER/.nv” and delete files you find on “/etc/X11” with similar names to “xorg.conf.09102015” where the number is the date on which it was created.

Hi, is nvidia-prime included in official driver from nvidia?

My system:

Opensuse 13.2/64
Intel i5 3770K
GTX 760 4 GB
Driver 352.09

nvidia-prime is not in OpenSUse repositories, anyway I use driver downloaded from Nvidia.
Is it may possible to compile nvidia-prime on my system?

Thanks YAFU for the link from Blender Artists, try to get this to work for years.

Cheers, mib

Hello mib2berlin !

These are the files that install the “nvidia-prime” package in Ubuntu:
http://packages.ubuntu.com/vivid/amd64/nvidia-prime/filelist

Perhaps you can search if you have those files in the system.

Thanks YAFU, no, it is nothing with “*prime” on my system.
May I have to look for it in SDK, in Toolkits it is not included.

Cheers, Mib

I was able to get my NVIDIA card working for compute loads only, with prime set to use the Intel GPU. For the details see

https://devtalk.nvidia.com/default/topic/734737/linux/ubuntu-14-04-optimus-cuda/2/post/4831145/#4831145

Many of the solutions I’ve seen say to just change a BIOS setting, and boom, it works. But my BIOS has no such setting (DELL), and nobody really tries to explain why this works. They just tried it, and it did. But for me, it didn’t, so I dug deeper to try and figure out what exactly Prime was doing (see link).