maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Getting started with Fremantle and Xephyr (https://talk.maemo.org/showthread.php?t=29386)

dneary 2009-06-05 20:14

Getting started with Fremantle and Xephyr
 
Hi all,

I have been trying to get Fremantle beta installed today after my recent upgrade to Jaunty (yes, I know Xephyr has a problem with hildon-desktop on Jaunty), and I've been having a few problems.

Basically, when I was installing the sdk with the script, I was getting missing dependencies due to nokia-binaries being missing. I'm sure I wasn't setting everything right for both targets also, but I finally got everything installed (I think) by installing nokia-binaries, and then maemo-sdk-dbg with "fakeroot apt-get install".

But when I run the desktop with "af-sb-init.sh start", I get this small rounded box with 6 squares in it. When I click on that (which takes *ages*), I get a choice of 3 icons, app manager, settings and applications - clicking on any of these eventually brings me back to the starting screen. In the terminal, I have lots of error messages floating by as I'm doing this. Any idea what I might be doing wrong? What should I have installed that I didn't to get the nice hildon desktop I've seen in screenshots?

Thanks!
Dave.

(selected terminal messages below)
Code:

hildon-desktop[32268]: GLIB CRITICAL ** Clutter - clutter_actor_set_scalex: X scale is being set to 0
hildon-desktop[32268]: GLIB CRITICAL ** Clutter - clutter_actor_set_scalex: Y scale is being set to 0
hildon-desktop[32268]: GLIB WARNING ** default - hd_transition_play_sound: Canberra sound disabled for speed reasons, /usr/share/sounds/ui-window_open.wav
hildon-desktop[32268]: GLIB WARNING ** hd-app-mgr - _hd_app_mgr_request_app_pid_cb: Couldn't get pid for app com.nokia.hildon_application_manager because Could not get PID of name 'com.nokia.hildon_application_manager': no such name
hildon-desktop[32268]: GLIB WARNING ** ClutterGLX - Pixmap with depth bellow 24 are not supported
hildon-desktop[32268]: GLIB WARNING ** default - XDamageDestroy(0x60001f) for 0x93f5158: 154
hildon-desktop[32268]: GLIB CRITICAL ** Clutter - clutter_actor_set_scalex: X scale is being set to 0
hildon-desktop[32268]: GLIB CRITICAL ** Clutter - clutter_actor_set_scalex: Y scale is being set to 0
hildon-desktop[32268]: GLIB WARNING ** default - hd_transition_play_sound: Canberra sound disabled for speed reasons, /usr/share/sounds/ui-window_open.wav
hildon-desktop[32268]: GLIB WARNING ** hd-app-mgr - _hd_app_mgr_request_app_pid_cb: Couldn't get pid for app com.nokia.controlpanel because Could not get PID of name 'com.nokia.controlpanel': no such name
hildon-desktop[32268]: GLIB WARNING ** ClutterGLX - Pixmap with depth bellow 24 are not supported
hildon-desktop[32268]: GLIB WARNING ** default - XDamageDestroy(0x600031) for 0x92881a8: 154
hildon-desktop[32268]: GLIB CRITICAL ** Clutter - clutter_actor_set_scalex: X scale is being set to 0
hildon-desktop[32268]: GLIB CRITICAL ** Clutter - clutter_actor_set_scalex: Y scale is being set to 0
hildon-desktop[32268]: GLIB WARNING ** default - hd_transition_play_sound: Canberra sound disabled for speed reasons, /usr/share/sounds/ui-window_open.wav
hildon-desktop[32268]: GLIB WARNING ** hd-app-mgr - _hd_app_mgr_request_app_pid_cb: Couldn't get pid for app com.nokia.hildon_application_manager because Could not get PID of name 'com.nokia.hildon_application_manager': no such name
hildon-desktop[32268]: GLIB WARNING ** ClutterGLX - Pixmap with depth bellow 24 are not supported


qole 2009-06-05 22:29

Re: Getting started with Fremantle and Xephyr
 
There have been some serious speed issues reported on Intel video chipsets ( < 5 fps) ... I had no problems with my nVidia 8800 video card...

I'm not sure why you're being brought back to the start screen from those icons, however. That should do something more...

BrentDC 2009-06-05 22:52

Re: Getting started with Fremantle and Xephyr
 
I know when I first installed the Fremantle SDK the Application Manager just would not launch (well, it would launch then just crash immediately). Now it works fine, don't know what changed...

Are you able to customize the home screen any? Or just do any logical interaction with the UI?

Also, it may be helpful to post a screenshot of what you're actually seeing.

allnameswereout 2009-06-05 23:30

Re: Getting started with Fremantle and Xephyr
 
Did you do clean install, after you figured you did not install the Nokia binaries? Perhaps I'm mistaking but I remember, with previous SDK, after I fixed installing the Nokia binaries later (did not opt for at run then was not able to run SDK well), it still would not work correct even though they were installed afterwards, after failing to run without. Then, I removed the whole /scratchbox and started over, after which it did work.

What kind of video driver do you use for X? Hardware accelerated? You are on x86-32?

I was thinking of suggesting virtual machine for Maemo, but seems to be for Diablo; not for Fremantle (yet).

dneary 2009-06-08 17:33

Re: Getting started with Fremantle and Xephyr
 
Quote:

Originally Posted by BrentDC (Post 294160)
I know when I first installed the Fremantle SDK the Application Manager just would not launch (well, it would launch then just crash immediately). Now it works fine, don't know what changed...

Are you able to customize the home screen any? Or just do any logical interaction with the UI?

Also, it may be helpful to post a screenshot of what you're actually seeing.

Screenshot here.
http://dneary.free.fr/maemo/maemo_startup.png

I don't know if I'm seeing the home screen. It is entirely possible I'm missing some software.

On start-up, this is everything which prints:
Code:

AF Warning: '/etc/osso-af-init/matchbox.defs' not found
Note: For remote X connections DISPLAY should contain hostname!
Sample files present.
Starting DBUS system bus
Starting D-BUS session bus daemon
Starting Maemo Launcher: maemo-launcher.
Starting Sapwood image server
Starting hildon-desktop
Starting Keyboard
[sbox-FREMANTLE_X86: ~] > sapwood-server[11524]: GLIB INFO default - server started
hildon-desktop[11537]: GLIB WARNING ** default - Error loading cached background image /home/dneary/.backgrounds/background-1.pvr. Failed to open file '/home/dneary/.backgrounds/background-1.pvr': No such file or directory

Any ideas?

dneary 2009-06-08 17:35

Re: Getting started with Fremantle and Xephyr
 
Quote:

Originally Posted by dneary (Post 294683)

When I click on that grid thing (needs 2 - 3 secs before it turns green, indicating the click is detected) I get this screen:
http://dneary.free.fr/maemo/icons.png

BrentDC 2009-06-08 17:38

Re: Getting started with Fremantle and Xephyr
 
Um, what command did you use to start Xephyr? The display looks square, it should 800x480...

Edit: And yes, you're seeing what you're supposed to, minus a background image (and the screen looks truncated).

dneary 2009-06-08 18:09

Re: Getting started with Fremantle and Xephyr
 
For this screenshot, I just ran Xephyr :2

Previously I was running (c&p from Maemo docs) "Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac -kb"

The result is the same.

So, where do I get the background?

Cheers,
Dave.

lma 2009-06-08 18:43

Re: Getting started with Fremantle and Xephyr
 
Quote:

Originally Posted by dneary (Post 294692)
So, where do I get the background?

It comes in the hildon-theme-devel package.

If you tap somewhere near the top of the Xephyr window (but not the 2x3 icon) it should give you a gear icon towards the right of the screen. After several more taps you should be able to chose a background image.

qole 2009-06-08 19:19

Re: Getting started with Fremantle and Xephyr
 
I think Dave is wondering why his install isn't showing a background image. That is an excellent question. It should be part of the standard SDK install...

dneary 2009-06-09 09:16

Re: Getting started with Fremantle and Xephyr
 
Hi,

Quote:

Originally Posted by allnameswereout (Post 294168)
Did you do clean install, after you figured you did not install the Nokia binaries?

I started completely from scratch once, with an
Code:

rm -rf /scratchbox
, before reinstalling all the scratchbox toolchain. But during the installation of the SDK, I had this weird situation where running the maemo_sdk_install script failed with an error part way through because of missing Nokia binaries. So I installed the Nokia binaries, and manually ran "fakeroot apt-get install maemo-sdk-dev" in Scratchbox to finish the install - this isn't what is written in the docs :)

Quote:

What kind of video driver do you use for X? Hardware accelerated? You are on x86-32?

I was thinking of suggesting virtual machine for Maemo, but seems to be for Diablo; not for Fremantle (yet).
Intel hardware (an i915 I think), in a Dell Latitude D420. X86, and I don't think there's any X acceleration going on (but I get a decent frame rate on "Planet Penguin Racer"). Any suggestions on getting performance working right are welcome :)

Thanks!
Dave.

fredoll 2009-06-09 10:31

Re: Getting started with Fremantle and Xephyr
 
I think that rm -rf /scratchbox is not enough to really uninstall scratchbox ...

Andre Klapper 2009-06-09 11:12

Re: Getting started with Fremantle and Xephyr
 
Had the same issues as Dave when installing the SDK beta for the first time. After reinstalling everything worked. Yeah, not really helpful... :-/

qole 2009-06-09 18:19

Re: Getting started with Fremantle and Xephyr
 
And if you have an Intel graphics chipset you might be SOL on the performance issues too... Go buy a cheap nVidia or ATI graphics card...

sjgadsby 2009-06-09 18:48

Re: Getting started with Fremantle and Xephyr
 
Quote:

Originally Posted by qole (Post 295015)
Go buy a cheap nVidia or ATI graphics card...

He's using a notebook computer.

qole 2009-06-09 19:11

Re: Getting started with Fremantle and Xephyr
 
So, go buy a cheap desktop computer with an nVidia or ATI graphics chipset then :p :D

jeremiah 2009-06-10 18:18

Re: Getting started with Fremantle and Xephyr
 
I suspect you are still missing software. What does your /etc/apt/sources.list file look like?

dneary 2009-06-11 11:21

Re: Getting started with Fremantle and Xephyr
 
Quote:

Originally Posted by jeremiah (Post 295377)
I suspect you are still missing software. What does your /etc/apt/sources.list file look like?

Code:

deb http://repository.maemo.org/ fremantle/sdk free non-free
deb-src http://repository.maemo.org/ fremantle/sdk free
deb http://repository.maemo.org/ fremantle/tools free non-free
deb-src http://repository.maemo.org/ fremantle/tools free
deb http://repository.maemo.org/ fremantle/my_very_own_sekrit_code nokia-binaries


anidel 2009-07-20 20:16

Re: Getting started with Fremantle and Xephyr
 
I have had this very same issue on my netbook (Dell Mini 9) with an intel 945GME.

I've just updated to Beta 2 and altough it's not 3D accelerated (at least, it doesn't sound like), the whole emulator is MUCH MUCH faster and really usable now.

Dave, did you try to update?

anidel

wqq_chen 2009-09-16 03:23

Re: Getting started with Fremantle and Xephyr
 
Some problems happened to my env.
When I finished installing nokia-binaries into my env-Ubuntu,
I did the following steps:
first,add the nokia binaries path into the /etc/apt/sources.list.
second,
Quote:

[sbox-FREMANTLE_ARMEL: ~] > apt-get update
Ign file: diablo Release.gpg
Ign file: diablo Release
Ign http://repository.maemo.org fremantle/sdk Release.gpg
Ign http://repository.maemo.org fremantle/tools Release.gpg
Hit http://repository.maemo.org fremantle/sdk Release
Hit http://repository.maemo.org fremantle/tools Release
Ign http://repository.maemo.org fremantle/sdk/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/sdk/non-free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/sdk/free Sources/DiffIndex
Ign http://repository.maemo.org fremantle/tools/free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/tools/non-free Packages/DiffIndex
Ign http://repository.maemo.org fremantle/tools/free Sources/DiffIndex
Hit http://repository.maemo.org fremantle/sdk/free Packages
Hit http://repository.maemo.org fremantle/sdk/non-free Packages
Hit http://repository.maemo.org fremantle/sdk/free Sources
Hit http://repository.maemo.org fremantle/tools/free Packages
Hit http://repository.maemo.org fremantle/tools/non-free Packages
Hit http://repository.maemo.org fremantle/tools/free Sources
Reading package lists... Done
[sbox-FREMANTLE_ARMEL: ~] > fakeroot apt-get install maemo-explicit
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
maemo-explicit: Depends: dsme but it is not going to be installed
Depends: hildon-task-navigator-bookmarks but it is not going to be installed
Depends: icd2 but it is not going to be installed
Depends: libconbtui0 but it is not going to be installed
Depends: libgpsbt but it is not going to be installed
Depends: libgpsbt-dev but it is not going to be installed
Depends: libgpsmgr but it is not going to be installed
Depends: libgpsmgr-dev but it is not going to be installed
Depends: liblocation0 but it is not going to be installed
Depends: liblocation-dev but it is not going to be installed
Depends: libosso-abook but it is not going to be installed
Depends: libosso-abook-dev but it is not going to be installed
Depends: libosso-certman1 but it is not going to be installed
Depends: libosso-certman-dev but it is not going to be installed
Depends: libosso-rtcom-accounts0 but it is not going to be installed
Depends: libosso-rtcom-accounts-dev but it is not going to be installed
Depends: osso-addressbook but it is not going to be installed
Depends: osso-applet-certman but it is not going to be installed
Depends: osso-bookmark-menu but it is not going to be installed
Depends: osso-contact-plugin but it is not going to be installed
Depends: osso-contact-plugin-dev but it is not going to be installed
Depends: osso-global-search but it is not going to be installed
Depends: osso-help-ui but it is not going to be installed
Depends: osso-mission-control but it is not going to be installed
E: Broken packages
[sbox-FREMANTLE_ARMEL: ~] >

The depends message showed to me,
And now i do not know how to install these packages showed above,
anyone could give me the right URL that can be added into
the sources.list,so that my env can be created correctly.
thanks a lot.
best regards.

qgil 2009-09-16 03:45

Re: Getting started with Fremantle and Xephyr
 
Please, can someone move this thread to the Development forum where it will probably get better developer attention and support. Thank you!

wqq_chen 2009-09-16 04:19

Re: Getting started with Fremantle and Xephyr
 
Come on ,my problem is how to configure the platform correctly ,
it's not for development,
anyone could help me to resolve the maemo-explicit depends problem????????
thanks a lot


All times are GMT. The time now is 02:14.

vBulletin® Version 3.8.8