Caanoo / WIZ Display In Kdrive Wiz Porting


silentbird70

Still Fresh
Joined
Aug 28, 2009
Messages
13
Location
Italy
hello everybody,
i've made a porting of KDrive XFree86, with many problem about fonts, that in some way i've resolved .
but the last and maybe the final problem is that the DISPLAY is not recognized.
i call KDrive in the way above

------------------------------
#!/bin/sh

export DISPLAY=localhost:0
/mnt/sd/x11/Xfbdev -ac -nolisten tcp -co /mnt/sd/x11/rgb/rgb -fp /mnt/sd/x11/fonts/misc/ & /mnt/sd/x11/xcalc > stdout_xcalc-new-localhost.txt 2>stderr_xcalc-new-localhost.txt
killall Xfbdev
cd /usr/gp2x
exec ./gp2xmenu
------------------------------

i try also

export DISPLAY=localhost:0.0
export DISPLAY=:0
export DISPLAY=:0.0

with this error

Error: Can't open display: localhost:0
Error: Can't open display: localhost:0.0
Error: Can't open display: :0
Error: Can't open display: :0.0

respectively

can someone help me please?

thanks in advantage
 
The Wiz doesn't run X, rather applications drive the display directly. To "port" kdrive to the Wiz I expect you will have to rewrite all its X rendering calls into SDL or similar.
 
Xfbdev just writes to /dev/fb0 directly, there is no need to change anything to use SDL. You could always try extracting GP2X11 from Open2x: that should run on the Wiz as-is and is proven to work on the GP2X.
 
Orkie said:
Xfbdev just writes to /dev/fb0 directly, there is no need to change anything to use SDL.

Oh! I didn't notice he was running Xfbdev explicitly, I thought he was just running KDrive and wondering why it wouldn't find the X display.
 
Last edited by a moderator:
TomSeaGull said:
Thanks for replay!!

Where can I find Open2X for Wiz or GP2X11 source code, please?

u mean this? firmware source for wiz 1.1.0
http://dl.openhandhelds.org/cgi-bin/wiz.cgi?0,0,0,0,46,151
 
Last edited by a moderator:
crow_riot said:
u mean this? firmware source for wiz 1.1.0
http://dl.openhandhelds.org/cgi-bin/wiz.cgi?0,0,0,0,46,151

No I do not mean this!!
I find a way to obtain kdrive or tinyX source, and compiling it, have Xfbdev run on Wiz console
Doing this, I can run programs that use X windows manager framework
In particular I want to run XPDF, and read PDF document under Wiz console
I took the cue from Orkie work about GP2X11 Project
I try to compile Xfbdev directly from Xorg source and Xfree86 source, but with parzial result
 
Last edited by a moderator:
TomSeaGull said:
crow_riot said:
u mean this? firmware source for wiz 1.1.0
http://dl.openhandhelds.org/cgi-bin/wiz.cgi?0,0,0,0,46,151

No I do not mean this!!

no need to be harsh?

probably this? http://x11.gp2x.de/
 
Last edited by a moderator:
Excuse me crow, but I already know firmware source for Wiz, and is not what I'm looking for
Thanks for the link, but I know the GP2X11 Project site
Now I realized there is new more contents
I read all carefully, maybe I find new cues to go on
 
Back
Top