I started by installing nvidia-current and nvidia-prime( I have no idea what this is. I read it online somewhere.Please tell me what it is :( ) and typed

sudo prime-select nvidia

and it gave me this

Error: alternatives are not set up properly
Error: nvidia mode can't be enabled

I googled for the error and based on Michael's advice here , I typed this( again I have no idea about it).

root@PapaGolf:~# sudo update-alternatives --config x86_64-linux-gnu_gl_conf

Result Of Command

and again tried to switch to nvidia by

root@PapaGolf:~# prime-select nvidia

Now I'm stuck with

Error: %s does not support PRIME power management
Error: nvidia mode can't be enabled

I googled for this error as well but couldn't get anywhere. Can anyone help?

Edit(Output of lspci -k | grep -EA2 'VGA|3D')

siera@PapaGolf:~$ lspci -k | grep -EA2 'VGA|3D'
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)
    Subsystem: Dell Device 0662
    Kernel driver in use: i915

08:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M] (rev a1)
    Subsystem: Dell GeForce 820M
    Kernel driver in use: nvidia
  • Please edit your question and add output of lspci -k | grep -EA2 'VGA|3D' terminal command. – Pilot6 Nov 6 '15 at 15:21
  • I just edited it as you asked. – 7_R3X Nov 6 '15 at 15:29
  • It looks good. How did you install the driver? – Pilot6 Nov 6 '15 at 15:33
  • As I mentioned earlier, I installed nvidia-current. sudo apt-get install nvidia-current – 7_R3X Nov 6 '15 at 15:33
  • That was wrong. See my answer. – Pilot6 Nov 6 '15 at 15:36

You installed a wrong driver for your adapter.

nvidia-current is a package for legacy cards.

You need to remove it and install the correct one:

sudo apt-get purge nvidia*
sudo apt-get install nvidia-346 nvidia-prime

prime-select should work after reboot.

These commands will install Nvidia driver version 346 for Ubuntu 14.04 and 15.04.

For Ubuntu 15.10 the commands will install driver version 352.

  • 1
    May I ask you how'd you get the driver number 346? I'll try installing it and post the result asap. – 7_R3X Nov 6 '15 at 15:39
  • It is the package name for new Nvidia cards Ubuntu 14.04. It will install version 346 for Ubuntu 14.04 and 15.04. It will automatically install driver version 352 for Ubuntu 15.10. – Pilot6 Nov 6 '15 at 15:42
  • 2
    What I'm trying to ask is how did you know that my card would support version 346 and not some other version? Is it mandatory for every 14.04 to install 346 only? :/ – 7_R3X Nov 6 '15 at 15:46
  • You can find it out by looking into System Settings _> Software & Updates -> Additional Drivers. Or just see askubuntu.com/questions/61396/… – Pilot6 Nov 6 '15 at 16:17
  • I installed nvidia 346 as you asked and it prime-select worked perfectly. But it seems they aren't the drivers for my device. When I booted it again I saw nothing but black screen. I had to shift to text mode, quit lightdm, uninstall the drivers and boot again. Now I'm where I started from :( And btw System Settings _> Software & Updates -> Additional Drivers shows me nvidia-340!! – 7_R3X Nov 6 '15 at 18:06

use this in you terminal to install nvidia GPU sudo apt-get install bumblebee bumblebee-nvidia primus linux-headers-generic

  • I read it on nvidia's website that linux headers are required to install legacy drivers and mine is not one of those and furthermore, after all this testing my current problem is to find current version of drivers( or so do i suppose ). Can you tell me about that? – 7_R3X Nov 7 '15 at 14:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.