X doesn't start on omap3

Amit Pundir pundiramit at gmail.com
Wed Nov 19 22:25:48 PST 2008


Hello,

When I start my Xorg, built for omap3 arch, I get the following error.
------------------------------------------------
(EE) FBDEV(0): FBIOPUT_VSCREENINFO: Invalid argument
(EE) FBDEV(0): mode initialization failed
------------------------------------------------
*Complete log attached at the end*


omap3-evm comes with a 480x640 LCD display and it uses omap24xxfb
display driver with following specs.
------------------------------------------------
omap24xxfb: display mode 480x640x16 hsync 38kHz vsync 59Hz
------------------------------------------------


I may have goofed up a little while configuring Xorg.conf because I
couldn't find any sample Xorg.conf for "fbdev" X driver. I may have
missed some important sections too which I'm not aware of. It looks
like.
------------------------------------------------
 Section "Device"
Identifier      "omap-fbdev"
Option          "UseFBDev"              "/dev/fb0"
Driver          "fbdev"
EndSection

Section "Screen"
Identifier "Screen0"
Device     "omap-fbdev"
SubSection "Display"
Viewport   0 0
Depth     16
Modes   "480x640"
EndSubSection
EndSection
------------------------------------------------


Any help or pointers will be appreciated. Let me know if you need any
more information.
Thanks for your concern.

Regards
Amit Pundir



Xorg.0.log contents:
------------------------------------------------
X.Org X Server 1.5.1
Release Date: 23 September 2008
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-21-generic i686
Current Operating System: Linux OMAP3EVM 2.6.22.18-omap3 #3 Thu Nov 20
10:19:09 IST 2008 armv7l
Build Date: 18 November 2008  06:49:15PM

        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
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 Jan  1 00:02:47 1970
(==) Using config file: "/etc/X11/xorg.conf"
(==) No Layout section.  Using the first Screen section.
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "<default monitor>"
(**) |   |-->Device "omap-fbdev"
(==) No monitor specified for screen "Screen0".
        Using a default monitor configuration.
(==) Automatically adding devices
(==) Automatically enabling devices
(==) No FontPath specified.  Using compiled-in default.
(==) FontPath set to:
	/lib/X11/fonts/misc/,
	/lib/X11/fonts/TTF/,
	/lib/X11/fonts/OTF,
	/lib/X11/fonts/Type1/,
	/lib/X11/fonts/100dpi/,
	/lib/X11/fonts/75dpi/
(==) ModulePath set to "/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 AllowEmptyInput.
(II) No APM support in BIOS or kernel
(II) Loader magic: 0x19f8a0
(II) Module ABI versions:
	X.Org ANSI C Emulation: 0.4
	X.Org Video Driver: 4.1
	X.Org XInput driver : 2.1
	X.Org Server Extension : 1.1
	X.Org Font Renderer : 0.6
(II) Loader running on linux
(--) using VT number 1

(II) System resource ranges:
(II) LoadModule: "extmod"

(II) Loading /lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
	compiled for 1.5.1, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 1.1
(II) Loading extension SHAPE
(II) Loading extension MIT-SUNDRY-NONSTANDARD
(II) Loading extension BIG-REQUESTS
(II) Loading extension SYNC
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XC-MISC
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-Misc
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension TOG-CUP
(II) Loading extension Extended-Visual-Information
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"

(II) Loading /lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
	compiled for 1.5.1, module version = 1.0.0
	Module class: X.Org Server Extension
	ABI class: X.Org Server Extension, version 1.1
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"

(II) Loading /lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor="X.Org Foundation"
	compiled for 1.5.1, module version = 1.0.0
	ABI class: X.Org Server Extension, version 1.1
(==) AIGLX enabled
(==) Exporting typical set of GLX visuals
(II) Loading extension GLX
(II) LoadModule: "freetype"

(II) Loading /lib/xorg/modules/fonts//libfreetype.so
(II) Module freetype: vendor="X.Org Foundation & the After X-TT Project"
	compiled for 1.5.1, module version = 2.1.0
	Module class: X.Org Font Renderer
	ABI class: X.Org Font Renderer, version 0.6
(II) Loading font FreeType
(II) LoadModule: "dri"

(II) Loading /lib/xorg/modules/extensions//libdri.so
(II) Module dri: vendor="X.Org Foundation"
	compiled for 1.5.1, module version = 1.0.0
	ABI class: X.Org Server Extension, version 1.1
(II) Loading extension XFree86-DRI
(II) LoadModule: "fbdev"

(II) Loading /lib/xorg/modules/drivers//fbdev_drv.so
(II) Module fbdev: vendor="X.Org Foundation"
	compiled for 1.5.1, module version = 0.4.0
	ABI class: X.Org Video Driver, version 4.1
(II) FBDEV: driver for framebuffer: fbdev
(WW) Falling back to old probe method for fbdev
(II) Loading sub module "fbdevhw"
(II) LoadModule: "fbdevhw"

(II) Loading /lib/xorg/modules/linux//libfbdevhw.so
(II) Module fbdevhw: vendor="X.Org Foundation"
	compiled for 1.5.1, module version = 0.0.2
	ABI class: X.Org Video Driver, version 4.1
(II) FBDEV(0): using default device
(II) Running in FRAMEBUFFER Mode
(==) FBDEV(0): Depth 16, (==) framebuffer bpp 16
(==) FBDEV(0): RGB weight 565
(==) FBDEV(0): Default visual is TrueColor
(==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
(II) FBDEV(0): hardware: omap24xxfb (video memory: 7200kB)
(II) FBDEV(0): checking modes against framebuffer device...
(II) FBDEV(0): 	mode "480x640" not found
(II) FBDEV(0): checking modes against monitor...
(--) FBDEV(0): Virtual size is 480x640 (pitch 480)
(**) FBDEV(0):  Built-in mode "current": 24.0 MHz, 38.4 kHz, 59.5 Hz
(II) FBDEV(0): Modeline "current"x0.0   23.98  480 545 549 624  640
642 644 646 -hsync -vsync -csync (38.4 kHz)
(==) FBDEV(0): DPI set to (96, 96)
(II) Loading sub module "fb"
(II) LoadModule: "fb"

(II) Loading /lib/xorg/modules//libfb.so
(II) Module fb: vendor="X.Org Foundation"
	compiled for 1.5.1, module version = 1.0.0
	ABI class: X.Org ANSI C Emulation, version 0.4
(**) FBDEV(0): using shadow framebuffer
(II) Loading sub module "shadow"
(II) LoadModule: "shadow"

(II) Loading /lib/xorg/modules//libshadow.so
(II) Module shadow: vendor="X.Org Foundation"
	compiled for 1.5.1, module version = 1.1.0
	ABI class: X.Org ANSI C Emulation, version 0.4
(EE) FBDEV(0): FBIOPUT_VSCREENINFO: Invalid argument
(EE) FBDEV(0): mode initialization failed

Fatal server error:
AddScreen/ScreenInit failed for driver 0
------------------------------------------------



More information about the xorg mailing list