OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: dtruchan on February 27, 2006, 02:06:38 pm

Title: Ooo!
Post by: dtruchan on February 27, 2006, 02:06:38 pm
xorg works!  
It still has a few quirks,
and it is way too big, ~37M  

[img]http://home.comcast.net/~moppsy/zdmp.jpg\" border=\"0\" class=\"linked-image\" /]
Title: Ooo!
Post by: bluedevils on February 27, 2006, 02:35:53 pm
nice!  I imagine the fade in/outs must be slow or very few steps.
Title: Ooo!
Post by: dtruchan on February 27, 2006, 11:39:18 pm
Quote
I imagine the fade in/outs must be slow or very few steps

It's not that bad.

here are some vids

open and close menu (http://home.comcast.net/~moppsy/zmenu.mpeg)

open and close mrxvt (http://home.comcast.net/~moppsy/zterm.mpeg)
Title: Ooo!
Post by: adf on February 28, 2006, 12:48:51 am
nice!
Title: Ooo!
Post by: rmrfchik on February 28, 2006, 02:02:26 am
Quote
Quote
I imagine the fade in/outs must be slow or very few steps

It's not that bad.

here are some vids

open and close menu (http://home.comcast.net/~moppsy/zmenu.mpeg)

open and close mrxvt (http://home.comcast.net/~moppsy/zterm.mpeg)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116321\"][{POST_SNAPBACK}][/a][/div]
Hmmm.
These videos was shoot on zaurus??
Title: Ooo!
Post by: dtruchan on February 28, 2006, 02:52:05 am
Quote
These videos was shoot on zaurus??
I pointed a video camera at the Zaurus to capture the video.

Here is 2 more, zoomed out. With xcompmgr -c -f -r 2 -t 10 -l 10
Drag mrxvt (http://home.comcast.net/~moppsy/zdrag.mpeg)
Open and close xfe menu (http://home.comcast.net/~moppsy/zmenu2.mpeg)
as you can see, opaque drag is a bit choppy.
Title: Ooo!
Post by: rmrfchik on February 28, 2006, 03:51:54 am
Quote
Quote
These videos was shoot on zaurus??
I pointed a video camera at the Zaurus to capture the video.

Here is 2 more, zoomed out. With xcompmgr -c -f -r 2 -t 10 -l 10
Drag mrxvt (http://home.comcast.net/~moppsy/zdrag.mpeg)
Open and close xfe menu (http://home.comcast.net/~moppsy/zmenu2.mpeg)
as you can see, opaque drag is a bit choppy.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116331\"][{POST_SNAPBACK}][/a][/div]
omg. so, I don't need the transparency (read "composite ext"), although it is cool feature to amaze the people and I'm interesting in the following:
1. How quick xorg in ordinary operations compared to original xfree?
2. What takes so much in your xorg build (37M)? libs, fonts? What can be distributed separately from main package? What the MINIAML xorg size?
3. What about RAM consumation compared to xfree?

ps: you're great! nice work!
Title: Ooo!
Post by: urielka on February 28, 2006, 07:37:37 am
gr8 work! now we need to optimize it!(and 2.6 kernel will be nice too  )
Title: Ooo!
Post by: dtruchan on February 28, 2006, 02:13:42 pm
Quote
1. How quick xorg in ordinary operations compared to original xfree?
ordinary operations like what?
opaque drag and resize is a little choppy.
   mrxvt, gvim, xfe, xpdf, conky, gqview, ddd all seem to run similar to xfree.
   xpilot is a little slow to start, but runs the same.
   xscorch seems the same,  gtkboard too.

It is hard to tell since I don't have 2 Zaurus machines to try side by side.
I need to do some tests with both to tell, and that might be a while yet.

I still havn't got middle and right mouse buttons recognized as set in inputconfig.py
Although I havn't actually worked on it yet.  

Quote
2. What takes so much in your xorg build (37M)? libs, fonts?
I've managed to get it down to 30M, but I still have more to do.

/
4.6M    etc/
25M     usr/

/usr/X11R6
5.6M    bin/
20M     lib/

/usr/X11R6/lib
9.0M    .
2.0M    X11
9.0M    modules

libOSMesa is the big lib (2.1M)
I still have a few multi versions I need to track and eliminate

/usr/X11R6/lib/modules
2.6M    .
336K    fonts
425K    input
16K      linux
2.4M    drivers
140K    multimedia
3.2M    extensions

drivers should probably go and the big extension is GLcore (2.7M).
Much of input could also go.

/usr/X11R6/lib/X11
2.0M    .
60K     etc
12K     x11perfcomp
8.0K    fonts/misc
189K    fonts/util
4.0K    fonts/75dpi
4.0K    fonts/local
4.0K    fonts/100dpi
4.0K    fonts/cyrillic
213K    fonts
120K    xedit/lisp/progmodes
224K    xedit/lisp
224K    xedit
8.0K    getconfig
1.4M    config

this I need to look into more, I don't know if config is needed for anything other than imake.

/etc
4.5M    X11
40K     fonts/

/etc/X11
4.0K    Xsession.d
273K    app-defaults
4.0K    lbxproxy
4.0K    proxymngr
64K     rstart
4.0K    twm
156K    xdm
8.0K    xinit
2.9M    xkb
1.1M    xserver
4.0K    xsm

xkb could be trimmed, but I don't know yet.
xserver seems to contain printing locales and fonts I know nothing about.

Quote
What can be distributed separately from main package?
I'm not sure, but I would imagine quite a bit.

Quote
What is the minimal xorg size?
again, I don't know.
I think I need to build less of xorg.
I don't think I need some libs like:
libxrx, libxrxnest, libXinerama, libXevie, and the GL/Mesa libs.
I need to research it a bit.

Quote
3. What about RAM consumation compared to xfree?
Right now I can't compare it to xfree, since I don't have it installed.

at CLI before running X:
Mem: 36972K used, 24916K free, 0K shrd, 56K buff, 20552K cached
Load average: 2.16, 2.19, 2.15    (State: S=sleeping R=running, W=waiting)

doing nothing:
Mem: 42752K used, 19136K free, 0K shrd, 68K buff, 20856K cached
Load average: 2.43, 2.26, 2.17    (State: S=sleeping R=running, W=waiting)
PID USER     STATUS   RSS  PPID %CPU %MEM COMMAND
1223 root     S <         9936  1222  0.0    16.0    X
4794 root     S            1112  4774  0.0     1.7     xcompmgr

drag opaque mrxvt:
Mem: 42924K used, 18964K free, 0K shrd, 68K buff, 20856K cached
Load average: 2.51, 2.29, 2.19    (State: S=sleeping R=running, W=waiting)
PID USER     STATUS   RSS  PPID %CPU %MEM COMMAND
1223 root     R <         9936  1222 77.6    16.0    X
4794 root     S            1112  4774  3.3     1.7      xcompmgr

in all instances there are a few other programs running.

mrxvt, one displayed on the Zaurus and one on my desktop.
Zaurus - 4771 root     S       3192  4768  0.0  5.1 mrxvt
Desktop - 4684 root     R       3296  4683 12.9  5.3 mrxvt
 -- The high CPU is from my text selection, after I'm done it drops to 0

bash (x5), all are similar to this - 4656 root     S       1552     1  0.0  2.5 bash
conky -  4857 root     S       2164  4856  0.1  3.4 conky
top - 4832 root     R        720  4686  1.3  1.1 top
and of course, fvwm - 856 root     S       3276  4852  0.0  5.2 fvwm

/proc/1223# cat status
Name:   X
State:  S (sleeping)
Tgid:   1223
Pid:    1223
PPid:   1222
TracerPid:      0
Uid:    0       0       0       0
Gid:    0       0       0       0
CPU_Pid:        0
Pgd:    c3044000
FDSize: 32
Groups: 0
VmSize:     7704 kB
VmLck:         0 kB
VmRSS:      3984 kB
VmData:     2116 kB
VmStk:        68 kB
VmExe:      1472 kB
VmLib:      2992 kB
SigPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 8000000000301000
SigCgt: 0000000010006203
CapInh: 0000000000000000
CapPrm: 00000000fffffeff
CapEff: 00000000fffffeff

/proc/1223# cat pmem
  sbrk 184kB
  mmap 1236kB
 stack 68kB
  file 108kB
shared 0kB
 total 1596kB

start and quit after loaded.
$time startx.fvwm
real    0m13.051s
user   0m6.170s
sys     0m3.390s
Title: Ooo!
Post by: rmrfchik on February 28, 2006, 04:13:07 pm
Quote
/proc/1223# cat status
Name:   X
State:  S (sleeping)
Tgid:   1223
Pid:    1223
PPid:   1222
TracerPid:      0
Uid:    0       0       0       0
Gid:    0       0       0       0
CPU_Pid:        0
Pgd:    c3044000
FDSize: 32
Groups: 0
VmSize:     7704 kB
VmLck:         0 kB
VmRSS:      3984 kB
VmData:     2116 kB
VmStk:        68 kB
VmExe:      1472 kB
VmLib:      2992 kB
SigPnd: 0000000000000000
SigBlk: 0000000000000000
SigIgn: 8000000000301000
SigCgt: 0000000010006203
CapInh: 0000000000000000
CapPrm: 00000000fffffeff
CapEff: 00000000fffffeff

/proc/1223# cat pmem
  sbrk 184kB
  mmap 1236kB
 stack 68kB
  file 108kB
shared 0kB
 total 1596kB

start and quit after loaded.
$time startx.fvwm
real    0m13.051s
user   0m6.170s
sys     0m3.390s
[div align=\"right\"][a href=\"index.php?act=findpost&pid=116409\"][{POST_SNAPBACK}][/a][/div]
It's definitly worth to use, becaus xfree uses a nore memory: 11Mb vmsize, 7Mb RSS, 4Mb is sbrk.
ps: i will analyze the rest of your post some later. I want to sleep now
Title: Ooo!
Post by: rmrfchik on March 02, 2006, 07:08:47 am
Here we go..
Quote
I've managed to get it down to 30M, but I still have more to do.


/etc/X11
4.0K    Xsession.d
273K    app-defaults
4.0K    lbxproxy
4.0K    proxymngr
64K     rstart
4.0K    twm
156K    xdm
8.0K    xinit
<b>2.9M    xkb</b>
1.1M    xserver
4.0K    xsm
xkb could be trimmed, but I don't know yet.
xkb defenetly should be reduced.
So, give binary to, say, pgas (so he can upload to mail.pdaxrom.org/contrib) so we can install it, test it, package it.
Title: Ooo!
Post by: dtruchan on March 04, 2006, 05:29:42 pm
Warning - adventurous only
Use at your own risk. Backup all your stuff. Be prepared for the worst - a total reinstall.

OK, I've got the install down to 18M.
Don't expect much, this is just a test.

I've been using it for a few days now and it seems stable and responsive.
Even though middle and right click don't work, I know why, it is still very usable.

I might have forgotten to include, or mistakenly excluded needed parts.
I have yet to encounter them, but I hardly use much of the software available.
Likewise, much of what is included is probably not needed.

NOTE: '-' is changed to '_' on upload
make sure your packages are named properly before you install.


xorg-bin_6.9.0_armv5tel.ipk  [ You are not allowed to view attachments ]
xcompmgr_1.1_armv5tel.ipk  [ You are not allowed to view attachments ]
transset-df_4_armv5tel.ipk  [ You are not allowed to view attachments ]

xorg-lib_6.9.0_armv5tel.ipk (next post)
Title: Ooo!
Post by: dtruchan on March 04, 2006, 05:30:41 pm
xorg-lib_6.9.0_armv5tel.ipk  [ You are not allowed to view attachments ]


enjoy and have fun.  
Title: Ooo!
Post by: zi99y on October 24, 2006, 03:05:50 am
Did anything ever become of running Xorg on pdaxrom? I'm curious what benefit there would be but I imagine more software compatibility, and be nice running the same as the desktop distros.

Any news?
Title: Ooo!
Post by: muramas on October 27, 2006, 02:03:27 pm
Quote
Did anything ever become of running Xorg on pdaxrom?

I'd be curious too, if only see what modules/extensions were necessary, and what the xorg.conf looked like (especially the evdev input stuff for the touchscreen)..
Title: Ooo!
Post by: InSearchOf on October 27, 2006, 04:00:48 pm
I think the dev avoided it... due to how heavy it is... hince the reason earlier in this post it was 37mb...  As of right now... TinyX does the job... I say later when I the c3100-c3200 become the mainstream and c1000 become obsolete... I think this maybe be the way to go because of the space available (Microdrive)...

Late
Title: Ooo!
Post by: svs57 on November 15, 2006, 08:08:11 am
I installed xorg-bin and xorg-lib on SD.
# startx
xauth:  creating new authority file /home/root/.serverauth.9150
X: error while loading shared libraries: libfontcache.so.0: cannot open shared object file: No such file or directory
Is fontcache miss in ipk?
Title: Ooo!
Post by: dtruchan on November 15, 2006, 09:25:53 am
Quote
I installed xorg-bin and xorg-lib on SD.
# startx
xauth:  creating new authority file /home/root/.serverauth.9150
X: error while loading shared libraries: libfontcache.so.0: cannot open shared object file: No such file or directory
Is fontcache miss in ipk?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146334\"][{POST_SNAPBACK}][/a][/div]

Must be, I haven't tried this in a while.
I lost my build in a hard drive crash.
I will try again soon.
Title: Ooo!
Post by: svs57 on November 16, 2006, 03:33:10 am
Quote
Quote
I installed xorg-bin and xorg-lib on SD.
# startx
xauth:  creating new authority file /home/root/.serverauth.9150
X: error while loading shared libraries: libfontcache.so.0: cannot open shared object file: No such file or directory
Is fontcache miss in ipk?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146334\"][{POST_SNAPBACK}][/a][/div]

Must be, I haven't tried this in a while.
I lost my build in a hard drive crash.
I will try again soon.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146344\"][{POST_SNAPBACK}][/a][/div]
drop a messg here when you make xorg again.
Thanks.
Title: Ooo!
Post by: dtruchan on November 17, 2006, 09:36:29 am
try replacing libfontconfig with this one and see if it gets you past the error.

never mind, it doesn't work.
Title: Ooo!
Post by: radiochickenwax on February 08, 2007, 08:14:47 pm
Quote
I installed xorg-bin and xorg-lib on SD.
# startx
xauth:  creating new authority file /home/root/.serverauth.9150
X: error while loading shared libraries: libfontcache.so.0: cannot open shared object file: No such file or directory
Is fontcache miss in ipk?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=146334\"][{POST_SNAPBACK}][/a][/div]

I get the same error.

Has anyone else tried this in awhile?  Do you think this could resolve some of the font problems in xterm for beta3?  

I'd like to try building this if possible.  Gonna look into that.

[EDIT:] This seems like a really time consuming process to build.  I guess it's not really that important to me right now.
Title: Ooo!
Post by: speculatrix on February 09, 2007, 05:27:38 am
I get 404 not found on those movies, I wonder if there's any more around with updated drivers which are faster.