LinuxSir.cn,穿越时空的Linuxsir!

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

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

[复制链接]
发表于 2002-9-13 03:46:33 | 显示全部楼层
我的XF86Config-4文件是
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 "unix/:7100"
EndSection

# Module loading section

Section "Module"
        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
需要怎么改,我的原始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-13 03:47:32 | 显示全部楼层
对不起,我主要是又怕出错!!
发表于 2002-9-13 03:51:36 | 显示全部楼层
不要急,没有那么严重。。
这样做,把你原始的文件重新帖一下,如果汉化了,就帖汉化文件。
我来改。
发表于 2002-9-13 03:55:37 | 显示全部楼层
# 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       "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-13 03:58:39 | 显示全部楼层
上面的是旧的,我给个现在的给你参考
# 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 "unix/:7100"
EndSection

# Module loading section

Section "Module"
        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 04:10:51 | 显示全部楼层
我改过来了,你试一下。我用红字标出来的地方,就是我改过的。。红字的地方,要加上#号。。。。另外,仅有nv改成nvidia。不要把上面的内容直接复制帖到XF86Config-4文件中,要自己动手把#号加上。
上面的旧文件,不把nv改成nvidia之前是不是能启动?也就是说,你汉化过了,XWIN是不是能启动?如果能启动,就用旧文件。
发表于 2002-9-13 04:23:07 | 显示全部楼层
你直接修改的文件是没装GLX之前的,没改的是现在的,我的 linux 7.3汉化过了,请问,用哪一个版本???
发表于 2002-9-13 04:36:08 | 显示全部楼层
哈。。。到底我改哪个好呢???没有把问题说清楚。
我的意思是说,你安装好驱动后的,XF86Config-4文件发上来。因为无论你怎么改,系统里就一个XF86Config-4文件。
因为在你没有安装驱动之前,X是能驱动的,在安装之后,我们还是改动这个文件,我们不能把备份的文件拿过来改。
哈。。。明白我说的意思了吗???
发表于 2002-9-13 04:41:00 | 显示全部楼层
对不起!让你费心了.安装后的是给你参考的哪个
发表于 2002-9-13 04:44:14 | 显示全部楼层
哪个是呢??
再帖一下吧,我分不出来。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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