+ -
当前位置:首页 → 问答吧 → 为什么我的X启动得如此慢?

为什么我的X启动得如此慢?

时间:2004-06-13

来源:互联网

startx之后,出现nvidia的启动画面,之后就是长达半分钟的等待.x才能启动起来...
我的XF86Config-4这样写道:
PHP 代码:
# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 > /var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section "Files"
#    FontPath        "/usr/share/fonts/truetype/DIY"
#    FontPath    "unix/:7100"            # local font server
    # if the local font server has problems, we can fall back on these
    FontPath    "/usr/lib/X11/fonts/misc"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
    FontPath    "/usr/lib/X11/fonts/cyrillic"
    FontPath    "/usr/lib/X11/fonts/100dpi/:unscaled"
    FontPath    "/usr/lib/X11/fonts/75dpi/:unscaled"
#    FontPath    "/usr/lib/X11/fonts/Type1"
    FontPath    "/usr/lib/X11/fonts/CID"
#    FontPath    "/usr/lib/X11/fonts/Speedo"
    FontPath    "/usr/lib/X11/fonts/100dpi"
    FontPath    "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
    Load    "GLcore"
    Load    "bitmap"
    Load    "dbe"
    Load    "ddc"
#    Load    "dri"
    Load    "extmod"
#    Load    "freetype"
    Load    "glx"
    Load    "int10"
    Load    "record"
#    Load    "speedo"
#    Load    "type1"
    Load    "vbe"
    Load    "xtt"
EndSection

Section "InputDevice"
    Identifier    "Generic Keyboard"
    Driver        "keyboard"
    Option        "CoreKeyboard"
    Option        "XkbRules"    "xfree86"
    Option        "XkbModel"    "pc104"
    Option        "XkbLayout"    "us"
EndSection

Section "InputDevice"
    Identifier    "Configured Mouse"
    Driver        "mouse"
    Option        "CorePointer"
    Option        "Device"        "/dev/psaux"
    Option        "Protocol"        "ImPS/2"
#    Option        "Emulate3Buttons"    "true"
    Option        "ZAxisMapping"        "4 5"
EndSection

#Section "InputDevice"
#    Identifier    "Generic Mouse"
#    Driver        "mouse"
#    Option        "SendCoreEvents"    "true"
#    Option        "Device"        "/dev/input/mice"
#    Option        "Protocol"        "ImPS/2"
#    Option        "Emulate3Buttons"    "true"
#    Option        "ZAxisMapping"        "4 5"
#EndSection

Section "Device"
    Identifier    "Generic Video Card"
    Driver        "nvidia"
    Option         "NvAGP" "1"
#    Option        "UseFBDev"        "true"
EndSection

Section "Monitor"
    Identifier    "Generic Monitor"
    HorizSync    30-70
    VertRefresh    50-160
    Option        "DPMS"
EndSection

Section "Screen"
    Identifier    "Default Screen"
    Device        "Generic Video Card"
    Monitor        "Generic Monitor"
    DefaultDepth    16
    SubSection "Display"
        Depth        1
        Modes        "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        4
        Modes        "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        8
        Modes        "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        15
        Modes        "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        16
        Modes        "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth        24
        Modes        "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "ServerLayout"
    Identifier    "Default Layout"
    Screen        "Default Screen"
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
#    InputDevice    "Generic Mouse"
EndSection

Section "DRI"
    Mode    0666
EndSection 
哪位看出端倪?

作者: abral   发布时间: 2004-06-13

先關掉這個, 不過和慢沒有關係
# Load "GLcore"

作者: georgek   发布时间: 2004-06-13

兄弟用kde 的嗎?

作者: georgek   发布时间: 2004-06-13

我的启动几次后也是这样,干脆不用了,难受,字符界面下也很好的

作者: youxia   发布时间: 2004-06-14

用的是 gnome 2.4啊....

作者: abral   发布时间: 2004-06-14

觉得是您的字体有问题,把这两行先注释掉,看看?
代码:
 FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
 FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"

作者: chaisave   发布时间: 2004-06-14

試試用英文介面看看

作者: georgek   发布时间: 2004-06-15

Section "Files"
# FontPath "/usr/share/fonts/truetype/DIY"
# FontPath "unix/:7100" # local font server
# if the local font server has problems, we can fall back on these
FontPath "/usr/lib/X11/fonts/misc"
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
# Load "GLcore"
# Load "bitmap"
# Load "dbe"
# Load "ddc"
# Load "dri"
# Load "extmod"
Load "freetype"
Load "glx"
# Load "int10"
# Load "record"
# Load "speedo"
# Load "type1"
# Load "vbe"
# Load "xtt"
能进入X,速度好像快多了!
但有没有潜在的问题还请大虾们指点

作者: pingpz   发布时间: 2004-06-16

有可能是因为你用了xtt而不是freetype的原因,我不确定。你可以试试

作者: stid   发布时间: 2004-06-16

你的内存多大?

作者: 钱妹妹   发布时间: 2004-06-16