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-

 

 

 

About these ads

5 comments on “Enabling nvidia-prime on Linux Mint 15.

  1. Ubuntu 12.04.3 already bought this support out of the box. When I installed it on my brand new i7 laptop with nvidia 630M, I found out that the nvidia 319 driver installed as well nvida-prime. Unfortunately its still not as effective as bumblebee where the gpu would be switched off saving you power and lowering heat. Under Manjaro with kernel 3.10, the CPU heat is far lower with nvidia 3.25 driver and bumblebee.

    • orkultus says:

      When i tried Kernel 3.10, with nvidia 3.25 and nvidia prime, i wasn’t able to load up Xorg. It would show up with a crash window, and it would just keep restarting Xorg to that crash window. So this solution that i had posted, worked fine for me. My laptop doesn’t get that hot actually. The battery does drop down alot, but i am mostly plugged in when i am on my laptop.

      -Orkultus-

      • I have been monitoring on the temp issue and it seems the rise is nominal compared to full bumblebee where the card is switched off. Also battery use has only dropped by half hour which I can live with. I am expecting nvidia to improve this scenario in future anyways. Best of all, the performance regarding graphics works well. Even basic browsing with chrome on image and flash heavy sites is far better than as compared to Intel’s GPU. Also fps is far better than Bumblebee’s optirun command. I can live with this.

  2. orkultus says:

    Also noted that while using the nvidia card for my desktop environment on my laptop, i noticed that while using the touch mouse pad, that it would cause Xorg to freeze up. The only way to unlock it was to press “Crtl Alt F2″, then “Ctrl Alt F7″ to go back to my desktop and it would unfreeze until it would freeze again later. Im not sure where that problem is coming from. I just started using my USB wireless mouse, and disabled the touchpad, and it hasn’t been a problem.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s