LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: wohensha

nvidia驱动安装方法[已经更新]──2004-12-25

[复制链接]
发表于 2005-3-19 10:21:44 | 显示全部楼层
楼上的兄弟们,我已经装了最新的驱动好像是7129吧,是run 的,我没有修改你们所说的XORG.CONF,这样很好的,我的显卡是GF4 MX440 64M,怎么必须注消Load "dri"呢,我不知道为什么啊.请给我个修改的理由,我的系统是redhat fedora core 3
回复 支持 反对

使用道具 举报

发表于 2005-5-14 00:53:05 | 显示全部楼层
我装上两个包, 现在好像可以用了.

如果只运行 sh NVIDIA-Linux-x86-1.0-6111-pkg1.run

可以吗?
回复 支持 反对

使用道具 举报

发表于 2005-5-14 02:22:13 | 显示全部楼层
Post by soboy
我装上两个包, 现在好像可以用了.

如果只运行 sh NVIDIA-Linux-x86-1.0-6111-pkg1.run

可以吗?

是的。。。
应该改一下 /etc/X11/XF86Config或者 /etc/X11/xorg.conf中的。

找类似如下的段
Section "Device"
    Identifier  "VESA Framebuffer"
    Driver      "nvidia"只改这行,把其它的改成nvidia,不要把引号省略了。
    #VideoRam    4096
    # Insert Clocks lines here if appropriate
EndSection

还有一些,照前 文的  说明做
回复 支持 反对

使用道具 举报

发表于 2005-5-14 08:26:08 | 显示全部楼层
建议加成第三种方法,

我开始没明白, 就下了所有的文件.

不但运行run文件, 还编译了两个源文件. 没有必要的重复.
回复 支持 反对

使用道具 举报

发表于 2005-6-20 03:40:42 | 显示全部楼层

我的显卡好象没驱上

小弟先给各位敬礼了……
--------------------------------
我的显卡似乎没驱上,玩CS1.6说不支持OpenGL模式,不知道是什么原因,
而且我的[显示属性]中的[设置]下[高级]只有“常规”、“配置器”等5个选项。
这个和网吧里不一样,所以我就觉得是没驱上,于是我瞎折腾电脑,不小心把
原来的驱动卸载了,现在就不知道如何是好了,大家能帮我一下么?

我的显卡是NVIDIA GeForce4 MX440 别的信息我也不知道去哪看了。
大家帮帮我!!!!
回复 支持 反对

使用道具 举报

发表于 2005-9-19 16:06:47 | 显示全部楼层

我的驱动安装成功了吗?

[root@localhost usr]# uname -a
Linux localhost.localdomain 2.6.9-11.EL #1 Fri May 20 18:17:57 EDT 2005 i686 i686 i386 GNU/Linux
[root@localhost usr]# arch
i686

RHEL AS4, Geforce MX440,  下载的这个版本NVIDIA-Linux-x86-1.0-7676-pkg1.run, 安装过程如下:

1. 修改/etc/intitab 默认启动级别改为3
2. 重启进入文本模式:
sh NVIDIA-Linux-x86-1.0-7676-pkg1.run -x
cd NVIDIA-Linux-x86-1.0-7676
make install
3. 修改/etc/X11/xorg.conf
4. 修改/etc/intitab 默认启动级别改为5

重启, 出现了NV的logo, 可以进入Xwindow.屏幕刷新率可以刷到更高一点了, 但是显示效果跟以前差不多, 不知道驱动起作用没有. 高手帮忙分析一下.
这是我修改后的/etc/X11/xorg.conf



# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
Identifier     "Default Layout"
Screen      0  "Screen0" 0 0
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# RgbPath is 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.
# 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.
RgbPath      "/usr/X11R6/lib/X11/rgb"
FontPath     "unix/:7100"
EndSection

Section "Module"
#Load  "dbe"
Load  "extmod"
Load  "fbdevhw"
Load  "glx"
Load  "record"
Load  "freetype"
Load  "type1"
#Load  "dri"
EndSection

Section "InputDevice"

# 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:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier  "Keyboard0"
Driver      "kbd"
Option     "XkbModel" "pc105"
Option     "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver      "mouse"
Option     "rotocol" "IMPS/2"
Option     "Device" "/dev/input/mice"
Option     "ZAxisMapping" "4 5"
Option     "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
Identifier   "Monitor0"
VendorName   "Monitor Vendor"
ModelName    "EMC SA-560"
HorizSync    30.0 - 64.0
VertRefresh  50.0 - 100.0
Option     "dpms"
EndSection

Section "Device"
Identifier  "Videocard0"
Driver      "nvidia"
VendorName  "Videocard vendor"
BoardName   "NVIDIA GeForce 4 MX (generic)"
EndSection

Section "Screen"
Identifier "Screen0"
Device     "Videocard0"
Monitor    "Monitor0"
DefaultDepth     24
SubSection "Display"
  Viewport   0 0
  Depth     16
  Modes    "800x600" "640x480"
EndSubSection
SubSection "Display"
  Viewport   0 0
  Depth     24
  Modes    "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group        0
Mode         0666
EndSection


但是, 重启后, 该文件又被系统修改了,并且产生了一个备份文件, 也就是上面的那些内容. 被系统修改后的:

# Xorg configuration created by system-config-display

Section "ServerLayout"
Identifier     "single head configuration"
Screen      0  "Screen0" 0 0
InputDevice    "Mouse0" "CorePointer"
InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"

# RgbPath is 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.
# 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.
RgbPath      "/usr/X11R6/lib/X11/rgb"
FontPath     "unix/:7100"
EndSection

Section "Module"

#Load  "dbe"
Load  "extmod"
Load  "fbdevhw"
Load  "glx"
Load  "record"
Load  "freetype"
Load  "type1"
#Load  "dri"
Load  "dri"
EndSection

Section "InputDevice"

# 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:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier  "Keyboard0"
Driver      "kbd"
Option     "XkbModel" "pc105"
Option     "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier  "Mouse0"
Driver      "mouse"
Option     "rotocol" "IMPS/2"
Option     "Device" "/dev/input/mice"
Option     "ZAxisMapping" "4 5"
Option     "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
Identifier   "Monitor0"
VendorName   "Monitor Vendor"
ModelName    "EMC SA-560"
HorizSync    30.0 - 64.0
VertRefresh  50.0 - 100.0
Option     "dpms"
EndSection

Section "Device"
Identifier  "Videocard0"
Driver      "nvidia"
VendorName  "Videocard vendor"
BoardName   "NVIDIA GeForce 4 MX (generic)"
EndSection

Section "Screen"
Identifier "Screen0"
Device     "Videocard0"
Monitor    "Monitor0"
DefaultDepth     24
SubSection "Display"
  Viewport   0 0
  Depth     16
  Modes    "800x600" "640x480"
EndSubSection
SubSection "Display"
  Viewport   0 0
  Depth     24
  Modes    "1024x768" "800x600" "640x480"
EndSubSection
EndSection

Section "DRI"
Group        0
Mode         0666
EndSection

也就是 Load dri又被自动加上去了, 为什么啊?
回复 支持 反对

使用道具 举报

发表于 2006-4-5 23:13:11 | 显示全部楼层
我在gentoo下面安装成功了一次,后来升级了一下内核,现在一直安装不上了,提示
Nvidia Unknown symbol remap_page_range
Nvidia Unknown symbol pci-find-class
这是为什么啊??
gentoo
stage1
kernel2.6.16
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表