Closed mv0 closed 10 months ago
@mv0 I pulled your patches in to the vNext branch last Friday. I'm hitting a problem on hardware where the AGL compositor is complaining about surface not being an AGL surface. I'll collect some logs when I'm not in CES mode. I had to scrap running my demos on hardware due to this
Hey Joel, really sorry to hear that. Note that I'm trying to sync up with others as well so I'm on-line over IRC or Jira/email for handling this kind of cases. Please in the future just ping me over those channels.
I'd really like to help, wrt to patches, not really sure what patches are those. Do you mean #130? The ones that I've posted tday have been tested (the last 3 ones quite a bit) and some of them are in the AGL tree for some time (if not months?)
This sort of sounds like a configuration issue, as there's no AGL surface per se, the requirement being having at least an instance to handle the background surface. If you don't want to have that, we have some dummy client that draws a background image: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src/native-shell-client.git;a=tree;h=refs/heads/master;hb=refs/heads/master. In AGL that's handled directly by flutter-auto.
Think we've hijacked this thread but yeah let me know if I can help.
@mv0 This log is output with all of the AGL gerrit patches applied. Which this PR is one of. This is an upstream feature branch that will be merged to upstream main -> oss main -> oss agl. So technically these patches have already been manually merged, which makes these PRs obsolete.
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.035694] [D] Json Configuration: /usr/share/flutter/flutter-ics-homescreen.json
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.039069] [D] Bundle Path: /usr/share/flutter/gallery/3.16.5/release
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.039162] [D] Application ID: homescreen
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.040137] [D] View Count: 1
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.040210] [D] activation area x 0
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.040235] [D] activation area y 56
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.040256] [D] activation area width 1080
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.040277] [D] activation area height 1712
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.040328] [I] jw/registrar @ d8a21286
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.040357] [I] **********
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.040377] [I] * Global *
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.040395] [I] **********
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.040415] [I] Application Id: .......... homescreen
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.040440] [I] JSON Configuration: ...... /usr/share/flutter/flutter-ics-homescreen.json
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.040467] [I] Disable Cursor: .......... false
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.040491] [I] Debug Backend: ........... false
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.040513] [I] ********
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.040534] [I] * View *
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.040553] [I] ********
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.040574] [I] Bundle Path: .............. /usr/share/flutter/gallery/3.16.5/release
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.040596] [I] Window Type: .............. BG
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.040736] [I] Output Index: ............. 0
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.040790] [I] Size: ..................... 1080 x 1920
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.040818] [I] Fullscreen: ............... true
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.040853] [I] Accessibility Features: ... 0
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533504.280] -> wl_display@1.get_registry(new id wl_registry@2)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533509.423] wl_registry@2.global(1, "wl_compositor", 4)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.046531] [D] Wayland: wl_compositor version 4
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533509.622] -> wl_registry@2.bind(1, "wl_compositor", 3, new id [unknown]@3)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.046739] [D] Buffer Scale Enabled
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533509.805] -> wl_compositor@3.create_surface(new id wl_surface@4)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533509.882] wl_registry@2.global(2, "wl_subcompositor", 1)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.046965] [D] Wayland: wl_subcompositor version 1
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533510.037] -> wl_registry@2.bind(2, "wl_subcompositor", 1, new id [unknown]@5)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533510.226] wl_registry@2.global(3, "wp_viewporter", 1)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.047312] [D] Wayland: wp_viewporter version 1
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533510.379] wl_registry@2.global(4, "zxdg_output_manager_v1", 2)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.047447] [D] Wayland: zxdg_output_manager_v1 version 2
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533510.510] wl_registry@2.global(5, "wp_presentation", 1)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.047594] [D] Wayland: wp_presentation version 1
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533510.658] wl_registry@2.global(6, "zwp_relative_pointer_manager_v1", 1)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.047725] [D] Wayland: zwp_relative_pointer_manager_v1 version 1
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533510.788] wl_registry@2.global(7, "zwp_pointer_constraints_v1", 1)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.047870] [D] Wayland: zwp_pointer_constraints_v1 version 1
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533510.933] wl_registry@2.global(8, "zwp_input_timestamps_manager_v1", 1)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.047999] [D] Wayland: zwp_input_timestamps_manager_v1 version 1
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533511.062] wl_registry@2.global(9, "wl_data_device_manager", 3)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.048144] [D] Wayland: wl_data_device_manager version 3
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533511.207] wl_registry@2.global(10, "wl_shm", 1)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.048289] [D] Wayland: wl_shm version 1
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533511.355] -> wl_registry@2.bind(10, "wl_shm", 1, new id [unknown]@6)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533511.651] -> wl_shm@6.create_pool(new id wl_shm_pool@7, fd 5, 2304)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533512.854] -> wl_shm_pool@7.resize(5568)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533513.081] -> wl_shm_pool@7.resize(12096)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533513.269] -> wl_compositor@3.create_surface(new id wl_surface@8)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533513.350] wl_registry@2.global(11, "wl_drm", 2)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.050449] [D] Wayland: wl_drm version 2
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533513.531] wl_registry@2.global(12, "wl_seat", 7)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.050608] [D] Wayland: wl_seat version 7
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533513.674] -> wl_registry@2.bind(12, "wl_seat", 5, new id [unknown]@9)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533513.917] wl_registry@2.global(13, "zwp_linux_dmabuf_v1", 4)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.050992] [D] Wayland: zwp_linux_dmabuf_v1 version 4
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533514.060] wl_registry@2.global(14, "weston_direct_display_v1", 1)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.051146] [D] Wayland: weston_direct_display_v1 version 1
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533514.210] wl_registry@2.global(15, "weston_content_protection", 1)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.051276] [D] Wayland: weston_content_protection version 1
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533514.339] wl_registry@2.global(16, "xdg_wm_base", 3)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.051421] [D] Wayland: xdg_wm_base version 3
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533514.499] -> wl_registry@2.bind(16, "xdg_wm_base", 3, new id [unknown]@10)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533514.655] wl_registry@2.global(17, "wl_output", 4)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.051739] [D] Wayland: wl_output version 4
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533514.810] -> wl_registry@2.bind(17, "wl_output", 4, new id [unknown]@11)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.051941] [D] Wayland: Output [0]
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533515.054] wl_registry@2.global(18, "agl_shell", 10)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.065495] [D] Wayland: agl_shell version 10
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533528.590] -> wl_registry@2.bind(18, "agl_shell", 8, new id [unknown]@12)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.065723] [I] Wayland: agl_shell version: 10
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533528.791] wl_registry@2.global(19, "agl_shell_ext", 1)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.065882] [D] Wayland: agl_shell_ext version 1
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533528.948] wl_registry@2.global(20, "agl_shell_desktop", 2)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.066015] [D] Wayland: agl_shell_desktop version 2
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533529.079] wl_registry@2.global(21, "agl_screenshooter", 1)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.066163] [D] Wayland: agl_screenshooter version 1
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533535.585] wl_shm@6.format(0)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533535.696] wl_shm@6.format(1)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533535.748] wl_shm@6.format(909199186)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533535.801] wl_shm@6.format(842093913)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533535.852] wl_shm@6.format(842094158)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533535.910] wl_shm@6.format(1448695129)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533535.961] wl_shm@6.format(1448434008)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533536.011] wl_shm@6.format(808665665)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533536.079] wl_shm@6.format(808665688)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533536.131] wl_seat@9.capabilities(6)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.073143] [I] Keyboard Present
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533536.231] -> wl_seat@9.get_keyboard(new id wl_keyboard@13)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.073264] [I] Touch Present
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533536.329] -> wl_seat@9.get_touch(new id wl_touch@14)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533536.522] wl_seat@9.name("default")
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.073540] [D] Seat: default
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533536.607] wl_output@11.geometry(0, 0, 300, 170, 0, "GEC", "Onlap1303", 1)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.073830] [D] Physical width: 300 mm x 170 mm
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533536.895] wl_output@11.scale(1)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.073907] [D] Display Scale Factor: 1
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533536.970] wl_output@11.mode(3, 1920, 1080, 59718)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.074089] [D] Video mode: 1920 x 1080 @ 59.718 Hz
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533537.154] wl_output@11.mode(0, 1920, 1080, 60000)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.074254] [D] Video mode: 1920 x 1080 @ 60 Hz
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533537.318] wl_output@11.mode(0, 1920, 1080, 59940)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.074429] [D] Video mode: 1920 x 1080 @ 59.94 Hz
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533537.493] wl_output@11.mode(0, 1920, 1080, 59940)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.074604] [D] Video mode: 1920 x 1080 @ 59.94 Hz
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533537.669] wl_output@11.mode(0, 1920, 1080, 60000)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.074773] [D] Video mode: 1920 x 1080 @ 60 Hz
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533537.836] wl_output@11.mode(0, 1920, 1080, 60000)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.074941] [D] Video mode: 1920 x 1080 @ 60 Hz
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533538.004] wl_output@11.mode(0, 1920, 1080, 59940)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.075123] [D] Video mode: 1920 x 1080 @ 59.94 Hz
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533538.187] wl_output@11.mode(0, 1920, 1080, 50000)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.075294] [D] Video mode: 1920 x 1080 @ 50 Hz
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533538.359] wl_output@11.mode(0, 1920, 1080, 50000)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.075464] [D] Video mode: 1920 x 1080 @ 50 Hz
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533538.528] wl_output@11.mode(0, 1680, 1050, 59883)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.075642] [D] Video mode: 1680 x 1050 @ 59.883 Hz
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533538.706] wl_output@11.mode(0, 1280, 1024, 60020)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.075812] [D] Video mode: 1280 x 1024 @ 60.02 Hz
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533538.876] wl_output@11.mode(0, 1440, 900, 59901)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.075982] [D] Video mode: 1440 x 900 @ 59.901 Hz
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533539.048] wl_output@11.mode(0, 1280, 800, 59910)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.076154] [D] Video mode: 1280 x 800 @ 59.91 Hz
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533539.217] wl_output@11.mode(0, 1280, 720, 60000)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.076324] [D] Video mode: 1280 x 720 @ 60 Hz
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533539.394] wl_output@11.mode(0, 1280, 720, 60000)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.076542] [D] Video mode: 1280 x 720 @ 60 Hz
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533539.606] wl_output@11.mode(0, 1280, 720, 59940)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.076711] [D] Video mode: 1280 x 720 @ 59.94 Hz
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533539.775] wl_output@11.mode(0, 1280, 720, 50000)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.076881] [D] Video mode: 1280 x 720 @ 50 Hz
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533539.945] wl_output@11.mode(0, 1280, 720, 50000)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.077060] [D] Video mode: 1280 x 720 @ 50 Hz
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533540.124] wl_output@11.mode(0, 1024, 768, 60004)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.077230] [D] Video mode: 1024 x 768 @ 60.004 Hz
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533540.295] wl_output@11.mode(0, 800, 600, 60317)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.077453] [D] Video mode: 800 x 600 @ 60.317 Hz
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533540.521] wl_output@11.mode(0, 720, 576, 50000)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.077628] [D] Video mode: 720 x 576 @ 50 Hz
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533540.692] wl_output@11.mode(0, 720, 576, 50000)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.077810] [D] Video mode: 720 x 576 @ 50 Hz
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533540.876] wl_output@11.mode(0, 720, 480, 60000)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.077988] [D] Video mode: 720 x 480 @ 60 Hz
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533541.053] wl_output@11.mode(0, 720, 480, 59940)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.078151] [D] Video mode: 720 x 480 @ 59.94 Hz
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533541.215] wl_output@11.mode(0, 640, 480, 60000)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.078324] [D] Video mode: 640 x 480 @ 60 Hz
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533541.388] wl_output@11.mode(0, 640, 480, 59940)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.078491] [D] Video mode: 640 x 480 @ 59.94 Hz
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533541.555] wl_output@11.name("HDMI-A-1")
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533541.621] wl_output@11.description("Onlap1303")
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533541.673] wl_output@11.done()
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533541.708] agl_shell@12.bound_ok()
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.078706] [D] +App::App
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533541.890] -> wl_display@1.get_registry(new id wl_registry@15)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533541.982] -> wl_display@1.sync(new id wl_callback@16)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533555.518] wl_display@1.delete_id(16)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533555.607] wl_registry@15.global(1, "wl_compositor", 4)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533555.720] wl_registry@15.global(2, "wl_subcompositor", 1)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533555.856] wl_registry@15.global(3, "wp_viewporter", 1)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533555.963] wl_registry@15.global(4, "zxdg_output_manager_v1", 2)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533556.070] wl_registry@15.global(5, "wp_presentation", 1)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533556.198] wl_registry@15.global(6, "zwp_relative_pointer_manager_v1", 1)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533556.306] wl_registry@15.global(7, "zwp_pointer_constraints_v1", 1)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533556.504] wl_registry@15.global(8, "zwp_input_timestamps_manager_v1", 1)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533556.612] wl_registry@15.global(9, "wl_data_device_manager", 3)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533556.736] wl_registry@15.global(10, "wl_shm", 1)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533556.844] wl_registry@15.global(11, "wl_drm", 2)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533556.960] wl_registry@15.global(12, "wl_seat", 7)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533557.077] wl_registry@15.global(13, "zwp_linux_dmabuf_v1", 4)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533557.192] -> wl_registry@15.bind(13, "zwp_linux_dmabuf_v1", 4, new id [unknown]@17)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533557.366] wl_registry@15.global(14, "weston_direct_display_v1", 1)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533557.484] wl_registry@15.global(15, "weston_content_protection", 1)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533557.612] wl_registry@15.global(16, "xdg_wm_base", 3)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533557.720] wl_registry@15.global(17, "wl_output", 4)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533557.847] wl_registry@15.global(18, "agl_shell", 10)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533557.955] wl_registry@15.global(19, "agl_shell_ext", 1)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533558.080] wl_registry@15.global(20, "agl_shell_desktop", 2)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533558.189] wl_registry@15.global(21, "agl_screenshooter", 1)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533558.308] wl_callback@16.done(1)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533558.377] -> zwp_linux_dmabuf_v1@17.get_default_feedback(new id zwp_linux_dmabuf_feedback_v1@16)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533558.452] -> wl_display@1.sync(new id wl_callback@18)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533564.897] wl_display@1.delete_id(18)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533564.984] zwp_linux_dmabuf_feedback_v1@16.format_table(fd 8, 1808)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533565.116] zwp_linux_dmabuf_feedback_v1@16.main_device(array[8])
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533573.412] zwp_linux_dmabuf_feedback_v1@16.tranche_target_device(array[8])
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533573.513] zwp_linux_dmabuf_feedback_v1@16.tranche_flags(0)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533573.573] zwp_linux_dmabuf_feedback_v1@16.tranche_formats(array[226])
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533573.795] zwp_linux_dmabuf_feedback_v1@16.tranche_done()
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533573.843] zwp_linux_dmabuf_feedback_v1@16.done()
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533573.878] wl_callback@18.done(1)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533573.937] -> zwp_linux_dmabuf_feedback_v1@16.destroy()
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533574.052] -> wl_registry@15.bind(11, "wl_drm", 2, new id [unknown]@18)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533574.231] -> wl_display@1.sync(new id wl_callback@19)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533584.508] wl_display@1.delete_id(16)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533584.622] wl_display@1.delete_id(19)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533584.677] wl_drm@18.device("/dev/dri/card1")
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533585.043] -> wl_drm@18.authenticate(1)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533585.125] wl_drm@18.format(808665665)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533585.182] wl_drm@18.format(808665688)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533585.233] wl_drm@18.format(875713089)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533585.283] wl_drm@18.format(875713112)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533585.351] wl_drm@18.format(909199186)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533585.402] wl_drm@18.format(961959257)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533585.454] wl_drm@18.format(825316697)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533585.506] wl_drm@18.format(842093913)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533585.559] wl_drm@18.format(909202777)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533585.617] wl_drm@18.format(875713881)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533585.668] wl_drm@18.format(842094158)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533585.721] wl_drm@18.format(909203022)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533585.770] wl_drm@18.format(1448695129)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533585.822] wl_drm@18.capabilities(1)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533585.873] wl_callback@19.done(1)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533585.948] -> wl_display@1.sync(new id wl_callback@19)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533590.468] wl_display@1.delete_id(19)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533590.556] wl_drm@18.authenticated()
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533590.595] wl_callback@19.done(1)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.241429] [D] EGL 1.4
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.242128] [D] EGL has 48 configs
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.242767] [D] Buffer size for config 0 is 32
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.252847] [D] EGL_KHR_debug Not Found
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.257501] [D] EGL_EXT_swap_buffers_with_damage found
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.258355] [D] EGL_KHR_partial_update Not Found
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.258790] [D] EGL_EXT_buffer_age found
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.259185] [D] EGL Version: 1.4
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.259571] [D] EGL Vendor: Mesa Project
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.259957] [D] EGL Extensions: EGL_ANDROID_blob_cache EGL_EXT_buffer_age EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_EXT_present_opaque EGL_EXT_swap_buffers_with_damage EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image_base EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_KHR_swap_buffers_with_damage EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_WL_bind_wayland_display EGL_WL_create_wayland_buffer_from_image
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.260853] [D] GL Vendor: Broadcom
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.260921] [D] GL Renderer: V3D 4.2
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.260951] [D] GL Version: OpenGL ES 3.1 Mesa 22.0.3
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.260978] [D] GL Shading Language Version: OpenGL ES GLSL ES 3.10
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.261260] [D] GL Extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_format_BGRA8888 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_float GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_draw_instanced GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_OES_depth_texture GL_AMD_performance_monitor GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_texture_compression_astc_ldr GL_NV_pixel_buffer_object GL_OES_depth_texture_cube_map GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix GL_EXT_base_instance GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_draw_elements_base_vertex GL_EXT_primitive_bounding_box GL_EXT_shader_io_blocks GL_EXT_texture_border_clamp GL_EXT_texture_view GL_KHR_context_flush_control GL_NV_image_formats GL_OES_draw_elements_base_vertex GL_OES_primitive_bounding_box GL_OES_shader_io_blocks GL_OES_texture_border_clamp GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_texture_view GL_EXT_buffer_storage GL_EXT_float_blend GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_OES_EGL_image_external_essl3 GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_shader_image_atomic GL_EXT_texture_compression_s3tc_srgb GL_MESA_shader_integer_functions GL_EXT_texture_mirror_clamp_to_edge GL_KHR_parallel_shader_compile GL_EXT_EGL_image_storage GL_MESA_framebuffer_flip_y GL_EXT_texture_query_lod GL_MESA_bgra
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.261385] [D] EGL_RENDERABLE_TYPE: 0x4d
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.261413] [D] EGL_RED_SIZE: 8
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.261435] [D] EGL_GREEN_SIZE: 8
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.261456] [D] EGL_BLUE_SIZE: 8
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.261477] [D] EGL_ALPHA_SIZE: 8
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.261499] [D] EGL_DEPTH_SIZE: 24
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.261520] [D] EGL_STENCIL_SIZE: 8
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.261545] [D] EGL_BUFFER_SIZE: 32
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.261566] [D] EGL_SAMPLES: 4
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.261679] [D] Width: 1080, Height: 1920
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533724.762] -> wl_compositor@3.create_surface(new id wl_surface@19)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533724.863] -> wl_surface@19.frame(new id wl_callback@16)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533724.932] -> wl_surface@19.commit()
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533724.970] -> agl_shell@12.set_background(wl_surface@19, wl_output@11)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.262017] [D] Using custom rectangle [1080x1712+0x56] for activation
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533725.082] -> agl_shell@12.set_activate_region(wl_output@11, 0, 56, 1080, 1712)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533725.315] -> zwp_linux_dmabuf_v1@17.get_surface_feedback(new id zwp_linux_dmabuf_feedback_v1@20, wl_surface@19)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533725.444] -> wl_display@1.sync(new id wl_callback@21)
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [2533726.271] wl_display@1.error(agl_shell@12, 0, "surface must be a desktop surface")
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: agl_shell@12: error 0: surface must be a desktop surface
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.613894] [D] (0) PersistentCachePath: /home/agl-driver/.homescreen
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.614274] [D] Platform Task Runner, thread_id=0x7fa3ffefe0
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.641437] [D] (0) libflutter_engine.so: /usr/share/flutter/gallery/3.16.5/release/lib/libflutter_engine.so
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.839224] [D] (0) flutter_assets: /usr/share/flutter/gallery/3.16.5/release/data/flutter_assets
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.841209] [D] (0) icudtl.dat: /usr/share/flutter/gallery/3.16.5/release/data/icudtl.dat
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.841546] [I] (0) Loading AOT: /usr/share/flutter/gallery/3.16.5/release/lib/libapp.so
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.943692] [D] dlopen: libGLESv2.so.2
Dec 19 07:33:36 raspberrypi4-64 homescreen[456]: [07:33:36.943949] [D] dlopen: libEGL.so.1
Dec 19 07:33:37 raspberrypi4-64 homescreen[456]: [07:33:37.047588] [D] (0) Engine::m_running = true
Dec 19 07:33:37 raspberrypi4-64 homescreen[456]: [07:33:37.050317] [D] (0) SetWindowSize: width=1080, height=1920, pixel_ratio=1
Dec 19 07:33:37 raspberrypi4-64 homescreen[456]: [07:33:37.050397] [D] (0) Engine running...
Dec 19 07:33:37 raspberrypi4-64 homescreen[456]: [07:33:37.050439] [D] -App::App
Dec 19 07:33:38 raspberrypi4-64 homescreen[456]: [07:33:38.104223] [D] selectSingleEntryHistory
Dec 19 07:33:38 raspberrypi4-64 homescreen[456]: [07:33:38.109076] [I] [go_router] Route Information Updated
Dec 19 07:33:38 raspberrypi4-64 homescreen[456]: uri: /
Dec 19 07:33:38 raspberrypi4-64 homescreen[456]: replace: false
If this log isn't useful for triage I can provide a beta source drop via email.
I would also add that I am using the base frame callback, and not disabling it as currently required for NXP.
Right, thanks for the wayland log.
What I see from that log is that there's surface being created, but it's not being assign a xdg-shell top-level role like explained here https://wayland.app/protocols/xdg-shell#xdg_surface
For that to work the bit from here https://github.com/toyota-connected/ivi-homescreen/blob/main/shell/wayland/window.cc#L75-L90 must be ran, which for some reason it doesn't appear to happen. It seems to me that there more changes happening rather than ones I've posted here.
None of the patches I've added over github do influence that, and it seems to me you're talking rather about the AGL compositor patches over gerrit (which at this point all of them have been merged). Is that so?
Can this issue be "fixed" by removing any of these patches like dropping those over gerrit? Also would be quite helpful to point what patches exactly are those...
Wrt to the frame callback we're using up^2, rcar and rpis, not i.MXs.
@mv0 It was a recipe configuration issue. I had all of the the package config values set. I have resolved this by adding CMake logic to prevent this in the future. So if AGL shell is selected it will enable XDG, and if both AGL and IVI shell are enabled, it will disable IVI shell.
I have all of the patches integrated here short of the first one: https://gerrit.automotivelinux.org/gerrit/gitweb?p=AGL/meta-agl-devel.git;a=tree;f=meta-agl-flutter/recipes-graphics/toyota/files;h=659d824161b2a9ad0e1d7ba45df0c157369cac8b;hb=HEAD
Great, thanks for the follow-up Joel!
I take it I can close all the MRs I've opened, as you'll incorporate thesm when updating the agl branch? Not super familiar how you plan on updating the branches.
@mv0 Yes you can close them.
Flow is: (internal woven alpha repo main -> oss main -> oss agl
This feature set I'm working on is pretty big, so it's unique. The big change is around third party plugins, and the support for generic plugins. My window for new features closes the end of February. So this pending release may not show up to OSS until then.
Closing as per Joel's comment: #135
Depends on previous changes, https://github.com/toyota-connected/ivi-homescreen/pull/134 respectively, https://github.com/toyota-connected/ivi-homescreen/pull/130.
This patch series adds support window_activation_area to also include width and height values when defining an activation area. With it this also removes the implicit swap for different an 90 degree output transformation.