Uploaded image for project: ' AGL Development'
  1. AGL Development
  2. SPEC-333

HomeScreen doesn't show up

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • Chinook
    • Chinook
    • Graphics
    • None

      This is the way to reproduce this issue.
      Setting up:

      • Patch qtwayland
        1. Get patch to control visibility via wayland-ivi-extension
          https://codereview.qt-project.org/176211 (attached this ticket)
        2. Add it into meta-agl-demo
          diff --git a/recipes-qt/qt5/qtwayland_%.bbappend b/recipes-qt/qt5/qtwayland_%.bbappend
          index ed9e374..bde7949 100644
          --- a/recipes-qt/qt5/qtwayland_%.bbappend
          +++ b/recipes-qt/qt5/qtwayland_%.bbappend
          @@ -22,6 +22,7 @@ FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"
           
           SRC_URI_append = "\
               file://0010-Added-manifest-file-according-to-smack-3-domain-mode.patch \
          +    file://0002-qwaylandwindow-add-support-for-IVI-Surface-ID-proper.patch \
               "
           SRC_URI_append_checkforkrogoth = "\
               file://disable_xcomposite_egl_qt_wayland_client_buffer_integration.patch \
          
      • Create weston.ini adapting ivi-shell
        [core]
        shell=ivi-shell.so
        
        [ivi-shell]
        ivi-module=ivi-controller.so
        
        [output]
        name=HDMI-A-1
        transform=270
        
      • Prepare shell script to launch HomeScreen
        #!/bin/sh
        cd /usr/AGL/HomeScreen
        ./WindowManager &
        ./InputEventManager &
        ./HomeScreenAppFrameworkBinderAGL &
        QT_IVI_SURFACE_ID=1000 QT_WAYLAND_SHELL_INTEGRATION="ivi-shell" ./HomeScreen&
        
      • Configure local.conf to install HomeScreen
        + IMAGE_INSTALL_append = " HomeScreen"
        
      • Prepare sample QML application
        1. IoT.bzh's template of QML application is available to reproduce this issue
          https://github.com/iotbzh/app-framework-templates
          $ git clone https://github.com/iotbzh/app-framework-templates
          $ cd ~/app-framework-templates/templates/qml
          $ mkdir build; cd build
          $ cmake ..
          $ make
          

          This produced a “xxxxxx-qml.wgt” package.

      Instructions to reproduce this isse:

      1. Create new rootfs image of agl-demo-platform for porter
      2. Boot porter with it
      3. Replace weston.ini at /etc/xdg/weston/
      4. Restart weston (then you can see blank screen)
        root@porter:~# systemctl restart weston
        

        The screen would be changed to blank.

      5. Launch HomeScreen once here and check HomeScreen picture to show up
      6. Install sample qml application on porter
        root@porter:~# afm-util install xxxxxx-qml.wgt
        { "added": "xxxxxx-qml@0.1" }
        
      7. Reboot porter (to restart HomeScreen, WindowManager)
      8. Launch HomeScreen again then you would see nothing changes from blank screen.
      9. (Optional) Update render order of surface manually then HomeScreen show up again.
        root@porter:~# LayerManagerControl set layer 103 render order 1000
        

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            jbocklage Jens Bocklage
            ruke47 Tadao Tanikawa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: