个人工具

“UbuntuHelp:NvidiaPCI”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
(新页面: {{From|https://help.ubuntu.com/community/NvidiaPCI}} {{Languages|UbuntuHelp:NvidiaPCI}} A brief guide on setting up Ubuntu with Nvidia PCI graphics cards, You'll need to know the PCI slo...)
 
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/NvidiaPCI}}
 
{{From|https://help.ubuntu.com/community/NvidiaPCI}}
 
{{Languages|UbuntuHelp:NvidiaPCI}}
 
{{Languages|UbuntuHelp:NvidiaPCI}}
 
 
A brief guide on setting up Ubuntu with Nvidia PCI graphics cards, You'll need to know the PCI slot location of the card (Using lspci from the command line, Might help). Some knowledge of vim.. (see 'man vim')
 
A brief guide on setting up Ubuntu with Nvidia PCI graphics cards, You'll need to know the PCI slot location of the card (Using lspci from the command line, Might help). Some knowledge of vim.. (see 'man vim')
 
 
From the command line:
 
From the command line:
 
 
{|border="1" cellspacing="0"
 
{|border="1" cellspacing="0"
 
| $ sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup  
 
| $ sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup  
 
|}
 
|}
 
 
Once you've backed up, From the command line:
 
Once you've backed up, From the command line:
 
 
{|border="1" cellspacing="0"
 
{|border="1" cellspacing="0"
 
| $ sudo vim /etc/X11/xorg.conf  
 
| $ sudo vim /etc/X11/xorg.conf  
 
|}
 
|}
 
 
Goto the device section, In most cases it will have your onboard graphics controller:
 
Goto the device section, In most cases it will have your onboard graphics controller:
 
 
Example:  
 
Example:  
 
<pre><nowiki> Section "Device"
 
<pre><nowiki> Section "Device"
第25行: 第18行:
 
EndSection
 
EndSection
 
</nowiki></pre>
 
</nowiki></pre>
 
 
Change this to match your setup. (This is where you'll need the PCI slot info).  
 
Change this to match your setup. (This is where you'll need the PCI slot info).  
 
 
You can change the Identifier value to something you'll remember or one thats easier to type..
 
You can change the Identifier value to something you'll remember or one thats easier to type..
 
 
Example:
 
Example:
 
<pre><nowiki> Section "Device"
 
<pre><nowiki> Section "Device"
第36行: 第26行:
 
BusID "PCI:2:9:0"
 
BusID "PCI:2:9:0"
 
EndSection </nowiki></pre>
 
EndSection </nowiki></pre>
 
 
You can change the driver to 'nvidia' once you have installed the 'nvidia-glx' package,
 
You can change the driver to 'nvidia' once you have installed the 'nvidia-glx' package,
 
You'll now need to change the device of the 'screen' section to the Identifier value..
 
You'll now need to change the device of the 'screen' section to the Identifier value..
 
 
To something like this:
 
To something like this:
 
 
<pre><nowiki> Section "Screen"
 
<pre><nowiki> Section "Screen"
 
Identifier "Default Screen"
 
Identifier "Default Screen"
 
Device "Nvidia FX5500 PCI"
 
Device "Nvidia FX5500 PCI"
 
Monitor "Monitor"
 
Monitor "Monitor"
 
 
truncated.... </nowiki></pre>  
 
truncated.... </nowiki></pre>  
 
 
Save the changes to the file & exit vim, Start the Xserver  
 
Save the changes to the file & exit vim, Start the Xserver  
 
 
{|border="1" cellspacing="0"
 
{|border="1" cellspacing="0"
 
| $ startx  
 
| $ startx  
 
|}
 
|}
 
 
If everything was set correctly you should have a nice desktop, If you don't check the xorg logs.
 
If everything was set correctly you should have a nice desktop, If you don't check the xorg logs.
 
+
See also [[UbuntuHelp:BinaryDriverHowto/Nvidia]]
 +
== Free alternative ==
 +
There is '''Nouveau''': an open source 3D acceleration for nVidia cards. Currently (2007), there is 2D-support, and a very limited 3D support for extremely lucky developers. See http://nouveau.freedesktop.org/wiki/.
 +
The users that have installed the proprietary driver can help the development of Nouveau, by sending information about their cards, see http://nouveau.freedesktop.org/wiki/REnouveauDumps.
 
----
 
----
 
[[category:CategoryDocumentation]] [[category:CategoryCleanup]]
 
[[category:CategoryDocumentation]] [[category:CategoryCleanup]]
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2007年11月30日 (五) 20:52的版本

A brief guide on setting up Ubuntu with Nvidia PCI graphics cards, You'll need to know the PCI slot location of the card (Using lspci from the command line, Might help). Some knowledge of vim.. (see 'man vim') From the command line:

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

Once you've backed up, From the command line:

$ sudo vim /etc/X11/xorg.conf

Goto the device section, In most cases it will have your onboard graphics controller: Example:

 Section "Device"
	Identifier	"Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device"
	Driver		"i845"
	BusID		"PCI:0:2:0"
EndSection

Change this to match your setup. (This is where you'll need the PCI slot info). You can change the Identifier value to something you'll remember or one thats easier to type.. Example:

 Section "Device"
	Identifier	"Nvidia FX5500 PCI"
	Driver		"nv"
	BusID		"PCI:2:9:0"
EndSection 

You can change the driver to 'nvidia' once you have installed the 'nvidia-glx' package, You'll now need to change the device of the 'screen' section to the Identifier value.. To something like this:

 Section "Screen"
	Identifier	"Default Screen"
	Device		"Nvidia FX5500 PCI"
	Monitor		"Monitor"
truncated.... 

Save the changes to the file & exit vim, Start the Xserver

$ startx

If everything was set correctly you should have a nice desktop, If you don't check the xorg logs. See also UbuntuHelp:BinaryDriverHowto/Nvidia

Free alternative

There is Nouveau: an open source 3D acceleration for nVidia cards. Currently (2007), there is 2D-support, and a very limited 3D support for extremely lucky developers. See http://nouveau.freedesktop.org/wiki/. The users that have installed the proprietary driver can help the development of Nouveau, by sending information about their cards, see http://nouveau.freedesktop.org/wiki/REnouveauDumps.