个人工具

“UbuntuHelp:RestrictedDrivers/NVIDIAOfficial”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(新页面: {{From|https://help.ubuntu.com/community/RestrictedDrivers/NVIDIAOfficial}} {{Languages|UbuntuHelp:RestrictedDrivers/NVIDIAOfficial}} It's always a possibility to download the drivers fo...)
 
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/RestrictedDrivers/NVIDIAOfficial}}
 
{{From|https://help.ubuntu.com/community/RestrictedDrivers/NVIDIAOfficial}}
 
{{Languages|UbuntuHelp:RestrictedDrivers/NVIDIAOfficial}}
 
{{Languages|UbuntuHelp:RestrictedDrivers/NVIDIAOfficial}}
 
 
It's always a possibility to download the drivers for your NVIDIA graphics card through the Ubuntu repositories, but if you're looking to use the official NVIDIA drivers, it gets slightly trickier, but it's still a pretty easy bit of maintenance. It really shouldn't be necessary for the average end-user, but for the ones who are interested in doing so, here's a guide on how to do so.
 
It's always a possibility to download the drivers for your NVIDIA graphics card through the Ubuntu repositories, but if you're looking to use the official NVIDIA drivers, it gets slightly trickier, but it's still a pretty easy bit of maintenance. It really shouldn't be necessary for the average end-user, but for the ones who are interested in doing so, here's a guide on how to do so.
 
 
First, ensure that the card you have is an NVIDIA card:
 
First, ensure that the card you have is an NVIDIA card:
 
 
<pre><nowiki>
 
<pre><nowiki>
 
lspci | grep -i nvidia
 
lspci | grep -i nvidia
 
</nowiki></pre>
 
</nowiki></pre>
 
 
You should get an output similar to this:
 
You should get an output similar to this:
 
 
<pre><nowiki>
 
<pre><nowiki>
 
03:00.0 VGA compatible controller: nVidia Corporation Unknown device 0295 (rev a1)
 
03:00.0 VGA compatible controller: nVidia Corporation Unknown device 0295 (rev a1)
 
</nowiki></pre>
 
</nowiki></pre>
 
 
If so, you're ready to continue.
 
If so, you're ready to continue.
 
 
=== Acquiring and installing ===
 
=== Acquiring and installing ===
 
 
The first thing you should do, is to navigate to [http://www.nvidia.com/content/drivers/drivers.asp NVIDIA's driver page], choose 'Graphics driver' in step 1, your card in step 2 and Linux x86/x64, depending on your architecture. Once you've done that, click 'Go' and proceed to download the .run file. Since I have an NVIDIA GeForce 7950GT running on Ubuntu 7.04 x86, I choose 'Graphics Driver', 'GeForce 7 Series' and 'Linux x86'.
 
The first thing you should do, is to navigate to [http://www.nvidia.com/content/drivers/drivers.asp NVIDIA's driver page], choose 'Graphics driver' in step 1, your card in step 2 and Linux x86/x64, depending on your architecture. Once you've done that, click 'Go' and proceed to download the .run file. Since I have an NVIDIA GeForce 7950GT running on Ubuntu 7.04 x86, I choose 'Graphics Driver', 'GeForce 7 Series' and 'Linux x86'.
 
 
The next step is to kill your X session: after terminating all your running applications, press CTRL+ALT+1 to go to a terminal. Log in with your user information. Depending on whether you use GNOME or KDE, run either of the following commands:
 
The next step is to kill your X session: after terminating all your running applications, press CTRL+ALT+1 to go to a terminal. Log in with your user information. Depending on whether you use GNOME or KDE, run either of the following commands:
 
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo /etc/init.d/gdm stop
 
sudo /etc/init.d/gdm stop
 
sudo /etc/init.d/kdm stop
 
sudo /etc/init.d/kdm stop
 
</nowiki></pre>
 
</nowiki></pre>
 
 
That's '''gdm''' for GNOME, '''kdm''' for KDE.
 
That's '''gdm''' for GNOME, '''kdm''' for KDE.
 
 
Next up, change to the directory to which you downloaded the .run file; this is most likely in your home directory (/home/yourname) or your on your desktop (/home/yourname/Desktop). In my case, it's in my home folder, so I type <code><nowiki>cd ~/</nowiki></code> to go to my home folder. To execute the file, it must also be executable. To make it such, run this command:
 
Next up, change to the directory to which you downloaded the .run file; this is most likely in your home directory (/home/yourname) or your on your desktop (/home/yourname/Desktop). In my case, it's in my home folder, so I type <code><nowiki>cd ~/</nowiki></code> to go to my home folder. To execute the file, it must also be executable. To make it such, run this command:
 
 
<pre><nowiki>
 
<pre><nowiki>
 
chmod +x NVIDIA-Linux-x86-100.14.11-pkg1.run
 
chmod +x NVIDIA-Linux-x86-100.14.11-pkg1.run
 
</nowiki></pre>
 
</nowiki></pre>
 
 
Substitute filename with the filename of your package.
 
Substitute filename with the filename of your package.
 
 
Once you've done this, the file should be ready to install. Type the following command:
 
Once you've done this, the file should be ready to install. Type the following command:
 
 
<pre><nowiki>
 
<pre><nowiki>
 
sudo ./NVIDIA-Linux-x86-100.14.11-pkg1.run
 
sudo ./NVIDIA-Linux-x86-100.14.11-pkg1.run
 
</nowiki></pre>
 
</nowiki></pre>
 
 
Again, substituting the filename for whatever file you've downloaded. A simple graphical installer should start.
 
Again, substituting the filename for whatever file you've downloaded. A simple graphical installer should start.
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2007年11月30日 (五) 21:16的版本

It's always a possibility to download the drivers for your NVIDIA graphics card through the Ubuntu repositories, but if you're looking to use the official NVIDIA drivers, it gets slightly trickier, but it's still a pretty easy bit of maintenance. It really shouldn't be necessary for the average end-user, but for the ones who are interested in doing so, here's a guide on how to do so. First, ensure that the card you have is an NVIDIA card:

lspci | grep -i nvidia

You should get an output similar to this:

03:00.0 VGA compatible controller: nVidia Corporation Unknown device 0295 (rev a1)

If so, you're ready to continue.

Acquiring and installing

The first thing you should do, is to navigate to NVIDIA's driver page, choose 'Graphics driver' in step 1, your card in step 2 and Linux x86/x64, depending on your architecture. Once you've done that, click 'Go' and proceed to download the .run file. Since I have an NVIDIA GeForce 7950GT running on Ubuntu 7.04 x86, I choose 'Graphics Driver', 'GeForce 7 Series' and 'Linux x86'. The next step is to kill your X session: after terminating all your running applications, press CTRL+ALT+1 to go to a terminal. Log in with your user information. Depending on whether you use GNOME or KDE, run either of the following commands:

sudo /etc/init.d/gdm stop
sudo /etc/init.d/kdm stop

That's gdm for GNOME, kdm for KDE. Next up, change to the directory to which you downloaded the .run file; this is most likely in your home directory (/home/yourname) or your on your desktop (/home/yourname/Desktop). In my case, it's in my home folder, so I type cd ~/ to go to my home folder. To execute the file, it must also be executable. To make it such, run this command:

chmod +x NVIDIA-Linux-x86-100.14.11-pkg1.run

Substitute filename with the filename of your package. Once you've done this, the file should be ready to install. Type the following command:

sudo ./NVIDIA-Linux-x86-100.14.11-pkg1.run

Again, substituting the filename for whatever file you've downloaded. A simple graphical installer should start.