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

Weston 1.9 crashes on touchscreen input

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • Chinook
    • Blowfish, Chinook
    • Graphics
    • Raspberry Pi 3 with 7" Pi DSI Display (latest master build, out of the box)
      R-Car Porter M2 with 7" Chalkboard Electronics 1280x800 touchscreen (after calibration)

      When I touch the edges of the screen, Weston crashes.

      Refer to https://www.mail-archive.com/wayland-devel@lists.freedesktop.org/msg29102.html - it notes that it was fixed in 1.10 and links to this commit which fixes it: https://cgit.freedesktop.org/wayland/weston/commit/src/input.c?id=2c40d1d30eabe46706822a8b5c94579aeba58e84

      My quick and dirty hack job of a fix was as follows:

      bitbake -c devshell weston
      

      Make the corresponding edits to src/input.c in function default_grab_touch_down

      Then

      bitbake -f -c compile weston
      bitbake agl-demo-platform
      

      followed by reloading the SD card image. Now I can touch the edges all I want and no crash

      I don't know what's the cleaner way to fix this, maybe the trick is to just use a newer version of Weston if that's easy enough?

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

            ntanibata Nobuhiko Tanibata
            fury Dennis Field
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: