View previous topic :: View next topic |
Author |
Message |
lieut_data n00b
Joined: 26 Jun 2005 Posts: 52 Location: [Waterloo|London] Ontario, Canada
|
Posted: Thu Apr 13, 2006 10:17 am Post subject: 17 Second Boot + 12 Second X Startup |
|
|
Tried Ubuntu for a few days [hours], but was quickly fed up with not having granular control *from the outset*.
So, I'm back in Gentoo on my laptop (stayed on Gentoo on my desktop), and I've pared down my kernel and services to achieve a 17 seconds (or so) cold startup.
However, starting X (just startx, no wm involved) takes an unusual 12 seconds. The screen blanks after running the command, pauses around 10 seconds while initializing, then "blinks" (like a resolution change) and shows me something.
Oddly enough, I didn't notice this in Ubuntu (<5 seconds for X, but like 45+ seconds for kernel + services....), so I know it's a configuration problem and not so much a "my hardware can't do it" issue.
Here are the relevant details, should someone so desire to give a little input
Code: |
> emerge -V
Portage 2.1_pre7-r5 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15-gentoo-r1 i686)
|
Code: |
> cat /etc/X11/xorg.conf
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "TouchPad" "AlwaysCore"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "ServerFlags"
Option "AllowMouseOpenFail"
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/Type1"
EndSection
Section "Module"
Load "extmod"
Load "dbe"
Load "record"
Load "xtrap"
Load "dri"
Load "glx"
Load "freetype"
Load "type1"
Load "synaptics"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "InputDevice"
Driver "synaptics"
Identifier "TouchPad"
Option "Device" "/dev/input/mouse0"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1700"
Option "RightEdge" "5300"
Option "TopEdge" "1700"
Option "BottomEdge" "4200"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.09"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0015"
Option "SHMConfig" "on"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
ModeLine "1024x768" 75.00 1024 1048 1184 1328 768 771 777 806 -hsync -vsync
Option "DPMS"
EndSection
Section "Device"
Identifier "Card0"
Driver "i810"
VendorName "Intel Corporation"
BoardName "82852/855GM Integrated Graphics Device"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 15
Modes "1024x768"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768
EndSubSection
EndSection
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "TouchPad" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "DRI"
Mode 0666
EndSection
|
By SSH-ing to my machine, and tail -f -ing the Xorg.0.log file, I noticed the system "paused" primarily at the bolded line in my Xorg.0.log (http://pastebin.com/657327) |
|
Back to top |
|
|
dmartinsca Guru
Joined: 09 Dec 2005 Posts: 303 Location: Ontario, Canada
|
Posted: Thu Apr 13, 2006 10:50 am Post subject: |
|
|
I just tried Ubuntu as well.. it lasted about 3 days, which was longer than OpenSuSE which was horribly clunky.
Anyways, maybe Ubuntu isn't using Xorg 7 yet? I never really checked but since the latest version of Ubuntu was released sometime in october 2005 I would guess it is still xorg-6.8 |
|
Back to top |
|
|
lieut_data n00b
Joined: 26 Jun 2005 Posts: 52 Location: [Waterloo|London] Ontario, Canada
|
Posted: Thu Apr 13, 2006 11:07 am Post subject: |
|
|
dmartinsca wrote: | Anyways, maybe Ubuntu isn't using Xorg 7 yet? I never really checked but since the latest version of Ubuntu was released sometime in october 2005 I would guess it is still xorg-6.8 |
I was actually demoing dapper (typical gentoo user: always on the cutting edge!), and had XGL partially running -- so they were definitely @ Xorg 7.0. |
|
Back to top |
|
|
mbar Veteran
Joined: 19 Jan 2005 Posts: 1990 Location: Poland
|
Posted: Thu Apr 13, 2006 12:26 pm Post subject: |
|
|
Code: | SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768
EndSubSection |
Might it be a omission or you have forgotten to close a " ? Or maybe it doesn't matter, dunno. |
|
Back to top |
|
|
lieut_data n00b
Joined: 26 Jun 2005 Posts: 52 Location: [Waterloo|London] Ontario, Canada
|
Posted: Thu Apr 13, 2006 2:36 pm Post subject: |
|
|
mbar wrote: | Code: | SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768
EndSubSection |
Might it be a omission or you have forgotten to close a " ? Or maybe it doesn't matter, dunno. |
Interesting -- good catch, thanks
(Doesn't affect the load time, however) |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|