Uploaded image for project: 'GENIVI Development Platform'
  1. GENIVI Development Platform
  2. GDP-149

Weston and HMI apps are not launched without input devices on Raspberry Pi

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: GDP-ivi9, GDP 11 beta
    • Fix Version/s: None
    • Component/s: None

      Description

      When I connect keybaord or no input on raspberrypi, HMI apps are not launched on RPI2.
      However, If I connect only mouse, then it works.

      Also If I change shell from ivi shell to desktop shell, then hmi apps are launched.

      root@raspberrypi2:~# /usr/bin/gdp-hmi-background
      Using Wayland-EGL
      create ioctl failure
      Aborted
      
      root@raspberrypi2:~# /usr/bin/gdp-hmi-panel
      Using Wayland-EGL
      libpng warning: iCCP: known incorrect sRGB profile
      libpng warning: iCCP: known incorrect sRGB profile
      create ioctl failure
      Aborted
      
      root@raspberrypi2:~# gdb /usr/bin/gdp-hmi-background (backtrace)
      #0  0x761f08c0 in raise () from /lib/libc.so.6
      #1  0x761f43a8 in abort () from /lib/libc.so.6
      #2  0x732198ac in ?? () from /usr/lib/dri/vc4_dri.so
      Backtrace stopped: previous frame identical to this frame (corrupt stack?)
      

        Attachments

          Issue Links

            Activity

            Hide
            zeenix Zeeshan Ali added a comment -

            AFAIK weston is known to not launch if there is no input devices. Please do correct me if I'm wrong though.

            Show
            zeenix Zeeshan Ali added a comment - AFAIK weston is known to not launch if there is no input devices. Please do correct me if I'm wrong though.
            Hide
            Leonanavi Leon Anavi added a comment -

            Hi,

            I noticed this issues and I reported it in GDP-525. I know how to fix it and I am working on the patch right now.

            Best regards,
            Leon

            Show
            Leonanavi Leon Anavi added a comment - Hi, I noticed this issues and I reported it in GDP-525 . I know how to fix it and I am working on the patch right now. Best regards, Leon
            Hide
            Leonanavi Leon Anavi added a comment -

            Hi,

            I have fixed the issue with a patch for the DRM backend of Weston 1.11. The Yocto/OE extension of the Weston recipe in meta-genivi-dev takes care of applying the patch: https://github.com/GENIVI/meta-genivi-dev/pull/50

            Best regards,
            Leon

            Show
            Leonanavi Leon Anavi added a comment - Hi, I have fixed the issue with a patch for the DRM backend of Weston 1.11. The Yocto/OE extension of the Weston recipe in meta-genivi-dev takes care of applying the patch: https://github.com/GENIVI/meta-genivi-dev/pull/50 Best regards, Leon
            Hide
            zeenix Zeeshan Ali added a comment -

            Wow that was fast Leon. Good work. BTW, isn't the title here wrong? "with keyboard" instead of "without keyboard"?

            Show
            zeenix Zeeshan Ali added a comment - Wow that was fast Leon. Good work. BTW, isn't the title here wrong? "with keyboard" instead of "without keyboard"?
            Hide
            Leonanavi Leon Anavi added a comment -

            Hi Zeeshan Ali,

            Yes, good catch the title was not accurate. I renamed it. Please give a minute to update my Github pull request with the right title.

            Best regards,
            Leon

            Show
            Leonanavi Leon Anavi added a comment - Hi Zeeshan Ali , Yes, good catch the title was not accurate. I renamed it. Please give a minute to update my Github pull request with the right title. Best regards, Leon

              People

              • Assignee:
                Leonanavi Leon Anavi
                Reporter:
                locust2001 Changhyeok Bae
              • Votes:
                0 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: