Thursday, October 2, 2014

HOW TO INSTALL GEFORCE GTX 750 ON LINUX MINT

How to install Nvidia GeForce GTX 750 Ti on Linux Mint 17 (64 Bit) or Xubuntu 14.04 or Lubuntu 14.04

Great! You've got your new GTX 750, but can you get it to work with Linux?

GeForce GTX 750 Ti on Linux? Is that even possible?

That's what I used to think, but it is possible because I'm writing this post using Linux Mint 17 configured with a GeForce GTX 750 Ti. Not only did I get it to work with Linux, but I also got it to work with Blender GPU rendering (separate post).

Ok, this is how you install it on Linux Mint 17 AMD 64
or Xubuntu 14.04 AMD64 or Lubuntu 14.04 AMD64

(I tried loading it on 14.10 and it did not work, so make sure you are using a distro based off of Ubuntu 14.04)

Disclaimer: Results may vary depending on computer hardware and version of Linux and other stuff like that. Use these instructions at your own risk.

Introduction: Linux Mint 17, Xubuntu 14.04, and Lubuntu 14.04 are all based on Ubuntu 14.04. The Linux based nvidia driver works well enough with 14.04 to get it installed, so basically just do your standard install and then you are ready for step 1.


Step 1: LOAD LIBC HEADER FILES
Nvidia did a great job on their 334.21 driver, but it needs to find the Linux Libc Headers files to function properly. Don't worry there is an easy fix. Just manually load the header files with the following command text.

   sudo apt-get install build-essential linux-headers-$(uname -r)



Step 2: ENABLE FULL SCREEN TEXT MODE

 All other tutorials will tell you to simply press Ctrl-Alt-F1 to get into full screen text mode, HOWEVER, for most systems running the GTX 750, you will not get the text screen. You will get a BLANK BLACK SCREEN instead. To fix this problem you must update your grub file.

Type the following command and your text editor will pop up with your grub file. Use gedit for Linux Mint. Use mousepad for Xubuntu. Use leafpad for Lubuntu. I will use gedit in my example below. The actual command is colored red.


FOR LINUX MINT
   sudo gedit /etc/default/grub

FOR XUBUNTU 
   sudo mousepad /etc/default/grub

FOR LUBUNTU
   sudo leafpad /etc/default/grub 

When the grub files pops up in gedit (or mousepad or leafpad) edit the following line.

BEFORE:
GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash”

AFTER:
GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash nomodeset”

Then save the file and close gedit (or mousepad or leafpad). Now go back to the command prompt and type the following:

   sudo update-grub

Finally reboot your computer. Your splash screen will look at little different, but that's ok as long as your desktop loads properly.


Step 3: Download the latest Nvidia driver for your GTX 750. As of today, the file you need is: NVIDIA-Linux-x86_64-334.21.run

Put a copy of this file in your home directory to make the command line stuff easier.


Step 4: Press Ctrl-Alt-F1 to switch to command line mode.

Step 5: Shut off the graphical interface. Type the following:

FOR LINUX MINT

   sudo service mdm stop 

FOR XUBUNTU AND LUBUNTU
   sudo service lightdm stop 


Step 6: Type "LS" to make sure the Nvidia is in your home directory. You should see the file "NVIDIA-Linux-x86_64-334.21.run" listed. If not, make sure you put a copy in your home directory.

   ls


Step 7: CHANGE THE FILE PERMISSIONS

   sudo chmod +x NVIDIA-Linux-x86_64-334.21.run 

Step 8: Run the Nvidia driver

   sudo sh NVIDIA-Linux-x86_64-334.21.run

The Nvidia installation script might give some error messages, but just hit continue. If it lets you continue then you will get your driver installed. (If it doesn't let you continue, then you don't get the driver installed and you will have to troubleshoot the problem.)

Step 9: Restart the graphical interface

FOR LINUX MINT
   sudo service mdm start

FOR XUBUNTU AND LUBUNTU
   sudo service lightdm start



Step 10: Once rebooted, go to your settings folder and look for an icon called Nvidia X Server Settings. Click on the icon and verify that your card was installed.

Life is good! You've got your new GTX 750 installed on your Linux Mint

That's it. Now you have the latest state-of-the-art graphics card running with your favorite Linux Mint. Life is good.

Help me make this a better tutorial.

If you have any tips, tricks, or suggestions on how to make this tutorial better or easier, please leave them in the comment section below.

Great! You got your GTX 750 working with Linux, now you can work on getting your GeForce GTX 750 to work with Blender.


2014 Linux Beast Magazine - Linux-Beast - Linux Cave

How to install Nvidia Geforce GTX 750 Ti on Linux Mint 17


How to install Nvidia Geforce GTX 750 Ti with Linux 64 bit and how to get CUDA GPU rendering to work with Blender 2.71

Food for Googlebot
How to install GeForce GTX 750 with Linux and Blender.

17 comments:

  1. Thank you! This helped me.

    ReplyDelete
  2. Followed your step by step instructions and, finally I've got my new GTX750Ti fully working under Ubuntu Studio 14.04. Thank you!

    ReplyDelete
  3. You sir, are a legend. you saved me great pain from searching for solutions to the blank tty screens (ctrl+alt+f1...).

    ReplyDelete
  4. Cheers. This helped me get going with an EVGA card in no time.

    ReplyDelete
  5. I follow all given steps and it does works for me. Thanks for sharing..Cheers!!!

    ReplyDelete
  6. This probably needs to go somewhere else, like the WINE forums, but even though this gets my EVGA GTX 750ti card up and running on my 64-bit Linux Mint 17.1, any and ALL Windows-based games I install on WINE simply refuses to run. I can install them just fine, but upon attempting to launch their respective executables, WINE simply exits. When I launch them under POL (PlayOnLinux), using the debug feature, it gave me an error that my drivers weren't installed correctly. I re-installed the latest GeForce driver (as detailed in this very blog), and WINE/POL is still complaining about the driver... I made sure that I selected the option of including the 32-bit libraries during the driver installation process. I've tried WINE 1.6.x and 1.7.x. I've also made sure that I changed the architecture in WINE to 32-bit.

    The games I'm trying to get working are:
    *The Operative: No One Lives Forever (Game of the Year Edition)
    *No One Lives Forever 2: A Spy in H.A.R.M.'s Way
    *Star Trek Armada 2
    *Pro Pinball: The Web

    So far, nothing I've tried has worked. Any ideas?

    ReplyDelete
    Replies
    1. ^ I also want to add that I'm asking the above question because I'm not sure what's at fault. Is it WINE or is it something with the NVIDIA GeForce driver? Though I followed the above instructions EXACTLY, do these instructions overlook something crucial, like missing links or editing certain config files? I'm not a programmer and am just getting started with Linux.

      Delete
  7. Cheers !!! It is an amazing post to install geforce graphics card in Linux. Its fully working as for me. Thanks for this fantastic post.

    ReplyDelete
  8. Really good tutorial. But the nvidia kernels won't install & then after rebooting i get the error, that x-server won' t Start .. What could it be?

    ReplyDelete
  9. Very good tutorial! My monitor is 1920x1080 and everything was unreadable... When I logout the account the resolution sets to 640x480 so I can use it.
    Found this tutorial and successfully installed NVIDIA-Linux-x86_64-352.55.run on Linux Mint 17.2... I'm using GeForce GTX750 Ti... Works perfectly! Thank you very much! :)

    ReplyDelete
  10. Took me a while to figure out NVIDIA-Linux-x86_64-352.55.run runs good on 17.2 rather than older versions. Thanks for the instructions.

    ReplyDelete
  11. Lol it's funny how something as simple as installing new graphics in linsux is a rocket science, LMAO you lusers suck. Windows for life.

    ReplyDelete
  12. Lol it's funny how something as simple as installing new graphics in linsux is a rocket science, LMAO you lusers suck. Windows for life.

    ReplyDelete
  13. This comment has been removed by the author.

    ReplyDelete
  14. hey, everything untill installation of the driver works perfectly.
    if i try to install the nvidia driver. it fails and says: "Error: Unable to build the nvidia kernel module"
    Do you have any trick for this?
    Im on Linux Mint 17.2 Cinnamon

    greetings Torben

    ReplyDelete
  15. I must say working on Linux with these types of issues is a huge pain in the ass. I do like using linux but this may break it for me.
    I would add (or modify your steps here) to indicate how to go to nividia and get the latest drivers first, then move it to your home folder. (IE: you list version 334.21. I searched google for - "Nvidia Linux x86_64*" driver - including quotes, and set the search time for latest month and got version 352.63)
    after doing this install, following the remaining steps, it all works now. But... my version of Blender now does not recognize my card again.
    How would I go about getting Blender to now see the CUDA drivers?

    ReplyDelete