You are not logged in.

#1 2006-03-06 08:42:39

Rubinas
Member
Registered: 2005-02-21
Posts: 36

xorg7 startup slowly

Hi,
i has problem after xorg upgrade,
now xorg starts about 1,5 minute and all time uses hard drive.
Where i should look for a problem?
log not showing any errors.

Offline

#2 2006-04-12 14:01:22

ambalex
Member
Registered: 2004-11-17
Posts: 87

Re: xorg7 startup slowly

I've got the same kind of problem, though it does not last that long.
What is more annoying in my case, it's that using fluxbox the application 'gkrellm' (which is started whenever X is started) takes about 5 minutes before appearing.
Furthermore, there's no more background to fluxbox (no more bstebg nor fbsetbg commands).
Can't figure out the issue.

Offline

#3 2006-04-13 06:40:59

Rubinas
Member
Registered: 2005-02-21
Posts: 36

Re: xorg7 startup slowly

in my case, it was font-cache problem,
i found command, in forum and wiki, and problem has been solved

Offline

#4 2006-04-20 19:43:02

anadyr
Member
Registered: 2005-02-10
Posts: 225

Re: xorg7 startup slowly

Does anybody know how to fix this problem. In my case startx also takes about 1.5 minute to start

this is my xorg.conf:

Section "ServerLayout"
        Identifier     "Xorg Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "PS/2 Mouse" "CorePointer"
EndSection
        
Section "ServerFlags"
        Option "AllowMouseOpenFail"  "true"
        
EndSection
        
Section "Files"
        RgbPath      "/usr/share/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/misc:unscaled"
        FontPath     "/usr/share/fonts/misc"
        FontPath     "/usr/share/fonts/75dpi:unscaled"
        FontPath     "/usr/share/fonts/75dpi"
        FontPath     "/usr/share/fonts/100dpi:unscaled"
        FontPath     "/usr/share/fonts/100dpi"
        FontPath     "/usr/share/fonts/PEX"
        FontPath     "/usr/share/fonts/cyrillic"
        FontPath     "/usr/share/fonts/Type1"
        FontPath     "/usr/share/fonts/ttf/western"
        FontPath     "/usr/share/fonts/ttf/decoratives"
        FontPath     "/usr/share/fonts/truetype"
        FontPath     "/usr/share/fonts/truetype/openoffice"
        FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
        FontPath     "/usr/share/fonts/latex-ttf-fonts"
        FontPath     "/usr/share/fonts/defoma/CID"
        FontPath     "/usr/share/fonts/defoma/TrueType"
EndSection
        
Section "Module"
        Load  "ddc"  # ddc probing of monitor
        Load  "dbe"
        Load  "dri"
        Load  "extmod"
        Load  "glx" 
        Load  "bitmap" # bitmap-fonts
        Load  "type1"
        Load  "freetype"
        Load  "record"
EndSection
        
Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "CoreKeyboard"
        Option "XkbRules" "xorg"
        Option "XkbModel" "pc105"
        Option "XkbLayout" ""
        Option "XkbVariant" ""
EndSection

Section "InputDevice"
        Identifier  "PS/2 Mouse"
        Driver      "mouse"
        Option      "Protocol" "auto"
        Option          "ZAxisMapping"          "4 5"
        Option      "Device" "/dev/psaux"
        Option      "Emulate3Buttons" "true"
        Option      "Emulate3Timeout" "70"
        Option      "SendCoreEvents"  "true"
EndSection

Section "Monitor"
        Identifier "Monitor0"
        Option "DPMS" "true"
        HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
        VertRefresh  50.0 - 75.0 # Very conservative. May flicker.
EndSection
        
Section "Device" 
        Identifier  "Card0"
        Driver      "vesa"
        VendorName  "All"
        BoardName   "All"
EndSection
        
Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultColorDepth 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
        SubSection "Display"
                Depth     32
                Modes "1024x768" "800x600" "640x480"
        EndSubSection
EndSection
        
Section "DRI"
        Mode 0666
EndSection

and about xorg.0.log, I get pages and pages of this stuff: could it be causing my slow startup?

Mode: 101 (640x480)     
        ModeAttributes: 0x9f
        WinAAttributes: 0x7
        WinBAttributes: 0x0
        WinGranularity: 64
        WinSize: 64     
        WinASegment: 0xa000
        WinBSegment: 0xa000
        WinFuncPtr: 0xc000a32a
        BytesPerScanline: 640
        XResolution: 640
        YResolution: 480
        XCharSize: 8    
        YCharSize: 16   
        NumberOfPlanes: 1
        BitsPerPixel: 8 
        NumberOfBanks: 1
        MemoryModel: 4  
        BankSize: 0     
        NumberOfImages: 101
        RedMaskSize: 0  
        RedFieldPosition: 0
        GreenMaskSize: 0
        GreenFieldPosition: 0
        BlueMaskSize: 0 
        BlueFieldPosition: 0
        RsvdMaskSize: 0 
        RsvdFieldPosition: 0
        DirectColorModeInfo: 2
        PhysBasePtr: 0xd8000000
        LinBytesPerScanLine: 640
        BnkNumberOfImagePages: 101
        LinNumberOfImagePages: 101
        LinRedMaskSize: 0
        LinRedFieldPosition: 0
        LinGreenMaskSize: 0
        LinGreenFieldPosition: 0
        LinBlueMaskSize: 0
        LinBlueFieldPosition: 0
        LinRsvdMaskSize: 0
        LinRsvdFieldPosition: 0
        MaxPixelClock: 0

any ideas? I installed arch on this new laptop, did pacman -Syu, and afterwards pacman -S xorg. modular version. kernel 2.6.16.5

Offline

#5 2006-04-20 20:08:40

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: xorg7 startup slowly

My guess is that you have to many fonts.


Arch - It's something refreshing

Offline

#6 2006-04-21 12:40:31

anadyr
Member
Registered: 2005-02-10
Posts: 225

Re: xorg7 startup slowly

no thats not it. If I do not load the fonts, it is still starting up slowly

Offline

#7 2006-04-24 09:01:57

Rubinas
Member
Registered: 2005-02-21
Posts: 36

Re: xorg7 startup slowly

run this with root!!!
fc-cache -vf

Offline

#8 2006-04-24 11:19:08

kth5
Member
Registered: 2004-04-29
Posts: 657
Website

Re: xorg7 startup slowly

also making your hostname resolvable is a good idea! i normally do this by putting a line like this in my /etc/hosts

127.0.0.1 myhost

replace myhost whith wthat ever you set in /etc/rc.conf. this should speed up X.org starts when DNS is unavailable.


I recognize that while theory and practice are, in theory, the same, they are, in practice, different. -Mark Mitchell

Offline

#9 2006-07-03 00:51:50

anadyr
Member
Registered: 2005-02-10
Posts: 225

Re: xorg7 startup slowly

well I would just like to address this issue again, since I stil have no luck in speeding the startup up...
I do not have many fonts, and the loopback device is ok. I suspect it to have something to do with these entries in Xorg.log:

Mode: 173 (720x480)
        ModeAttributes: 0x9b
        WinAAttributes: 0x7
        WinBAttributes: 0x0
        WinGranularity: 64
        WinSize: 64
        WinASegment: 0xa000
        WinBSegment: 0xa000
        WinFuncPtr: 0xc000a32a
        BytesPerScanline: 1440
        XResolution: 720
        YResolution: 480
        XCharSize: 8
        YCharSize: 16
        NumberOfPlanes: 1
        BitsPerPixel: 16
        NumberOfBanks: 1
        MemoryModel: 6
        BankSize: 0
        NumberOfImages: 41
        RedMaskSize: 5
        RedFieldPosition: 11
        GreenMaskSize: 6
        GreenFieldPosition: 5
        BlueMaskSize: 5
        BlueFieldPosition: 0
        RsvdMaskSize: 0
        RsvdFieldPosition: 0
        DirectColorModeInfo: 2
        PhysBasePtr: 0xd8000000
        LinBytesPerScanLine: 1440
        BnkNumberOfImagePages: 41
        LinNumberOfImagePages: 41
        LinRedMaskSize: 5
        LinRedFieldPosition: 11
        LinGreenMaskSize: 6
        LinGreenFieldPosition: 5
        LinBlueMaskSize: 5
        LinBlueFieldPosition: 0
        LinRsvdMaskSize: 0
        LinRsvdFieldPosition: 0
        MaxPixelClock: 0

pages and pages...
Does anybody know this? I run the latest openchrome drivers on a PN800 based chipset with a VT3118 chip (apparently). X is working only because I have added the line Option "VBE Modes" into xorg.conf.

Offline

#10 2006-07-03 01:28:49

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: xorg7 startup slowly

Hmm... This is really weird, could it be a problem with the Openchrome driver perhaps? At any rate, what does 'ifconfig' print out?

Offline

#11 2006-07-03 09:18:46

anadyr
Member
Registered: 2005-02-10
Posts: 225

Re: xorg7 startup slowly

output of ifconfig:


lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

ra0       Link encap:Ethernet  HWaddr 00:13:D3:6C:F3:78 
          inet addr:192.168.2.166  Bcast:192.168.2.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:333 errors:0 dropped:0 overruns:0 frame:0
          TX packets:327 errors:0 dropped:0 overruns:0 carrier:0
          collisions:5 txqueuelen:1000
          RX bytes:346824 (338.6 Kb)  TX bytes:74049 (72.3 Kb)
          Interrupt:11 Base address:0x8000

Offline

#12 2006-07-03 10:19:47

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: xorg7 startup slowly

If switching to the vesa driver helps, it's the openchrome driver, otherwise it's something else. Could it be that you have the localhost interface firewalled?

Offline

#13 2006-07-03 20:50:07

anadyr
Member
Registered: 2005-02-10
Posts: 225

Re: xorg7 startup slowly

no switching to the vesa driver doesnt speed anything up. moreover it incredibly slows down any graphical app.
it is the same problem with the xf86-video-via, the unichrome driver, and the openchrome driver. I just get a whole bunch of "mode stuff" in the Xorg log (as can be seen in the earlier post) and I do not have a firewall on the loopback...

Offline

Board footer

Powered by FluxBB