veket官方网站论坛

veket

 找回密码
 要注册
搜索
楼主: zxbmh110

再次求助,veket3.11上安装nvidia显卡驱动

[复制链接]
发表于 2010-1-14 18:26 | 显示全部楼层

回复 20# 的帖子

为什么重启动再进入X?你安装好显卡驱动之后不是可以重启动X服务么?

说得有些复杂的样子,就是你安装好显卡驱动之后测试时是否正常的?
发表于 2010-1-14 18:26 | 显示全部楼层
如果进入X有不对,一般在命令行也会有提示是什么原因的。
zxbmh110 该用户已被删除
 楼主| 发表于 2010-1-14 18:28 | 显示全部楼层
运行nvidia-xconfig之前,xorg.conf是这样的:
#Special base config file used in Puppy Linux.

# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

    Load        "dbe"          # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
    SubSection  "extmod"
      Option    "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection

# This loads the font modules
    Load        "type1"
    Load        "freetype"

# This loads xtrap extension, used by xrandr
    Load       "xtrap"

# This loads the GLX module (if present)
    Load       "glx"

# This loads dri module (if present)
    Load       "dri"

EndSection

# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************

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/X11R7/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)

    FontPath   "/usr/X11R7/lib/X11/fonts/misc/"
    FontPath   "/usr/X11R7/lib/X11/fonts/Type1/"
    FontPath   "/usr/X11R7/lib/X11/fonts/TTF/"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"

# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.

#    Option "DontVTSwitch"

# Enables mode switching with xrandr
# There is a report that this can cause Xorg not to work on some
# video hardware, so default is commented-out...
# but i want to use it in xorgwizard so leave on...

    Option "RandR" "on"

EndSection

Section "Extensions"
    Option "Composite" "Enable"
    Option "RENDER" "Enable"
EndSection

#everything past here is auto-generated by Puppy's Xorg Wizard...


Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbRules" "xorg"
        Option      "XkbModel" "pc102"
        Option      "XkbLayout" "us" #xkeymap0
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option            "Protocol" "auto" #mouse0protocol
        Option            "Device" "/dev/mouse"
        #Option      "Emulate3Buttons"
        #Option      "Emulate3Timeout" "50"
        Option      "ZAxisMapping" "4 5" #scrollwheel
EndSection

Section "Monitor"
        Identifier   "Monitor0"
        VendorName   "Monitor Vendor"
        ModelName    "Monitor Model"
        HorizSync    30-81
        VertRefresh  56-60
        #UseModes     "Modes0" #monitor0usemodes
        Option      "PreferredMode" "1280x1024"
        EndSection
       
Section "Modes"
        Identifier "Modes0"
        #modes0modeline0
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "ShadowFB"                   # [<bool>]
        #Option     "DefaultRefresh"             # [<bool>]
        #Option     "ModeSetClearScreen"         # [<bool>]
        Identifier  "Card0"
        Driver      "vesa" #card0driver
        VendorName  "nVidia Corporation"
        BoardName   "Unknown Board"
        BusID       "PCI:3:0:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
    DefaultDepth 24
    Subsection "Display"
        Depth       24
        Modes       "1280x1024"
    EndSubsection
EndSection

#PuppyHardwareProfile=NVIDIASyncMaster


运行nvidia-xconfig之后,xorg.conf变成这样:
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder63)  Tue Oct 20 21:00:15 PDT 2009

#Special base config file used in Puppy Linux.
# **********************************************************************
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
# **********************************************************************
# Files section.  This allows default font and rgb paths to be set
# **********************************************************************
# **********************************************************************
# Server flags section.
# **********************************************************************
#everything past here is auto-generated by Puppy's Xorg Wizard...
#PuppyHardwareProfile=NVIDIASyncMaster

Section "ServerLayout"
    Identifier     "X.org 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.
# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
    RgbPath         "/usr/X11R7/lib/X11/rgb"
    FontPath        "/usr/X11R7/lib/X11/fonts/misc/"
    FontPath        "/usr/X11R7/lib/X11/fonts/Type1/"
    FontPath        "/usr/X11R7/lib/X11/fonts/TTF/"
EndSection

Section "Module"

# This loads the DBE extension module.
# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
# This loads the font modules
    Load           "dbe"          # Double buffer extension
    SubSection     "extmod"
        Option         "omit xfree86-dga"   # don't initialise the DGA extension
    EndSubSection
    Load           "type1"
    Load           "freetype"
# This loads xtrap extension, used by xrandr
    Load           "xtrap"
# This loads the GLX module (if present)
    Load           "glx"
# This loads dri module (if present)
EndSection

Section "ServerFlags"

# Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
# (where n is 1 through 12).  This allows clients to receive these key
# events.
#    Option "DontVTSwitch"
# Enables mode switching with xrandr
# There is a report that this can cause Xorg not to work on some
# video hardware, so default is commented-out...
# but i want to use it in xorgwizard so leave on...
    Option         "RandR" "on"
EndSection

Section "InputDevice"
    Identifier     "Keyboard0"
    Driver         "kbd"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc102"
    Option         "XkbLayout" "us" #xkeymap0
EndSection

Section "InputDevice"

        #Option      "Emulate3Timeout" "50"
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto" #mouse0protocol
    Option         "Device" "/dev/mouse"
        #Option      "Emulate3Buttons"
    Option         "ZAxisMapping" "4 5" #scrollwheel
EndSection

Section "Modes"

        #modes0modeline0
    Identifier         "Modes0"
EndSection

Section "Monitor"

        #UseModes     "Modes0" #monitor0usemodes
    Identifier     "Monitor0"
    VendorName     "Monitor Vendor"
    ModelName      "Monitor Model"
    HorizSync       30.0 - 81.0
    VertRefresh     56.0 - 60.0
    Option         "PreferredMode" "1280x1024"
EndSection

Section "Device"

        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "ShadowFB"                   # [<bool>]
        #Option     "DefaultRefresh"             # [<bool>]
        #Option     "ModeSetClearScreen"         # [<bool>]
#card0driver
    Identifier     "Card0"
    Driver         "nvidia"
    VendorName     "nVidia Corporation"
    BoardName      "Unknown Board"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Card0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024"
    EndSubSection
EndSection

Section "Extensions"
    Option         "Composite" "Enable"
    Option         "RENDER" "Enable"
EndSection

大家能帮忙看下哪里有问题吗?
zxbmh110 该用户已被删除
 楼主| 发表于 2010-1-14 18:34 | 显示全部楼层

回复 21# 的帖子

我一开始也是直接重启x的,出现的错误是一样的。刚才看了下,命令行没有相关的错误提示,是在要start x的时候出错,进入命令行。只有教如何重新配置xorg.conf的

[ 本帖最后由 zxbmh110 于 2010-1-14 18:39 编辑 ]
发表于 2010-1-14 18:59 | 显示全部楼层
你的显示器是不是宽屏的?
http://www.lucky8k.com/thread-71934-1-1.html

如果是宽屏的可能需要另设置下。

不过,不明白的是
你不是说第一次配置的时候是可以顺利进入的,再配置就进入不了?
这我就不清楚了
您需要登录后才可以回帖 登录 | 要注册

本版积分规则

QQ|手机版|Archiver|veket官方网站论坛 ( 粤ICP备 11052856 )

GMT+8, 2024-5-21 01:16

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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