You are not logged in.

#1 2009-03-16 20:47:05

Slurp
Member
From: Madrid, Spain
Registered: 2008-09-02
Posts: 124

Slow ¿GDM?

Hi, again.

I'm not sure when this started to happen but things are:

1. Recently I moved from Catalyst to xf86-video-ati (really don't know whether it's related or not, or even previous to the problem but...).
2. Boot up from GRUB to the login prompt in shell takes the same time as it did fresh installed ~20 seconds.
3. After the login prompt i get a blak screen for 20 seconds, then login prompt in shell again, then black screen one more time and after 5 seconds GDM is there.
4. GDM didn't take so long before.
5. Nothing in /var/log makes me suspect anything but I don't know what I'm looking for so if you need one of them just ask, please.
6. I have compiz-fusion started without fusion-icon, as said in the wiki.

#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="es_ES.utf8"
HARDWARECLOCK="UTC"
USEDIRECTISA="no"
TIMEZONE="Europe/Madrid"
KEYMAP="es"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(acpi-cpufreq cpufreq_ondemand cpufreq_powersave i8k !snd_pcsp !pcspkr)

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="pablerkas"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
# 
# DHCP:     Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#
eth0="dhcp"
wlan0="dhcp"
INTERFACES=(!eth0 !wlan0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.1.1"
ROUTES=(!gateway)
 
# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng preload @hal @fam @wicd @crond @alsa @alunnd !network !dhcdbd !networkmanager !netfs)
 # /etc/X11/xorg.conf
Section "ServerLayout"
    Identifier     "aticonfig Layout"
    Screen      0  "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Files"
EndSection

Section "Module"
    Load  "synaptics"
    Load  "glx"
    Load  "dri"
    Load  "drm"
EndSection

Section "Monitor"
    Identifier   "aticonfig-Monitor[0]-0"
    Option        "VendorName" "ATI Proprietary Driver"
    Option        "ModelName" "Generic Autodetecting Monitor"
    Option        "DPMS" "true"
EndSection

Section "Device"
    Identifier  "aticonfig-Device[0]-0"
    Driver      "radeon"
    BusID       "PCI:1:0:0"
    Option "XAANoOffscreenPixmaps" "true" #needed for aiglx
    Option "ColorTiling" "on"
    Option "AccelMethod" "EXA"
    Option "EnablePageFlip" "on"
EndSection

Section "Screen"
    Identifier "aticonfig-Screen[0]-0"
    Device     "aticonfig-Device[0]-0"
    Monitor    "aticonfig-Monitor[0]-0"
    DefaultDepth     24
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes      "1280x800"
    EndSubSection
EndSection

Section "DRI"
    Mode    0666
EndSection

Section "Extensions"
    Option    "Composite" "Enable"
EndSection
#
# /etc/inittab
#

#  Runlevels:
#    0    Halt
#    1(S)       Single-user
#    2    Not used
#    3    Multi-user
#    4    Not used
#    5    X11
#    6    Reboot

## Only one of the following two lines can be uncommented!
# Boot to console
#id:3:initdefault:
# Boot to X11
id:5:initdefault:

rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p

# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 38400 vc/1 linux
c2:2345:respawn:/sbin/agetty -8 38400 vc/2 linux
c3:2345:respawn:/sbin/agetty -8 38400 vc/3 linux
c4:2345:respawn:/sbin/agetty -8 38400 vc/4 linux
c5:2345:respawn:/sbin/agetty -8 38400 vc/5 linux
c6:2345:respawn:/sbin/agetty -8 38400 vc/6 linux

ca::ctrlaltdel:/sbin/shutdown -t3 -r now

# Example lines for starting a login manager
#x:5:respawn:/usr/bin/xdm -nodaemon
x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >& /dev/null

# End of file
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

# exec xterm
exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice

/usr/share/applications/compiz.desktop:

[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Compiz
Exec=compiz --sm-disable --ignore-desktop-hints ccp --indirect-rendering
NoDisplay=true
# name of loadable control center module
X-GNOME-WMSettingsModule=compiz
# name we put on the WM spec check window
X-GNOME-WMName=Compiz

bootchart.th.png

Thank you veeery much.

Last edited by Slurp (2009-03-16 20:53:02)


Stop the world, I get off...

Offline

#2 2009-03-16 21:07:51

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: Slow ¿GDM?

Isolate the problem. Try another login manager. Try another DE. Try another X driver (try Catalyst again, and vesa, and radeohd if you can use it. Etc.

Also, your xorg.conf is a little odd... try making a new one with Xorg -configure and hwd -xa and tuning it. Try disabling the options you set there. Etc.

bootchartd may also help identify specifically the problem(s).

Last edited by Ranguvar (2009-03-16 21:14:15)

Offline

#3 2009-03-18 11:25:06

Slurp
Member
From: Madrid, Spain
Registered: 2008-09-02
Posts: 124

Re: Slow ¿GDM?

Thanks for your answer.

I tried Slim and disabling compiz but nothing changed.

The xorg was a little hard to make the first time and I cannot make it again, so i just changed some things, but I don't know whether it is still "odd".

#/etc/X11/xorg.conf
Section "ServerLayout"
    Identifier     "Main Layout"
    Screen        0 "Screen0"
EndSection

Section "Module"
    Load  "synaptics"
    Load  "glx"
    Load  "dri"
    Load  "drm"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    Option        "VendorName" "ATI Proprietary Driver"
    Option        "ModelName" "Generic Autodetecting Monitor"
    Option        "DPMS" "true"
EndSection

Section "Device"
    Identifier  "Device0"
    Driver      "radeon"
    BusID       "PCI:1:0:0"
    Option "XAANoOffscreenPixmaps" "true" #needed for aiglx
    Option "ColorTiling" "on"
    Option "AccelMethod" "EXA"
    Option "EnablePageFlip" "on"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Device0"
    Monitor    "Monitor0"
    DefaultDepth     24
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes      "1280x800"
    EndSubSection
EndSection

Section "DRI"
    Mode    0666
EndSection

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

About Catalyst ... ufff... I would have to make a new Xorg and ... ufff... Radeonhd doesn't work for my card.

And about another DE which one would be the less painful? I mean, last time I installed KDE just to see it I had lots of problems with file-program associations and to fix them is a pain in the ass...

And now I see on boot up a message that says something like "/etc/rc.d/functions not found" ... o_O

Last edited by Slurp (2009-03-18 11:26:13)


Stop the world, I get off...

Offline

#4 2009-03-24 00:23:27

tandycorp
Member
Registered: 2007-07-01
Posts: 65

Re: Slow ¿GDM?

it MAY help to :
remove preload
start gdm from rc.conf (get inittab back to runlevel default 3)
remove or change this in xorg.conf : Option "AccelMethod" "EXA"  (i myself got problem with this unstable option)

Offline

#5 2009-03-24 07:34:33

tommcd
Member
From: Philadelphia, PA, USA
Registered: 2009-03-17
Posts: 2

Re: Slow ¿GDM?

Slurp wrote:

Thanks for your answer.
The xorg was a little hard to make the first time and I cannot make it again, so i just changed some things, but I don't know whether it is still "odd".

No need to worry about creating a new xorg.conf. Just back up your current xorg.conf first and then try making a new one as Ranguvar suggested. I also had to do a bit of head scratching to get a working xorg.conf. I used xorgconfig  which presents an interactive configuration tool to create a rather verbose, but functional xorg.conf that gave me a working X with the 2D "nv" driver. Then I backed up my known good xorg.conf and then installed the nvidia driver for the 3D driver.

Last edited by tommcd (2009-03-24 07:41:52)

Offline

Board footer

Powered by FluxBB