LinuxSir.cn,穿越时空的Linuxsir!

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

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

[复制链接]
发表于 2004-12-27 13:48:36 | 显示全部楼层
这是我 安装6111的 过程  是 怎麽回事 ?
成功了 吗 ??
[root@localhost root]# sh NVIDIA-Linux-x86-1.0-6111-pkg1.run -x
NVIDIA-Linux-x86-1.0-6111-pkg1.run: NVIDIA-Linux-x86-1.0-6111-pkg1.run: 没有那个文件或目录
[root@localhost root]# cd /home
[root@localhost home]# sh NVIDIA-Linux-x86-1.0-6111-pkg1.run -x
Creating directory NVIDIA-Linux-x86-1.0-6111-pkg1
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86 1.0-6111..........................................................................................................................................................................................................
[root@localhost home]# cd NVIDIA-Linux-x86-1.0-6111-pkg1
[root@localhost NVIDIA-Linux-x86-1.0-6111-pkg1]# make install
cd usr/src/nv; make install
make[1]: Entering directory `/home/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv'
echo \#define NV_COMPILER \"`cc -v 2>&1 | tail -n 1`\" > nv_compiler.h
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -UDEBUG -U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6111  -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86      -DREMAP_PAGE_RANGE_5 -DNV_CHANGE_PAGE_ATTR_PRESENT  -I. -I/lib/modules/2.4.20-8/build/include -Wno-cast-qual -Wno-error nv.c
In file included from /lib/modules/2.4.20-8/build/include/linux/prefetch.h:13,
                 from /lib/modules/2.4.20-8/build/include/linux/list.h:6,
                 from /lib/modules/2.4.20-8/build/include/linux/module.h:12,
                 from nv-linux.h:52,
                 from nv.c:14:
/lib/modules/2.4.20-8/build/include/asm/processor.h:267:1: warning: "EISA_bus" redefined
In file included from /lib/modules/2.4.20-8/build/include/linux/modversions.h:132,
                 from nv-linux.h:48,
                 from nv.c:14:
/lib/modules/2.4.20-8/build/include/linux/modules/i386_ksyms.ver:92:1: warning: this is the location of the previous definition
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -UDEBUG -U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6111  -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86      -DREMAP_PAGE_RANGE_5 -DNV_CHANGE_PAGE_ATTR_PRESENT  -I. -I/lib/modules/2.4.20-8/build/include -Wno-cast-qual -Wno-error os-agp.c
In file included from /lib/modules/2.4.20-8/build/include/linux/prefetch.h:13,
                 from /lib/modules/2.4.20-8/build/include/linux/list.h:6,
                 from /lib/modules/2.4.20-8/build/include/linux/module.h:12,
                 from nv-linux.h:52,
                 from os-agp.c:24:
/lib/modules/2.4.20-8/build/include/asm/processor.h:267:1: warning: "EISA_bus" redefined
In file included from /lib/modules/2.4.20-8/build/include/linux/modversions.h:132,
                 from nv-linux.h:48,
                 from os-agp.c:24:
/lib/modules/2.4.20-8/build/include/linux/modules/i386_ksyms.ver:92:1: warning: this is the location of the previous definition
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -UDEBUG -U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6111  -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86      -DREMAP_PAGE_RANGE_5 -DNV_CHANGE_PAGE_ATTR_PRESENT  -I. -I/lib/modules/2.4.20-8/build/include -Wno-cast-qual -Wno-error os-interface.c
In file included from /lib/modules/2.4.20-8/build/include/linux/prefetch.h:13,
                 from /lib/modules/2.4.20-8/build/include/linux/list.h:6,
                 from /lib/modules/2.4.20-8/build/include/linux/module.h:12,
                 from nv-linux.h:52,
                 from os-interface.c:26:
/lib/modules/2.4.20-8/build/include/asm/processor.h:267:1: warning: "EISA_bus" redefined
In file included from /lib/modules/2.4.20-8/build/include/linux/modversions.h:132,
                 from nv-linux.h:48,
                 from os-interface.c:26:
/lib/modules/2.4.20-8/build/include/linux/modules/i386_ksyms.ver:92:1: warning: this is the location of the previous definition
cc -c -Wall -Wimplicit -Wreturn-type -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wpointer-arith  -Wno-multichar  -Werror -O -fno-common -UDEBUG -U_DEBUG -DNDEBUG -MD -D__KERNEL__ -DMODULE -D_LOOSE_KERNEL_NAMES -DNTRM -D_GNU_SOURCE -D_LOOSE_KERNEL_NAMES -D__KERNEL__ -DMODULE  -DNV_MAJOR_VERSION=1 -DNV_MINOR_VERSION=0 -DNV_PATCHLEVEL=6111  -DNV_UNIX   -DNV_LINUX   -DNV_INT64_OK   -DNVCPU_X86      -DREMAP_PAGE_RANGE_5 -DNV_CHANGE_PAGE_ATTR_PRESENT  -I. -I/lib/modules/2.4.20-8/build/include -Wno-cast-qual -Wno-error os-registry.c
In file included from /lib/modules/2.4.20-8/build/include/linux/prefetch.h:13,
                 from /lib/modules/2.4.20-8/build/include/linux/list.h:6,
                 from /lib/modules/2.4.20-8/build/include/linux/module.h:12,
                 from nv-linux.h:52,
                 from os-registry.c:14:
/lib/modules/2.4.20-8/build/include/asm/processor.h:267:1: warning: "EISA_bus" redefined
In file included from /lib/modules/2.4.20-8/build/include/linux/modversions.h:132,
                 from nv-linux.h:48,
                 from os-registry.c:14:
/lib/modules/2.4.20-8/build/include/linux/modules/i386_ksyms.ver:92:1: warning: this is the location of the previous definition
ld -r -o nv-linux.o nv.o os-agp.o os-interface.o os-registry.o
ld -r -o nvidia.o nv-linux.o nv-kernel.o
mkdir -p /lib/modules/2.4.20-8/kernel/drivers/video && \
/usr/bin/install -m 0664 -o root -g root nvidia.o /lib/modules/2.4.20-8/kernel/drivers/video/nvidia.o && \
PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/bin:/sbin" depmod -a && \
        PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/bin:/sbin" modprobe nvidia && \
sh makedevices.sh && \
echo "nvidia.o installed successfully."; \

depmod: *** Unresolved symbols in /lib/modules/2.4.20-8/kernel/drivers/video/nvidia.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20-8/kernel/sound/acore/oss/snd-pcm-oss.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20-8/kernel/sound/acore/seq/snd-seq.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20-8/kernel/sound/acore/snd-pcm.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20-8/kernel/sound/acore/snd.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20-8/kernel/sound/pci/snd-intel8x0.o
/lib/modules/2.4.20-8/kernel/drivers/video/nvidia.o: unresolved symbol smp_call_function
/lib/modules/2.4.20-8/kernel/drivers/video/nvidia.o: unresolved symbol smp_num_cpus
/lib/modules/2.4.20-8/kernel/drivers/video/nvidia.o:
Hint: You are trying to load a module without a GPL compatible license
      and it has unresolved symbols.  The module may be trying to access
      GPLONLY symbols but the problem is more likely to be a coding or
      user error.  Contact the module supplier for assistance, only they
      can help you.

/lib/modules/2.4.20-8/kernel/drivers/video/nvidia.o: insmod /lib/modules/2.4.20-8/kernel/drivers/video/nvidia.o failed
/lib/modules/2.4.20-8/kernel/drivers/video/nvidia.o: insmod nvidia failed
make[2]: *** [package-install] Error 255
make[1]: *** [install] Error 2
make[1]: Leaving directory `/home/NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv'
make: *** [kernel_module_install] Error 2
[root@localhost NVIDIA-Linux-x86-1.0-6111-pkg1]#


help~~~~~~~~~~~~~~~~~~~~~    对了 怎莫进入txt模式阿  xwindow模式是不是平常的gnome 和kde 啊?
发表于 2004-12-27 22:13:36 | 显示全部楼层
安装完nvidia的驱动后不能进入X

--------------------------------------------------------------------------------

我的debian sarge,kernel 2.6.10-i386-smp ,nvidia geforce fx 5600 go。
在nvidia的主战下载的1.0-6629驱动源码,编译成功,然后运行modconf加载 nvidia, agpnvidia两个模块,X却始终不能启动。

xf86cfg运行后自动退出,显示不能找到鼠标,但以前没有安装nvidia的驱动的时候是可用的。
/var/log/.X86.....那个文件显示nvidia设备初始化正常。
startx后黑屏,ctrl+alt+backspace无效,只能重启
请教原因
发表于 2004-12-30 20:01:45 | 显示全部楼层
请问一下,修改的那个选项就是 Device Driver "nv"
这是原先系统默认的,请问他代表什么意思,为什么改了之后屏幕的集团问题就解决了呢?
我知道它代表是NV的驱动程序,是不是为LINUX内核自带的驱动程序.然后修改这后就是自己安装的驱动程序了?
可能比较菜?请大家不要见笑!
发表于 2005-1-2 10:05:42 | 显示全部楼层
把TNT2 vanta/vanta LT 设置为apg 4x了,装好后进入图形界面5分钟就死。
现在还是那样
就和这个一样
http://www.nvnews.net/vbulletin/ ... &highlight=tnt2
发表于 2005-1-2 12:44:32 | 显示全部楼层

安装后的设置?

系统是Fedora core 2 下载的驱动是 NVDIA-linux-x86-1.0-6629-pkg1.run
在文本模式下#chmod 777 NVDIA-linux-x86-1.0-6629-pkg1.run
#sh NVDIA-linux-x86-1.0-6629-pkg1.run
安装过程正常,然后修改/etc/X11/xorg.conf  
将其中的Driver  "vesa"改成 Driver "nvidia"   将Load "dir"去掉
之后无法进入x   
所参考的帖子是在FC3下安装,其中提到要运行
#mknod /etc/udev/devices/nvidia0 c 1950
#mknod /etc/udev/devices/nvidiactl 195 255
并且修改/etc/rc.d/rc.sysinit
在133行后加入
mknod /etc/udev/devices/nvidia0 c 1950
mknod /etc/udev/devices/nvidiactl 195 255
我在FC3种安装过,方法可行。但是我在FC2中,运行
#mknod /etc/udev/devices/nvidia0 c 1950
#mknod /etc/udev/devices/nvidiactl 195 255
都提示参数错误,请兄弟们指点一下在FC2种该怎么装
发表于 2005-1-2 19:32:02 | 显示全部楼层
readme里面写riva 128不能用那个nvidia驱动.默认的nv就行
发表于 2005-3-7 18:41:47 | 显示全部楼层
精英 N2U400-A主版谁用过啊,此版集成的网卡 NVIDIA nForce MCP Networking Controller
怎么驱动啊?
小弟寻解法很久了,但一直没有找到解决之道
哪位可以指点迷津啊?
回复 支持 反对

使用道具 举报

发表于 2005-3-7 22:36:00 | 显示全部楼层
因为是驱动所以我罗嗦得问一句,是不是所有的nvdia显卡都用一样的驱动?!
TNT2和6600用一样的驱动吗?
希望各位能说明白一点!谢了!
回复 支持 反对

使用道具 举报

发表于 2005-3-8 15:09:21 | 显示全部楼层
版主啊,我 按照你说的方法安装了4496的pkg文件 .可出现了nvidia的 图标.但显示器的刷新频率依然不能调啊
我的XF86Config文件如下:

# XFree86 4 configuration created by redhat-config-xfree86

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      "keyboard"
        Option            "XkbRules" "xfree86"
        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" "no"
EndSection

Section "InputDevice"

# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
        Identifier  "DevInputMice"
        Driver      "mouse"
        Option            "rotocol" "IMPS/2"
        Option            "Device" "/dev/input/mice"
        Option            "ZAxisMapping" "4 5"
        Option            "Emulate3Buttons" "no"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "未探测过的显示器"
        HorizSync    31.5-37.5
        VertRefresh  50.0-70.0
        Option            "dpms"
EndSection

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

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

Section "DRI"
        Group        0
        Mode         0666
EndSection

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
请问是 什么问题?
我的系统是RH9,显卡是翔升GeForce MX440-8X (64M)
回复 支持 反对

使用道具 举报

发表于 2005-3-10 23:30:36 | 显示全部楼层
按照这个帖子,我"工作"了半天,终于把显卡驱动装上了~~~~~~发文庆贺~~~~~
回复 支持 反对

使用道具 举报

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

本版积分规则

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