Enabling nvidia-prime on Linux Mint 15.

So i was reading a article about how to enable your nvidia card full time without having to use bumblebee in Linux. So on my Laptop running Linux Mint 15 Cinnamon Edition 64bit, i had started following the steps on this page. Ubuntu Pastebin.

Not everything on this walkthrough was installing, but i did figure out how to get it work.

Here is what i did to make my Nvidia card run full time on my laptop.

 

1.) Follow the steps through the walkthrough, all the way until you get to “sudo make install” of xrandr 1.4

The creation for the xorg.conf file didn’t work out for me, so i just deleted it. Also, the .xsessionrc didn’t work either. The desktop wouldn’t load, and i just got a black screen.

2.) I then did the section where it says,

sudo add-apt-repository ppa:canonical-x/x-staging

sudo add-apt-repository ppa:xorg-edgers/ppa

sudo apt-get update && sudo apt-get upgrade

sudo apt-get install nvidia-319

Ok so note that it says nvidia-319. It does install it, but it also installs nvidia-325. When you run nvidia-settings, it actually shows version 325.15 running as your graphics driver.

3.) I skipped the part where it has you install xorg-server 1.14, but i did install the libudev0 file.

4.) I skipped down to the virtualgl section and installed that.

5.) I then grabbed nvidia-prime from here https://launchpad.net/ubuntu/+source/nvidia-prime/0.3~hybrid0.0.1/+build/4862580/+files/nvidia-prime_0.3%7Ehybrid0.0.1_all.deb

Ok so when you install nvidia-prime, it is going to ask you to install lightdm, and a few other things as well. I am not sure if it requires you to use lightdm as your login manager, but i chose to use it anyway. So my login on Mint looks like ubuntu’s login screen..lol.

6.) Reboot your computer.

Now i cant say this will work for everyone. It just worked for me. I was able to start up games / nvidia-settings without “optirun” or “primusrun”! I am very happy.

Just follow these carefully. You can always purge files if you have a error and need to go back to before this attempt.

Good Luck!

PS: you can read more about nvidia-prime enabling in Ubuntu 13.10 as well. Here

http://www.webupd8.org/2013/08/using-nvidia-graphics-drivers-with.html

-Orkultus-