LinuxSir.cn,穿越时空的Linuxsir!

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

我的显卡驱动装上了,这是我的一点经验。

[复制链接]
发表于 2002-9-13 05:11:20 | 显示全部楼层
XFree86 4.2.0 configuration generated by Xconfigurator 4.10.7

Section "ServerLayout"
        Identifier "XFree86 Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

# Red Hat Linux 6.0 and later use the xfs font server for improved
# interactive performance

Section "Files"
      FontPath "/usr/share/fonts/zh_CN/TrueType/simsun"
      FontPath "unix/:7100"
EndSection

# Module loading section

Section "Module"
        #Load "xtt"
        #Load  "dbe"                # Double-buffering
        #Load  "GLcore"                # OpenGL support
        #Load  "dri"                # Direct rendering infrastructure
        Load  "glx"                # OpenGL X protocol interface
        Load  "extmod"                # Misc. required extensions
        #Load  "v4l"                # Video4Linux
        # Load  "record"        # X event recorder
        # You only need the following two modules if you do not use xfs.
        # Load  "freetype"         # TrueType font handler
        # Load  "type1"                # Adobe Type 1 font handler
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "XkbLayout"        "us"
EndSection

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

Section "Monitor"
        Identifier "VPA150-3"
        VendorName "Unknown"
        ModelName  "Unknown"
        HorizSync 30 - 62
        VertRefresh 50 - 75
        #Option "dpms"
EndSection

Section "Device"
        Identifier "nVidia Corporation|NV20 [GeForce3 Ti200]"
        Driver "nvidia"
        BoardName "Unknown"
EndSection

Section "Device"
        Identifier "Linux Frame Buffer"
        Driver "fbdev"
        BoardName "Unknown"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device "nVidia Corporation|NV20 [GeForce3 Ti200]"
        Monitor "VPA150-3"
        DefaultDepth 8
EndSection

Section "DRI"
        Mode 0666
EndSection
发表于 2002-9-13 05:21:17 | 显示全部楼层
改过来了。对照看一下,我也把你的汉化路径加上了。
但我觉得这个文件有点不对,改过来后,要重新启动。如果不行,就用我给你改过来的老文件来测试。。

早点休息了,兄弟。。。。哈。。。注意身体,LINUX不是一天就能学会的。。。
发表于 2002-9-13 05:27:07 | 显示全部楼层
谢谢!为什么你会觉得不对,我到现在我也不知道kernel究竟装了没有,请指点一二
发表于 2002-9-13 05:35:05 | 显示全部楼层
装了。。
你先试一下,有问题再发帖。早点休息 吧,

我也去休息了。。。
发表于 2002-9-13 05:35:36 | 显示全部楼层
我按你的改动修改了,我试了一下Xtest,启动不了奥???怪事,你修改的旧的也不行.真是奇了怪了.
发表于 2002-9-13 11:13:44 | 显示全部楼层
我觉得是你是把文件改乱了。因为我看到新文件里少东西。所以我说有点不对。
这样试一下,先不加载nvidia的驱动,然后把这个能驱动XF86Config-4文件发上来。我们再来研究一下。
发表于 2002-9-16 15:17:23 | 显示全部楼层
这是我新装的redhat 7.3 什么都没装 以下是XF86Congfig-4,请指教

# 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  "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        "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:nocaps"
        Option        "XkbRules"        "xfree86"
        Option        "XkbModel"        "pc102"
        Option        "XkbLayout"        "us"
        Option        "XkbVariant"        "basic"
        #Option        "XkbOptions"        ""
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 "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"
        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
发表于 2002-9-16 19:44:51 | 显示全部楼层
# 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 "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:nocaps"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc102"
Option "XkbLayout" "us"
Option "XkbVariant" "basic"
#Option "XkbOptions" ""
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 "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
发表于 2002-9-16 20:02:46 | 显示全部楼层
我以汉化了,以下是汉化后的XF86Config-4

# File generated by anaconda.

Section "ServerLayout"
        Identifier     "Anaconda Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        FontPath "/usr/share/fonts/zh_CN/TrueType/simsun"

# 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  "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        "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:nocaps"
        Option        "XkbRules"        "xfree86"
        Option        "XkbModel"        "pc102"
        Option        "XkbLayout"        "us"
        Option        "XkbVariant"        "basic"
        #Option        "XkbOptions"        ""
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 "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"
        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
发表于 2002-9-16 20:04:55 | 显示全部楼层
一样的,就按我上面注明的地方做,不会有什么问题,试一下。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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