You are not logged in.

#1 2009-11-13 22:08:13

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

Upgraded .. now X doesn't start [FIXED]

Hi All,

I hate upgrading .. I did a pacman -Syu , it all installed ok, but on a re-boot I just get a blank screen when X starts. I cannot exit from X or do a ctrl-alt-F1
I have to hit the power button and get into a console via grub with a runlevel of 3.

I tried doing a Xorg -configure (I used to run hapily without a xorg.conf file on my intel graphic Laptop), and the xorg.conf is posted below
My user is a member of the hal and dbus groups and hal is running ..

Looking in the X logfile shows that X has disabled keyboard and mouse because it states that AllowEmptyInput is on (where it is turned on is anyones guess, I did not do it?)

Can anyone help, I need my Laptop every day ... this is a real pain.

Thanks,
Bernie

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "dbe"
    Load  "dri"
    Load  "dri2"
    Load  "extmod"
    Load  "glx"
    Load  "record"
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 "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Monitor"
    Identifier   "Monitor1"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "ColorKey"               # <i>
        #Option     "CacheLines"             # <i>
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "DRI"                    # [<bool>]
        #Option     "NoDDC"                  # [<bool>]
        #Option     "ShowCache"              # [<bool>]
        #Option     "XvMCSurfaces"           # <i>
        #Option     "PageFlip"               # [<bool>]
    Identifier  "Card0"
    Driver      "intel"
    VendorName  "Intel Corporation"
    BoardName   "82852/855GM Integrated Graphics Device"
    BusID       "PCI:0:2:0"
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "ColorKey"               # <i>
        #Option     "CacheLines"             # <i>
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "DRI"                    # [<bool>]
        #Option     "NoDDC"                  # [<bool>]
        #Option     "ShowCache"              # [<bool>]
        #Option     "XvMCSurfaces"           # <i>
        #Option     "PageFlip"               # [<bool>]
    Identifier  "Card1"
    Driver      "intel"
    VendorName  "Intel Corporation"
    BoardName   "82852/855GM Integrated Graphics Device"
    BusID       "PCI:0:2:1"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSectionhttp://www.youtube.com/watch?v=fj3T-YYBnlQ&feature=related
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Section "Screen"
    Identifier "Screen1"
    Device     "Card1"
    Monitor    "Monitor1"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Last edited by bmentink (2009-11-14 08:25:09)

Offline

#2 2009-11-13 22:23:26

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: Upgraded .. now X doesn't start [FIXED]

Looking at http://bbs.archlinux.org/viewtopic.php?id=84059 it could be that enabling KMS will help.


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#3 2009-11-13 23:51:26

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

Re: Upgraded .. now X doesn't start [FIXED]

Hi Thanks ... but I had problems.

The fix involved placing "intel_agpi915" in the MODULES line in /etc/mkinitcpio.conf which I did
however, when I ran "mkinitcpio -p kernel26" it said it could not find that module .... where do I get it from?

Cheers,
Bernie

Offline

#4 2009-11-14 00:04:44

grey
Member
From: Europe
Registered: 2007-08-23
Posts: 679

Re: Upgraded .. now X doesn't start [FIXED]

It's two modules: intel_agp and i915.
See also http://wiki.archlinux.org/index.php/Intel_Graphics, the KMS section. It gives you several options.


Good ideas do not need lots of lies told about them in order to gain public acceptance.

Offline

#5 2009-11-14 00:13:40

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

Re: Upgraded .. now X doesn't start [FIXED]

ok, I needed to put a space between "intel_agp" and "i915" ..... but still doesn't work.

I do get a nice high resolution console now though with the addition of the kernel option "i915.modeset=1" added to grub.

Still have a black screen ..

Tried rolling back my xf86-video-intel, but X then could not find the driver ...

no idea what is going on .... what have the X developers been doing?

Offline

#6 2009-11-14 01:23:41

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

Re: Upgraded .. now X doesn't start [FIXED]

More info:

I removed the autoboot into kdm from /etc/inittab ... and on startx I now get X booted into the default horrible window manager.
So it looks like X works although I have no keyboard and mouse.

It looks like I have two issues.

1. No keyboard or mouse
2. KDM/KDEMod no longer works with the upgrade.

Any more help most appreciated.

Here is my xorg log file, I would like to get the keyboard/mouse working 1st.

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.1.901 (1.7.2 RC 1)
Release Date: 2009-11-6
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.31-ARCH i686 
Current Operating System: Linux Laptop 2.6.31-ARCH #1 SMP PREEMPT Tue Nov 10 19:48:17 CET 2009 i686
Kernel command line: root=/dev/disk/by-uuid/18389995-f6b6-47f7-8ce3-c64988871027 ro 3
Build Date: 08 November 2009  04:12:47PM
 
Current version of pixman: 0.16.2
    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: Sat Nov 14 10:22:22 2009
(II) Loader magic: 0x81e5d40
(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 7

(--) PCI:*(0:0:2:0) 8086:3582:1028:0153 Intel Corporation 82852/855GM Integrated Graphics Device rev 2, Mem @ 0xf0000000/134217728, 0xfaf80000/524288, I/O @ 0x0000c000/8
(--) PCI: (0:0:2:1) 8086:3582:1028:0153 Intel Corporation 82852/855GM Integrated Graphics Device rev 2, Mem @ 0xe8000000/134217728, 0xfaf00000/524288
List of video drivers:
    intel
    vesa
(II) LoadModule: "intel"
(II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
(II) Module intel: vendor="X.Org Foundation"
    compiled for 1.7.1, module version = 2.9.1
    Module class: X.Org Video Driver
    ABI class: X.Org Video Driver, version 6.0
(II) LoadModule: "vesa"
(II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
(II) Module vesa: vendor="X.Org Foundation"
    compiled for 1.7.0.901, module version = 2.2.1
    Module class: X.Org Video Driver
    ABI class: X.Org Video Driver, version 6.0
(II) Primary Device is: PCI 00@00:02:0
(II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
    i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G,
    E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
    965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
    4 Series, G45/G43, Q45/Q43, G41, B43, Clarkdale, Arrandale
(II) VESA: driver for VESA chipsets: vesa
(++) Using config file: "/root/xorg.conf.new"
(==) ServerLayout "X.org Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Card0"
(**) |-->Screen "Screen1" (1)
(**) |   |-->Monitor "Monitor1"
(**) |   |-->Device "Card1"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(==) Automatically adding devices
(==) Automatically enabling devices
(**) FontPath set to:
    /usr/share/fonts/misc,
    /usr/share/fonts/100dpi:unscaled,
    /usr/share/fonts/75dpi:unscaled,
    /usr/share/fonts/TTF,
    /usr/share/fonts/Type1,
    /usr/share/fonts/misc,
    /usr/share/fonts/100dpi:unscaled,
    /usr/share/fonts/75dpi:unscaled,
    /usr/share/fonts/TTF,
    /usr/share/fonts/Type1
(**) ModulePath set to "/usr/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0


Xorg detected your mouse at device /dev/input/mice.
Please check your config if the mouse is still not
operational, as by default Xorg tries to autodetect
the protocol.

Xorg has configured a multihead system, please check your config.

Your xorg.conf file is /root/xorg.conf.new

To test the server, run 'X -config /root/xorg.conf.new'

Offline

#7 2009-11-14 05:54:54

MadTux
Member
Registered: 2009-09-20
Posts: 553

Re: Upgraded .. now X doesn't start [FIXED]

Rename xorg.conf and try X without the configuration file. You need hal for that to work.

Offline

#8 2009-11-14 07:58:22

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

Re: Upgraded .. now X doesn't start [FIXED]

Done that ... X will start, but still no mouse or keyboard ..and I have x86-input-evdev installed

Thanks

Offline

#9 2009-11-14 08:22:26

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

Re: Upgraded .. now X doesn't start [FIXED]

Fixed. Here is how.

To get KDE working, I had to re-install kdemod. When I did this pacman stated it could not find kdemod, but would rather install the kdemod "group". I said yes, and let it re-install (even though had just done an upgrade).

For my X problems with keyboard and sound, I did the same re-installing the xorg "group" and now X works with
keyboard and mouse ..

It looks like the addition of the groups has made a "normal" upgrade by "pacman -Syu" not work correctly ..

Looks like bad package management to me .... a 1st for me, cause up to now Pacman has worked brilliantly.

Hope this helps someone else .. marking as solved.

Cheers,
Bernie

Offline

#10 2009-11-15 03:25:55

bmentink
Member
From: New Zealand
Registered: 2009-08-23
Posts: 442

Re: Upgraded .. now X doesn't start [FIXED]

Just a note to skottish:

I split the missing keyboard and mouse support because I thought they were a separate issue, hence the starting of a new thread. It was only after I found the fix that I realized that the two where connected.

For searches by other folk on the forum, I think that both threads are relevant and disagree with you dropping the other one ... however I guess it is your call. Just thinking of others ... ;-)

Last edited by bmentink (2009-11-15 03:27:02)

Offline

#11 2009-11-15 04:12:17

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: Upgraded .. now X doesn't start [FIXED]

bmentink wrote:

Just a note to skottish:

I split the missing keyboard and mouse support because I thought they were a separate issue, hence the starting of a new thread. It was only after I found the fix that I realized that the two where connected.

For searches by other folk on the forum, I think that both threads are relevant and disagree with you dropping the other one ... however I guess it is your call. Just thinking of others ... ;-)

No worries. I'm glad that you're up and running.

Offline

#12 2009-12-09 06:07:30

nquoctuan
Member
Registered: 2009-12-09
Posts: 3

Re: Upgraded .. now X doesn't start [FIXED]

hey guys, I'm a newbie in linux, so I dont understand what you fixed. Can you explain more details and how can I fix it ?
I stuck in it neutral . Thanks so much

Offline

Board footer

Powered by FluxBB