46

I have an acer laptop with these GPUs: - GPU0: Intel HD Graphics 4000 (M) (obviously integrated) - GPU1: NVIDIA GeForce GT 710M

I uninstalled all nvidia-drivers because I was experiencing a lot of bugs and I read here and there that they are not supposed to work with Optimus without either bumblebee or nvidia-prime.

As far as I understand, nvidia-prime would allow me to have the NVidia GPU always on. And to choose between that or always off (i.e. always use Intel)

So now I installed nvidia-prime with

sudo apt-get install nvidia-prime

What am I supposed to do now?

I thought nvidia-prime provided a graphical interface which would allow me to choose which graphic card to use, and even to install the needed nvidia drivers.

By typing "nvidia" in the dash, nothing shows up. From a terminal, the only command available starting with "nvidia" is "nvidia-detect" which just prints "none".

So, I installed nvidia-prime, how do I use it?

edwinksl
  • 23,789
matteo
  • 2,491

2 Answers2

31

You need to have both Nvidia proprietary drivers and nvidia-prime to get it working. This can be done by running

sudo apt-get install nvidia-346 nvidia-prime

for Ubuntu 14.04 and 15.04.

Then you will have Nvidia X Server Settings in Dash. And there you can find PRIME profiles.

enter image description here

Pilot6
  • 90,100
  • 91
  • 213
  • 324
  • 5
    Thanks, I figured it out. Unfortunately, it's completely broken and renders the whole system unusable/unstable. https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1485258 – matteo Aug 16 '15 at 00:05
  • 1
    Could you edit your answer to say if it applies to 16.04? It would help me know if I should investigate why my 16.04 screen has none of the X-Server options--only the last three options appear. Granted Intel is selected on my NVIDIA X Server Settings because NVIDIA option boots with black screen and frozen cursor. – WinEunuuchs2Unix Oct 01 '16 at 18:05
  • 2
    It is same in 16.04, except that the driver version is nvidia-361. – Pilot6 Oct 01 '16 at 18:06
  • 1
    @Pilot6 was installing nvidia-367 from Additional Drivers a mistake then? I can't reverse it because all the drivers have disappeared and then entire section is gone with only Intel Microcode section remaining on the additional drivers tab. – WinEunuuchs2Unix Oct 01 '16 at 18:09
  • 2
    You added a PPA. You'd better ask a question, then to post comments not related to the original question. – Pilot6 Oct 01 '16 at 18:14
  • 1
    @Pilot6 Sorry I got lost in thought and didn't realize I was digressing. Thanks for PPA advice though! – WinEunuuchs2Unix Oct 01 '16 at 18:22
  • 2
    There is an PPA (webupd8) with a tool called "prime-indicator" that gives you a task bar notification you can use to toggle the GPU. http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu – dragon788 Jul 12 '17 at 22:50
15

you can also do

sudo prime-select intel 

(or nvidia or query)

Ubuntu 18.04.1 repositories have been updated with a partial backport of work from 18.10 which dramatically improves the Optimus experience. To call it a night and day difference doesn't do it justice.

But when you are in intel-only mode, the nvidia GUI control panel does not launch. This will fixed since it's not a problem in 18.10, but until then, use the command line approach. I suspect the fix won't arrive until 18.04.2

Tim Richardson
  • 2,294
  • 3
  • 25
  • 43