分享
 
 
 

nvidia驱动程序安装

王朝other·作者佚名  2008-05-18
窄屏简体版  字體: |||超大  

本方法对所有NVIDIA的显卡都有效。前提是必须把kernel source安装上,如果弟兄们升级有错误可能就是gcc或者kernel source没有安装上。如果出现问题,就要把错误信息发上来,这样才能高效解决问题。发帖时不要忘记说自己的所用的版本,以及硬件信息等。多谢。

1]下载显卡的驱动tar包,只要是NVIDIA的,这两个包都适用:

www.linuxsir.org/driver/nvidia/NVID...1.0-3123.tar.gz

www.linuxsir.org/driver/nvidia/NVID...1.0-3123.tar.gz

安装:[经quanlinking兄指教,make时是有先后顺序的,要先make NVIDIA_kernel-1.0-3123]

# tar zxvf NVIDIA_GLX-1.0-3123.tar.gz

# tar zxvf NVIDIA_kernel-1.0-3123.tar.gz

# cd NVIDIA_kernel-1.0-3123

# make

# cd NVIDIA_GLX-1.0-3123

# make

把/etc/X11中的XF86Config-4文件中的nv改成nvidia。其它注销项目,请见我的XF86Config-4文件。有些版本没有这个文件,可以修改XF86Config文件.

/etc/X11/XF86Config-4文件,有些版本没有这个文件,可以修改XF86Config文件.

用下面的来参考

# File generated by anaconda.

Section "ServerLayout"

Identifier "Anaconda Configured"

Screen 0 "Screen0" 0 0

InputDevice "Mouse0" "CorePointer"

InputDevice "Keyboard0" "CoreKeyboard"

EndSection

Section "Files"

# The location of the RGB database. Note, this is the name of the

# file minus the extension (like ".txt" or ".db"). There is normally

# no need to change the default.

RgbPath "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (they are concatenated together)

# By default, Red Hat 6.0 and later now use a font server independent of

# the X server to render fonts.

如果汉化就把路径加在这里,如果不汉化,就不要加了

FontPath "unix/:7100"

EndSection

Section "Module"

Load "xtt"如果汉化了,在加上这一句没有汉化就不要加了

Load "GLcore"在这句的前面,要加一个#号

Load "dbe"在这句的前面,要加一个#号

Load "extmod"

Load "fbdevhw"

Load "dri"在这句的前面,要加一个#号

Load "glx"

Load "record"

Load "freetype"如果汉化了,也在这句的前面,要加一个#号;没有用汉化,就不要加#号了

Load "type1"如果汉化了,也在这句的前面,要加一个#号;没有用汉化,就不要加#号了

EndSection

Section "InputDevice"

Identifier "Keyboard0"

Driver "keyboard"

# Option "AutoRepeat" "500 5"

# when using XQUEUE, comment out the above line, and uncomment the

# following line

# Option "Protocol" "Xqueue"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))

# Option "Xleds" "1 2 3"

# To disable the XKEYBOARD extension, uncomment XkbDisable.

# Option "XkbDisable"

# To customise the XKB settings to suit your keyboard, modify the

# lines below (which are the defaults). For example, for a non-U.S.

# keyboard, you will probably want to use:

# Option "XkbModel" "pc102"

# If you have a US Microsoft Natural keyboard, you can use:

# Option "XkbModel" "microsoft"

#

# Then to change the language, change the Layout setting.

# For example, a german layout can be obtained with:

# Option "XkbLayout" "de"

# or:

# Option "XkbLayout" "de"

# Option "XkbVariant" "nodeadkeys"

#

# If you'd like to switch the positions of your capslock and

# control keys, use:

# Option "XkbOptions" "ctrl:nocaps"

Option "XkbRules" "xfree86"

Option "XkbModel" "pc102"

Option "XkbLayout" "us"

Option "XkbVariant" "basic"

#Option "XkbOptions" ""

EndSection

Section "InputDevice"

Identifier "Mouse0"

Driver "mouse"

Option "Protocol" "IMPS/2"

Option "Device" "/dev/input/mice"

Option "ZAxisMapping" "4 5"

Option "Emulate3Buttons" "no"

EndSection

Section "Monitor"

Identifier "Monitor0"

VendorName "Monitor Vendor"

ModelName "Monitor Model"

HorizSync 30-62

VertRefresh 50-75

Option "dpms"在这句的前面,要加一个#号

# -- 1400x1050 --

# 1400x1050 @ 60Hz, 65.8 kHz hsync

Modeline "1400x1050" 129 1400 1464 1656 1960

1050 1051 1054 1100 +HSync +VSync

# 1400x1050 @ 70Hz, 76.8 kHz hsync

Modeline "1400x1050" 151 1400 1464 1656 1960

1050 1051 1054 1100 +HSync +VSync

# 1400x1050 @ 75Hz, 82.3 kHz hsync

Modeline "1400x1050" 162 1400 1464 1656 1960

1050 1051 1054 1100 +HSync +VSync

# 1400x1050 @ 85Hz, 93.2 kHz hsync

Modeline "1400x1050" 184 1400 1464 1656 1960

1050 1051 1054 1100 +HSync +VSync

EndSection

Section "Device"

# no known options

Identifier "NVIDIA GeForce 3 (generic)"

Driver "nv"在这里,要把nv改成nvidia

VendorName "NVIDIA GeForce 3 (generic)"

BoardName "NVIDIA GeForce 3 (generic)"

#BusID

EndSection

Section "Screen"

Identifier "Screen0"

Device "NVIDIA GeForce 3 (generic)"

Monitor "Monitor0"

DefaultDepth 24

Subsection "Display"

Depth 24

Modes "1024x768" "1024x768"

EndSubsection

EndSection

Section "DRI"

Mode 0666

EndSection

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
2023年上半年GDP全球前十五强
 百态   2023-10-24
美众议院议长启动对拜登的弹劾调查
 百态   2023-09-13
上海、济南、武汉等多地出现不明坠落物
 探索   2023-09-06
印度或要将国名改为“巴拉特”
 百态   2023-09-06
男子为女友送行,买票不登机被捕
 百态   2023-08-20
手机地震预警功能怎么开?
 干货   2023-08-06
女子4年卖2套房花700多万做美容:不但没变美脸,面部还出现变形
 百态   2023-08-04
住户一楼被水淹 还冲来8头猪
 百态   2023-07-31
女子体内爬出大量瓜子状活虫
 百态   2023-07-25
地球连续35年收到神秘规律性信号,网友:不要回答!
 探索   2023-07-21
全球镓价格本周大涨27%
 探索   2023-07-09
钱都流向了那些不缺钱的人,苦都留给了能吃苦的人
 探索   2023-07-02
倩女手游刀客魅者强控制(强混乱强眩晕强睡眠)和对应控制抗性的关系
 百态   2020-08-20
美国5月9日最新疫情:美国确诊人数突破131万
 百态   2020-05-09
荷兰政府宣布将集体辞职
 干货   2020-04-30
倩女幽魂手游师徒任务情义春秋猜成语答案逍遥观:鹏程万里
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案神机营:射石饮羽
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案昆仑山:拔刀相助
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案天工阁:鬼斧神工
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案丝路古道:单枪匹马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:与虎谋皮
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:李代桃僵
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案镇郊荒野:指鹿为马
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:小鸟依人
 干货   2019-11-12
倩女幽魂手游师徒任务情义春秋猜成语答案金陵:千金买邻
 干货   2019-11-12
 
推荐阅读
 
 
 
>>返回首頁<<
 
靜靜地坐在廢墟上,四周的荒凉一望無際,忽然覺得,淒涼也很美
© 2005- 王朝網路 版權所有