How to install NVIDIA.run?

1

I want to add my answer here because I couldn't install the NVidia driver, I couldn't get tty working and I wasn't able to install it in safe mode root shell. What I did was a combination of two answers here:

NOTE: before doing this, be sure that the NVidia driver is already downloaded and in an accessible directory.

For reference, I have NVIDIA GEFORCE GTX 750 TI and the following worked for me: Installing the generic Nvidia driver will get tty working, do this with:

sudo add-apt-repository ppa:ubuntu-x-swat/x-updates sudo apt-get update sudo apt-get install nvidia-current

Now you won't be able to get past the login screen in Ubuntu, but that's OK. Restart the computer and once you are brought to the sign in screen go to tty1 [ ctrl + alt + f1 ]. Now do the following commands:

sudo service lightdm stop cd sudo sh ./NVIDIA*

Follow the prompts and viola. After restarting everything should be working fine and...

0 0
2

by

Kiranraj

Last Updated June 18, 2017 00:02 AM

I have a Nvidia Ge force Ge6150 SE graphics card. I am running ubuntu 12.04. When I try to install the .run file it fails. It shows the message like this:

I Itried to install it after uninstalling the old driver.still same message. here is the log file.

nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Mon Jun 11 05:46:17 2012 installer version: 295.53

PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

nvidia-installer command line: ./nvidia-installer

Using: nvidia-installer ncurses user interface -> The file '/tmp/.X0-lock' exists and appears to contain the process ID '1062' of a >runnning X server. ERROR: You appear to be running an X server; please exit X before installing. For >further details, please see the section INSTALLING THE NVIDIA DRIVER in the README >available on the Linux driver download page at www.nvidia.com....

0 0
3

Due to the large number of Install guides, all with different methods I decided to make one central guide with the methods that worked for me. This guide will Cover installing the Ubuntu provided drivers and also the binary drivers from Nvidia itself.

FOR UBUNTU PROVIDED DRIVERS

To install Ubuntu provided Nvidia drivers ( If the sources "additional drivers" didn't work for you either):

1) Ctrl-Alt-F1 and login as your username

2)

Code:

sudo apt-get install linux-source

and headers

Code:

sudo apt-get install linux-headers-generic 3) Uninstall nvidia driver - this depends on which version you tried to install from additional drivers :

Code:

sudo apt-get remove nvidia-current

Code:

sudo apt-get remove nvidia-current-updates

Code:

sudo apt-get remove nvidia-experimental-304

4) NOTE: You can install "nvidia-current" "nvidia-current-updates" or "nvidia-experimental-304"

Code:

sudo apt-get...
0 0
4

Hi

"root" is the most privileged account available on your system. It is the "super user" the user who can do "anything" - delete any file, read any file, and execute any system maintenance task.

The Nvidia installer needs to be run "as root" because it needs to change and modify aspects of the system that, because they are critical to system operation, are only accessible to the root user - e. g. the most powerful user.

I've found that the best way to install the Nvidia "run" files for updating my Nvidia graphics driver is the following. I'm using Fedora, but the basics should remain the same for your distro. (Make sure you save .run file in your home folder, so you know where to get hold of it WITHOUT having the GUI (graphics mode) active.)

VERY IMPORTANT

Make SURE you have your kernel source available!!! I'm not sure how you do this under Ubuntu, or where you get a hold of it, but you MUST have a "kernel-devel" pacakge installed that is for the...

0 0
5

I have a Nvidia Ge force Ge6150 SE graphics card. I am running ubuntu 12.04. When I try to install the .run file it fails. It shows the message like this:

I Itried to install it after uninstalling the old driver.still same message. here is the log file.

nvidia-installer log file '/var/log/nvidia-installer.log' creation time: Mon Jun 11 05:46:17 2012 installer version: 295.53

PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

nvidia-installer command line: ./nvidia-installer

Using: nvidia-installer ncurses user interface -> The file '/tmp/.X0-lock' exists and appears to contain the process ID '1062' of a >runnning X server. ERROR: You appear to be running an X server; please exit X before installing. For >further details, please see the section INSTALLING THE NVIDIA DRIVER in the README >available on the Linux driver download page at www.nvidia.com. ERROR: Installation has failed. Please see the file...

0 0
6

This tutorial shows how to install latest nvidia graphics drivers download from nvidia homepage in ubuntu.
If you didn’t installed an old graphics driver in your machine,please skip step4 and step6
Step1: Backup xorg.conf
Use this command in terminal to backup:

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup

So,if encounter something error,use following to restore:

sudo cp /etc/X11/xorg.conf.backup /etc/X11/xorg.conf

Step2:Download latest nvidia graphics drivers
Download the latest version from Nvidia download page:http://www.nvidia.com/object/unix.html
By now,the latest version is 190.42,so we can also use this command to download:
For amd64:
wget http://us.download.nvidia.com/XFree86/Linux-x86_64/190.42/NVIDIA-Linux-x86_64-190.42-pkg2.run
For i386:
wget http://us.download.nvidia.com/XFree86/Linux-x86/190.42/NVIDIA-Linux-x86-190.42-pkg1.run
Make this executable(change filename to which you downloaded):

chmod...
0 0
7
Can't install nvidia driver (.run) file

location: ubuntuforums.com - date: August 17, 2012
Hello! I'm new to ubuntu and i don't know what to do anymore. This is what I have done: Code: cd All good path changed. Then: Code: sudo sh filename.run Much stuff is happening in terminal "vertifying.................... and so on" before I'm left with the text: ERROR: You appear to be running an X server; please exit X before installing. For further details, please see the section INSTALLING THE NVIDIA DRIVER in the README available on the Linux driver download page at www.nvidia.com. Help?

How to Install Nvidia Driver NVIDIALinuxx86270.41.19.run

location: linuxquestions.com - date: May 30, 2011
Hi All. as you should know (from where im posting this) that im an Absolute noob at Ubuntu (ive been using Windows a Lot and wanted to see how hard it would be to include Ubuntu in my App / Game Dev) now onto the question. ive...

0 0
8

Here are the revised instructions let me know whether they work for you. I was able create a viewport using the advanced setting in the nVidia cofig tool.

Make sure your original nVidia driver install is removed.
To do this select configure your computer -> Hardware -> Set up the graphical server.
Select the top drop down men titled and select the graphics card closest to the one you have installed once done select ok.
The next screen will ask you whether to install the proprietry drive select “No” and continue with the install. This action will restore the open source video drivers. You will need to reboot following this procedure.

You can ten start with the procedure detailed here:-
https://www.if-not-true-then-false.com/2015/fedora-nvidia-guide/

You can ignore all of step 1
At step 2.4 run "urpmi --auto-update"
To updat eyour system.

At 2.5 if you have already installed the nVidia driver from OpenMandriva you should...

0 0
9

Do you have a Nvidia graphics card on your desktop? That's great until you are in need of the latest drivers especially when you are a gamer. Unlike Windows, Nvidia drivers for Linux desktops are quite hard to come by, and installing the latest drivers on your Linux desktop can be quite an arduous process. Fortunately for Linux users, there are the third party graphics drivers PPA which keeps an updated Nvidia driver for installation. The PPA is currently in testing but you can nonetheless get working Nvidia drivers from here.

In this tutorial, I am going to show you how to install the latest Nvidia drivers for your Linux desktop in a few steps. I'll also see how to remove it should things not work out as expected.
1. Determine the latest version of Nvidia driver available for your graphics card

a. Visit the graphics drivers PPA homepage here and determine the latest versions of Nvidia drivers available which is ‘nvidia-370’ as of January 1, 2017.
b....

0 0
10

You can use Nvidia cards with the open-source Nouveau device driver or the Nvidia proprietary drivers. The proprietary driver supports more Nvidia cards than Nouveau.

Nouveau – Nvidia Open Source Driver

Nouveau is the open-source device driver to support Nvidia graphics cards and the Nvidia Tegra family of SoCs. The device driver was developed with the cooperation of Nvidia engineers but it’s not the official Nvidia driver.

Nouveau is based on Nvidia’s proprietary Linux driver. The project is currently managed by X.Org Foundation. It has three components:

Linux Kernel KMS driver (nouveau) Gallium3D drivers in Mesa X.org DDX

The source code is hosted on freedesktop.org.

Nouveau is freely distributed under the MIT License. The predecessor of Nouveau is the deprecated 2D-only open-source nv driver. In 2005, Nouveau started as nv driver patches. The first official release was demonstrated in the Linux.conf.au in 2007. In 2010, Nouveau was accepted...

0 0
11

This blog tells you how to install Nvidia drivers from .run file in Ubuntu 12.04.

The most common issue is that you are running a X server when installing Nvidia drivers. Let’s begin.

Hit CTRL+ALT+F1 and log in using your credentials. Kill your current X server session by typing sudo service stop lightdm or sudo stop lightdm. Enter runlevel 3 by typing sudo init 3. Install your .run file by typing sudo chmod +x *.run and sudo ./*.run. Restart your X server by typing sudo service lightdm start or sudo start lightdm. Open a terminal and type nvidia-smi to check your installation, if there is an output tells you the driver and card info, congratulations!

When running .run file, if the program tells you that “ERROR: The Nouveau kernel driver is currently in use by your system…”, this is another issue should be handled. Nouveau is a third-party open source 3D driver for Nvidia cards, it doesn’t accepted or supported by NVIDIA:

Open /etc/default/grub via vim or...
0 0
12

Ubuntu by default installs graphics drivers automatically and configures the best graphics resolution. If you have purchased new graphics card, chances are the drivers need to be installed manually. Here is what you need to do.

1. Go download the linux drivers from nvidia website. Download the .RUN file which is about 60mb.

2. First, open the downloaded file, right click and mark it as execute.

3. The drivers can only be installed in command mode, under sudo and the graphics daemon must not be running. Switch to command mode tty CTRL+ALT+F1, then run this command to stop the display manager

sudo service lightdm stop

If you see a blank screen, that means the mode resolution conflicts with improper video driver. Never mind fix that by running this..

sudo sed -i -e 's/#GRUB_TERMINAL/GRUB_TERMINAL/g' /etc/default/grub sudo update-grub

4. Run your nvidia installer

sudo ./NVIDIA_750TI_350.linux64.run

5. Thats it, once down restart your x-server

...
0 0
13

Nvidia 337.25 was released yesterday as the latest short lived branch version for Linux. The new driver brings lots of fixes and improvements and adds support for following GPUs:

GeForce GTX TITAN Z GeForce GT 740 GeForce 830M GeForce 840M GeForce 845M GeForce GTX 850M

For a complete list of changes, read the official announcement.

Install Nvidia Driver 337.25 in Ubuntu:

Below steps will teach you how to manually install the official .run package in Ubuntu:

1. Press Ctrl+Alt+T on keyboard to open the terminal. When it opens, run commands below one by one to remove previous installed proprietary driver:

sudo apt-get purge nvidia* sudo apt-get update sudo apt-get install nvidia-331-updates-dev

2. After restarted your computer, download the driver:

3. Switch to command console by pressing Ctrl+Alt+F1 (or F2 ~ F6) on keyboard and log in.

4. Kill the graphical session via:

sudo service lightdm stop

For Gnome GDM or Linux Mint...

0 0
14

Nvidia drivers

If you have an Nvidia graphics card on your system, then its recommended to install the official drivers provided by Nvidia. The proprietory drivers would utilise the hardware properly delivering full performance.

Installation is pretty easy and it uses a ppa repository. So you do not need to compile anything. However, make sure to follow the steps properly.

These steps would work on Ubuntu and close derivatives like Xubuntu, Kubuntu, Lubuntu and also Linux Mint and Elementary OS.

1. Find out your graphics card model

Use the lspci command to find out the model of your graphics card

$ lspci -vnn | grep -i VGA -A 12 01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GT218 [GeForce 210] [10de:0a65] (rev a2) (prog-if 00 [VGA controller]) Subsystem: ASUSTeK Computer Inc. Device [1043:8416]

Here its GeForce 210

2. Find out the right driver version for your graphics card

Visit...

0 0
15

Warning: You should never use root " # " as a normal user in UNIX it defeats the security model and may put your system at risk or inoperative. Applications are meant to be run with non-administrative security. Most commands should be run as the sudo user " $ " i.e. : $ sudo apt-get update The commands are examples in our articles, so please abide by the UNIX security model always.

Question - How do I install the latest Nvidia drivers in Ubuntu or Debian?

Article explains how to fix Debian related issues with Nvidia drivers.

Before we start anything, backup your system by issuing below command:

# nvidia-xconfig

and using your favorite backup software. I use cpio or rsync.

Running nvidia-xconfig will automatically backup your current configuration and create a new config file.

Disable conflicting software (recommended!) to avoid any problems during installation. Open or create the /etc/default/linux-restricted-modules-common file with...

0 0