Info about X-architecture

Carsten Haitzler (The Rasterman) raster at rasterman.com
Mon Oct 4 23:39:21 PDT 2010


On Tue, 05 Oct 2010 12:08:59 +0530 vijay singh <testmrs.evo at gmail.com> said:

> On Tue, 2010-10-05 at 15:26 +0900, Carsten Haitzler wrote:
> > On Tue, 05 Oct 2010 11:45:10 +0530 vijay singh <testmrs.evo at gmail.com> said:
> > 
> > no fbdev driver. it's there in the error output. did you not build/install
> > one? is ther an fb device from the kernel?
> Bootlog i can see Fb is initialize..
> 
> arm11fb driver initializing..
> Allocated 1 buffer(s)
> arm11fb regs mapped @:cc820000, fb mapped @:fde00000
> arm11fb0: arm11fb frame buffer device
> 
> do i have to create device node or some other way i can try.

xorg fbdev driver module - not kernel. u also need kernel fb support - /dev/fb*
should indicate u have device nodes for it if they are there.

> > > Hi,
> > > Thanks for info..
> > > 
> > > I have below HW system :
> > > Main CPU : ARM11
> > > Graphic Card : SGX535.
> > > 
> > > Currently in my first step i want startx should run & then xterm.
> > > 
> > > When i try to run startx on target below is error :
> > > ========================================================================
> > > auth:  creating new authority file /root/.serverauth.948
> > > _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
> > > _XSERVTransOpen: transport open failed for inet6/ARM11SMP-NEMID:0
> > > _XSERVTransMakeAllCOTSServerListeners: failed to open listener for
> > >  inet6   X.Org X Server 1.8.2 Release Date: 2010-07-01 X Protocol
> > > Version 11, Revision 0 Build Operating System: Linux 2.6.32-24-generic
> > > i686 Current Operating System: Linux ARM11SMP 2.6.34.6 #1 SMP Mon Sep 20
> > > 13:47:32 CEST 2010 armv6l Kernel command line: console=ttyS0,115200n8n
> > > mem=192M maxcpus=2 rootwait root=/d ev/sda1 lpj=1994752 Build Date: 01
> > > October 2010  06:31:51PM   
> > > Current version of pixman: 0.17.6
> > >       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 Jan  1 01:04:31 1970 
> > > Primary device is not PCI (==) Using default built-in configuration (12
> > > lines) 
> > > (EE) Failed to load module "fbdev" (module does not exist, 0)
> > > (EE) No drivers available.   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 informati on.   giving up. xinit:
> > > No such file or directory (errno 2):  unable to connect to X server
> > > xinit:  No such process (errno 3):  Server error
> > > ==========================================================================
> > > 
> > > Any idea what is missing ??
> > > 
> > > Cheers--
> > > 
> > > 
> > > 
> > > On Tue, 2010-10-05 at 07:30 +0900, Carsten Haitzler wrote:
> > > > On Mon, 4 Oct 2010 09:48:36 -0700 Corbin Simpson
> > > > <mostawesomedude at gmail.com> said:
> > > > 
> > > > indeed. most hw i have ever seen in embedded has a memory mapped dumb
> > > > fb as part of the main memory - the kernel should already support this-
> > > > if so x will work just fine (fb drvier). it will work exactly as well
> > > > as it does on a desktop or laptop - just no acceleration. this of
> > > > course depends if you HAVE any hardware that can do acceleration on
> > > > your SoC. even then - is it useful? at worst it may simply be you ave
> > > > multiple fb's (yuv over/underlay, rgb layer (8/16/32bpp) and have to
> > > > configure them correctly on  init and use the right one to get sensible
> > > > gfx. xv (yuv layer) may not work in this dumb mode without some driver
> > > > work.
> > > > 
> > > > your problems really begin when trying to do the yuv support and then
> > > > acceleration - if your SoC has anything.. and the big problems begin
> > > > with 3D if your SoC has a 3D unit. at this point you'll want to  have
> > > > your SoC vendor be helping you out.
> > > > 
> > > > > Which hardware, specifically? If Linux has already been ported, and a
> > > > > framebuffer driver exists, then X will work perfectly already, using
> > > > > the "fbdev" X driver.
> > > > > 
> > > > > Sending from a mobile, pardon the brevity. ~ C.
> > > > > 
> > > > > On Oct 4, 2010 3:18 AM, "vijay singh" <testmrs.evo at gmail.com> wrote:
> > > > > > On Mon, 2010-10-04 at 13:11 +0300, Timo Juhani Lindfors wrote:
> > > > > >> vijay singh <testmrs.evo at gmail.com> writes:
> > > > > >> > I would like to know is their any document available which will
> > > > > >> > explain about X-architecture.
> > > > > >>
> > > > > >> Even just http://en.wikipedia.org/wiki/X_Window_System gives a
> > > > > >> rough
> > > > > overview.
> > > > > >>
> > > > > >> > if i want to add any new X-client then what is the way.
> > > > > >>
> > > > > >> Things like evolution and firefox usually work as X clients on
> > > > > >> gnu/linux. You can take a look at them or google for "GTK hello
> > > > > >> world" or "QT hello world" to get something simpler.
> > > > > >>
> > > > > > Thanks for the info..
> > > > > >
> > > > > > If i want to build test filesystem for new HW (In my case it is
> > > > > > ARM11)where some basics X-client (xterm,xeyes..) should work, in
> > > > > > this case how i should configure X to work.
> > > > > >
> > > > > > If more details about what all kernel dependency, how X can be test
> > > > > > will be helpful.
> > > > > >
> > > > > >>
> > > > > >
> > > > > >
> > > > > > _______________________________________________
> > > > > > xorg at lists.freedesktop.org: X.Org support
> > > > > > Archives: http://lists.freedesktop.org/archives/xorg
> > > > > > Info: http://lists.freedesktop.org/mailman/listinfo/xorg
> > > > > > Your subscription address: mostawesomedude at gmail.com
> > > > 
> > > > 
> > > 
> > > 
> > 
> > 
> 
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    raster at rasterman.com




More information about the xorg mailing list