1

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
7_R3X
  • 1,151
  • 1
  • 16
  • 31

2 Answers2

-1

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.

Pilot6
  • 90,100
  • 91
  • 213
  • 324
  • 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 06 '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 06 '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 06 '15 at 15:46
  • You can find it out by looking into System Settings _> Software & Updates -> Additional Drivers. Or just see http://askubuntu.com/questions/61396/how-do-i-install-the-nvidia-drivers – Pilot6 Nov 06 '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 06 '15 at 18:06
  • @cl-netbox I rolled back your edit. I wrote what I wrote. It will install 352 deiver to 15.10 with nvidia-346 command. – Pilot6 Nov 07 '15 at 10:24
  • @cl-netbox I revoked some of them. But does it matter that much? It was always peace. You can ping me in chat. – Pilot6 Nov 07 '15 at 11:02
-1

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 07 '15 at 14:38