Author Topic: Qlwm Qt Window Manager  (Read 6178 times)

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Qlwm Qt Window Manager
« on: July 12, 2007, 05:53:18 pm »
I just complied the qt3 version on my Z in minutes. It is pretty minimal, as is--some tweaking and customizing would need to be done before it is really a good alternative.
I bring it up because it runs on x11, doesn't seem to take much time to load libs to run dillo. it also seemt to be quicker at loading qt apps (since qt is already loaded). ta qlwm project page shows konqueror running on it.  possibly this could be the basis of a nice x11 gui for the Z running light kde stuff?

I guess the next step is to see how 'full' a konqueror can be made for it?
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

diesel1

  • Jr. Member
  • **
  • Posts: 94
    • View Profile
    • http://www.diesel1.demon.co.uk
Qlwm Qt Window Manager
« Reply #1 on: July 12, 2007, 06:34:45 pm »
Quote
I just complied the qt3 version on my Z in minutes. It is pretty minimal, as is--some tweaking and customizing would need to be done before it is really a good alternative.
I bring it up because it runs on x11, doesn't seem to take much time to load libs to run dillo. it also seemt to be quicker at loading qt apps (since qt is already loaded). ta qlwm project page shows konqueror running on it.  possibly this could be the basis of a nice x11 gui for the Z running light kde stuff?

I guess the next step is to see how 'full' a konqueror can be made for it?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164823\"][{POST_SNAPBACK}][/a][/div]


This sounds interesting adf, I did like messing with kde on my Z but although it was fun I like to get stuff done as well!

Diesel1.
C860-Zubuntu
DLinkAir660WCF-1Gb/256Mb/64MbIntegralSD-256Mb/64MbIntegralCF

SL5500-OZ3.5.2/OPIE1.1.7

mscdex

  • Jr. Member
  • **
  • Posts: 55
    • View Profile
Qlwm Qt Window Manager
« Reply #2 on: July 12, 2007, 08:35:48 pm »
This sounds interesting, do keep us updated on your progress since it seems like a promising alternative. Any idea what the memory/etc footprint is like compared to say an IceWM setup?

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Qlwm Qt Window Manager
« Reply #3 on: July 12, 2007, 10:44:16 pm »
If you, like me, are looking for the perfect lightweight WM, look at EvilWM. It compiles extremely quickly, and uses only about 1MB of RAM. You don't get fancy borders or a taskbar, but it works well. Note that if you want to edit the source to change the keys/add a few more, it is not hard to do at all and a non-programmer could do it.
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Qlwm Qt Window Manager
« Reply #4 on: July 12, 2007, 11:15:30 pm »
Quote
This sounds interesting, do keep us updated on your progress since it seems like a promising alternative. Any idea what the memory/etc footprint is like compared to say an IceWM setup?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164830\"][{POST_SNAPBACK}][/a][/div]
flippping between the two shows qlwm with about 11 megs free and iceewm with about 2 megs free. I don't think it is very meaningful, though as icwm/rox are doing much more and I really haven't establisshed any controls.

what I'm hoping to see in qlwm is something like fvwm or ede, but with less qtlib lag, given that qtlibs will be loaded to run the gui. thi woyld make a beefy konq (-e ) a more reasonable alternative to firefox in X11---something that might be of interest both due to eabi issues with FF in Angstrom, our apparent inability to gt FF2 built in pdax, the sheer size of the FF footprint/ and my guess that the iphone safari will spin off useful tidbits.

I posted a link to a qlwm site with sources on t eh konq embedded thread, if anyone cares to tinker.  while it is fast enough, it needs a lot of Z specififc twaking
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

ernestus

  • Newbie
  • *
  • Posts: 49
    • View Profile
    • http://
Qlwm Qt Window Manager
« Reply #5 on: July 13, 2007, 10:10:35 am »
Hi all.
Did anyone try to compile it with Qt4? the BIG advantage is that this version consumes less memory and its design is more "granular" (so it should boot quicker). I've seen reduction in memory usage up to a 50% (in projects not related at all to the Zaurus.).

On my side, I am still unable to compile Qt4, I'll keep trying

Cheers
« Last Edit: July 13, 2007, 10:16:05 am by ernestus »
Zaurus SL-C3200 running pdaxii13.

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Qlwm Qt Window Manager
« Reply #6 on: July 13, 2007, 02:07:42 pm »
Quote
Hi all.
Did anyone try to compile it with Qt4? the BIG advantage is that this version consumes less memory and its design is more "granular" (so it should boot quicker). I've seen reduction in memory usage up to a 50% (in projects not related at all to the Zaurus.).

On my side, I am still unable to compile Qt4, I'll keep trying

Cheers
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164862\"][{POST_SNAPBACK}][/a][/div]
Qt4 would be a big gain--good luck
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

Civil

  • Full Member
  • ***
  • Posts: 103
    • View Profile
    • http://
Qlwm Qt Window Manager
« Reply #7 on: July 13, 2007, 08:46:12 pm »
Quote
On my side, I am still unable to compile Qt4, I'll keep trying
As I remeber Qt4 needs at least glibc 2.3.2 (pdaXrom have 2.2.5 by default). Then it is recommended (but not necessary) to use gcc 4.x (can be easiliy compiled). Configure of qt4 by default can't understand that armv5te is arm and uses arch=generic. It may result in compiller error when it tries to compile x86 asm on arm... In theory Qt4 can be build (Angstrom have packages with Qt 4.3.0), but on pdaX it is very painful becouse of outdated libs.
P.S. Since Qt4.3.0-rc1 qt have experimental support of iwmmxt instructions, but as google says it fails to build with that options. You can try configure -iwmmxt
« Last Edit: July 13, 2007, 08:46:33 pm by Civil »
Zaurus C-3100 ( Gentoo 2007.0 eabi, kernel 2.6.21.6)
http://www.zavrik.info - Russian Zaurus Site.

ernestus

  • Newbie
  • *
  • Posts: 49
    • View Profile
    • http://
Qlwm Qt Window Manager
« Reply #8 on: July 14, 2007, 07:26:33 am »
Quote
Quote
On my side, I am still unable to compile Qt4, I'll keep trying
As I remeber Qt4 needs at least glibc 2.3.2 (pdaXrom have 2.2.5 by default). Then it is recommended (but not necessary) to use gcc 4.x (can be easiliy compiled). Configure of qt4 by default can't understand that armv5te is arm and uses arch=generic. It may result in compiller error when it tries to compile x86 asm on arm... In theory Qt4 can be build (Angstrom have packages with Qt 4.3.0), but on pdaX it is very painful becouse of outdated libs.
P.S. Since Qt4.3.0-rc1 qt have experimental support of iwmmxt instructions, but as google says it fails to build with that options. You can try configure -iwmmxt
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164889\"][{POST_SNAPBACK}][/a][/div]

Thanks for the hints!

After trying the cross compiling for a while I simply gave up, Qt is trying to build some tools to use them afterwards in its own build process... so I had to go native (at zaurus speeds)

I knew the bit about the compiler, I had to disable the precompiled headers for having something going (it complained about some pch error after 3 hours of native compiling).

And yes, maybe the problems I am having are related to glibc (actually this brings light to the spot!) Does anyone know if there is an updated glibc version for pdaXrom?

Thanks all.
E
Zaurus SL-C3200 running pdaxii13.

Civil

  • Full Member
  • ***
  • Posts: 103
    • View Profile
    • http://
Qlwm Qt Window Manager
« Reply #9 on: July 14, 2007, 05:28:26 pm »
Quote
Thanks for the hints!
No Problem. I was googling about Qt4 errors for a few days, after that I've realized that it is faster to kill pdaXrom and use Gentoo. Now it is compiling (30h already) without any warning...

Quote
After trying the cross compiling for a while I simply gave up, Qt is trying to build some tools to use them afterwards in its own build process... so I had to go native (at zaurus speeds)
Yeah, Qt is very big library. It should took around 50h to compile it natively.

Quote
I knew the bit about the compiler, I had to disable the precompiled headers for having something going (it complained about some pch error after 3 hours of native compiling).
In fact there is one thing that you haven't found - it says something like:
Warning: bla-bla-bla will always fail!
this is the most dangeourus thing - it is becouse of glibc (was fixed in 2.3.2 only), and that's why Qt4, even if you manage to build it won't work (in fact it shouldn't build at all - after ~8h you'll get a lot of asm-related errors becouse of that little warning).

Quote
And yes, maybe the problems I am having are related to glibc (actually this brings light to the spot!) Does anyone know if there is an updated glibc version for pdaXrom?
There was 2.3.2 for pdaXrom 1.1.0 Beta1 somewhere. But be careful - glibc 2.2.x and 2.3.x can be binary incompatible

P.S. You probably will need http://svn.debian.org/wsvn/pkg-kde/branche...file&rev=0&sc=0 and http://svn.debian.org/wsvn/pkg-kde/branche...file&rev=0&sc=0
« Last Edit: July 14, 2007, 10:03:50 pm by Civil »
Zaurus C-3100 ( Gentoo 2007.0 eabi, kernel 2.6.21.6)
http://www.zavrik.info - Russian Zaurus Site.

Capn_Fish

  • Hero Member
  • *****
  • Posts: 2342
    • View Profile
    • http://
Qlwm Qt Window Manager
« Reply #10 on: July 14, 2007, 11:51:37 pm »
Where is this Gentoo for Zaurus? Is it easy to set up/boot? I may be interested...
SL-C750- pdaXrom beta 1 (mostly unused)
Current distro: Gentoo

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Qlwm Qt Window Manager
« Reply #11 on: July 15, 2007, 04:08:56 am »
Quote
Where is this Gentoo for Zaurus? Is it easy to set up/boot? I may be interested...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=164920\"][{POST_SNAPBACK}][/a][/div]
I think the guys who were doing gentoo moved to debian--maybe look at the debian uboot thread?
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

Civil

  • Full Member
  • ***
  • Posts: 103
    • View Profile
    • http://
Qlwm Qt Window Manager
« Reply #12 on: July 15, 2007, 05:13:51 am »
Quote
Where is this Gentoo for Zaurus? Is it easy to set up/boot? I may be interested...
Generic stage for pxa27x based pda's It have wrong kb layout, you need to unpack it to cf/sd card and manualy fix fstab and /etc/conf.d/net (to use usb-net) then you can emerge other parts of system.
Root password is gent00
http://gentoo-wiki.com/HARDWARE_PDA - here is howto.

Standart stage for pxa25x and other pda's that doesn't support iwmmxt.
Stages are rather fresh (iwmmt stage was built around 2 month ago, and xscale stage was built 10 day ago)

Here are a lot of interesting things there like portage-overlay with some pda-specific things (evtouch driver for pda's, patched xorg-kdrive with tslib support, precompiled binary packages, etc.)
Here are some additional links:
http://forums.gentoo.org/viewtopic-t-518041-start-75.html
http://forums.gentoo.org/viewtopic-t-8090-start-25.html
« Last Edit: July 15, 2007, 05:47:28 am by Civil »
Zaurus C-3100 ( Gentoo 2007.0 eabi, kernel 2.6.21.6)
http://www.zavrik.info - Russian Zaurus Site.