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

Initially receive dimensions in xdg_toplevel@configure from wrong output

XMLWordPrintable

      This issue found when using agl-compositor from https://gerrit.automotivelinux.org/gerrit/c/src/agl-compositor/+/27905/2 to test SPEC-4520.

      1. Flash agl-demo-platfrom on AGL Reference Hardware.

      2. Enable two outputs one in landscape and another in portrait "/etc/xdg/weston/weston.ini":

      [output]
      name=HDMI-A-1
      
      [output]
      name=HDMI-A-2
      transform=270
      

      3. Configure homescreen to run on HDMI-A-1, "/etc/default/homescreen":

      HOMESCREEN_START_SCREEN=HDMI-A-1
      

      4. Reboot system.

      5. Run weston-simple-egl.

      Problem: dimensions of rotated display are still sent first

      # WAYLAND_DEBUG=1 opsy-weston-simple-egl 2>&1 | grep configure
      [3413620.661] xdg_toplevel@14.configure(1080, 1920, array)
      [3413620.688] xdg_surface@13.configure(17)
      [3413620.699]  -> xdg_surface@13.ack_configure(17)
      [3413663.634] xdg_toplevel@14.configure(1920, 648, array)
      [3413663.659] xdg_surface@13.configure(18)
      [3413663.670]  -> xdg_surface@13.ack_configure(18)
      

      At the end, weston-simple-egl is displayed propertly.

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

            mvlad Marius Vlad
            opsyvvavrychuk Vasyl Vavrychuk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: