holerescue 发表于 2004-4-5 14:50:37

装了nvidia显卡驱动后,一运行startx就死机了。

我的显卡是Geforce 4 mx 440的,按照nvidia驱动里面的帮助退出X,装完驱动,然后把/etc/X11/XF86Config文件中 module中的Load "dri"删了,修改 "nv" 为 "nvidia",然后startx,出现整屏的乱码,并没有出现图形界面,切换到另一个控制台也不行。请大家帮我一下啊。

12543122 发表于 2004-4-5 14:57:47

删了?没试过,在前面加个#就行,就是
#Load "dri“
再看看/etc/X11/XF86Config,看有没有什么地方弄错了,自己不确定的话就把它贴出来

holerescue 发表于 2004-4-6 13:21:22

# XFree86 4 configuration created by redhat-config-xfree86

Section "ServerLayout"
        Identifier   "Default Layout"
        Screen      0"Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "DevInputMice" "AlwaysCore"
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          "Protocol" "IMPS/2"
        Option          "Device" "/dev/psaux"
        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          "Protocol" "IMPS/2"
        Option          "Device" "/dev/input/mice"
        Option          "ZAxisMapping" "4 5"
        Option          "Emulate3Buttons" "no"
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "SyncMaster"
        DisplaySize300        230
        HorizSync    30.0 - 61.0
        VertRefresh56.0 - 75.0
        Option          "dpms"
EndSection

Section "Device"

#      Option      "NvAGP" "1"
        Identifier"Videocard0"
        Driver      "nv"
        VendorName"Videocard vendor"
        BoardName   "NVIDIA GeForce 4 (generic)"
EndSection

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

Section "DRI"
        Group      0
        Mode         0666
EndSection

holerescue 发表于 2004-4-6 13:24:50

这就是原来的,没改过,可以正常进入X,如果按我上述改后就进不去了。

吴文官 发表于 2004-4-6 14:16:25

注释掉Load "glx"
试一下

SuperDragonTAI 发表于 2004-4-6 15:02:29

# Option "NvAGP" "1"
Identifier "Videocard0"
Driver "nv" (把这里的nv改成nvidia)
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 4 (generic)"
EndSection

然后按esc输入":wq"(不含引号)
重启

holerescue 发表于 2004-4-6 18:50:01

还没解决,大家继续帮忙啊!!!

12543122 发表于 2004-4-6 19:49:40

把 Load "dbe"也注释掉?
装的哪个版本的驱动?我有一次装5328也好象有问题。

holerescue 发表于 2004-4-6 20:06:45

是5336的

chkwok 发表于 2004-4-6 23:47:57

Section "Device"

Option "NvAGP" "1"
Identifier "Videocard0"
Driver "nvidia"
VendorName "Videocard vendor"
BoardName "NVIDIA GeForce 4 (generic)"
EndSection

chenhu 发表于 2004-4-7 01:15:25

我的也是这个问题,不知怎么能解决?
是在此之前要装nvidia_glx和nvidia_kernel?

holerescue 发表于 2004-4-8 18:34:42

to : chkwok
这个我也试过了,还是黑屏和乱码
页: [1]
查看完整版本: 装了nvidia显卡驱动后,一运行startx就死机了。