个人工具

UbuntuHelp:NvidiaPCI

来自Ubuntu中文

Oneleaf讨论 | 贡献2007年5月24日 (四) 15:42的版本 (新页面: {{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...)

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航, 搜索


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.