LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1039|回复: 3

请问:如何加载AGP模块??

[复制链接]
发表于 2003-3-6 19:03:55 | 显示全部楼层 |阅读模式
我的主板芯片是intel 440BX.年代久远.但是 是支持AGP的. 系统是redhat 8.0
内核 2.4.18-26.8.0...我用lsmod命令察看的时候并没有发现AGP.所以导致装nvidia的显卡驱动总是出错. 请问如何加载AGP模块?请诸位大侠指教..谢谢
发表于 2003-3-6 20:37:27 | 显示全部楼层
这样来试一下,用
#startx
启动一下X,看有什么错误 ?最好把/etc/X11/XF86Config文件发上来。咱们研究一下再说。
 楼主| 发表于 2003-3-7 18:13:09 | 显示全部楼层
谢谢北南回复
我的XF86config文件如下:
# File generated by anaconda.

Section "ServerLayout"
        Identifier     "Anaconda Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Mouse1" "SendCoreEvents"
        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.
# 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     "/home/fonts"
        FontPath     "unix/:7100"
EndSection

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

Section "InputDevice"
#        Option        "AutoRepeat"        "500 5"
# when using XQUEUE, comment out the above line, and uncomment the
# following line
#        Option        "rotocol"        "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:swapcaps"
        #Option        "XkbOptions"        ""
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option            "XkbRules" "xfree86"
        Option            "XkbModel" "pc105"
        Option            "XkbLayout" "us"        #Option        "XkbVariant"        ""
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "rotocol" "S/2"
        Option            "Device" "/dev/psaux"
        Option            "ZAxisMapping" "4 5"
        Option            "Emulate3Buttons" "yes"
EndSection

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

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "hilips 105B(15inch/CM1200)"
        HorizSync    30.0 - 66.0
        VertRefresh  50.0 - 110.0
        Option            "dpms"
EndSection

Section "Device"
        # no known options
        #BusID
        Identifier  "RIVA TNT2"
        Driver      "nv"
#        Driver      "nvidia"
        Option      "NvAGP" "1"
        VendorName  "RIVA TNT2"
        BoardName   "RIVA TNT2"
        VideoRam    32768
EndSection

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

Section "DRI"
        Mode         0666
EndSection

=======================================================
startx的时候报错:
"(EE) NVIDIA(0): Failed to initialize the NVIDIA kernel module!"
发表于 2003-3-7 20:00:11 | 显示全部楼层
#Option "dpms"
#VideoRam 32768
#Option "NvAGP" "1"
把上 面的三项注掉来试一下。另外,RIVA不支持3D功能,所以升级驱动没有什么太大的作用。
注掉后,用startx来启动一下,看有没有什么错误信息之类的?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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