You are not logged in.

#1 2010-01-03 15:48:55

robrene
Member
Registered: 2009-04-16
Posts: 168

>10 second delay when starting X11

Hey all

Whenever I run xinit after logging in, my computer takes quite a while to actually get to my desktop. I'm not doing anything crazy though, just starting an openbox-session with a tint2 panel so far. The problem seems to be at X11

This is the relevant output of /var/log/Xorg.0.log:

This is a pre-release version of the X server from The X.Org Foundation.
It is not supported in any way.
Bugs may be filed in the bugzilla at http://bugs.freedesktop.org/.
Select the "xorg" product for bugs you find in this release.
Before reporting bugs in pre-release versions please check the
latest version in the X.Org Foundation git repository.
See http://wiki.x.org/wiki/GitPage for git access instructions.

X.Org X Server 1.7.3.902 (1.7.4 RC 2)
Release Date: 2009-12-26
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32-ARCH i686 
Current Operating System: Linux rob-thinkpad 2.6.32-ARCH #1 SMP PREEMPT Sat Dec 26 08:26:17 UTC 2009 i686
Kernel command line: root=/dev/sda1 ro vga=873
Build Date: 26 December 2009  11:37:45AM
 
Current version of pixman: 0.16.4
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Jan  3 16:23:03 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Default layout"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Device0"
(**) |-->Input Device "Keyboard0"
(**) |-->Input Device "Mouse0"
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/Type1" does not exist.
    Entry deleted from font path.
(==) FontPath set to:
    /usr/share/fonts/misc,
    /usr/share/fonts/100dpi:unscaled,
    /usr/share/fonts/75dpi:unscaled,
    /usr/share/fonts/TTF
(==) ModulePath set to "/usr/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Keyboard0
(WW) Disabling Mouse0
(II) Loader magic: 0x81e4c60
(II) Module ABI versions:
    X.Org ANSI C Emulation: 0.4
    X.Org Video Driver: 6.0
    X.Org XInput driver : 7.0
    X.Org Server Extension : 2.0
(--) using VT number 8

(--) PCI:*(0:1:0:0) 10de:0429:17aa:20d8 nVidia Corporation Quadro NVS 140M rev 161, Mem @ 0xd2000000/16777216, 0xe0000000/268435456, 0xd0000000/33554432, I/O @ 0x00002000/128
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
    compiled for 1.7.3.902, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
    compiled for 1.7.3.902, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
    compiled for 4.0.2, module version = 1.0.0
    Module class: X.Org Server Extension
(II) NVIDIA GLX Module  190.53  Tue Dec  8 20:47:42 PST 2009
(II) Loading extension GLX
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
    compiled for 1.7.3.902, module version = 1.0.0
    ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
    compiled for 1.7.3.902, module version = 1.1.0
    ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
    compiled for 4.0.2, module version = 1.0.0
    Module class: X.Org Video Driver
(II) NVIDIA dlloader X Driver  190.53  Tue Dec  8 19:16:02 PST 2009
(II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
(II) Primary Device is: PCI 01@00:00:0
(II) Loading sub module "fb"
(II) LoadModule: "fb"
(II) Loading /usr/lib/xorg/modules/libfb.so
(II) Module fb: vendor="X.Org Foundation"
    compiled for 1.7.3.902, module version = 1.0.0
    ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "wfb"
(II) LoadModule: "wfb"
(II) Loading /usr/lib/xorg/modules/libwfb.so
(II) Module wfb: vendor="X.Org Foundation"
    compiled for 1.7.3.902, module version = 1.0.0
    ABI class: X.Org ANSI C Emulation, version 0.4
(II) Loading sub module "ramdac"
(II) LoadModule: "ramdac"
(II) Module "ramdac" already built-in
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Option "NoLogo" "True"
(**) NVIDIA(0): Option "ConnectedMonitor" "DFP"
(**) NVIDIA(0): Option "RenderAccel" "True"
(**) NVIDIA(0): Option "TwinView" "0"
(**) NVIDIA(0): Option "MetaModes" "nvidia-auto-select +0+0"
(**) NVIDIA(0): Option "RegistryDwords" "PowerMizerEnable=0x1; PerfLevelSrc=0x3333"
(**) NVIDIA(0): Option "DPI" "96 x 96"
(**) NVIDIA(0): Option "DamageEvents" "True"
(**) Jan 03 16:23:04 NVIDIA(0): Enabling RENDER acceleration
(**) Jan 03 16:23:04 NVIDIA(0): ConnectedMonitor string: "DFP"
(II) Jan 03 16:23:04 NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
(II) Jan 03 16:23:04 NVIDIA(0):     enabled.
(II) Jan 03 16:23:16 NVIDIA(0): NVIDIA GPU Quadro NVS 140M (G86) at PCI:1:0:0 (GPU-0)
(--) Jan 03 16:23:16 NVIDIA(0): Memory: 524288 kBytes
(--) Jan 03 16:23:16 NVIDIA(0): VideoBIOS: 60.86.3e.00.00
(II) Jan 03 16:23:16 NVIDIA(0): Detected PCI Express Link width: 16X
(--) Jan 03 16:23:16 NVIDIA(0): Interlaced video modes are supported on this GPU
(--) Jan 03 16:23:16 NVIDIA(0): Connected display device(s) on Quadro NVS 140M at PCI:1:0:0:
(--) Jan 03 16:23:16 NVIDIA(0):     IBM (DFP-0)
(--) Jan 03 16:23:16 NVIDIA(0): IBM (DFP-0): 330.0 MHz maximum pixel clock
(--) Jan 03 16:23:16 NVIDIA(0): IBM (DFP-0): Internal Dual Link LVDS
(WW) Jan 03 16:23:16 NVIDIA(0): The EDID for IBM (DFP-0) contradicts itself: mode "1680x1050"
(WW) Jan 03 16:23:16 NVIDIA(0):     is specified in the EDID; however, the EDID's valid
(WW) Jan 03 16:23:16 NVIDIA(0):     HorizSync range (53.246-63.877 kHz) would exclude this
(WW) Jan 03 16:23:16 NVIDIA(0):     mode's HorizSync (42.6 kHz); ignoring HorizSync check for
(WW) Jan 03 16:23:16 NVIDIA(0):     mode "1680x1050".
(WW) Jan 03 16:23:16 NVIDIA(0): The EDID for IBM (DFP-0) contradicts itself: mode "1680x1050"
(WW) Jan 03 16:23:16 NVIDIA(0):     is specified in the EDID; however, the EDID's valid
(WW) Jan 03 16:23:16 NVIDIA(0):     HorizSync range (53.246-63.877 kHz) would exclude this
(WW) Jan 03 16:23:16 NVIDIA(0):     mode's HorizSync (42.6 kHz); ignoring HorizSync check for
(WW) Jan 03 16:23:16 NVIDIA(0):     mode "1680x1050".
(II) Jan 03 16:23:17 NVIDIA(0): Assigned Display Device: DFP-0
(II) Jan 03 16:23:17 NVIDIA(0): Validated modes:
(II) Jan 03 16:23:17 NVIDIA(0):     "nvidia-auto-select+0+0"
(II) Jan 03 16:23:17 NVIDIA(0): Virtual screen size determined to be 1680 x 1050
(**) Jan 03 16:23:18 NVIDIA(0): DPI set to (96, 96); computed from "DPI" X config option
(==) Jan 03 16:23:18 NVIDIA(0): Enabling 32-bit ARGB GLX visuals.
(--) Depth 24 pixmap format is 32 bpp
(II) Jan 03 16:23:18 NVIDIA(0): Initialized GPU GART.
(II) Jan 03 16:23:18 NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
(II) Jan 03 16:23:18 NVIDIA(0):     may not be running or the "AcpidSocketPath" X
(II) Jan 03 16:23:18 NVIDIA(0):     configuration option may not be set correctly.  When the
(II) Jan 03 16:23:18 NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
(II) Jan 03 16:23:18 NVIDIA(0):     try to use it to receive ACPI event notifications.  For
(II) Jan 03 16:23:18 NVIDIA(0):     details, please see the "ConnectToAcpid" and
(II) Jan 03 16:23:18 NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
(II) Jan 03 16:23:18 NVIDIA(0):     Config Options in the README.
(II) Jan 03 16:23:18 NVIDIA(0): ACPI display change hotkey events enabled: the X server is new
(II) Jan 03 16:23:18 NVIDIA(0):     enough to receive ACPI display change hotkey events.
(II) Jan 03 16:23:18 NVIDIA(0): Setting mode "nvidia-auto-select+0+0"
(II) Loading extension NV-GLX
(II) Jan 03 16:23:19 NVIDIA(0): Initialized OpenGL Acceleration
(==) NVIDIA(0): Disabling shared memory pixmaps
(II) Jan 03 16:23:19 NVIDIA(0): Initialized X Rendering Acceleration

(...)

As you can se, there is a 12 second delay where my GPU is being enabled. What is this about? How can I speed this up? In case someone is interested, I'll post my /etc/X11/xorg.conf also:

Section "ServerLayout"
    Identifier    "Default layout"
    Screen    0    "Screen0" 0 0
    InputDevice    "Keyboard0"        "CoreKeyboard"
    InputDevice    "Mouse0"        "CorePointer"
EndSection


Section "InputDevice"
    # generated from default
    Identifier    "Keyboard0"
    Driver        "kbd"
EndSection

Section "InputDevice"
    # generated from default
    Identifier    "Mouse0"
    Driver        "mouse"
    
    Option        "Protocol"        "auto"
    Option        "Device"        "/dev/psaux"
    Option        "Emulate3Buttons"    "no"
    Option        "ZAxisMapping"        "4 5"
EndSection


Section "Monitor"
    Identifier    "Monitor0"
    VendorName    "Unknown"
    ModelName    "IBM"
    HorizSync    53.2 - 63.9
    VertRefresh    40.0 - 60.0
    
    Option        "DPI"            "96 x 96"
EndSection

Section "Device"
    Identifier    "Device0"
    Driver        "nvidia"
    VendorName    "NVIDIA Corporation"
    BoardName    "Quadro NVS 140M"
    
    Option        "NoLogo"        "True"
    Option        "RenderAccel"        "True"    # Hardware acceleration
    Option        "ConnectedMonitor"    "DFP"
#    Option        "TripleBuffer"        "True"    # May introduce tearing
    Option        "BackingStore"        "True"
    Option        "DamageEvents"        "True"    # OS-level events
    Option        "DPMS"            "True"    # Power saving
    # http://tutanhamon.com.ua/technovodstvo/NVIDIA-UNIX-driver/
    Option        "RegistryDwords"    "PowerMizerEnable=0x1; PerfLevelSrc=0x3333"
    
EndSection

Section "Screen"
    Identifier    "Screen0"
    Device        "Device0"
    Monitor        "Monitor0"
    
    DefaultDepth    24
    SubSection "Display"
        Depth        24
    EndSubSection
    
    Option        "TwinView"        "0"
    Option        "metamodes"        "nvidia-auto-select +0+0"
EndSection

smile neutral sad big_smile yikes wink hmm tongue lol mad roll cool

Offline

#2 2010-01-03 16:20:26

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: >10 second delay when starting X11


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2010-01-03 16:32:49

robrene
Member
Registered: 2009-04-16
Posts: 168

Re: >10 second delay when starting X11

I don't think so, I don't use gnome or kde, nor compiz. Whether I take out xcompmgr or not, nothing changes.

Also, most importantly, it keeps happening, it's not just the first time xinit is called that it has the delay. In fact, after doing some more testing, it is exactly the other way around. The first xinit has no delay, but whenever I stop X and then try to start it again I experience the delay.


smile neutral sad big_smile yikes wink hmm tongue lol mad roll cool

Offline

Board footer

Powered by FluxBB