[Esbox-devel] [esbox-Bugs][4244] Maemo Application Framework (FREMANTLE_X86) does not work with Windows or MacOS X ESbox

esbox-bugs at garage.maemo.org esbox-bugs at garage.maemo.org
Fri Aug 28 09:04:23 EEST 2009


Bugs item #4244, was opened at 2009-06-16 14:38
You can respond by visiting: 
http://garage.maemo.org/tracker/?func=detail&atid=1420&aid=4244&group_id=192
Or by replying to this e-mail entering your response between the following markers: 
#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+
(enter your response here)
#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+#+

Status: Open
Priority: 3
Submitted By: Arto Hyvarinen (arhyvari)
Assigned to: Toni Pulkkinen (topulkki)
Summary: Maemo Application Framework (FREMANTLE_X86) does not work with Windows or MacOS X ESbox 
Version: 2.0M6
Severity: None
Resolution: Fixed
Operating System: Windows XP,Mac OS X


Initial Comment:
Maemo Application Framework (FREMANTLE_X86) looks like a mess in Windows Cygwin X-server.
See attached pictures. In picture "Fremantle_3.PNG" Fremantle Desktop Menu is activated.
Also Maemo 5 Examples don't look nice.

Test environment:
Windows:
	ip: 10.10.206.15
	XP SP3
	Cygwin
VM server:
	ip: 10.10.206.11
	Maemo_Diablo_Ubuntu_Intrepid_Server_SDK_Virtual_Image.zip
	updated scratchbox
	maemo at maemo:~$ dpkg -l scratchbox*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name           Version        Description
+++-==============-==============-============================================
ii  scratchbox-cor 1.0.14         Scratchbox base system
un  scratchbox-dev <none>         (no description available)
ii  scratchbox-dev 1.0.7          APT HTTPS devkit for Scratchbox
ii  scratchbox-dev 1.0.7          CPU transparency methods
ii  scratchbox-dev 1.0.10         Debian tools for Scratchbox
ii  scratchbox-dev 1.0.11         Doctools for Scratchbox
ii  scratchbox-dev 1.0.1          Git for Scratchbox
ii  scratchbox-dev 1.0.3          Maemo 3 devkit for Scratchbox
ii  scratchbox-dev 1.0.4          Perl modules for Scratchbox
ii  scratchbox-dev 0.10.0-0sb5    Qemu scratchbox devkit
ii  scratchbox-dev 1.0            Subversion devkit for Scratchbox
ii  scratchbox-lib 1.0.14         Scratchbox libraries
ii  scratchbox-too 1.0.7.2        cs2005q3.2-glibc2.5-arm compiler for Scratch
ii  scratchbox-too 1.0.7          cs2005q3.2-glibc2.5-i386 compiler for Scratc
ii  scratchbox-too 1.0.11-8       cs2007q3-glibc2.5-arm7 compiler for Scratchb
ii  scratchbox-too 1.0.11-6       cs2007q3-glibc2.5-i486 compiler for Scratchb
ii  scratchbox-too 1.0.14         Scratchbox host-gcc toolchain
maemo at maemo:~$
 
ESbox Console - Starting X Server
**********************************
     29 [main] Xwin 5112 tty_list::allocate: No tty allocated
Welcome to the XWin X Server
Vendor: The Cygwin/X Project
Release: 1.5.3.0 (20090222)
Contact: cygwin-xfree at cygwin.com
XWin was started with the following command line:

/usr/bin/Xwin :2 -lesspointer -screen 0 800x480x16 -dpi 96 -ac 

winValidateArgs - g_iNumScreens: 1 iMaxConsecutiveScreen: 1
(II) XF86Config is not supported
(II) See http://x.cygwin.com/docs/faq/cygwin-x-faq.html for more information
winPrefsLoadPreferences: /etc/X11/system.XWinrc
LoadPreferences: Done parsing the configuration file...
winDetectSupportedEngines - Windows NT/2000/XP
winDetectSupportedEngines - DirectDraw installed
winDetectSupportedEngines - DirectDraw4 installed
winDetectSupportedEngines - Returning, supported engines 00000007
winSetEngine - Using Shadow DirectDraw NonLocking
winAdjustVideoModeShadowDDNL - Using Windows display depth of 32 bits per pixel
winFinishScreenInitFB - Masks: 00ff0000 0000ff00 000000ff
Screen 0 added at XINERAMA coordinate (0,0).
MIT-SHM extension disabled due to lack of kernel support
(II) AIGLX: Loaded and initialized /usr/lib/dri/swrast_dri.so
(II) GLX: Initialized DRISWRAST GL provider for screen 0
(--) 3 mouse buttons found
(--) Setting autorepeat to delay=500, rate=31
(--) winConfigKeyboard - Layout: "0000040B" (0000040b) 
(--) Using preset keyboard for "Finnish" (40b), type "4"
Rules = "xorg" Model = "pc105" Layout = "fi" Variant = "(null)" Options = "(null)"
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
winPointerWarpCursor - Discarding first warp: 400 240
winProcEstablishConnection - Hello
winProcEstablishConnection - Clipboard is not enabled, returning.

ESBox Console - FREMANTLE_X86 - Running Maemo command (start)
*************************************************************
AF Warning: '/etc/osso-af-init/matchbox.defs' not found
Sample files present.
Starting DBUS system bus
Starting D-BUS session bus daemon
Starting Maemo Launcher: maemo-launcherFAILED: dbus_connection_send_with_reply_and_block
->	org.freedesktop.DBus.Error.ServiceUnknown: The name com.nokia.clockd was not provided by any .service files
FAILED: dbus_connection_send_with_reply_and_block
->	org.freedesktop.DBus.Error.ServiceUnknown: The name com.nokia.clockd was not provided by any .service files
FAILED: dbus_connection_send_with_reply_and_block
->	org.freedesktop.DBus.Error.ServiceUnknown: The name com.nokia.clockd was not provided by any .service files
FAILED: dbus_connection_send_with_reply_and_block
->	org.freedesktop.DBus.Error.ServiceUnknown: The name com.nokia.clockd was not provided by any .service files
.
Starting Sapwood image server
Starting hildon-desktop
Starting Keyboard
Xlib:  extension "Generic Event Extension" missing on display "10.10.206.15:2.0".

ESBox Console - FREMANTLE_X86 - Running Maemo command (run-standalone.sh hildon-home)
*************************************************************************************
AF Warning: '/etc/osso-af-init/matchbox.defs' not found
Xlib:  extension "Generic Event Extension" missing on display "10.10.206.15:2.0".
Xlib:  extension "Generic Event Extension" missing on display "10.10.206.15:2.0".
Xlib:  extension "Generic Event Extension" missing on display "10.10.206.15:2.0".
me[10836]: GLIB WARNING ** default - /usr/lib/hildon-desktop/connui-cellular-operator-home-item.so: cannot open shared object file: No such file or directory
me[10836]: GLIB WARNING ** default - Could not load operator module /usr/lib/hildon-desktop/connui-cellular-operator-home-item.so.
me[10836]: GLIB WARNING ** default - Couldn't read plugin_paths in dir /usr/share/applications/hildon-home. Error: Error opening directory '/usr/share/applications/hildon-home': No such file or directory
nsv-policy.c:365: Creating policy class 'Ringtone' with flags = 1, default_state = 1
nsv-policy.c:365: Creating policy class 'Alarm' with flags = 1, default_state = 1
nsv-policy.c:365: Creating policy class 'Event' with flags = 1, default_state = 1
I/O warning : failed to load external entity "/home/maemo/.bookmarks/OperatorBookmarks.xml"

ESbox log
*********
16.6.2009 11:43:26: 
.$ tasklist
16.6.2009 11:43:26: 
.$ "C:\\Program Files\\VMWare\\VMware Player\\vmplayer.exe" -x C:\Work\VirtualImages\Maemo_Diablo_Ubuntu_Intrepid_Server_SDK_Virtual_Image\maemosdk_server_intrepid-10-08.vmx
16.6.2009 11:45:08: ssh://maemo@10.10.206.11:22 
.$ /usr/bin/id maemo
16.6.2009 11:45:09: ssh://maemo@10.10.206.11:22 
/home/maemo/.mica$ sudo -p "sudo password:" -S sh /home/maemo/.mica/mount_samba_share.sh //10.10.206.15/shared maemo localhost /home/maemo/shared maemo maemo
16.6.2009 11:45:10: ssh://maemo@10.10.206.11:22 
/home/maemo/.mica$ sudo -p "sudo password:" -S sh /home/maemo/.mica/mount_bind.sh /home/maemo/shared /scratchbox/users/maemo/home/maemo/shared
16.6.2009 11:45:54: 
.$ c:/cygwin/bin/Xwin :2 -lesspointer -screen 0 800x480x16 -dpi 96 -ac
16.6.2009 11:46:12: ssh://maemo@10.10.206.11:22 
.$ ps axwwww
16.6.2009 11:46:12: ssh://maemo@10.10.206.11:22 
.$ /scratchbox/tools/bin/sb-conf current
16.6.2009 11:46:20: Scratchbox 1 [FREMANTLE_X86] 
.$ /scratchbox/login -d /home/maemo/.esbox ./run.sh
#!/bin/sh
cd "/" && /bin/sh -c "DISPLAY=\"10.10.206.15:2\" af-sb-init.sh start"
16.6.2009 11:46:29: ssh://maemo@10.10.206.11:22 
.$ ps axwwww


----------------------------------------------------------------------

>Comment By: Toni Pulkkinen (topulkki)
Date: 2009-08-28 09:04

Message:
Fixed on #2025 ESbox parts and #2612 mica parts (27 August 2009). Mac OS fix asks permission from user to remove MIT-SHM extension from the X server star up options in case it is not already defined. Windows fix notifying to user to change display color depth into 16 bit mode unless it is not already set. Permission to remove the x server start up options is asked from user in case the options contain either swcursor or lesspointer options on Windows.   


----------------------------------------------------------------------

Comment By: Ed Swartz (eswartz)
Date: 2009-08-27 18:26

Message:
Fixed on trunk.

----------------------------------------------------------------------

Comment By: Ed Swartz (eswartz)
Date: 2009-08-06 22:12

Message:
I've used a 16-bit desktop bit depth to get the main screen to look okay (using the latest Cygwin Xwin server).  Other applications running inside, though, still look horrible.  (It looks like they're blitting 32-bit RGBA buffers to the 16-bit window.)

Is there a way to control bit depth on a per-application basis?

----------------------------------------------------------------------

Comment By: Henry Ovaskainen (henryov)
Date: 2009-06-26 15:13

Message:
Same problem exists on Mac OS

----------------------------------------------------------------------

Comment By: Ed Swartz (eswartz)
Date: 2009-06-16 16:37

Message:
Hmm, I don't see this.  Jarmo mentioned some known problems with different X servers in general.  I also have a different (older) version of this X support.  

One difference I see, though, is the bit depth.  Could you try a desktop bit depth of 16 bits and see if this effects anything?

----------------------------------------------------------------------

You can respond by visiting: 
http://garage.maemo.org/tracker/?func=detail&atid=1420&aid=4244&group_id=192


More information about the Esbox-devel mailing list