Question on weston ivi shell

2014-07-29 Thread karthik karthik


Hi,
I set the environment variable and got the log..

   Just want to confirm whether this is the understanding from the log..

   I tried to look for wl_shell bind in the log.. I tried to look for it after 
after wl_compositor_surface_create step..

[2505277.728] wl_registry@2.global(14, 
"ivi_application", 1)
[2505277.742]  -> wl_regis...@2.bind(14, 
"ivi_application", 1, new id [unknown]@3)
[2505277.763] wl_registry@2.global(15, 
"wl_shell", 1) --> Comment -- // where you referring to this wl_shell. It 
doesn't have a bind step. Does it mean that the web app. puts it on a different 
shell (xdg_shell)
[2505277.777] wl_registry@2.global(16, 
"ivi_controller", 1)
[2505277.792]  -> wl_regis...@2.bind(16, 
"ivi_controller", 1, new id [unknown]@4)
[2505277.813] wl_registry@2.global(17, 
"ivi_hmi_controller", 1)
[2505277.840]  -> 
ivi_controller@4.get_native_handle(6064,
 "(null)")
[2505277.854]  -> wl_disp...@1.sync(new id 
wl_callback@5)
[2505277.878] wl_regis...@2.bind(14, 
"ivi_application", 1, new id [unknown]@3)
[2505277.904] wl_regis...@2.bind(16, 
"ivi_controller", 1, new id [unknown]@4)
[2505277.929]  -> 
ivi_controller@4.layer(4000)
[2505277.937]  -> 
ivi_controller@4.layer(1000)
[2505277.946] 
ivi_controller@4.get_native_handle(6064,
 "(null)")
[2505277.961]  -> ivi_controller@4.error(0, 1, 
3, ")
[2505277.979] wl_disp...@1.sync(new id 
wl_callback@5)
[2505277.990]  -> wl_callb...@5.done(1)
[2505277.998]  -> wl_display@1.delete_id(5)
[2505278.016] ivi_controller@4.layer(4000)
[2505278.025] ivi_controller@4.layer(1000)
[2505278.032] ivi_controller@4.error(0, 1, 3, 
")
[2505278.050] wl_callb...@5.done(1)
[2505278.058] wl_display@1.delete_id(5)

Thanks,


~~~
Date: 2014-07-30 PDT
[02:14:28.708] weston 1.4.0
   http://wayland.freedesktop.org/
   Bug reports to: 
https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.4.0
   Build:  
[02:14:28.708] OS: Linux, 3.13.3-3.2-x86-ivi, #1 SMP PREEMPT Thu Apr 10 
19:55:28 UTC 2014, i686
[02:14:28.708] warning: XDG_RUNTIME_DIR "/run/user/" is not configured
correctly.  Unix access mode must be 0700 but is 700,
and XDG_RUNTIME_DIR must be owned by the user, but is
owned by UID .
Refer to your distribution on how to get it, or
http://www.freedesktop.org/wiki/Specifications/basedir-spec
on how to implement it.
[02:14:28.708] Using config file '/etc/xdg/weston/weston.ini'
[02:14:28.708] Loading module '/usr/lib/weston/drm-backend.so'
[02:14:28.709] initializing drm backend
[02:14:28.710] using /dev/dri/card0
[02:14:28.710] Loading module '/usr/lib/weston/gl-renderer.so'
[02:14:28.730] Chosen EGL config details:
   RGBA bits: 8 8 8 8
   swap interval range: 0 - 0
[02:14:28.737] EGL version: 1.4 (DRI2)
[02:14:28.737] EGL vendor: Mesa Project
[02:14:28.737] EGL client APIs: OpenGL OpenGL_ES OpenGL_ES2 OpenGL_ES3 
[02:14:28.737] EGL extensions: EGL_MESA_drm_image EGL_WL_bind_wayland_display
   EGL_KHR_image_base EGL_KHR_gl_texture_2D_image
   EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image
   EGL_KHR_surfaceless_context EGL_KHR_create_context
   EGL_EXT_buffer_age
[02:14:28.737] GL version: OpenGL ES 3.0 Mesa 9.2.1
[02:14:28.737] GLSL version: OpenGL ES GLSL ES 3.0
[02:14:28.737] GL vendor: Intel Open Source Technology Center
[02:14:28.737] GL renderer: Mesa DRI Intel(R) Sandybridge Desktop x86/MMX/SSE2
[02:14:28.737] GL extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays
   GL_EXT_texture_filter_anisotropic
   GL_EXT_texture_compression_dxt1 GL_EXT_texture_format_BGRA
   GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24
   GL_OES_element_index_uint GL_OES_fbo_render_mipmap
   GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives
   GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_npot
   GL_OES_EGL_image GL_OES_depth_texture
   GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV
   GL_O

VTC1010 BIOS upgrade

2014-07-29 Thread Zhang, Xiaolei
Hi,
QA found 2 issues related to BIOS of VTC1010. So far, there are 2 editions of 
VTC1010 BIOS in QA's machines: MV11A094 and MV11A092, and below issues just 
could be reproduced on MV11A092.
TC-1361 Touch doesn't work 
sometimes after system reboot
TC-268 [VTC1010]Unable to disable 
VGA output through weston configuration
Here are 2 questions from QA:

1.   Which BIOS version is official supported so far, MV11A094 or MV11A092?

2.   If MV11A094 is official supported so far, is there any document or 
wiki to help BIOS upgrade?
Thanks,
xiaolei
___
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi


Re: MP3 plugin missing on Tizen release

2014-07-29 Thread Rees, Kevron
Can you play mp3's with the media player (modello multimedia player)?
I don't recall that I ever got playbin working (perhaps should be
playbin2?).

On Mon, Jul 28, 2014 at 12:24 AM, Wang, Ning W  wrote:
> Hi Jay,
>
>
>
> Could you please try gst-launch command line using libmad plugin instead of
> playbin?
>
>
>
> Thanks,
>
> Ning
>
> From: Jay D Bhatt [mailto:jay.bh...@igate.com]
> Sent: Monday, July 28, 2014 2:09 PM
> To: Wang, Ning W; ivi@lists.tizen.org
>
>
> Subject: RE: MP3 plugin missing on Tizen release
>
>
>
> HI Ning,
>
>
>
> What I did was something similar.
>
>
>
> I independently build libmad and just copied the generated .so library files
> to /usr/lib in the tizen rootfs. Added –enable-mad flag in .spec file of
> gst-plugins-ugly and recompiled it. Now, I installed the newly generated
> gst-plugins-ugly.rpm in tizen system.
>
>
>
> Please let me know if I have missed anything.
>
>
>
> Thanks,
>
> Jay
>
>
>
> From: Wang, Ning W [mailto:ning.w.w...@intel.com]
> Sent: 28 July 2014 11:30
> To: Jay D Bhatt; ivi@lists.tizen.org
> Subject: RE: MP3 plugin missing on Tizen release
>
>
>
> Hi Jay,
>
>
>
> Please see if this thread
> https://lists.tizen.org/pipermail/ivi/2014-May/002510.html helps.
>
>
>
> Thanks,
>
> Ning
>
> From: IVI [mailto:ivi-boun...@lists.tizen.org] On Behalf Of Jay D Bhatt
> Sent: Monday, July 28, 2014 1:56 PM
> To: ivi@lists.tizen.org
> Subject: MP3 plugin missing on Tizen release
>
>
>
> Hi,
>
>
>
> I am running Intel arch image of Tizen on my desktop. I have installed all
> the gstreamer 1.0 plugins( i.e. base, ugly, bad and good).
>
>
>
> When I try to play MP3 format audio files through gst-launch-1.0 playbin
> uri=file:///path/of/file , I am not able to hear any sound, it give some
> error like as below:
>
> gsturidecodebin.c(880): unknown_type_cb ():
> /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0
>
> ERROR: from element
> /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0:
> Your GStreamer installation is missing a plug-in.
>
> Additional debug info:
>
> gstdecodebin2.c(3705): gst_decode_bin_expose ():
> /GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0:
>
> no suitable plugins found
>
> I tried solutions as per previous bugs like : installation of ‘mad’ element
> in gst-plugins-ugly( by adding flag –enable-mad) and installed this rpm.Also
> installed libmad-0.15.1b-1.18.src.rpm. I also changed assigned
> GST_RANK_SECONDARY in gst-libav for avdec_mp3, but still the MP3 gives same
> error and does not work.
>
>
>
> Can anybody point the solution to these problem? I am working with latest
> released image(march – release).
>
>
>
> Thanks,
>
> Jay
>
>
>
>
> ~~Disclaimer~~~
> Information contained and transmitted by this e-mail is confidential and
> proprietary to IGATE and its affiliates and is intended for use only by the
> recipient. If you are not the intended recipient, you are hereby notified
> that any dissemination, distribution, copying or use of this e-mail is
> strictly prohibited and you are requested to delete this e-mail immediately
> and notify the originator or mailad...@igate.com. IGATE does not enter into
> any agreement with any party by e-mail. Any views expressed by an individual
> do not necessarily reflect the view of IGATE. IGATE is not responsible for
> the consequences of any actions taken on the basis of information provided,
> through this email. The contents of an attachment to this e-mail may contain
> software viruses, which could damage your own computer system. While IGATE
> has taken every reasonable precaution to minimise this risk, we cannot
> accept liability for any damage which you sustain as a result of software
> viruses. You should carry out your own virus checks before opening an
> attachment. To know more about IGATE please visit www.igate.com.
> 
>
>
> ~~Disclaimer~~~
> Information contained and transmitted by this e-mail is confidential and
> proprietary to IGATE and its affiliates and is intended for use only by the
> recipient. If you are not the intended recipient, you are hereby notified
> that any dissemination, distribution, copying or use of this e-mail is
> strictly prohibited and you are requested to delete this e-mail immediately
> and notify the originator or mailad...@igate.com. IGATE does not enter into
> any agreement with any party by e-mail. Any views expressed by an individual
> do not necessarily reflect the view of IGATE. IGATE is not responsible for
> the consequences of any actions taken on the basis of information provided,
> through this email. The contents of an attachment to this e-mai

Re: Problems with testing SmartDeviceLink profile

2014-07-29 Thread Othman, Ossama
Hi Kong Ling,

On a related note, I'm looking into upgrading the version of
SmartDeviceLink in Tizen IVI soon since it is fairly out-of-date relative
to what's available upstream.  That should address the issues you
encountered.

Thanks,
-Ossama



On Thu, Jul 24, 2014 at 3:06 AM, kongling  wrote:

> Hi,Jeremiah
>
> Thanks for your help !
>
> I can test via wifi now.
>
> The SDLP in Tizen-IVI system doesn't have [smartDeviceLink.ini] and
> [policy_table.json], SDLP core can not load [policy_table.json] when it
> start. Thus, IVI couldn't resolve message from mobile and always response
> [REJECTED] to mobile.
>
> Best Regards,
>
> kong ling
>
>
> --
> Date: Thu, 24 Jul 2014 10:59:28 +0200
>
> Subject: Re: Problems with testing SmartDeviceLink profile
> From: jeremiah.fos...@pelagicore.com
> To: k870818...@outlook.com
> CC: ivi@lists.tizen.org
>
>
> Hi Kong ling,
>
>
> On Thu, Jul 10, 2014 at 11:42 AM, kongling  wrote:
>
> Hi,
> I got some problems with SDLP.
> IVI version: April 22, 2014 3.0-M2-March2014 milestone
> 
>
>
> There is also a mailing list devoted to SDL here:
> http://lists.genivi.org/pipermail/genivi-smartdevicelink/
> Perhaps check those archives for an answer to your question or send an
> email to that list if you don't get an answer here.
>
> There is a bug tracker for SDL here:
> http://bugs.genivi.org/enter_bug.cgi?product=SmartDeviceLink
> Please file a bug there if you think you have one.
>
> Cheers,
>
> Jeremiah
>
>
>
>①test via bluetooth:
>   bluetooth connection cannot be created. This problem has been
> located in TC-323([REG] SDL over BT fails to work).  Is this problem caused
> by SDL_Android? Is there anywSDL ay to fix it?
>
>②test via wifi :
>   SDL_CORE can connect with SDL_Android,but button commands take no
> effect on SDL_Android.The messages from SDL_Android always got a "REJECTED"
> response. Is this problem caused by SDL_CORE ? Is there anyway to fix it?
>
> Thanks for your help!
>
> Best Regards,
>
> kong ling
>
> ___
> IVI mailing list
> IVI@lists.tizen.org
> https://lists.tizen.org/listinfo/ivi
>
>
>
>
> --
> Jeremiah C. Foster
> GENIVI COMMUNITY MANAGER
>
> Pelagicore AB
> Ekelundsgatan 4, 6tr, SE-411 18
> Gothenburg, Sweden
> M: +46 (0)73 093 0506
> jeremiah.fos...@pelagicore.com
>
>
>
> ___
> IVI mailing list
> IVI@lists.tizen.org
> https://lists.tizen.org/listinfo/ivi
>
>
___
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi


Re: Problems with testing SmartDeviceLink profile

2014-07-29 Thread Jeremiah Foster
Hi Kong Ling,

Glad to hear its working out.

Cheers,

Jeremiah


On Thu, Jul 24, 2014 at 12:06 PM, kongling  wrote:

> Hi,Jeremiah
>
> Thanks for your help !
>
> I can test via wifi now.
>
> The SDLP in Tizen-IVI system doesn't have [smartDeviceLink.ini] and
> [policy_table.json], SDLP core can not load [policy_table.json] when it
> start. Thus, IVI couldn't resolve message from mobile and always response
> [REJECTED] to mobile.
>
> Best Regards,
>
> kong ling
>
>
> --
> Date: Thu, 24 Jul 2014 10:59:28 +0200
> Subject: Re: Problems with testing SmartDeviceLink profile
> From: jeremiah.fos...@pelagicore.com
> To: k870818...@outlook.com
> CC: ivi@lists.tizen.org
>
>
> Hi Kong ling,
>
>
> On Thu, Jul 10, 2014 at 11:42 AM, kongling  wrote:
>
> Hi,
> I got some problems with SDLP.
> IVI version: April 22, 2014 3.0-M2-March2014 milestone
> 
>
>
> There is also a mailing list devoted to SDL here:
> http://lists.genivi.org/pipermail/genivi-smartdevicelink/
> Perhaps check those archives for an answer to your question or send an
> email to that list if you don't get an answer here.
>
> There is a bug tracker for SDL here:
> http://bugs.genivi.org/enter_bug.cgi?product=SmartDeviceLink
> Please file a bug there if you think you have one.
>
> Cheers,
>
> Jeremiah
>
>
>
>①test via bluetooth:
>   bluetooth connection cannot be created. This problem has been
> located in TC-323([REG] SDL over BT fails to work).  Is this problem caused
> by SDL_Android? Is there anywSDL ay to fix it?
>
>②test via wifi :
>   SDL_CORE can connect with SDL_Android,but button commands take no
> effect on SDL_Android.The messages from SDL_Android always got a "REJECTED"
> response. Is this problem caused by SDL_CORE ? Is there anyway to fix it?
>
> Thanks for your help!
>
> Best Regards,
>
> kong ling
>
> ___
> IVI mailing list
> IVI@lists.tizen.org
> https://lists.tizen.org/listinfo/ivi
>
>
>
>
> --
> Jeremiah C. Foster
> GENIVI COMMUNITY MANAGER
>
> Pelagicore AB
> Ekelundsgatan 4, 6tr, SE-411 18
> Gothenburg, Sweden
> M: +46 (0)73 093 0506
> jeremiah.fos...@pelagicore.com
>
>
>


-- 
Jeremiah C. Foster
GENIVI COMMUNITY MANAGER

Pelagicore AB
Ekelundsgatan 4, 6tr, SE-411 18
Gothenburg, Sweden
M: +46 (0)73 093 0506
jeremiah.fos...@pelagicore.com
___
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi


Tizen IVI 3.0 M3 June 2014 has been released

2014-07-29 Thread Hofemeier, Ulf
The Tizen IVI team is pleased to announce the completion of our next milestone 
release, Tizen IVI 3.0 M3 June 2014 for In-Vehicle Infotainment (IVI). We are 
also excited to announce the release of the Tizen IVI SDK Alpha 3 for 
In-Vehicle Infotainment available at:  
https://wiki.tizen.org/wiki/Tizen_IVI_SDK.

With this release Tizen IVI is using the Tizen 3.0 Common code base. The 
Wayland based Weston compositor version 1.5.0 includes two new extensions: 
xdg-shell and ivi-shell (GENIVI Layer Manager API). The graphics stack is based 
on Mesa 10.x. GUI toolkits have been upgraded to EFL 1.9.3 and QT 5.3. The 
former web runtime version Webkit-EFL has been replaced with Crosswalk 
(http://www.crosswalk-project.org) . Audio was upgraded to Pulseaudio 5.0 and 
the Resource Policy Manager Engine, Murphy,  supports the new web runtime 
engine.  SyncEvolution version 1.4.99.2 offers enhanced Google CardDAV support. 
Porting Modello (Tizen IVI HTML5 Sample UI) to Crosswalk is on track to be 
completed by the Tizen IVI 3.0 Final release scheduled for Q1 2015. 

The complete release notes are available here: 
https://wiki.tizen.org/wiki/IVI/Tizen-IVI_3.0-M3-June2014

For more information about Tizen for In-Vehicle Infotainment (IVI),please go 
and visit our wiki at: https://wiki.tizen.org/wiki/IVI

If you are new to Tizen IVI Project and are looking for ways to start 
contributing, please refer to our "How to Contribute" wiki page at: 
https://wiki.tizen.org/wiki/How_to_contribute_to_Tizen_IVI


Regards,

Ulf (on behalf of the Tizen IVI team)
Technical Marketing Engineer
Intel Corporation
System Software Division


Thanks,

Ulf Hofemeier
Technical Marketing Engineer
System Software Division
Phone: +1 503 712 3935
Mobile: +1 503 970 7545
mailto: ulf.hofeme...@intel.com

___
IVI mailing list
IVI@lists.tizen.org
https://lists.tizen.org/listinfo/ivi


RE: Questions on weston-ivi-shell

2014-07-29 Thread Tanibata, Nobuhiko (ADITJ/SWG)
Hi,

 

>1) weston --tty=1 (using tty screens) Is it the right way.. I do this because 
I can see the logs.. Is there any way to use gdb while using weston ??
At first, you can set the environment value: WAYLAND_DEBUG=1 to observe if 
wayland application bind wl_shell and create wl_shell_surface. It might be 
sufficient.

 

>(HTML not rendering on wl_shell) ??

Maybe. But if the caller of IVIsurfaceCreator calls it with wrong process ID, 
IVIsurfaceCreator can not find any wl_shell_surface. If you clearly know the 
process ID, I recommend you to execute IVIsurefaceCreator by hand. How to use 
it, see wiki.

https://wiki.tizen.org/wiki/Wayland_ivi-shell

 

BR,

Nobuhiko Tanibata

 

From: karthik karthik [mailto:karthikkarthik...@yahoo.in] 
Sent: Tuesday, July 29, 2014 2:32 PM
To: Tanibata, Nobuhiko (ADITJ/SWG); ivi@lists.tizen.org
Subject: Re: Questions on weston-ivi-shell

 

 


Hi,

Surely will try with the debug option.. Currently I am launching weston in 
the following way 

1) weston --tty=1 (using tty screens) Is it the right way.. I do this 
because I can see the logs.. Is there any way to use gdb while using weston ??

2) From your previous input that the HTML5 might not be using wl_shell (can 
this be put as seperate question in the forum !!), I tried the following..

I put a few prints in the following function 
"controller_get_native_handle" in ivi-controller.c.. I beleive this is called 
from the IVISurfaceCreator while we create ivi_surface. When I checked out, the 
test I running doesnt even enter the wl_array_for_each loop. Does this means no 
surface are available (HTML not rendering on wl_shell) ??

static void
controller_get_native_handle(struct wl_client *client,
 struct wl_resource *resource,
 uint32_t id_process,
 const char *title)
{
struct wl_array surfaces;
ivi_shell_get_shell_surfaces(&surfaces);
struct shell_surface ** surface;
 
wl_array_for_each(surface, &surfaces) {
 
uint32_t pid = shell_surface_get_process_id(*surface);
if (pid != id_process) {
continue;
}
 
if (title) {
char* surface_title = shell_surface_get_title(*surface);
if (strcmp(title, surface_title)) {
continue;
}
}
 
struct weston_surface *es = shell_surface_get_surface(*surface);
if (es) {
struct wl_resource *res = wl_resource_create(client, 
&wl_surface_interface, 1, 0);
wl_resource_set_user_data(res, es);
 
ivi_controller_send_native_handle(resource, res);
}
}
 
wl_array_release(&surfaces);
 
int32_t id_object = 0;
ivi_controller_send_error(
resource, id_object, IVI_CONTROLLER_OBJECT_TYPE_SURFACE,
IVI_CONTROLLER_ERROR_CODE_NATIVE_HANDLE_END, "");
}

3) Meanwhile, I like to understand what the
 above code does ??

   a) Is this api "ivi_shell_get_shell_surfaces" for ivi_shell, and not for the 
wl_shell.

Thanks,
Sathish
   

On Tuesday, 29 July 2014 6:11 AM, "Tanibata, Nobuhiko (ADITJ/SWG)" 
 wrote:

 

Hi,

You can try WAYLAND_DEBUG=1 with Weston and application to see its behavior 
with detail logs.
You can observe what happens on it. If you can provide basement of snapshot and 
sandbox of your modification, I can try.

BR,
Nobuhiko Tanibata

> -Original Message-
> From: IVI [mailto:ivi-boun...@lists.tizen.org] On Behalf Of karthik
> karthik
> Sent: Monday, July 28, 2014 8:18 PM
> To: ivi@lists.tizen.org
> Subject: RE: Questions on weston-ivi-shell
> 
> 
> 
> Hi,
> 
> Can you clarify a few things please..
> 
>I tried running the application again
> 
>  The error i m facing is not constant.
> 
>  Sometimes, i do get the HTML screen. That means it is creating a
> wl shell.
> 
>  So when i launch weston, 3 out of 10 i get html page. But for the
> other 7 times, i get a blank screen.
> 
>  So what i see is some instability..
> 
>  When i had tried to launch the screen without weston, there is no
> problem in the launch.
> 
> Thanks,
> Sathish
> 
> --
> On Mon 28 Jul, 2014 12:50 AM BST Tanibata, Nobuhiko (ADITJ/SWG) wrote:
> 
> >Hi,
> >
> >
> >
> >> there is a ivi_shell similar to desktop_shell that is used..
> >Yes. But it shall be discussed in Tizne IVI al well.
> >
> >
> >
> >> IVISurfaceCreator.
> >
> >Try it by hand. And please check if your application create wl_shell
> correctly.
> >
> >I think HTML5 framework only support xdg-shell.. So IVIsurfaceCreator
> can not find any wl_shell, I assume.
> >
> >
> >
> >BR,
> >
> >Nobuhiko Tanibata
> >
> >
> >
> >
> >
> >
> >
> >From: IVI [mailto:ivi-boun...@lists.tizen.org] On Behalf Of karthik
> karthik
> >Sent: Saturday, July 26, 2014 8:43 PM
> >To: ivi@lists.tizen.org
> >Subject: Re: Questions on weston-ivi-shell
> >
> >
> >
> >Hi,
> >
> >Thanks for the reply,
> >
> >I have a few doubts. Can you