个人工具

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

来自Ubuntu中文

跳转至: 导航, 搜索
(正在重定向到 UbuntuHelp:BinaryDriverHowto/Nvidia
 
(未显示同一用户的1个中间版本)
第1行: 第1行:
 +
#REDIRECT [[UbuntuHelp:BinaryDriverHowto/Nvidia]]
 
{{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.
 
First, ensure that the card you have is an NVIDIA card:
 
<pre><nowiki>
 
lspci | grep -i nvidia
 
</nowiki></pre>
 
You should get an output similar to this:
 
<pre><nowiki>
 
03:00.0 VGA compatible controller: nVidia Corporation Unknown device 0295 (rev a1)
 
</nowiki></pre>
 
If so, you're ready to continue.
 
=== 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 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>
 
sudo /etc/init.d/gdm stop
 
sudo /etc/init.d/kdm stop
 
</nowiki></pre>
 
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:
 
<pre><nowiki>
 
chmod +x NVIDIA-Linux-x86-100.14.11-pkg1.run
 
</nowiki></pre>
 
Substitute filename with the filename of your package.
 
Once you've done this, the file should be ready to install. Type the following command:
 
<pre><nowiki>
 
sudo ./NVIDIA-Linux-x86-100.14.11-pkg1.run
 
</nowiki></pre>
 
Again, substituting the filename for whatever file you've downloaded. A simple graphical installer should start.
 
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2008年10月19日 (日) 17:06的最新版本