Re: X lib support for embedded systems.

2010-08-11 Thread Piotr Gluszenia Slawinski


Twas brillig at 06:49:01 11.08.2010 UTC+02 when
curi...@bwv190.internetdsl.tpnet.pl did gyre and gimble:

PGS i also recall long gone times when i could build 3.3.6 XFree which
PGS would run on 486 with 8M of ram , and squash the (static!) binary
PGS to just 2M. perhaps with uclibc this could be even smaller.

PGS main problem those times are long gone :/ numbers like 20M start
PGS to appear, and Xorg is not really optimised for embedded devices
PGS performance-wise.

Those are sentiments. Do you have hard facts to prove your point?


what facts do you need ? try tools like qpkg, ls -lha and calculator
on your own systems. also try to run Xorg on anything with 32/64M ram
and see how much memory it consumes. sure it does work.
i suceeded compiling google chrome for 64M machine not so far ago.
it even started and displayed page. the actual time it took is what makes 
difference ;)


i've seen neat embedded systems with ~266mhz arm cpu's able to rotate
simple 3d objects, zoom in/out, scroll and pan with frame rates close to 
50fps, and memory footprint under 32M.
 unfortunatelly Xorg and linux still has long way to reach such 
performance, and those are hard facts, which cannot be torn down

'but those are simplified apps not supporting whole X protocol'
- they are fit for purpose, and sometimes one doesn't need cannon
to shoot squirrel...


--
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


RE: X lib support for embedded systems.

2010-08-11 Thread Praveen J C (RBEI/EST1)
I don't need the complete X11 thing.
I just need these libraries:
X11, Xext, Xft, Xcursor, Xinerma and Xi
To get fltk working.

Well, I am a novice candidate for the X11 world.
I need help to achieve my application to run using a touchscreen keypad.
My arm processor is of 266MHz. Ram is of 64M and NAND is 32M.

-Original Message-
From: Piotr Gluszenia Slawinski [mailto:curi...@bwv190.internetdsl.tpnet.pl]
Sent: Wednesday, 11. August 2010 11:43 AM
To: Mikhail Gusarov
Cc: Mart Raudsepp; Praveen J C (RBEI/EST1); xorg@lists.freedesktop.org
Subject: Re: X lib support for embedded systems.


 Twas brillig at 06:49:01 11.08.2010 UTC+02 when
 curi...@bwv190.internetdsl.tpnet.pl did gyre and gimble:

 PGS i also recall long gone times when i could build 3.3.6 XFree which
 PGS would run on 486 with 8M of ram , and squash the (static!) binary
 PGS to just 2M. perhaps with uclibc this could be even smaller.

 PGS main problem those times are long gone :/ numbers like 20M start
 PGS to appear, and Xorg is not really optimised for embedded devices
 PGS performance-wise.

 Those are sentiments. Do you have hard facts to prove your point?

what facts do you need ? try tools like qpkg, ls -lha and calculator
on your own systems. also try to run Xorg on anything with 32/64M ram
and see how much memory it consumes. sure it does work.
i suceeded compiling google chrome for 64M machine not so far ago.
it even started and displayed page. the actual time it took is what makes
difference ;)

i've seen neat embedded systems with ~266mhz arm cpu's able to rotate
simple 3d objects, zoom in/out, scroll and pan with frame rates close to
50fps, and memory footprint under 32M.
  unfortunatelly Xorg and linux still has long way to reach such
performance, and those are hard facts, which cannot be torn down
'but those are simplified apps not supporting whole X protocol'
- they are fit for purpose, and sometimes one doesn't need cannon
to shoot squirrel...


--
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: X lib support for embedded systems.

2010-08-11 Thread Siji Sunny
On Tue, Aug 10, 2010 at 5:29 PM, Praveen J C (RBEI/EST1) 
praveen...@in.bosch.com wrote:

  Hello there.

 I am developing graphics system to one of our touch screen keypad.
 I planned to use fltk-2.0 to achieve the same.
 For this I required X11. But as the X11 is very huge, I wanted a slimmed
 down version of the same.
 Basically X11 and fltk must occupy not more than 20MB!

 Fltk basically uses these libraries from X11: -lXext, -lXft, -lXcursor,
 -lXinerma and -lXi.

 Can anyone help me in building X11 for my system?

Not sure what exactly you want to do, there are already lot of options are
available for embedded systems, Like Angstom, ubuntu-arm,android etc..
In all those OS having the capability of handling the applications with and
with out X(frame buffer).

Instead of fltk, you can give a try with Clutter (Gtk Clutter).




 Thanks,
 Praveen


 ___
 xorg@lists.freedesktop.org: X.Org support
 Archives: http://lists.freedesktop.org/archives/xorg
 Info: http://lists.freedesktop.org/mailman/listinfo/xorg
 Your subscription address: sijisu...@gmail.com




-- 
Siji Sunny
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Re: X lib support for embedded systems.

2010-08-11 Thread Siji Sunny
On Wed, Aug 11, 2010 at 12:16 PM, Siji Sunny sijisu...@gmail.com wrote:



 On Tue, Aug 10, 2010 at 5:29 PM, Praveen J C (RBEI/EST1) 
 praveen...@in.bosch.com wrote:

  Hello there.

 I am developing graphics system to one of our touch screen keypad.
 I planned to use fltk-2.0 to achieve the same.
 For this I required X11. But as the X11 is very huge, I wanted a slimmed
 down version of the same.
 Basically X11 and fltk must occupy not more than 20MB!

 Fltk basically uses these libraries from X11: -lXext, -lXft, -lXcursor,
 -lXinerma and -lXi.

 Can anyone help me in building X11 for my system?

 Not sure what exactly you want to do, there are already lot of options are
 available for embedded systems, Like Angstom, ubuntu-arm,android etc..
 In all those OS having the capability of handling the applications with and
 with out X(frame buffer).


Some correciton -it's Angstrom (http://www.angstrom-distribution.org/ )


 Instead of fltk, you can give a try with Clutter (Gtk Clutter).




 Thanks,
 Praveen


 ___
 xorg@lists.freedesktop.org: X.Org support
 Archives: http://lists.freedesktop.org/archives/xorg
 Info: http://lists.freedesktop.org/mailman/listinfo/xorg
 Your subscription address: sijisu...@gmail.com




 --
 Siji Sunny




-- 
Siji Sunny
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Re: X lib support for embedded systems.

2010-08-11 Thread Mikhail Gusarov

Twas brillig at 08:13:29 11.08.2010 UTC+02 when
curi...@bwv190.internetdsl.tpnet.pl did gyre and gimble:

 PGS what facts do you need ? try tools like qpkg, ls -lha and
 PGS calculator on your own systems.

Desktop X.org? Are you joking?

 PGS also try to run Xorg on anything with 32/64M ram
 PGS and see how much memory it consumes.

Well, I do every day. Works pretty much fine.

-- 
  http://fossarchy.blogspot.com/


pgpctPKr4qTFe.pgp
Description: PGP signature
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Re: X lib support for embedded systems.

2010-08-11 Thread Piotr Gluszenia Slawinski

On Wed, 11 Aug 2010, Mikhail Gusarov wrote:



Twas brillig at 08:13:29 11.08.2010 UTC+02 when
curi...@bwv190.internetdsl.tpnet.pl did gyre and gimble:

PGS what facts do you need ? try tools like qpkg, ls -lha and
PGS calculator on your own systems.

Desktop X.org? Are you joking?


is there any other?



PGS also try to run Xorg on anything with 32/64M ram
PGS and see how much memory it consumes.

Well, I do every day. Works pretty much fine.


well, it all depends what u call 'fine'
if it's 'managed to boot up, took half of memory and runs @ 5fps'
then sure ;)

btw quick mem check on one of my uclibc based machines :
top memory consuming app: Xorg
45M resident (!) , 329M virtual. apps opened - xchat, few windows with
links browser, few terminal windows, xastir . wm - fluxbox.

i also do run X on 64 and even 32M machines, mainly because X is just
easy to deploy and some apps i use are not yet ported to directfb.
mem stats are quite similiar, top mem usage app - X.
performance ... well. above 1fps. it can be considered 'it works', right ? 
;)



___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: X lib support for embedded systems.

2010-08-11 Thread Mikhail Gusarov

Twas brillig at 08:54:20 11.08.2010 UTC+02 when
curi...@bwv190.internetdsl.tpnet.pl did gyre and gimble:

 PGS well, it all depends what u call 'fine'
 PGS if it's 'managed to boot up, took half of memory and runs @ 5fps'
 PGS then sure ;)

 PGS btw quick mem check on one of my uclibc based machines :
 PGS top memory consuming app: Xorg
 PGS 45M resident (!) , 329M virtual. apps opened - xchat, few windows with
 PGS links browser, few terminal windows, xastir . wm - fluxbox.

Are you still talking about *embedded* systems?

-- 
  http://fossarchy.blogspot.com/


pgp8qMkzCBEQ2.pgp
Description: PGP signature
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

RE: X lib support for embedded systems.

2010-08-11 Thread Praveen J C (RBEI/EST1)
Ok its like this:
Our application was developed using fltk-1.3.x. We have lots of existing code 
that depends on fltk.

But the person who decided to use fltk-1.3 was really a moron.
Because, fltk-1.3 was modified by nano-X people to use nxlib interfaces, and 
all to test the nano-X (x server type) library.

This was a few years back.
Now we need a change in fltk. fltk-1.3 has latin1 encoding support and we need 
our application to internationalize.
Now for the same we have an answer with fltk-2.0. It supports utf-8. Also note 
that all of the fltk is built and tested with X11.

The problem is if I use the same setup, replace fltk-1.3 with fltk-2.0, I need 
to do lots of changes in nxlib and nano-X, for which I do not have enough time 
and also it is risky.
So I think that the easiest solution would be have X11 running on the system 
directly. So that fltk-2.0 runs without any problem.

Do you follow?


From: Siji Sunny [mailto:sijisu...@gmail.com]
Sent: Wednesday, 11. August 2010 12:17 PM
To: Praveen J C (RBEI/EST1)
Cc: xorg@lists.freedesktop.org
Subject: Re: X lib support for embedded systems.



On Tue, Aug 10, 2010 at 5:29 PM, Praveen J C (RBEI/EST1) 
praveen...@in.bosch.commailto:praveen...@in.bosch.com wrote:
Hello there.

I am developing graphics system to one of our touch screen keypad.
I planned to use fltk-2.0 to achieve the same.
For this I required X11. But as the X11 is very huge, I wanted a slimmed down 
version of the same.
Basically X11 and fltk must occupy not more than 20MB!

Fltk basically uses these libraries from X11: -lXext, -lXft, -lXcursor, 
-lXinerma and -lXi.

Can anyone help me in building X11 for my system?
Not sure what exactly you want to do, there are already lot of options are 
available for embedded systems, Like Angstom, ubuntu-arm,android etc..
In all those OS having the capability of handling the applications with and 
with out X(frame buffer).

Instead of fltk, you can give a try with Clutter (Gtk Clutter).




Thanks,
Praveen


___
xorg@lists.freedesktop.orgmailto:xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: sijisu...@gmail.commailto:sijisu...@gmail.com



--
Siji Sunny

___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

RE: X lib support for embedded systems.

2010-08-11 Thread Piotr Gluszenia Slawinski

Ok its like this:
Our application was developed using fltk-1.3.x. We have lots of existing code 
that depends on fltk.

But the person who decided to use fltk-1.3 was really a moron.
Because, fltk-1.3 was modified by nano-X people to use nxlib interfaces, and 
all to test the nano-X (x server type) library.

This was a few years back.
Now we need a change in fltk. fltk-1.3 has latin1 encoding support and we need 
our application to internationalize.
Now for the same we have an answer with fltk-2.0. It supports utf-8. Also note 
that all of the fltk is built and tested with X11.

The problem is if I use the same setup, replace fltk-1.3 with fltk-2.0, I need 
to do lots of changes in nxlib and nano-X, for which I do not have enough time 
and also it is risky.
So I think that the easiest solution would be have X11 running on the system 
directly. So that fltk-2.0 runs without any problem.

Do you follow?


which architecture and video you are using?
there are few distros optimised for size, if you want something ready,
or you can just use i.e. gentoo to build packages, and then copy those 
packages to your embedded system image manually, or using simple script

utilising dependency list dump...

you can get few megabytes extra by compiling everything against uclibc, 
but you have to either make sure to use nptl branch of uclibc (and have
your arch supported) or make sure just linux threads are used by your apps 
(no nptl). you can get few extra hundreds of kb by using either upx on 
binaries , or even over 50% size reduction by using i.e. squashfs

to compress library dirs, binaries, and all other read-only stuff.



--
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: X lib support for embedded systems.

2010-08-11 Thread Siji Sunny
On Wed, Aug 11, 2010 at 12:33 PM, Praveen J C (RBEI/EST1) 
praveen...@in.bosch.com wrote:

  Ok its like this:
 Our application was developed using fltk-1.3.x. We have lots of existing
 code that depends on fltk.

 But the person who decided to use fltk-1.3 was really a moron.
 Because, fltk-1.3 was modified by nano-X people to use nxlib interfaces,
 and all to test the nano-X (x server type) library.

 This was a few years back.
 Now we need a change in fltk. fltk-1.3 has latin1 encoding support and we
 need our application to internationalize.
 Now for the same we have an answer with fltk-2.0. It supports utf-8. Also
 note that all of the fltk is built and tested with X11.

 The problem is if I use the same setup, replace fltk-1.3 with fltk-2.0, I
 need to do lots of changes in nxlib and nano-X, for which I do not have
 enough time and also it is risky.

So I think that the easiest solution would be have X11 running on the system
 directly. So that fltk-2.0 runs without any problem.

 Do you follow?


Yes, it's pretty clear now.But forget to mention about the OS part.Do you
have to stick with any specific OS?if no, then I will recommend to use
Angstrom with X(kdrive), which you can build lively by using online builder.

Angstrom repository already contains fltk (not sure about the version).


  --
 *From:* Siji Sunny [mailto:sijisu...@gmail.com]
 *Sent:* Wednesday, 11. August 2010 12:17 PM
 *To:* Praveen J C (RBEI/EST1)
 *Cc:* xorg@lists.freedesktop.org

 *Subject:* Re: X lib support for embedded systems.



 On Tue, Aug 10, 2010 at 5:29 PM, Praveen J C (RBEI/EST1) 
 praveen...@in.bosch.com wrote:

  Hello there.

 I am developing graphics system to one of our touch screen keypad.
 I planned to use fltk-2.0 to achieve the same.
 For this I required X11. But as the X11 is very huge, I wanted a slimmed
 down version of the same.
 Basically X11 and fltk must occupy not more than 20MB!

 Fltk basically uses these libraries from X11: -lXext, -lXft, -lXcursor,
 -lXinerma and -lXi.

 Can anyone help me in building X11 for my system?

 Not sure what exactly you want to do, there are already lot of options are
 available for embedded systems, Like Angstom, ubuntu-arm,android etc..
 In all those OS having the capability of handling the applications with and
 with out X(frame buffer).

 Instead of fltk, you can give a try with Clutter (Gtk Clutter).




 Thanks,
 Praveen


 ___
 xorg@lists.freedesktop.org: X.Org support
 Archives: http://lists.freedesktop.org/archives/xorg
 Info: http://lists.freedesktop.org/mailman/listinfo/xorg
 Your subscription address: sijisu...@gmail.com




 --
 Siji Sunny




-- 
Siji Sunny
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

RE: X lib support for embedded systems.

2010-08-11 Thread Praveen J C (RBEI/EST1)
OOPS.. I forgot to mention that i must be using linux OS.

Also I came across kdrive.. but they its obsolete? is it true?



From: Siji Sunny [mailto:sijisu...@gmail.com]
Sent: Wednesday, 11. August 2010 12:51 PM
To: Praveen J C (RBEI/EST1)
Cc: xorg@lists.freedesktop.org
Subject: Re: X lib support for embedded systems.



On Wed, Aug 11, 2010 at 12:33 PM, Praveen J C (RBEI/EST1) 
praveen...@in.bosch.commailto:praveen...@in.bosch.com wrote:
Ok its like this:
Our application was developed using fltk-1.3.x. We have lots of existing code 
that depends on fltk.

But the person who decided to use fltk-1.3 was really a moron.
Because, fltk-1.3 was modified by nano-X people to use nxlib interfaces, and 
all to test the nano-X (x server type) library.

This was a few years back.
Now we need a change in fltk. fltk-1.3 has latin1 encoding support and we need 
our application to internationalize.
Now for the same we have an answer with fltk-2.0. It supports utf-8. Also note 
that all of the fltk is built and tested with X11.

The problem is if I use the same setup, replace fltk-1.3 with fltk-2.0, I need 
to do lots of changes in nxlib and nano-X, for which I do not have enough time 
and also it is risky.
So I think that the easiest solution would be have X11 running on the system 
directly. So that fltk-2.0 runs without any problem.

Do you follow?

Yes, it's pretty clear now.But forget to mention about the OS part.Do you have 
to stick with any specific OS?if no, then I will recommend to use Angstrom with 
X(kdrive), which you can build lively by using online builder.

Angstrom repository already contains fltk (not sure about the version).



From: Siji Sunny [mailto:sijisu...@gmail.commailto:sijisu...@gmail.com]
Sent: Wednesday, 11. August 2010 12:17 PM
To: Praveen J C (RBEI/EST1)
Cc: xorg@lists.freedesktop.orgmailto:xorg@lists.freedesktop.org

Subject: Re: X lib support for embedded systems.



On Tue, Aug 10, 2010 at 5:29 PM, Praveen J C (RBEI/EST1) 
praveen...@in.bosch.commailto:praveen...@in.bosch.com wrote:
Hello there.

I am developing graphics system to one of our touch screen keypad.
I planned to use fltk-2.0 to achieve the same.
For this I required X11. But as the X11 is very huge, I wanted a slimmed down 
version of the same.
Basically X11 and fltk must occupy not more than 20MB!

Fltk basically uses these libraries from X11: -lXext, -lXft, -lXcursor, 
-lXinerma and -lXi.

Can anyone help me in building X11 for my system?
Not sure what exactly you want to do, there are already lot of options are 
available for embedded systems, Like Angstom, ubuntu-arm,android etc..
In all those OS having the capability of handling the applications with and 
with out X(frame buffer).

Instead of fltk, you can give a try with Clutter (Gtk Clutter).




Thanks,
Praveen


___
xorg@lists.freedesktop.orgmailto:xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: sijisu...@gmail.commailto:sijisu...@gmail.com



--
Siji Sunny




--
Siji Sunny

___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

RE: X lib support for embedded systems.

2010-08-11 Thread Piotr Gluszenia Slawinski

On Wed, 11 Aug 2010, Praveen J C (RBEI/EST1) wrote:


OOPS.. I forgot to mention that i must be using linux OS.

Also I came across kdrive.. but they its obsolete? is it true?



personally i do not see much point or advantage over directfb,
as most cards do not get acceleration with kdrive and use
slow vesa modes anyway.

btw. what is your video card? many cards do not get accel or
maintained drivers even with standard Xorg...

can you test at all how Xorg works on your platform? sticking
some larger drive or using root-over-nfs for testing shouldn't be
so difficult... this would allow you to just first-hand experience
test various distros and options...

also you did not mention which CPU TYPE your embedded arch uses.
is it x86? arm? something else?

--

___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


RE: X lib support for embedded systems.

2010-08-11 Thread Praveen J C (RBEI/EST1)
I am using arm architecture.
The video is a touch screen driven by the arm processor.


-Original Message-
From: Piotr Gluszenia Slawinski [mailto:curi...@bwv190.internetdsl.tpnet.pl]
Sent: Wednesday, 11. August 2010 12:47 PM
To: Praveen J C (RBEI/EST1)
Cc: Siji Sunny; xorg@lists.freedesktop.org
Subject: RE: X lib support for embedded systems.

 Ok its like this:
 Our application was developed using fltk-1.3.x. We have lots of existing code 
 that depends on fltk.

 But the person who decided to use fltk-1.3 was really a moron.
 Because, fltk-1.3 was modified by nano-X people to use nxlib interfaces, and 
 all to test the nano-X (x server type) library.

 This was a few years back.
 Now we need a change in fltk. fltk-1.3 has latin1 encoding support and we 
 need our application to internationalize.
 Now for the same we have an answer with fltk-2.0. It supports utf-8. Also 
 note that all of the fltk is built and tested with X11.

 The problem is if I use the same setup, replace fltk-1.3 with fltk-2.0, I 
 need to do lots of changes in nxlib and nano-X, for which I do not have 
 enough time and also it is risky.
 So I think that the easiest solution would be have X11 running on the system 
 directly. So that fltk-2.0 runs without any problem.

 Do you follow?

which architecture and video you are using?
there are few distros optimised for size, if you want something ready,
or you can just use i.e. gentoo to build packages, and then copy those
packages to your embedded system image manually, or using simple script
utilising dependency list dump...

you can get few megabytes extra by compiling everything against uclibc,
but you have to either make sure to use nptl branch of uclibc (and have
your arch supported) or make sure just linux threads are used by your apps
(no nptl). you can get few extra hundreds of kb by using either upx on
binaries , or even over 50% size reduction by using i.e. squashfs
to compress library dirs, binaries, and all other read-only stuff.



--
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: X lib support for embedded systems.

2010-08-11 Thread Tiago Vignatti
On Wed, Aug 11, 2010 at 06:49:01AM +0200, ext Piotr Gluszenia Slawinski wrote:
 
 http://83.18.229.190/minimalistix_linux/static-binaries/XF86_SVGA
 this one is static binary which is pretty old and has ~4M footprint, and 
 since then i
 could not build either anything smaller, or anything which would
 perform better, even though i've tried many times.

FYI, I have a Xorg 1.9 RC4 running with 4.3 MB of RSS in my device. 
 
 Tiago
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: X lib support for embedded systems.

2010-08-11 Thread Tiago Vignatti
On Wed, Aug 11, 2010 at 10:19:55AM +0200, ext Praveen J C (RBEI/EST1) wrote:
 Also I came across kdrive.. but they its obsolete? is it true?

yes, in short kdrive hardware servers are obsolete.

 Tiago
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: X lib support for embedded systems.

2010-08-11 Thread Tiago Vignatti
On Tue, Aug 10, 2010 at 01:59:32PM +0200, ext Praveen J C (RBEI/EST1) wrote:
 Basically X11 and fltk must occupy not more than 20MB!

I found interesting that your biggest concern here is storage. That's _really_
cheap nowadays!

 Tiago
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


X lib support for embedded systems.

2010-08-10 Thread Praveen J C (RBEI/EST1)
Hello there.

I am developing graphics system to one of our touch screen keypad.
I planned to use fltk-2.0 to achieve the same.
For this I required X11. But as the X11 is very huge, I wanted a slimmed down 
version of the same.
Basically X11 and fltk must occupy not more than 20MB!

Fltk basically uses these libraries from X11: -lXext, -lXft, -lXcursor, 
-lXinerma and -lXi.

Can anyone help me in building X11 for my system?

Thanks,
Praveen

___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com

Re: X lib support for embedded systems.

2010-08-10 Thread Piotr Gluszenia Slawinski

Hello there.

I am developing graphics system to one of our touch screen keypad.
I planned to use fltk-2.0 to achieve the same.
For this I required X11. But as the X11 is very huge, I wanted a slimmed down 
version of the same.
Basically X11 and fltk must occupy not more than 20MB!

Fltk basically uses these libraries from X11: -lXext, -lXft, -lXcursor, 
-lXinerma and -lXi.

Can anyone help me in building X11 for my system?


X windows is not appropriate for embedded platforms , try using directfb 
port of fltk (if it's still working...) or take peek at Xfast and 
clones...


--

___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: X lib support for embedded systems.

2010-08-10 Thread Mart Raudsepp
On T, 2010-08-10 at 16:15 +0200, Piotr Gluszenia Slawinski wrote:
  Hello there.
 
  I am developing graphics system to one of our touch screen keypad.
  I planned to use fltk-2.0 to achieve the same.
  For this I required X11. But as the X11 is very huge, I wanted a slimmed 
  down version of the same.
  Basically X11 and fltk must occupy not more than 20MB!
 
  Fltk basically uses these libraries from X11: -lXext, -lXft, -lXcursor, 
  -lXinerma and -lXi.
 
  Can anyone help me in building X11 for my system?
 
 X windows is not appropriate for embedded platforms ,

I disagree with that sentiment.
X.org works fine on embedded platforms, and is used on such systems with
success.
In fact I have built a system on top of a touch screen with Xorg,
including a full XUL based browser. My storage space limitation was
64MB, so I stopped optimizing for that after I got to a 43MB squashfs
system.

After removing XULrunner and GTK+ and the obviously related thing from
that image and squashfs'ing again, its size becomes 24MB for me, without
any hard trimming at all. With building from scratch, without the less
obvious GTK+ and XULrunner dependencies pulled in, and some slightly
more trimming, I'm confident less than 15MB is quite achievable.

So I do not see why X windows would be inappropriate for embedded
platforms, at least when looking at storage space limitations. For that
the touch screen handling would be very easy from Xorg, and depending on
the graphics chip, might even get considerable graphics acceleration
that is not possible with DirectFB.

That said, I can not offer any free help in building it small. Just
making sure X11 isn't thrown out from the list of possibilities without
a good reason.

 try using directfb 

But sure, DirectFB is an option as well, especially if you are
developing for a platform that provides graphics acceleration on top of
DirectFB, but not on top of X11.

 port of fltk (if it's still working...) or take peek at Xfast and 
 clones...

___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: X lib support for embedded systems.

2010-08-10 Thread Piotr Gluszenia Slawinski

On Wed, 11 Aug 2010, Mart Raudsepp wrote:


On T, 2010-08-10 at 16:15 +0200, Piotr Gluszenia Slawinski wrote:

Hello there.

I am developing graphics system to one of our touch screen keypad.
I planned to use fltk-2.0 to achieve the same.
For this I required X11. But as the X11 is very huge, I wanted a slimmed down 
version of the same.
Basically X11 and fltk must occupy not more than 20MB!

Fltk basically uses these libraries from X11: -lXext, -lXft, -lXcursor, 
-lXinerma and -lXi.

Can anyone help me in building X11 for my system?


X windows is not appropriate for embedded platforms ,


I disagree with that sentiment.
X.org works fine on embedded platforms, and is used on such systems with
success.
In fact I have built a system on top of a touch screen with Xorg,
including a full XUL based browser. My storage space limitation was
64MB, so I stopped optimizing for that after I got to a 43MB squashfs
system.


i should have been add 'currently'.

i also recall long gone times when i could build 3.3.6
XFree which would run on 486 with 8M of ram , and squash the 
(static!) binary

to just 2M. perhaps with uclibc this could be even smaller.

main problem those times are long gone :/ numbers like 20M start to 
appear, and Xorg is not really optimised for embedded devices

performance-wise.

http://83.18.229.190/minimalistix_linux/static-binaries/XF86_SVGA
this one is static binary which is pretty old and has ~4M footprint, and 
since then i

could not build either anything smaller, or anything which would
perform better, even though i've tried many times.

actually uclibc Xorg binary i use atm (so dynamic linked) totals to
1.4M... and obviously one needs to include also drivers, xorg components, 
etc...


even though one could probably reach the '20M' limit, it consumes vast 
amounts of memory when running, and is painfully slow. definitelly not way 
to go when one needs to perform just simple task on embedded device...

except 'embedded' is just it's marketing buzzword.

--
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: X lib support for embedded systems.

2010-08-10 Thread Mikhail Gusarov

Twas brillig at 06:49:01 11.08.2010 UTC+02 when
curi...@bwv190.internetdsl.tpnet.pl did gyre and gimble:

 PGS i also recall long gone times when i could build 3.3.6 XFree which
 PGS would run on 486 with 8M of ram , and squash the (static!) binary
 PGS to just 2M. perhaps with uclibc this could be even smaller.

 PGS main problem those times are long gone :/ numbers like 20M start
 PGS to appear, and Xorg is not really optimised for embedded devices
 PGS performance-wise.

Those are sentiments. Do you have hard facts to prove your point?

-- 
  http://fossarchy.blogspot.com/


pgpMvM1TyqQdG.pgp
Description: PGP signature
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com