特殊:Badtitle/NS100:NvidiaPCI

来自Ubuntu中文
Wikibot留言 | 贡献2008年10月19日 (日) 16:40的版本
跳到导航跳到搜索
可打印版本不再受到支持且可能有渲染错误。请更新您的浏览器书签并改用浏览器默认打印功能。

{{#ifexist: :NvidiaPCI/zh | | {{#ifexist: NvidiaPCI/zh | | {{#ifeq: {{#titleparts:NvidiaPCI|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:NvidiaPCI|1|-1|}} | zh | | }}

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.