OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: Meanie on June 01, 2005, 10:35:31 am
-
Is it theoretically possible to run pdaXrom in a chroot environment on the Sharp ROM via X/Qt similar to running Debian PocketWorkstation?
-
Yes, it's theoretically possible.
I had it working for a while on my C760, but had a lot of problems with matchbox - it kept segfaulting at odd times.
I ended up changing the window manager to icewm from the X/Qt feed and got a kinda hybrid X/Qt-pdaX-pocketworkstation thing going. After a while I stopped chrooting and focused more on getting pdax ipks to run directly under X/Qt, but them my C760 died.
Haven't got around to trying it with my new C1k (been cross-compiling apps with OE with gcc 2.95.3). I'd be interested in hearing your results
Stu
-
I think you'd be better off if you did chroot and used the pdaX X server instead of the xqt one. The pdax stuff seem a good bit faster than xqt
-
I tried that at first but had problems getting the pdax X server to run properly with the Sharp kernel on the C760 - some kinda difference in the calibration of the touchscreen from memory.
Stu
-
hmmm ...can the pdaX kernel be used instead of the sharp kernel? or a 3rd kernel? this was something the guylhem rom might do for the 6k.... something similar could be done for the 1k maybe?
-
I also tried to chroot to pdaXrom from X/Qt. But, almost all X-clients complained about something and it did not work well. I think that it is due to the difference of
the libraries between X/Qt and pdaXrom. The binaries of pdaXrom use soft-float libraries, on the other hand the libraries of X/Qt use hard-float emulation embedded in kernel.
But, it is possible to use pdaXrom chrooted from Qtopia. Use Xvnc server, which is included in pocketworkstation as X-server and connect to Xvnc from keypebble vnc-viewer. It is still faster than the debian on X/Qt except the drawing speed of the screen.
-
I also tried to chroot to pdaXrom from X/Qt. But, almost all X-clients complained about something and it did not work well. I think that it is due to the difference of
the libraries between X/Qt and pdaXrom. The binaries of pdaXrom use soft-float libraries, on the other hand the libraries of X/Qt use hard-float emulation embedded in kernel.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=82437\"][{POST_SNAPBACK}][/a][/div]
use pdaXrom-builder for rebuild all binaries in official feed and system without soft-float :-)
-
gosh, rebuilding the complete pdaXrom apps sounds kinda extreme, but seems to be the only option if I wanted to try running the latest rc10 stuff. The old pdaXrom packages do run under X/Qt (well some of them) but some crash because of X/Qt bugs
The new pdaXrom stuff is using newer versions of glib and libgcc plus this softfloat
I will just wait for a version of pdaXrom that can boot off a SD card
-
If you are chrooting then pdax should be using its own libs and not complaining about anything, all you need to do is get X/Qt running outside the chroot to act as pdaX's X server - I remember that took some playing around with DISPLAY variables and xhost permissions
Stu
-
If you are chrooting then pdax should be using its own libs and not complaining about anything, all you need to do is get X/Qt running outside the chroot to act as pdaX's X server - I remember that took some playing around with DISPLAY variables and xhost permissions
Stu
[div align=\"right\"][a href=\"index.php?act=findpost&pid=82514\"][{POST_SNAPBACK}][/a][/div]
That sounds like the same as chrooting debian, I might give it a try if I have nothing else to do
-
If you are chrooting then pdax should be using its own libs and not complaining about anything, all you need to do is get X/Qt running outside the chroot to act as pdaX's X server - I remember that took some playing around with DISPLAY variables and xhost permissions
Stu
[div align=\"right\"][a href=\"index.php?act=findpost&pid=82514\"][{POST_SNAPBACK}][/a][/div]
That sounds like the same as chrooting debian, I might give it a try if I have nothing else to do
[div align=\"right\"][a href=\"index.php?act=findpost&pid=82517\"][{POST_SNAPBACK}][/a][/div]
Debian running on Qt/X has no troubles and almost all X-Clients including gtk2 and KDE work well.
I assume that QT/X-server uses the X-libraries of pdaXrom after chrooted to pdaXrom and because of the incompatibility of the libries between hard-float and soft-float, Qt/X server can not work properly. Using debians, the debians libraries are hard-float and they are newer than those of Qt/X, so they are upper-compatible to those of Qt/X. If I can make the static-linked Qt/X server, it also will work well on pdaXrom.
-
Debian running on Qt/X has no troubles and almost all X-Clients including gtk2 and KDE work well.
I assume that QT/X-server uses the X-libraries of pdaXrom after chrooted to pdaXrom and because of the incompatibility of the libries between hard-float and soft-float, Qt/X server can not work properly. Using debians, the debians libraries are hard-float and they are newer than those of Qt/X, so they are upper-compatible to those of Qt/X. If I can make the static-linked Qt/X server, it also will work well on pdaXrom.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=82583\"][{POST_SNAPBACK}][/a][/div]
No, X/Qt runs outside the chroot, only the pdax apps are inside the chroot. There is no conflict of libs for X/Qt - it only uses the libs that are installed fro in on the zaurus, not anything inside the chroot.
The problems I had were not with X/Qt but with apps inside the chroot not getting the devices/environment they expected. Once X/Qt has started you can run apps for X/Qt along with apps in the pdax chroot. As long as you have the DISPLAY settings correct they will both appear in X/Qt server.
Stu
-
is there not an xqt compiled for OZ? Mickeyl was talking about wanting it awhile ago.
If so, then it should be compatable with the soft-float pdax stuff. Though running pdax chrooted from opie is almost perversly geeky
-
I was sort of able to get around the soft float thing by replacing libgcc and one other library but then the pdax app would complain about something on qtopia so I was thinking that isolating pdax in its own chroot environment could get around that and since it is x based, be able to use X/Qt for rendering just like pocketworkstation does.
-
In case you missed this thread :
https://www.oesf.org/forums/index.php?showtopic=12842 (https://www.oesf.org/forums/index.php?showtopic=12842)
I think it might contains usefull info for this topic
-
In case you missed this thread :
https://www.oesf.org/forums/index.php?showtopic=12842 (https://www.oesf.org/forums/index.php?showtopic=12842)
I think it might contains usefull info for this topic
[div align=\"right\"][a href=\"index.php?act=findpost&pid=82948\"][{POST_SNAPBACK}][/a][/div]
thanks, I was already working on it and trying to remove files that I don't need to shrink the space required for the whole thing.