You are not logged in.

#1 2010-09-03 02:45:08

Prax
Member
Registered: 2010-09-01
Posts: 5

Fatal server error: no screens found

Hello all. I've just finished my first install of Arch on my Lenovo IdeaPad U460, and am now struggling to get X configured properly. I'm using the nouveau driver with an nVidia GeForce 305M. When I attempt to start X, I get the following error:

Fatal server error:
no screens found

I have already tried the nvidia driver, which got the same error. I have tried both nvidia-config and X -configure, which worked once and then started giving me the error: "Number of created screens does not match number of detected devices. Configuration failed." My current xorg.conf was created with X -configure, with a little tweaking from me.

Here's all the info I could get on my screen:

14.0" (355.6mm) WXGA (1366x768) TFT color, VibrantView (glossy),
LED backlight, 220 nits, 16:9 aspect ratio, 500:1 contrast ratio

Here is my xorg.conf:

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

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

Section "Module"
    Load  "dbe"
    Load  "dri2"
    Load  "glx"
    Load  "record"
    Load  "extmod"
    Load  "dri"
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 "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "SWcursor"               # [<bool>]
        #Option     "HWcursor"               # [<bool>]
        #Option     "NoAccel"                # [<bool>]
        #Option     "ShadowFB"               # [<bool>]
        #Option     "VideoKey"               # <i>
    Identifier  "Card0"
    Driver      "nouveau"
    VendorName  "nVidia Corporation"
    BoardName   "Unknown Board"
    BusID       "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    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

Section "ServerFlags"
    Option    "AllowEmptyInput" "no"
EndSection

...and finally, my Xorg.0.log:

[  1836.314] 
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.
[  1836.318] 
X.Org X Server 1.8.1.902 (1.8.2 RC 2)
Release Date: 2010-06-21
[  1836.319] X Protocol Version 11, Revision 0
[  1836.320] Build Operating System: Linux 2.6.34-ARCH x86_64 
[  1836.320] Current Operating System: Linux axon 2.6.35-ARCH #1 SMP PREEMPT Fri Aug 27 17:14:28 CEST 2010 x86_64
[  1836.321] Kernel command line: root=/dev/disk/by-uuid/6b12d368-7b50-4724-8e0e-2a5038a6f911 ro
[  1836.321] Build Date: 21 June 2010  12:01:49PM
[  1836.322]  
[  1836.322] Current version of pixman: 0.18.4
[  1836.323]     Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
[  1836.324] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  1836.327] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Sep  2 17:32:48 2010
[  1836.339] (==) Using config file: "/etc/X11/xorg.conf"
[  1836.340] (==) Using config directory: "/etc/X11/xorg.conf.d"
[  1836.370] (==) ServerLayout "X.org Configured"
[  1836.370] (**) |-->Screen "Screen0" (0)
[  1836.370] (**) |   |-->Monitor "Monitor0"
[  1836.371] (**) |   |-->Device "Card0"
[  1836.371] (**) |-->Input Device "Mouse0"
[  1836.371] (**) |-->Input Device "Keyboard0"
[  1836.371] (**) Option "AllowEmptyInput" "no"
[  1836.371] (==) Automatically adding devices
[  1836.371] (==) Automatically enabling devices
[  1836.434] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[  1836.434]     Entry deleted from font path.
[  1836.483] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[  1836.483]     Entry deleted from font path.
[  1836.483] (**) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/100dpi/,
    /usr/share/fonts/75dpi/,
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/100dpi/,
    /usr/share/fonts/75dpi/
[  1836.483] (**) ModulePath set to "/usr/lib/xorg/modules"
[  1836.483] (II) Loader magic: 0x7ce880
[  1836.483] (II) Module ABI versions:
[  1836.483]     X.Org ANSI C Emulation: 0.4
[  1836.483]     X.Org Video Driver: 7.0
[  1836.483]     X.Org XInput driver : 9.0
[  1836.483]     X.Org Server Extension : 3.0
[  1836.494] (--) PCI:*(0:0:2:0) 8086:0046:17aa:395a Intel Corporation Core Processor Integrated Graphics Controller rev 2, Mem @ 0xe1400000/4194304, 0xd0000000/268435456, I/O @ 0x00005050/8
[  1836.502] (--) PCI: (0:1:0:0) 10de:0a6e:17aa:395a nVidia Corporation rev 162, Mem @ 0xe0000000/16777216, 0xb0000000/268435456, 0xc0000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[  1836.515] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  1836.515] (II) "extmod" will be loaded. This was enabled by default and also specified in the config file.
[  1836.515] (II) "dbe" will be loaded. This was enabled by default and also specified in the config file.
[  1836.515] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[  1836.515] (II) "record" will be loaded. This was enabled by default and also specified in the config file.
[  1836.515] (II) "dri" will be loaded. This was enabled by default and also specified in the config file.
[  1836.515] (II) "dri2" will be loaded. This was enabled by default and also specified in the config file.
[  1836.515] (II) LoadModule: "dbe"
[  1836.610] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[  1836.616] (II) Module dbe: vendor="X.Org Foundation"
[  1836.616]     compiled for 1.8.1.902, module version = 1.0.0
[  1836.616]     Module class: X.Org Server Extension
[  1836.616]     ABI class: X.Org Server Extension, version 3.0
[  1836.616] (II) Loading extension DOUBLE-BUFFER
[  1836.616] (II) LoadModule: "dri2"
[  1836.616] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[  1836.648] (II) Module dri2: vendor="X.Org Foundation"
[  1836.648]     compiled for 1.8.1.902, module version = 1.2.0
[  1836.648]     ABI class: X.Org Server Extension, version 3.0
[  1836.648] (II) Loading extension DRI2
[  1836.648] (II) LoadModule: "glx"
[  1836.648] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  1836.683] (II) Module glx: vendor="X.Org Foundation"
[  1836.683]     compiled for 1.8.1.902, module version = 1.0.0
[  1836.683]     ABI class: X.Org Server Extension, version 3.0
[  1836.683] (==) AIGLX enabled
[  1836.683] (II) Loading extension GLX
[  1836.683] (II) LoadModule: "record"
[  1836.684] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[  1836.684] (II) Module record: vendor="X.Org Foundation"
[  1836.684]     compiled for 1.8.1.902, module version = 1.13.0
[  1836.684]     Module class: X.Org Server Extension
[  1836.684]     ABI class: X.Org Server Extension, version 3.0
[  1836.684] (II) Loading extension RECORD
[  1836.684] (II) LoadModule: "extmod"
[  1836.684] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[  1836.697] (II) Module extmod: vendor="X.Org Foundation"
[  1836.697]     compiled for 1.8.1.902, module version = 1.0.0
[  1836.697]     Module class: X.Org Server Extension
[  1836.697]     ABI class: X.Org Server Extension, version 3.0
[  1836.697] (II) Loading extension MIT-SCREEN-SAVER
[  1836.697] (II) Loading extension XFree86-VidModeExtension
[  1836.697] (II) Loading extension XFree86-DGA
[  1836.697] (II) Loading extension DPMS
[  1836.697] (II) Loading extension XVideo
[  1836.697] (II) Loading extension XVideo-MotionCompensation
[  1836.697] (II) Loading extension X-Resource
[  1836.697] (II) LoadModule: "dri"
[  1836.697] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[  1836.698] (II) Module dri: vendor="X.Org Foundation"
[  1836.698]     compiled for 1.8.1.902, module version = 1.0.0
[  1836.698]     ABI class: X.Org Server Extension, version 3.0
[  1836.698] (II) Loading extension XFree86-DRI
[  1836.698] (II) LoadModule: "nouveau"
[  1836.698] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[  1836.716] (II) Module nouveau: vendor="X.Org Foundation"
[  1836.717]     compiled for 1.8.0.902, module version = 0.0.16
[  1836.717]     Module class: X.Org Video Driver
[  1836.717]     ABI class: X.Org Video Driver, version 7.0
[  1836.717] (II) LoadModule: "mouse"
[  1836.717] (II) Loading /usr/lib/xorg/modules/input/mouse_drv.so
[  1836.730] (II) Module mouse: vendor="X.Org Foundation"
[  1836.730]     compiled for 1.8.0, module version = 1.5.0
[  1836.730]     Module class: X.Org XInput Driver
[  1836.730]     ABI class: X.Org XInput driver, version 9.0
[  1836.730] (II) LoadModule: "kbd"
[  1836.730] (II) Loading /usr/lib/xorg/modules/input/kbd_drv.so
[  1836.731] (II) Module kbd: vendor="X.Org Foundation"
[  1836.731]     compiled for 1.8.0, module version = 1.4.0
[  1836.731]     Module class: X.Org XInput Driver
[  1836.731]     ABI class: X.Org XInput driver, version 9.0
[  1836.731] (II) NOUVEAU driver 
[  1836.731] (II) NOUVEAU driver for NVIDIA chipset families :
[  1836.731]     RIVA TNT    (NV04)
[  1836.731]     RIVA TNT2   (NV05)
[  1836.731]     GeForce 256 (NV10)
[  1836.731]     GeForce 2   (NV11, NV15)
[  1836.731]     GeForce 4MX (NV17, NV18)
[  1836.731]     GeForce 3   (NV20)
[  1836.731]     GeForce 4Ti (NV25, NV28)
[  1836.731]     GeForce FX  (NV3x)
[  1836.731]     GeForce 6   (NV4x)
[  1836.731]     GeForce 7   (G7x)
[  1836.731]     GeForce 8   (G8x)
[  1836.731] (--) using VT number 7

[  1836.734] (II) Primary Device is: PCI 00@00:02:0
[  1836.734] drmOpenDevice: node name is /dev/dri/card0
[  1836.734] drmOpenDevice: open result is 7, (OK)
[  1836.735] drmOpenByBusid: Searching for BusID pci:0000:01:00.0
[  1836.735] drmOpenDevice: node name is /dev/dri/card0
[  1836.735] drmOpenDevice: open result is 7, (OK)
[  1836.735] drmOpenByBusid: drmOpenMinor returns 7
[  1836.735] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
[  1836.735] drmOpenDevice: node name is /dev/dri/card1
[  1836.735] drmOpenDevice: open result is 7, (OK)
[  1836.735] drmOpenByBusid: drmOpenMinor returns 7
[  1836.735] drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
[  1836.736] (II) [drm] nouveau interface version: 0.0.16
[  1836.736] (II) Loading sub module "dri"
[  1836.736] (II) LoadModule: "dri"
[  1836.736] (II) Reloading /usr/lib/xorg/modules/extensions/libdri.so
[  1836.736] (II) NOUVEAU(0): Loaded DRI module
[  1836.736] drmOpenDevice: node name is /dev/dri/card0
[  1836.736] drmOpenDevice: open result is 8, (OK)
[  1836.737] drmOpenDevice: node name is /dev/dri/card0
[  1836.737] drmOpenDevice: open result is 8, (OK)
[  1836.738] drmOpenByBusid: Searching for BusID pci:0000:01:00.0
[  1836.738] drmOpenDevice: node name is /dev/dri/card0
[  1836.738] drmOpenDevice: open result is 8, (OK)
[  1836.738] drmOpenByBusid: drmOpenMinor returns 8
[  1836.738] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
[  1836.738] drmOpenDevice: node name is /dev/dri/card1
[  1836.739] drmOpenDevice: open result is 8, (OK)
[  1836.739] drmOpenByBusid: drmOpenMinor returns 8
[  1836.739] drmOpenByBusid: drmGetBusid reports pci:0000:01:00.0
[  1836.739] (II) [drm] DRM interface version 1.3
[  1836.739] (II) [drm] DRM open master succeeded.
[  1836.739] (--) NOUVEAU(0): Chipset: "NVIDIA NVa8"
[  1836.739] (==) NOUVEAU(0): Depth 24, (--) framebuffer bpp 32
[  1836.739] (==) NOUVEAU(0): RGB weight 888
[  1836.739] (==) NOUVEAU(0): Default visual is TrueColor
[  1836.739] (==) NOUVEAU(0): Using HW cursor
[  1836.837] (II) NOUVEAU(0): Output VGA-2 using monitor section Monitor0
[  1836.845] (II) NOUVEAU(0): Output HDMI-1 has no monitor section
[  1836.944] (II) NOUVEAU(0): EDID for output VGA-2
[  1836.952] (II) NOUVEAU(0): EDID for output HDMI-1
[  1836.952] (II) NOUVEAU(0): Output VGA-2 disconnected
[  1836.952] (II) NOUVEAU(0): Output HDMI-1 disconnected
[  1836.952] (WW) NOUVEAU(0): No outputs definitely connected, trying again...
[  1836.952] (II) NOUVEAU(0): Output VGA-2 disconnected
[  1836.952] (II) NOUVEAU(0): Output HDMI-1 disconnected
[  1836.952] (WW) NOUVEAU(0): Unable to find initial modes
[  1836.952] (II) UnloadModule: "nouveau"
[  1836.952] (II) UnloadModule: "dri"
[  1836.952] (EE) Screen(s) found, but none have a usable configuration.
[  1836.952] 
Fatal server error:
[  1836.952] no screens found
[  1836.952] 
Please consult the The X.Org Foundation support 
     at http://wiki.x.org
 for help. 
[  1836.952] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  1836.952] 

Phew. That should be quite enough info, but I'll provide anything else needed if someone can help me. I've probably put about 12 hours into installing and configuring this distro, I really don't want to give up when I'm so close to getting it right!

Offline

#2 2010-09-03 03:00:26

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

Re: Fatal server error: no screens found

I'm not an expert at X, so take this as you may.

Remove all of nouveau, nvidia, and nvidia-utils while outside of X. Make sure that all associated modules are unloaded (reboot if you don't want to bother). Re-install all of nvidia as root (pacman -S nvidia-utils). Run nvidia-xconfig as root. Make sure that the generated xorg.conf ended up somewhere where X can find it (/etc/X11/ is still fine). Restart X.

The "blob" can be somewhat temperamental if it detects conflicts, but it happens to still be the best graphic driver under Linux. nouveau can be somewhat broken with newer cards (i.e. doesn't work at all), and is generally pointless for anything that nVidia supports and will remain so for another year or two.

Offline

#3 2010-09-03 03:16:30

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Fatal server error: no screens found

Don't mix the drivers, decide which one you try first and stick to it until it definitely fails or succeeds. If you want to try nvidia driver, remove nouveau from /etc/mkinitcpio.conf and /etc/modprobe.d/ and rebuild kernel image: http://wiki.archlinux.org/index.php/Nouveau#KMS
Try to use either xorg.conf or /etc/X11/xorg.conf.d/. BTW, what have you got in /etc/X11/xorg.conf.d/ ?

Offline

#4 2010-09-03 05:26:05

Prax
Member
Registered: 2010-09-01
Posts: 5

Re: Fatal server error: no screens found

karol wrote:

BTW, what have you got in /etc/X11/xorg.conf.d/ ?

It contains 10-evdev.conf, 10-quirks.conf, 10-synaptics.conf, 20-nouveau.conf, and 50-fpt.conf.

20-nouveau.conf contains:

Section "Device"
     Identifier "nvidia"
     Driver "nouveau"
EndSection

Offline

#5 2010-09-03 05:33:05

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Fatal server error: no screens found

You may want to use 10-monitor.conf instead of xorg.conf:

Section "Monitor"
    Identifier    "Monitor0"
EndSection

Section "Device"
    Identifier    "Device0"
    Driver        "nouveau" #Choose the driver used for this monitor
EndSection

Section "Screen"
    Identifier    "Screen0"  #Collapse Monitor and Device section to Screen section
    Device        "Device0"
    Monitor       "Monitor0"
    DefaultDepth  24 #Choose the depth (16||24)
    SubSection "Display"
        Depth     24
        Modes     "1440x900_60.00" #Choose the resolution
        # Modes     "1024x768_75.00" #Choose the resolution
    EndSubSection
EndSection

I followed the wiki and getting nouveau to work was pretty straightforward, but I have an old card so YMMV.

Offline

#6 2010-09-03 06:13:28

Prax
Member
Registered: 2010-09-01
Posts: 5

Re: Fatal server error: no screens found

Okay. I have renamed my xorg.conf to xorg.conf.bak, added a 10-monitor.conf with a Device section for both of my graphics cards... yes, I just discovered that I have switchable graphics: an on-board Intel graphics controller in addition to the nVidia. I have made sure I've purged the old nVidia driver, and reinstalled the nouveau driver just for the heck of it.

I rebuilt the kernel image, and... black screen on startup. Rebooted, tried fallback, same thing.

Offline

#7 2010-09-03 06:20:29

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Fatal server error: no screens found

Are those the switcheroo graphic cards? Sorry, I know nothing about hybrid graphics.

Offline

#8 2010-09-03 06:38:59

Prax
Member
Registered: 2010-09-01
Posts: 5

Re: Fatal server error: no screens found

It's okay, I'm just thankful you're trying to help! Unfortunately I know little either -- not a hardware person. I'll leave this thread open for a couple more days in hope of new suggestions, and if all else fails I'll reinstall and try to get the configuration right from the beginning.

Offline

#9 2010-09-05 11:17:09

whorider
Member
From: Dallas, TX
Registered: 2009-09-22
Posts: 4

Re: Fatal server error: no screens found

Maybe, edit config file from:

Modes     "1440x900_60.00" #Choose the resolution

To this:

Modes     "1366x768_60.00" #Choose the resolution

Last edited by whorider (2010-09-05 11:38:15)


rc.conf

Offline

#10 2010-09-05 14:18:44

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Fatal server error: no screens found

whorider wrote:

Maybe, edit config file from:

Modes     "1440x900_60.00" #Choose the resolution

To this:

Modes     "1366x768_60.00" #Choose the resolution

*Of course* OP should change that config to reflect his settings, but I think it's a bit more complicated than that.

Offline

Board footer

Powered by FluxBB