No screens found on intel sandy bridge / centos 5.7 / kernel 2.6.39

Dwijadas Dey dwijad at gmail.com
Tue Oct 25 01:26:56 PDT 2011


Hi
   After successfully compiling and installing xorg-server-1.7.7,
xf86-video-intel-2.13.903 when i run startx -- /opt/xorg/bin/Xorg
-verbose i got Fatal server error: no screens found.

xorg.cong file
**************
Section "ServerLayout"
	Identifier     "single head configuration"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	#RgbPath      "/usr/share/X11/rgb"
	ModulePath   "/usr/local/xf86-video-intel/lib/xorg/modules/drivers"
	ModulePath   "/usr/local/xf86-input-mouse-1.5.0/lib/xorg/modules/input"
	ModulePath   "/usr/local/xf86-input-keyboard-1.4.0/lib/xorg/modules/input"
	#ModulePath   "/usr/lib/xorg/modules/drivers"
	#ModulePath   "/usr/lib/dri"
	#ModulePath   "/usr/lib/xorg/modules/extensions"
	ModulePath   "/opt/xorg/lib/xorg/modules/extensions"
	#ModulePath   "/usr/lib/xorg/modules"
	ModulePath   "/opt/xorg/lib/xorg/modules"
	ModulePath   "/opt/xorg/lib/xorg/modules/linux"
	ModulePath   "/opt/xorg/lib/xorg/modules/multimedia"
	#ModulePath   "/usr/lib/xorg/modules/fonts"
	ModulePath   "/usr/lib/xorg/modules"
	#FontPath     "unix/:7100"
	#FontPath     "built-ins"
EndSection

Section "Module"
	#Load  "freetype"
	Load   "glx"
	Load  "dbe"
	Load   "extmod"
	Load   "dri"
	#Load  "i915"
EndSection

Section "ServerFlags"
	Option	    "AIGLX" "off"
	Option	    "AllowMouseOpenFail" "on"
	Option	    "IgnoreABI" "on"
	Option	    "ZapWarning" "on"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
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   "Compaq"
	ModelName    "LCD Panel 1280x1024"
 	HorizSync 30-55
	VertRefresh 50-120
	Option	    "dpms"
	#Option	    "ddc"
EndSection

Section "Device"
       Option	"NoLogo"  "True"
      #Option     "ShadowFB"           	
      #Option     "DefaultRefresh"     	
      #Option     "ModeSetClearScreen"
	Identifier  "Videocard0"
	Driver      "intel"
	VendorName  "Intel Corporation"
	BoardName   "Intel Sandybridge"
	Option	    "AccelMethod" "EXA"
	BusID       "PCI:0:2:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Videocard0"
	Monitor    "Monitor0"
	#DefaultDepth     24
	#SubSection "Display"
		#Viewport   0 0
		#Depth     16
		#Modes    "800x600" "640x480"
	#EndSubSection
	#SubSection "Display"
		#Viewport   0 0
		#Depth     16
	#EndSubSection
	#SubSection "Display"
		#Viewport   0 0
		#Depth     24
		#Modes    "1280x1024" "1280x960" "1280x800" "1152x864" "1024x768"
"800x600" "640x480"
	#EndSubSection
EndSection

Section "DRI"
	Group        0
	Mode         0666
EndSection

Section "Extensions"
	#Option	    "Composite" "False"
EndSection

***********************************************************************************************

and the Xorg.0.log log file is


X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.39 i686
Current Operating System: Linux localhost.localdomain 2.6.39 #7 SMP
Fri Oct 14 21:11:17 IST 2011 i686
Kernel command line: ro root=/dev/VolGroup00/LogVol00
Build Date: 25 October 2011  10:29:54AM

Current version of pixman: 0.22.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: "/opt/xorg/var/log/Xorg.0.log", Time: Tue Oct 25 13:30:26 2011
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "single head configuration"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(**) |   |-->Device "Videocard0"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(**) Option "AllowMouseOpenFail" "on"
(**) Option "AIGLX" "off"
(**) Option "IgnoreABI" "on"
(**) Ignoring ABI Version
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/opt/xorg/lib/X11/fonts/misc/" does not exist.
	Entry deleted from font path.
(WW) The directory "/opt/xorg/lib/X11/fonts/TTF/" does not exist.
	Entry deleted from font path.
(WW) The directory "/opt/xorg/lib/X11/fonts/OTF" does not exist.
	Entry deleted from font path.
(WW) The directory "/opt/xorg/lib/X11/fonts/Type1/" does not exist.
	Entry deleted from font path.
(WW) The directory "/opt/xorg/lib/X11/fonts/100dpi/" does not exist.
	Entry deleted from font path.
(WW) The directory "/opt/xorg/lib/X11/fonts/75dpi/" does not exist.
	Entry deleted from font path.
(==) FontPath set to:
	
(**) ModulePath set to
"/usr/local/xf86-video-intel/lib/xorg/modules/drivers,/usr/local/xf86-input-mouse-1.5.0/lib/xorg/modules/input,/usr/local/xf86-input-keyboard-1.4.0/lib/xorg/modules/input,/opt/xorg/lib/xorg/modules/extensions,/opt/xorg/lib/xorg/modules,/opt/xorg/lib/xorg/modules/linux,/opt/xorg/lib/xorg/modules/multimedia,/usr/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or
'vmmouse' will be disabled.
(WW) Disabling Mouse0
(WW) Disabling Keyboard0
(II) Loader magic: 0x824df00
(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:0106:103c:3672 Intel Corporation 2nd
Generation Core Processor Family Integrated Graphics Controller rev 9,
Mem @ 0x90000000/4194304, 0x80000000/268435456, I/O @ 0x00004000/64
(II) Open ACPI successful (/var/run/acpid.socket)
(II) "extmod" will be loaded. This was enabled by default and also
specified in the config file.
(II) "dbe" will be loaded. This was enabled by default and also
specified in the config file.
(II) "glx" will be loaded. This was enabled by default and also
specified in the config file.
(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: "glx"
(II) Loading /opt/xorg/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(**) AIGLX disabled
(II) Loading extension GLX
(II) LoadModule: "dbe"
(II) Loading /opt/xorg/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
	compiled for 1.7.7, 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: "extmod"
(II) Loading /opt/xorg/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 1.7.7, 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 XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dri"
(II) Loading /opt/xorg/lib/xorg/modules/extensions/libdri.so
(II) Module dri: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.0.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension XFree86-DRI
(II) LoadModule: "dri2"
(II) Loading /opt/xorg/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 1.1.0
	ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(II) LoadModule: "intel"
(II) Loading /usr/local/xf86-video-intel/lib/xorg/modules/drivers/intel_drv.so
(II) Module intel: vendor="X.Org Foundation"
	compiled for 1.7.7, module version = 2.13.903
	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, 854, 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, B43, Clarkdale, Arrandale,
	Sandybridge, Sandybridge, Sandybridge, Sandybridge, Sandybridge,
	Sandybridge, Sandybridge
(II) Primary Device is: PCI 00 at 00:02:0
(EE) No devices detected.

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 "/opt/xorg/var/log/Xorg.0.log" for
additional information.

****************************************************************************************

#lspci ....
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation
Core Processor Family Integrated Graphics Controller (rev 09)


As Centos 5.7 donot support intel sandybridge , i have to opt for vesa
driver instead.

Can anyone point me the problems that may be occured while installing
or compiling the
above.

Dwdy



More information about the xorg mailing list