X server is dead after last update

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :-)

Moderator: Moderators

X server is dead after last update

Postby matteo » Thu Apr 29, 2010 15:32

In the morning, I had alert, that there's 52 new updates. As always, I opened Sulfur, updated everything and closed the system. 2 hours later, I powered on my laptop (Dell Inspiron 1545), and everythings was great (Alt+F2 and everywhere was "OK"), but X server didn't start :| I only can login in text-mode and when I type "startx" I get:

Code: Select all
Fatal server error:
no screens found

giving up
xinit: No such file or directory (errno 2): unable to connect to X server
xinit: No such process (errno 3): Server error


I don't know, what is going on and how to fix it... I didn't change anything with hardware and i did not change any system settings today :roll: Is there any chance for fix it - I dont want to reinstall system. Thanks in advance.
matteo
Baby Hen
 
Posts: 16
Joined: Thu Feb 11, 2010 21:58

Re: X server is dead after last update

Postby wolfden » Thu Apr 29, 2010 15:53

what is your hardware? need to provide as much info as possible

If intel video, you need:
viewtopic.php?f=76&t=20492#p116105
wolfden
Sharecropper
 
Posts: 9050
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: X server is dead after last update

Postby dunsurfin » Thu Apr 29, 2010 15:58

Some logs would help, (dmesg, Xorg.0.log, xdm.log) also some more specifications about your system and version of Sabayon.
In the meantime here are a few steps to try (as root):
Code: Select all
equo conf update

Code: Select all
equo deptest

Code: Select all
equo libtest
Self-righteousness is a loud din raised to drown the voice of guilt within us - Eric Hoffer

Don't believe what it says on the right - I am anything but sagely; More oniony!
dunsurfin
Sagely Hen
 
Posts: 1333
Joined: Sun Jan 07, 2007 21:38
Location: Newcastle upon Tyne UK

Re: X server is dead after last update

Postby matteo » Thu Apr 29, 2010 16:39

Nothing :(

Code: Select all
equo conf update
passed
Code: Select all
equo deptest
passed
Code: Select all
equo libtest
passed
Code: Select all
equo install x11-drivers/xf86-video-intel
passed
and nothing changed

Code: Select all
lspci

Code: Select all
(...)
00:02.0 VGA Compatibile controller: Intel Corporation Mobile Series Chipset Integrated Graphics Controller (rev 07)
00:02.1 Display controller: Intel Corporation Mobile Series Chipset Integrated Graphics Controller (rev 07)
(...)


Error section when type "startx"
Code: Select all
(...)
(EE) intel(0): No kernel modesetting driver detected
(EE) Screen(s) found, but none have a usable configuration
(...)


I tried to follow the clues from: viewtopic.php?f=76&t=20492#p116105
but when i opened these files i can't found any "i915.modeset" or "Option "AccelMethod" "UXA""
matteo
Baby Hen
 
Posts: 16
Joined: Thu Feb 11, 2010 21:58

Re: X server is dead after last update

Postby lxnay » Thu Apr 29, 2010 16:45

A new kernel featuring KMS for Intel enabled will be out soon.
In the meantime, please add "modeset=1" to your boot arguments (by either editing /boot/grub/grub.cfg (or grub.conf) or appending the string at boot).
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+
lxnay
Land Owner
 
Posts: 3595
Joined: Thu Oct 13, 2005 23:16
Location: Italy

Re: X server is dead after last update

Postby dunsurfin » Thu Apr 29, 2010 16:48

Can you post your xorg.conf and also the result of
Code: Select all
eselect opengl list
Self-righteousness is a loud din raised to drown the voice of guilt within us - Eric Hoffer

Don't believe what it says on the right - I am anything but sagely; More oniony!
dunsurfin
Sagely Hen
 
Posts: 1333
Joined: Sun Jan 07, 2007 21:38
Location: Newcastle upon Tyne UK

Re: X server is dead after last update

Postby matteo » Thu Apr 29, 2010 16:59

A new kernel featuring KMS for Intel enabled will be out soon.
In the meantime, please add "modeset=1" to your boot arguments (by either editing /boot/grub/grub.cfg (or grub.conf) or appending the string at boot).


I hope it will be out soon... I need my computer and can not afford to spend a half of my day with such a stupid problem :roll:
I tried to edit grub.conf and add "modeset=1" or "i915.modeset=1", but still everything is the same.
matteo
Baby Hen
 
Posts: 16
Joined: Thu Feb 11, 2010 21:58

Re: X server is dead after last update

Postby lxnay » Thu Apr 29, 2010 17:03

heh, blame kernel/Xorg developers for such nice surprises
You can switch back to "vesa" drivers for today. Open /etc/X11/xorg.conf and change Driver "intel" with Driver "vesa".
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+
lxnay
Land Owner
 
Posts: 3595
Joined: Thu Oct 13, 2005 23:16
Location: Italy

Re: X server is dead after last update

Postby matteo » Thu Apr 29, 2010 17:16

I did not blame you :wink: Don't get me wrong - I'm just a bit nervous, because in the morning everything was fine and now i can not make it to work.

eselect opengl list
Code: Select all
Avalible OpenGL implementations:
  [1]  xorg-x11


/etc/X11/xorg.conf
Code: Select all
Section "Module"
    SubSection  "extmod"
       Option    "omit xfree86-dga"
    EndSubSection
    Load    "i2c"
    Load    "ddc"
    Load    "vbe"
    Load    "dri"
    Load    "glx"
    Load    "synaptics"
EndSection

Section "ServerFlags"
     Option    "AllowMouseOpenFail"    "true"
EndSection

Section "Monitor"
    Identifier    "Generic Monitor"
    VertRefresh    43 - 60
    HorizSync      28 - 80
EndSection


Section "Device"

    Identifier  "SabayonVga0"
    Driver      "intel"
    #BusID    "PCI:00:02"
    #Option "RenderAccel" "on"
    #Option "XAANoOffscreenPixmaps"
    #Option "BusType" "PCI"
    #Option "ColorTiling" "on"
    #Option "EnablePageFlip" "on"
    Option "UseEvents" "True"
    Option "LogoPath" "/usr/share/backgrounds/sabayonlinux-nvidia.png"
    Option "AccelMethod" "UXA"

EndSection
   


Section "Screen"

    Identifier    "Screen 0"
    Device        "SabayonVga0"
    Monitor       "Generic Monitor"
    #Option       "AddARGBGLXVisuals" "true"

    DefaultDepth 24

    SubSection "Display"
        Depth      8
        ViewPort   0 0
        #Modes      "1024x768" "800x600" "640x480"
    EndSubsection

    SubSection "Display"
        Depth           16
        ViewPort        0 0
        #Modes      "1024x768" "800x600" "640x480"
    EndSubsection

    SubSection "Display"
        Depth           24
        ViewPort        0 0
        #Modes      "1024x768" "800x600" "640x480"
    EndSubsection

EndSection


Section "DRI"
    Mode 0666
EndSection

Section "ServerLayout"
    Identifier   "Main Layout"
    Screen 0    "Screen 0"
EndSection

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


/boot/grub/grub.conf
Code: Select all
default=0
timeout=10
title=Sabayon Linux (kernel-genkernel-x86-2.6.33-sabayon)
   root (hd0,0)
   kernel /boot/kernel-genkernel-x86-2.6.33-sabayon BOOT_IMAGE=/boot/kernel-genkernel-x86-2.6.33-sabayon ro root=/dev/ram0 modeset=1 ramdisk=8192 real_root=/dev/sda6 dolvm init=/linuxrc splash=silent,theme:sabayon console=tty1 quiet resume=swap:/dev/sda5 real_resume=/dev/sda5
   initrd /boot/initramfs-genkernel-x86-2.6.33-sabayon
   savedefault


/var/log/Xorg.0.log
Code: Select all
X.Org X Server 1.7.6
Release Date: 2010-03-17
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.31-server i686
Current Operating System: Linux mateusz 2.6.33-sabayon #1 SMP Sat Apr 10 20:17:48 UTC 2010 i686
Kernel command line: BOOT_IMAGE=/boot/kernel-genkernel-x86-2.6.33-sabayon ro root=/dev/ram0 ramdisk=8192 real_root=/dev/sda6 dolvm init=/linuxrc splash=silent,theme:sabayon console=tty1 quiet resume=swap:/dev/sda5 real_resume=/dev/sda5
Build Date: 18 March 2010  08:53:50AM
 
Current version of pixman: 0.17.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: Thu Apr 29 18:01:56 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Main Layout"
(**) |-->Screen "Screen 0" (0)
(**) |   |-->Monitor "Generic Monitor"
(**) |   |-->Device "SabayonVga0"
(**) Option "AllowMouseOpenFail" "true"
(==) Automatically adding devices
(==) Automatically enabling devices
(==) FontPath set to:
   /usr/share/fonts/misc/,
   /usr/share/fonts/TTF/,
   /usr/share/fonts/OTF,
   /usr/share/fonts/Type1/,
   /usr/share/fonts/100dpi/,
   /usr/share/fonts/75dpi/
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) Cannot locate a core pointer device.
(II) Cannot locate a core keyboard device.
(II) The server relies on HAL to provide the list of input devices.
   If no devices become available, reconfigure HAL or disable AutoAddDevices.
(II) Loader magic: 0x81e7720
(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:2a42:1028:02aa Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller rev 7, Mem @ 0xf6c00000/4194304, 0xe0000000/268435456, I/O @ 0x0000efe8/8
(--) PCI: (0:0:2:1) 8086:2a43:1028:02aa Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller rev 7, Mem @ 0xf6b00000/1048576
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
(II) "dbe" will be loaded by default.
(II) "glx" will be loaded. This was enabled by default and also specified in the config file.
(II) "record" will be loaded by default.
(II) "dri" will be loaded. This was enabled by default and also specified in the config file.
(II) "dri2" will be loaded by default.
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
   compiled for 1.7.6, 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 DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "i2c"
(II) Module "i2c" already built-in
(II) LoadModule: "ddc"
(II) Module "ddc" already built-in
(II) LoadModule: "vbe"
(II) Loading /usr/lib/xorg/modules/libvbe.so
(II) Module vbe: vendor="X.Org Foundation"
   compiled for 1.7.6, module version = 1.1.0
   ABI class: X.Org Video Driver, version 6.0
(II) LoadModule: "dri"
(II) Loading /usr/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
   compiled for 1.7.6, module version = 1.0.0
   ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
   compiled for 1.7.6, module version = 1.0.0
   ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: "synaptics"
(II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
(II) Module synaptics: vendor="X.Org Foundation"
   compiled for 1.7.3.901, module version = 1.2.1
   Module class: X.Org XInput Driver
   ABI class: X.Org XInput driver, version 7.0
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
   compiled for 1.7.6, 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: "record"
(II) Loading /usr/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
   compiled for 1.7.6, module version = 1.13.0
   Module class: X.Org Server Extension
   ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
   compiled for 1.7.6, module version = 1.1.0
   ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "intel"
(II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
(II) Module intel: vendor="X.Org Foundation"
   compiled for 1.7.6, module version = 2.11.0
   Module class: X.Org Video Driver
   ABI class: X.Org Video Driver, version 6.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) Primary Device is: PCI 00@00:02:0
(EE) intel(0): No kernel modesetting driver detected.
(II) UnloadModule: "intel"
(EE) Screen(s) found, but none have a usable configuration.

Fatal server error:
no screens found

Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
Please also check the log file at "/var/log/Xorg.0.log" for additional information.


changing to vesa helped to run X's I need to change resolution and refreshing - how to do that? plus, vesa is veeeery muddy :/
matteo
Baby Hen
 
Posts: 16
Joined: Thu Feb 11, 2010 21:58

Re: X server is dead after last update

Postby nickdanger » Thu Apr 29, 2010 20:03

Rather than start a new topic...

I have a similar issue with the device driver "fglrx" for ATI. The X server would not start but the error was different. X reported it could not load the dri module, (module dri not found,0). This started after the updates yesterday (4-28-2010). I switched to the vesa driver, it loads fine, and that is what I am using now, although the vesa display is not as distinct as when I used fglrx.
nickdanger
Simple Hen
 
Posts: 89
Joined: Mon Aug 10, 2009 4:02

Next

Return to Beginners|Newbies Area

Who is online

Users browsing this forum: No registered users and 3 guests