cog icon indicating copy to clipboard operation
cog copied to clipboard

xdg_surface geometry is larger than the configured fullscreen state (dmabuf)

Open jameshilliard opened this issue 2 years ago • 4 comments

This error appears to be nearly identical to #419(which was fixed by #421) except that it happens when using dmabuf instead of shm buffer codepaths. It appears that [email protected]_immed(new id wl_buffer@16, 1024, 768, 875713089, 0) is called with the default width and height instead of the required full-screen width and height.

I'm seeing this error in 0.12.4 through master and the issue only happen under some configured screen sizes(when either the width or height of the default window exceed the fullscreen size):

Started WPE launcher and webapp container.
ensure_extension_points: Extension points registered.
cog_modules_add_directory: Scanning '/usr/lib/cog/modules'
com.igalia.Cog.Platform:
  wl - 500/CogWlPlatform
  headless - 100/CogHeadlessPlatform
_g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
platform_setup: Platform name: wl
[1951555.670]  -> [email protected]_registry(new id wl_registry@2)
[1951555.683]  -> [email protected](new id wl_callback@3)
[1951555.744] [email protected]_id(3)
[1951555.750] [email protected](1, "wl_compositor", 4)
[1951555.760] [email protected](2, "wl_subcompositor", 1)
[1951555.770] [email protected](3, "wp_viewporter", 1)
[1951555.780] [email protected](4, "zxdg_output_manager_v1", 2)
[1951555.791] [email protected](5, "wp_presentation", 1)
[1951555.801] [email protected](6, "zwp_relative_pointer_manager_v1", 1)
[1951555.811] [email protected](7, "zwp_pointer_constraints_v1", 1)
[1951555.824] [email protected](8, "zwp_input_timestamps_manager_v1", 1)
[1951555.834] [email protected](9, "wl_data_device_manager", 3)
[1951555.843] [email protected](10, "wl_shm", 1)
[1951555.853] [email protected](11, "weston_touch_calibration", 1)
[1951555.863] [email protected](12, "wl_drm", 2)
[1951555.874] [email protected](13, "wl_seat", 7)
[1951555.884] [email protected](14, "zwp_linux_dmabuf_v1", 4)
[1951555.893] [email protected](15, "weston_direct_display_v1", 1)
[1951555.903] [email protected](16, "zwp_linux_explicit_synchronization_v1", 2)
[1951555.912] [email protected](17, "weston_content_protection", 1)
[1951555.922] [email protected](18, "wl_output", 3)
[1951555.932] [email protected](19, "xdg_wm_base", 3)
[1951555.942] [email protected](20, "weston_screenshooter", 1)
[1951555.951] [email protected](2)
[1951556.054]  -> [email protected]_registry(new id wl_registry@2)
Initializing Wayland...
[1951556.063]  -> [email protected](new id wl_callback@3)
[1951556.136] [email protected]_id(3)
[1951556.144] [email protected](1, "wl_compositor", 4)
[1951556.155]  -> [email protected](1, "wl_compositor", 3, new id [unknown]@4)
[1951556.177] [email protected](2, "wl_subcompositor", 1)
[1951556.188]  -> [email protected](2, "wl_subcompositor", 1, new id [unknown]@5)
[1951556.206] [email protected](3, "wp_viewporter", 1)
[1951556.220] [email protected](4, "zxdg_output_manager_v1", 2)
[1951556.233] [email protected](5, "wp_presentation", 1)
[1951556.243]  -> [email protected](5, "wp_presentation", 1, new id [unknown]@6)
[1951556.260] [email protected](6, "zwp_relative_pointer_manager_v1", 1)
[1951556.273] [email protected](7, "zwp_pointer_constraints_v1", 1)
[1951556.286] [email protected](8, "zwp_input_timestamps_manager_v1", 1)
[1951556.299] [email protected](9, "wl_data_device_manager", 3)
[1951556.313] [email protected](10, "wl_shm", 1)
Using 'wl_compositor' interface obtained from the Wayland registry.
[1951556.324]  -> [email protected](10, "wl_shm", 1, new id [unknown]@7)
[1951556.340] [email protected](11, "weston_touch_calibration", 1)
[1951556.353] [email protected](12, "wl_drm", 2)
[1951556.366] [email protected](13, "wl_seat", 7)
[1951556.375]  -> [email protected](13, "wl_seat", 7, new id [unknown]@8)
[1951556.392] [email protected](14, "zwp_linux_dmabuf_v1", 4)
[1951556.401]  -> [email protected](14, "zwp_linux_dmabuf_v1", 3, new id [unknown]@9)
[1951556.418] [email protected](15, "weston_direct_display_v1", 1)
[1951556.429]  -> [email protected](15, "weston_direct_display_v1", 1, new id [unknown]@10)
[1951556.445] [email protected](16, "zwp_linux_explicit_synchronization_v1", 2)
[1951556.458] [email protected](17, "weston_content_protection", 1)
[1951556.471] [email protected](18, "wl_output", 3)
[1951556.481]  -> [email protected](18, "wl_output", 2, new id [unknown]@11)
[1951556.497] [email protected](19, "xdg_wm_base", 3)
[1951556.508]  -> [email protected](19, "xdg_wm_base", 1, new id [unknown]@12)
[1951556.524] [email protected](20, "weston_screenshooter", 1)
[1951556.537] [email protected](2)
[1951556.560]  -> [email protected]_registry(new id wl_registry@3)
[1951556.567]  -> [email protected](new id wl_callback@13)
Using 'wl_subcompositor' interface obtained from the Wayland registry.
[1951556.738] [email protected]_id(13)
[1951556.744] [email protected](1, "wl_compositor", 4)
[1951556.753] [email protected](2, "wl_subcompositor", 1)
[1951556.764] [email protected](3, "wp_viewporter", 1)
[1951556.773] [email protected](4, "zxdg_output_manager_v1", 2)
[1951556.782] [email protected](5, "wp_presentation", 1)
[1951556.792] [email protected](6, "zwp_relative_pointer_manager_v1", 1)
[1951556.801] [email protected](7, "zwp_pointer_constraints_v1", 1)
[1951556.810] [email protected](8, "zwp_input_timestamps_manager_v1", 1)
[1951556.831] [email protected](9, "wl_data_device_manager", 3)
[1951556.841] [email protected](10, "wl_shm", 1)
[1951556.850] [email protected](11, "weston_touch_calibration", 1)
[1951556.859] [email protected](12, "wl_drm", 2)
[1951556.869] [email protected](13, "wl_seat", 7)
[1951556.879] [email protected](14, "zwp_linux_dmabuf_v1", 4)
[1951556.888]  -> [email protected](14, "zwp_linux_dmabuf_v1", 4, new id [unknown]@14)
[1951556.902] [email protected](15, "weston_direct_display_v1", 1)
[1951556.912] [email protected](16, "zwp_linux_explicit_synchronization_v1", 2)
[1951556.921] [email protected](17, "weston_content_protection", 1)
[1951556.931] [email protected](18, "wl_output", 3)
[1951556.940] [email protected](19, "xdg_wm_base", 3)
[1951556.950] [email protected](20, "weston_screenshooter", 1)
[1951556.959] [email protected](2)
[1951556.964]  -> [email protected]_default_feedback(new id zwp_linux_dmabuf_feedback_v1@13)
[1951556.971]  -> [email protected](new id wl_callback@15)
[1951557.066] [email protected]_id(15)
[1951557.075] [email protected]_table(fd 9, 2672)
[1951557.087] [email protected]_device(array[8])
Ignoring 'wp_viewporter' interface obtained from the Wayland registry.
[1951557.347] [email protected]_target_device(array[8])
[1951557.353] [email protected]_flags(0)
[1951557.357] [email protected]_formats(array[334])
[1951557.365] [email protected]_done()
[1951557.369] [email protected]()
[1951557.372] [email protected](2)
[1951557.377]  -> [email protected]()
Ignoring 'zxdg_output_manager_v1' interface obtained from the Wayland registry.
Using 'wp_presentation' interface obtained from the Wayland registry.
Ignoring 'zwp_relative_pointer_manager_v1' interface obtained from the Wayland registry.
Ignoring 'zwp_pointer_constraints_v1' interface obtained from the Wayland registry.
Ignoring 'zwp_input_timestamps_manager_v1' interface obtained from the Wayland registry.
Ignoring 'wl_data_device_manager' interface obtained from the Wayland registry.
Using 'wl_shm' interface obtained from the Wayland registry.
Ignoring 'weston_touch_calibration' interface obtained from the Wayland registry.
Ignoring 'wl_drm' interface obtained from the Wayland registry.
Using 'wl_seat' interface obtained from the Wayland registry.
Using 'zwp_linux_dmabuf_v1' interface obtained from the Wayland registry.
Using 'weston_direct_display_v1' interface obtained from the Wayland registry.
Ignoring 'zwp_linux_explicit_synchronization_v1' interface obtained from the Wayland registry.
Ignoring 'weston_content_protection' interface obtained from the Wayland registry.
Using 'wl_output' interface obtained from the Wayland registry.
Using 'xdg_wm_base' interface obtained from the Wayland registry.
Ignoring 'weston_screenshooter' interface obtained from the Wayland registry.
Initializing EGL...
EGL version 1.5 initialized.
[1951566.539]  -> [email protected]_surface(new id wl_surface@15)
[1951566.549]  -> [email protected]_xdg_surface(new id xdg_surface@16, wl_surface@15)
[1951566.557]  -> [email protected]_toplevel(new id xdg_toplevel@17)
[1951566.563]  -> [email protected]_title("Cog")
[1951566.568]  -> [email protected]_app_id("com.igalia.Cog")
[1951566.573]  -> [email protected]()
[1951566.578]  -> [email protected]_fullscreen(nil)
xkbcommon: ERROR: couldn't find a Compose file for locale "C" (mapped to "C")
Creating Wayland surface...
gamepad setup: none
platform_setup: Selected CogWlPlatform @ 0x557964dfcd00
Your application does not implement g_application_activate() and has no handlers connected to the 'activate' signal.  It should do one of these.
Enumerating seat capabilities:
[1951568.067] [email protected](6)
[1951568.081]  -> [email protected]_keyboard(new id wl_keyboard@18)
[1951568.091]  -> [email protected]_touch(new id wl_touch@19)
[1951568.103] [email protected]("default")
[1951568.125] [email protected](0, 0, 0, 0, 0, "TSB", "Toshiba-H2C", 0)
[1951568.148] [email protected](1)
[1951568.157] [email protected](3, 1280, 720, 60000)
  - Keyboard
[1951568.177] [email protected](0, 1920, 1080, 50000)
[1951568.189] [email protected](0, 1920, 1080, 30000)
[1951568.201] [email protected](0, 1920, 1080, 25000)
[1951568.213] [email protected](0, 1920, 1080, 24000)
[1951568.225] [email protected](0, 1280, 1024, 75025)
[1951568.237] [email protected](0, 1440, 900, 59871)
[1951568.249] [email protected](0, 1280, 720, 60000)
[1951568.261] [email protected](0, 1280, 720, 59940)
[1951568.273] [email protected](0, 1280, 720, 50000)
[1951568.285] [email protected](0, 1280, 720, 30000)
[1951568.297] [email protected](0, 1280, 720, 25000)
[1951568.308] [email protected](0, 1280, 720, 24000)
[1951568.320] [email protected](0, 1024, 768, 70069)
[1951568.332] [email protected](0, 1024, 768, 60004)
[1951568.345] [email protected](0, 800, 600, 75000)
[1951568.358] [email protected](0, 800, 600, 72188)
  - Touch
[1951568.371] [email protected](0, 800, 600, 60317)
[1951568.383] [email protected](0, 800, 600, 56250)
[1951568.395] [email protected](0, 720, 576, 50000)
[1951568.406] [email protected](0, 720, 576, 50000)
[1951568.418] [email protected](0, 720, 480, 60000)
[1951568.429] [email protected](0, 720, 480, 60000)
[1951568.441] [email protected](0, 720, 480, 59940)
[1951568.452] [email protected](0, 720, 480, 59940)
[1951568.464] [email protected](0, 720, 480, 59940)
[1951568.476] [email protected](0, 720, 480, 59940)
[1951568.487] [email protected](0, 640, 480, 75000)
[1951568.499] [email protected](0, 640, 480, 72809)
[1951568.510] [email protected](0, 640, 480, 66667)
[1951568.522] [email protected](0, 640, 480, 60000)
[1951568.534] [email protected](0, 640, 480, 59940)
[1951568.546] [email protected](0, 640, 480, 59940)
[1951568.557] [email protected]()
Done enumerating seat capabilities.
[1951568.957] [email protected]_id(13)
[1951568.964] [email protected]_info(40, 400)
[1951568.971] [email protected](1, fd 27, 63970)
Seat name: 'default'
Got scale factor 1 for output 0x557964e14930

Output 0x557964e14930 is 1280x720 @ 60.00Hz
[1951571.614] [email protected](1280, 720, array[4])
[1951571.679] [email protected](3)
[1951571.685]  -> [email protected]_configure(3)
Configuring new size: 1280x720
New XDG toplevel configuration: (1280, 720)
Resized EGL buffer to: (1280, 720) @1x

Failed to initialize portal (GNetworkMonitorPortal) for gio-network-monitor: Not using portals
_g_io_module_get_default: Found default implementation networkmanager (GNetworkMonitorNM) for ‘gio-network-monitor’
_g_io_module_get_default: Found default implementation local (GLocalVfs) for ‘gio-vfs’
[1951590.955]  -> [email protected]_registry(new id wl_registry@2)
[1951590.985]  -> [email protected](new id wl_callback@3)
[1951591.010] [email protected]_registry(new id wl_registry@2)
[1951591.021]  -> [email protected](1, "wl_compositor", 3)
[1951591.032]  -> [email protected](2, "wpe_bridge", 1)
[1951591.043]  -> [email protected](3, "wpe_dmabuf_pool_manager", 1)
[1951591.052]  -> [email protected](4, "wl_shm", 1)
[1951591.062]  -> [email protected](5, "wl_drm", 2)
[1951591.071]  -> [email protected](6, "zwp_linux_dmabuf_v1", 3)
[1951591.081]  -> [email protected](7, "wpe_video_plane_display_dmabuf", 1)
[1951591.090] [email protected](new id wl_callback@3)
[1951591.096]  -> [email protected](0)
[1951591.101]  -> [email protected]_id(3)
[1951591.118] [email protected]_id(3)
[1951591.124] [email protected](1, "wl_compositor", 3)
[1951591.134] [email protected](2, "wpe_bridge", 1)
[1951591.145]  -> [email protected](2, "wpe_bridge", 1, new id [unknown]@4)
[1951591.158] [email protected](3, "wpe_dmabuf_pool_manager", 1)
[1951591.167] [email protected](4, "wl_shm", 1)
[1951591.176] [email protected](5, "wl_drm", 2)
[1951591.187] [email protected](6, "zwp_linux_dmabuf_v1", 3)
[1951591.198] [email protected](7, "wpe_video_plane_display_dmabuf", 1)
[1951591.207] [email protected](0)
[1951591.212]  -> [email protected]()
[1951591.216]  -> [email protected](new id wl_callback@3)
[1951591.231] [email protected](2, "wpe_bridge", 1, new id [unknown]@4)
[1951591.245] [email protected]()
[1951591.249]  -> [email protected]_info(0)
[1951591.253] [email protected](new id wl_callback@3)
[1951591.259]  -> [email protected](0)
[1951591.263]  -> [email protected]_id(3)
[1951591.276] [email protected]_id(3)
[1951591.281] [email protected]_info(0)
[1951591.285] [email protected](0)
[1951591.350]  -> [email protected]_registry(new id wl_registry@3)
[1951591.356]  -> [email protected](new id wl_callback@5)
[1951591.371] [email protected]_registry(new id wl_registry@3)
[1951591.378]  -> [email protected](1, "wl_compositor", 3)
[1951591.388]  -> [email protected](2, "wpe_bridge", 1)
[1951591.409]  -> [email protected](3, "wpe_dmabuf_pool_manager", 1)
[1951591.419]  -> [email protected](4, "wl_shm", 1)
[1951591.429]  -> [email protected](5, "wl_drm", 2)
[1951591.439]  -> [email protected](6, "zwp_linux_dmabuf_v1", 3)
[1951591.448]  -> [email protected](7, "wpe_video_plane_display_dmabuf", 1)
[1951591.457] [email protected](new id wl_callback@5)
[1951591.463]  -> [email protected](0)
[1951591.467]  -> [email protected]_id(5)
[1951591.480] [email protected]_id(5)
[1951591.485] [email protected](1, "wl_compositor", 3)
[1951591.494] [email protected](2, "wpe_bridge", 1)
[1951591.504] [email protected](3, "wpe_dmabuf_pool_manager", 1)
[1951591.512] [email protected](4, "wl_shm", 1)
[1951591.522] [email protected](5, "wl_drm", 2)
[1951591.531] [email protected](6, "zwp_linux_dmabuf_v1", 3)
[1951591.540]  -> [email protected](6, "zwp_linux_dmabuf_v1", 3, new id [unknown]@6)
[1951591.553] [email protected](7, "wpe_video_plane_display_dmabuf", 1)
[1951591.562] [email protected](0)
[1951591.567]  -> [email protected](new id wl_callback@5)
[1951591.580] [email protected](6, "zwp_linux_dmabuf_v1", 3, new id [unknown]@6)
[1951591.604]  -> [email protected](1211384385, 0, 0)
[1951591.614]  -> [email protected](1211384385, 16777216, 1)
[1951591.624]  -> [email protected](1211384385, 16777216, 2)
[1951591.633]  -> [email protected](1211384385, 16777216, 4)
[1951591.642]  -> [email protected](1211384408, 0, 0)
[1951591.652]  -> [email protected](1211384408, 16777216, 1)
[1951591.661]  -> [email protected](1211384408, 16777216, 2)
[1951591.670]  -> [email protected](1211384408, 16777216, 4)
[1951591.680]  -> [email protected](808669761, 0, 0)
[1951591.688]  -> [email protected](808669761, 16777216, 1)
[1951591.698]  -> [email protected](808669761, 16777216, 2)
[1951591.707]  -> [email protected](808669784, 0, 0)
[1951591.716]  -> [email protected](808669784, 16777216, 1)
[1951591.725]  -> [email protected](808669784, 16777216, 2)
[1951591.735]  -> [email protected](808665665, 0, 0)
[1951591.744]  -> [email protected](808665665, 16777216, 1)
[1951591.752]  -> [email protected](808665665, 16777216, 2)
[1951591.765]  -> [email protected](875713089, 0, 0)
[1951591.774]  -> [email protected](875713089, 16777216, 1)
[1951591.783]  -> [email protected](875713089, 16777216, 2)
[1951591.792]  -> [email protected](875713089, 16777216, 4)
[1951591.802]  -> [email protected](875708993, 0, 0)
[1951591.811]  -> [email protected](875708993, 16777216, 1)
[1951591.824]  -> [email protected](875708993, 16777216, 2)
[1951591.848]  -> [email protected](875708993, 16777216, 4)
[1951591.857]  -> [email protected](875713112, 0, 0)
[1951591.879]  -> [email protected](875713112, 16777216, 1)
[1951591.888]  -> [email protected](875713112, 16777216, 2)
[1951591.898]  -> [email protected](875713112, 16777216, 4)
[1951591.908]  -> [email protected](875709016, 0, 0)
[1951591.917]  -> [email protected](875709016, 16777216, 1)
[1951591.925]  -> [email protected](875709016, 16777216, 2)
[1951591.934]  -> [email protected](875709016, 16777216, 4)
[1951591.944]  -> [email protected](892424769, 0, 0)
[1951591.953]  -> [email protected](892424769, 16777216, 1)
[1951591.962]  -> [email protected](892424769, 16777216, 2)
[1951591.971]  -> [email protected](909199186, 0, 0)
[1951591.980]  -> [email protected](909199186, 16777216, 1)
[1951591.989]  -> [email protected](909199186, 16777216, 2)
[1951591.999]  -> [email protected](538982482, 0, 0)
[1951592.008]  -> [email protected](538982482, 16777216, 1)
[1951592.017]  -> [email protected](538982482, 16777216, 2)
[1951592.029]  -> [email protected](540422482, 0, 0)
[1951592.037]  -> [email protected](540422482, 16777216, 1)
[1951592.047]  -> [email protected](540422482, 16777216, 2)
[1951592.056]  -> [email protected](943215175, 0, 0)
[1951592.065]  -> [email protected](943215175, 16777216, 1)
[1951592.074]  -> [email protected](943215175, 16777216, 2)
[1951592.083]  -> [email protected](842224199, 0, 0)
[1951592.092]  -> [email protected](842224199, 16777216, 1)
[1951592.101]  -> [email protected](842224199, 16777216, 2)
[1951592.111]  -> [email protected](842224199, 16777216, 4)
[1951592.122]  -> [email protected](961959257, 0, 0)
[1951592.131]  -> [email protected](961959257, 16777216, 1)
[1951592.140]  -> [email protected](961959257, 16777216, 2)
[1951592.149]  -> [email protected](825316697, 0, 0)
[1951592.158]  -> [email protected](825316697, 16777216, 1)
[1951592.166]  -> [email protected](825316697, 16777216, 2)
[1951592.176]  -> [email protected](842093913, 0, 0)
[1951592.184]  -> [email protected](842093913, 16777216, 1)
[1951592.193]  -> [email protected](842093913, 16777216, 2)
[1951592.203]  -> [email protected](909202777, 0, 0)
[1951592.212]  -> [email protected](909202777, 16777216, 1)
[1951592.221]  -> [email protected](909202777, 16777216, 2)
[1951592.230]  -> [email protected](875713881, 0, 0)
[1951592.239]  -> [email protected](875713881, 16777216, 1)
[1951592.248]  -> [email protected](875713881, 16777216, 2)
[1951592.257]  -> [email protected](961893977, 0, 0)
[1951592.266]  -> [email protected](961893977, 16777216, 1)
[1951592.275]  -> [email protected](961893977, 16777216, 2)
[1951592.284]  -> [email protected](825316953, 0, 0)
[1951592.294]  -> [email protected](825316953, 16777216, 1)
[1951592.303]  -> [email protected](825316953, 16777216, 2)
[1951592.313]  -> [email protected](842094169, 0, 0)
[1951592.323]  -> [email protected](842094169, 16777216, 1)
[1951592.333]  -> [email protected](842094169, 16777216, 2)
[1951592.343]  -> [email protected](909203033, 0, 0)
[1951592.352]  -> [email protected](909203033, 16777216, 1)
[1951592.361]  -> [email protected](909203033, 16777216, 2)
[1951592.370]  -> [email protected](875714137, 0, 0)
[1951592.379]  -> [email protected](875714137, 16777216, 1)
[1951592.388]  -> [email protected](875714137, 16777216, 2)
[1951592.397]  -> [email protected](842094158, 0, 0)
[1951592.406]  -> [email protected](842094158, 16777216, 1)
[1951592.415]  -> [email protected](842094158, 16777216, 2)
[1951592.424]  -> [email protected](808530000, 0, 0)
[1951592.433]  -> [email protected](808530000, 16777216, 1)
[1951592.442]  -> [email protected](808530000, 16777216, 2)
[1951592.451]  -> [email protected](842084432, 0, 0)
[1951592.460]  -> [email protected](842084432, 16777216, 1)
[1951592.469]  -> [email protected](842084432, 16777216, 2)
[1951592.478]  -> [email protected](909193296, 0, 0)
[1951592.487]  -> [email protected](909193296, 16777216, 1)
[1951592.496]  -> [email protected](909193296, 16777216, 2)
[1951592.505]  -> [email protected](909203022, 0, 0)
[1951592.514]  -> [email protected](909203022, 16777216, 1)
[1951592.523]  -> [email protected](909203022, 16777216, 2)
[1951592.532]  -> [email protected](1448433985, 0, 0)
[1951592.541]  -> [email protected](1448433985, 16777216, 1)
[1951592.551]  -> [email protected](1448433985, 16777216, 2)
[1951592.560]  -> [email protected](1448434008, 0, 0)
[1951592.569]  -> [email protected](1448434008, 16777216, 1)
[1951592.578]  -> [email protected](1448434008, 16777216, 2)
[1951592.587]  -> [email protected](808531033, 0, 0)
[1951592.597]  -> [email protected](808531033, 16777216, 1)
[1951592.605]  -> [email protected](808531033, 16777216, 2)
[1951592.615]  -> [email protected](842085465, 0, 0)
[1951592.624]  -> [email protected](842085465, 16777216, 1)
[1951592.633]  -> [email protected](842085465, 16777216, 2)
[1951592.642]  -> [email protected](909194329, 0, 0)
[1951592.651]  -> [email protected](909194329, 16777216, 1)
[1951592.660]  -> [email protected](909194329, 16777216, 2)
[1951592.670]  -> [email protected](1448695129, 0, 0)
[1951592.679]  -> [email protected](1448695129, 16777216, 1)
[1951592.687]  -> [email protected](1448695129, 16777216, 2)
[1951592.697]  -> [email protected](1498831189, 0, 0)
[1951592.706]  -> [email protected](1498831189, 16777216, 1)
[1951592.715]  -> [email protected](1498831189, 16777216, 2)
[1951592.724]  -> [email protected](808530521, 0, 0)
[1951592.733]  -> [email protected](808530521, 16777216, 1)
[1951592.743]  -> [email protected](808530521, 16777216, 2)
[1951592.752]  -> [email protected](842084953, 0, 0)
[1951592.761]  -> [email protected](842084953, 16777216, 1)
[1951592.770]  -> [email protected](842084953, 16777216, 2)
[1951592.780]  -> [email protected](909193817, 0, 0)
[1951592.789]  -> [email protected](909193817, 16777216, 1)
[1951592.798]  -> [email protected](909193817, 16777216, 2)
[1951592.807] [email protected](new id wl_callback@5)
[1951592.813]  -> [email protected](0)
[1951592.821]  -> [email protected]_id(5)
[1951592.886] [email protected]_id(5)
[1951592.892] [email protected](1211384385, 0, 0)
[1951592.902] [email protected](1211384385, 16777216, 1)
[1951592.913] [email protected](1211384385, 16777216, 2)
[1951592.922] [email protected](1211384385, 16777216, 4)
[1951592.930] [email protected](1211384408, 0, 0)
[1951592.939] [email protected](1211384408, 16777216, 1)
[1951592.948] [email protected](1211384408, 16777216, 2)
[1951592.957] [email protected](1211384408, 16777216, 4)
[1951592.966] [email protected](808669761, 0, 0)
[1951592.975] [email protected](808669761, 16777216, 1)
[1951592.984] [email protected](808669761, 16777216, 2)
[1951592.992] [email protected](808669784, 0, 0)
[1951593.002] [email protected](808669784, 16777216, 1)
[1951593.011] [email protected](808669784, 16777216, 2)
[1951593.020] [email protected](808665665, 0, 0)
[1951593.029] [email protected](808665665, 16777216, 1)
[1951593.038] [email protected](808665665, 16777216, 2)
[1951593.047] [email protected](875713089, 0, 0)
[1951593.056] [email protected](875713089, 16777216, 1)
[1951593.065] [email protected](875713089, 16777216, 2)
[1951593.074] [email protected](875713089, 16777216, 4)
[1951593.083] [email protected](875708993, 0, 0)
[1951593.092] [email protected](875708993, 16777216, 1)
[1951593.101] [email protected](875708993, 16777216, 2)
[1951593.112] [email protected](875708993, 16777216, 4)
[1951593.124] [email protected](875713112, 0, 0)
[1951593.132] [email protected](875713112, 16777216, 1)
[1951593.144] [email protected](875713112, 16777216, 2)
[1951593.152] [email protected](875713112, 16777216, 4)
[1951593.162] [email protected](875709016, 0, 0)
[1951593.170] [email protected](875709016, 16777216, 1)
[1951593.179] [email protected](875709016, 16777216, 2)
[1951593.189] [email protected](875709016, 16777216, 4)
[1951593.197] [email protected](892424769, 0, 0)
[1951593.207] [email protected](892424769, 16777216, 1)
[1951593.216] [email protected](892424769, 16777216, 2)
[1951593.225] [email protected](909199186, 0, 0)
[1951593.234] [email protected](909199186, 16777216, 1)
[1951593.243] [email protected](909199186, 16777216, 2)
[1951593.252] [email protected](538982482, 0, 0)
[1951593.261] [email protected](538982482, 16777216, 1)
[1951593.270] [email protected](538982482, 16777216, 2)
[1951593.279] [email protected](540422482, 0, 0)
[1951593.288] [email protected](540422482, 16777216, 1)
[1951593.297] [email protected](540422482, 16777216, 2)
[1951593.306] [email protected](943215175, 0, 0)
[1951593.315] [email protected](943215175, 16777216, 1)
[1951593.324] [email protected](943215175, 16777216, 2)
[1951593.333] [email protected](842224199, 0, 0)
[1951593.342] [email protected](842224199, 16777216, 1)
[1951593.351] [email protected](842224199, 16777216, 2)
[1951593.360] [email protected](842224199, 16777216, 4)
[1951593.369] [email protected](961959257, 0, 0)
[1951593.378] [email protected](961959257, 16777216, 1)
[1951593.387] [email protected](961959257, 16777216, 2)
[1951593.396] [email protected](825316697, 0, 0)
[1951593.406] [email protected](825316697, 16777216, 1)
[1951593.416] [email protected](825316697, 16777216, 2)
[1951593.426] [email protected](842093913, 0, 0)
[1951593.436] [email protected](842093913, 16777216, 1)
[1951593.445] [email protected](842093913, 16777216, 2)
[1951593.454] [email protected](909202777, 0, 0)
[1951593.463] [email protected](909202777, 16777216, 1)
[1951593.472] [email protected](909202777, 16777216, 2)
[1951593.481] [email protected](875713881, 0, 0)
[1951593.490] [email protected](875713881, 16777216, 1)
[1951593.499] [email protected](875713881, 16777216, 2)
[1951593.508] [email protected](961893977, 0, 0)
[1951593.517] [email protected](961893977, 16777216, 1)
[1951593.526] [email protected](961893977, 16777216, 2)
[1951593.534] [email protected](825316953, 0, 0)
[1951593.543] [email protected](825316953, 16777216, 1)
[1951593.552] [email protected](825316953, 16777216, 2)
[1951593.561] [email protected](842094169, 0, 0)
[1951593.570] [email protected](842094169, 16777216, 1)
[1951593.579] [email protected](842094169, 16777216, 2)
[1951593.588] [email protected](909203033, 0, 0)
[1951593.597] [email protected](909203033, 16777216, 1)
[1951593.606] [email protected](909203033, 16777216, 2)
[1951593.615] [email protected](875714137, 0, 0)
[1951593.624] [email protected](875714137, 16777216, 1)
[1951593.633] [email protected](875714137, 16777216, 2)
[1951593.642] [email protected](842094158, 0, 0)
[1951593.651] [email protected](842094158, 16777216, 1)
[1951593.660] [email protected](842094158, 16777216, 2)
[1951593.669] [email protected](808530000, 0, 0)
[1951593.678] [email protected](808530000, 16777216, 1)
[1951593.687] [email protected](808530000, 16777216, 2)
[1951593.696] [email protected](842084432, 0, 0)
[1951593.705] [email protected](842084432, 16777216, 1)
[1951593.714] [email protected](842084432, 16777216, 2)
[1951593.723] [email protected](909193296, 0, 0)
[1951593.732] [email protected](909193296, 16777216, 1)
[1951593.741] [email protected](909193296, 16777216, 2)
[1951593.750] [email protected](909203022, 0, 0)
[1951593.759] [email protected](909203022, 16777216, 1)
[1951593.768] [email protected](909203022, 16777216, 2)
[1951593.777] [email protected](1448433985, 0, 0)
[1951593.786] [email protected](1448433985, 16777216, 1)
[1951593.795] [email protected](1448433985, 16777216, 2)
[1951593.804] [email protected](1448434008, 0, 0)
[1951593.813] [email protected](1448434008, 16777216, 1)
[1951593.826] [email protected](1448434008, 16777216, 2)
[1951593.835] [email protected](808531033, 0, 0)
[1951593.867] [email protected](808531033, 16777216, 1)
[1951593.889] [email protected](808531033, 16777216, 2)
[1951593.898] [email protected](842085465, 0, 0)
[1951593.907] [email protected](842085465, 16777216, 1)
[1951593.916] [email protected](842085465, 16777216, 2)
[1951593.925] [email protected](909194329, 0, 0)
[1951593.934] [email protected](909194329, 16777216, 1)
[1951593.943] [email protected](909194329, 16777216, 2)
[1951593.952] [email protected](1448695129, 0, 0)
[1951593.961] [email protected](1448695129, 16777216, 1)
[1951593.972] [email protected](1448695129, 16777216, 2)
[1951593.982] [email protected](1498831189, 0, 0)
[1951593.992] [email protected](1498831189, 16777216, 1)
[1951594.001] [email protected](1498831189, 16777216, 2)
[1951594.011] [email protected](808530521, 0, 0)
[1951594.021] [email protected](808530521, 16777216, 1)
[1951594.031] [email protected](808530521, 16777216, 2)
[1951594.041] [email protected](842084953, 0, 0)
[1951594.050] [email protected](842084953, 16777216, 1)
[1951594.059] [email protected](842084953, 16777216, 2)
[1951594.068] [email protected](909193817, 0, 0)
[1951594.077] [email protected](909193817, 16777216, 1)
[1951594.086] [email protected](909193817, 16777216, 2)
[1951594.095] [email protected](0)
[1951594.100]  -> [email protected](5, "wl_drm", 2, new id [unknown]@5)
[1951594.113]  -> [email protected](new id wl_callback@7)
[1951594.128] [email protected](5, "wl_drm", 2, new id [unknown]@5)
[1951594.142]  -> [email protected]("/dev/dri/renderD128")
[1951594.148]  -> [email protected](808669761)
[1951594.156]  -> [email protected](808669784)
[1951594.168]  -> [email protected](808665665)
[1951594.244]  -> [email protected](875713089)
[1951594.249]  -> [email protected](875713112)
[1951594.253]  -> [email protected](909199186)
[1951594.257]  -> [email protected](961959257)
[1951594.261]  -> [email protected](825316697)
[1951594.265]  -> [email protected](842093913)
[1951594.269]  -> [email protected](909202777)
[1951594.273]  -> [email protected](875713881)
[1951594.278]  -> [email protected](842094158)
[1951594.282]  -> [email protected](909203022)
[1951594.286]  -> [email protected](1448695129)
[1951594.290]  -> [email protected](1)
[1951594.294] [email protected](new id wl_callback@7)
[1951594.300]  -> [email protected](0)
[1951594.305]  -> [email protected]_id(7)
[1951594.318] [email protected]_id(7)
[1951594.323] [email protected]("/dev/dri/renderD128")
[1951594.362] [email protected](808669761)
[1951594.367] [email protected](808669784)
[1951594.372] [email protected](808665665)
[1951594.376] [email protected](875713089)
[1951594.380] [email protected](875713112)
[1951594.384] [email protected](909199186)
[1951594.388] [email protected](961959257)
[1951594.393] [email protected](825316697)
[1951594.397] [email protected](842093913)
[1951594.401] [email protected](909202777)
[1951594.405] [email protected](875713881)
[1951594.409] [email protected](842094158)
[1951594.413] [email protected](909203022)
[1951594.417] [email protected](1448695129)
[1951594.421] [email protected](1)
[1951594.425] [email protected](0)
Failed to initialize portal (GPowerProfileMonitorPortal) for gio-power-profile-monitor: Not using portals
_g_io_module_get_default: Found default implementation dbus (GPowerProfileMonitorDBus) for ‘gio-power-profile-monitor’
[1951619.011]  -> [email protected]_registry(new id wl_registry@7)
[1951619.030]  -> [email protected](new id wl_callback@8)
[1951619.080] [email protected]_registry(new id wl_registry@7)
[1951619.093]  -> [email protected](1, "wl_compositor", 3)
[1951619.104]  -> [email protected](2, "wpe_bridge", 1)
[1951619.115]  -> [email protected](3, "wpe_dmabuf_pool_manager", 1)
[1951619.124]  -> [email protected](4, "wl_shm", 1)
[1951619.133]  -> [email protected](5, "wl_drm", 2)
[1951619.143]  -> [email protected](6, "zwp_linux_dmabuf_v1", 3)
[1951619.152]  -> [email protected](7, "wpe_video_plane_display_dmabuf", 1)
[1951619.163] [email protected](new id wl_callback@8)
[1951619.168]  -> [email protected](0)
[1951619.172]  -> [email protected]_id(8)
[1951619.218] [email protected]_id(8)
[1951619.226] [email protected](1, "wl_compositor", 3)
[1951619.236]  -> [email protected](1, "wl_compositor", 1, new id [unknown]@9)
[1951619.250] [email protected](2, "wpe_bridge", 1)
[1951619.259]  -> [email protected](2, "wpe_bridge", 1, new id [unknown]@10)
[1951619.272] [email protected](3, "wpe_dmabuf_pool_manager", 1)
[1951619.281]  -> [email protected](3, "wpe_dmabuf_pool_manager", 1, new id [unknown]@11)
[1951619.294] [email protected](4, "wl_shm", 1)
[1951619.303] [email protected](5, "wl_drm", 2)
[1951619.312] [email protected](6, "zwp_linux_dmabuf_v1", 3)
[1951619.321] [email protected](7, "wpe_video_plane_display_dmabuf", 1)
[1951619.330] [email protected](0)
[1951619.335]  -> [email protected]_surface(new id wl_surface@8)
[1951619.341]  -> [email protected]_pool(new id wpe_dmabuf_pool@12, wl_surface@8)
[1951619.353]  -> [email protected](wl_surface@8)
[1951619.359]  -> [email protected](new id wl_callback@13)
[1951619.373] [email protected](1, "wl_compositor", 1, new id [unknown]@9)
[1951619.388] [email protected](2, "wpe_bridge", 1, new id [unknown]@10)
[1951619.402] [email protected](3, "wpe_dmabuf_pool_manager", 1, new id [unknown]@11)
[1951619.415] [email protected]_surface(new id wl_surface@8)
[1951619.422] [email protected]_pool(new id wpe_dmabuf_pool@12, wl_surface@8)
[1951619.430] [email protected](wl_surface@8)
[1951619.434]  -> [email protected](1)
[1951619.451] [email protected](new id wl_callback@13)
[1951619.458]  -> [email protected](0)
[1951619.462]  -> [email protected]_id(13)
[1951619.472] [email protected]_id(13)
[1951619.477] [email protected](1)
[1951619.484] [email protected](0)
[1951624.513]  -> [email protected](new id wl_callback@13)
[1951625.657]  -> [email protected](new id wl_callback@14)
[1951625.669]  -> [email protected]_params(new id zwp_linux_buffer_params_v1@15)
[1951625.685]  -> [email protected](fd 30, 0, 0, 4096, 16777216, 4)
[1951625.706]  -> [email protected](fd 31, 1, 3145728, 128, 16777216, 4)
[1951625.724]  -> [email protected]_immed(new id wl_buffer@16, 1024, 768, 875713089, 0)
[1951625.740]  -> [email protected]()
[1951625.744]  -> [email protected](wl_buffer@16, 0, 0)
[1951625.754]  -> [email protected](0, 0, 2147483647, 2147483647)
[1951627.050]  -> [email protected]()
[1951627.147] [email protected](new id wl_callback@13)
[1951627.169] [email protected](new id wl_callback@14)
[1951627.177] [email protected]_params(new id zwp_linux_buffer_params_v1@15)
[1951627.188] [email protected](fd 25, 0, 0, 4096, 16777216, 4)
[1951627.211] [email protected](fd 26, 1, 3145728, 128, 16777216, 4)
[1951627.231] [email protected]_immed(new id wl_buffer@16, 1024, 768, 875713089, 0)
[1951627.252] [email protected]()
[1951627.257]  -> [email protected]_id(15)
[1951627.264] [email protected](wl_buffer@16, 0, 0)
[1951627.275] [email protected](0, 0, 2147483647, 2147483647)
[1951627.287] [email protected]()
[1951627.323]  -> [email protected]_region(new id wl_region@13)
[1951627.331]  -> [email protected](0, 0, 1280, 720)
[1951627.344]  -> [email protected]_opaque_region(wl_region@13)
[1951627.349]  -> [email protected]()
[1951627.355]  -> [email protected]_params(new id zwp_linux_buffer_params_v1@20)
[1951627.367]  -> [email protected](fd 30, 0, 0, 4096, 16777216, 4)
[1951627.387]  -> [email protected](fd 31, 1, 3145728, 128, 16777216, 4)
[1951627.406]  -> [email protected]_immed(new id wl_buffer@21, 1024, 768, 875713089, 0)
[1951627.421]  -> [email protected]()
[1951627.425]  -> [email protected](wl_buffer@21, 0, 0)
[1951627.435]  -> [email protected](0, 0, 1280, 720)
[1951627.447]  -> [email protected](new id wl_callback@22)
[1951627.453]  -> [email protected](wl_surface@15, new id wp_presentation_feedback@23)
[1951627.462]  -> [email protected]()
[1951627.626] [email protected]_id(13)
[1951627.633] [email protected]_id(20)
[1951627.638] [email protected](xdg_wm_base@12, 4, "xdg_surface geometry (1024 x 768) is larger than the configured fullscreen state (1280 x 720)")
xdg_wm_base@12: error 4: xdg_surface geometry (1024 x 768) is larger than the configured fullscreen state (1280 x 720)

jameshilliard avatar Sep 09 '22 07:09 jameshilliard

hack to bypass the issue:

diff --git a/platform/wayland/cog-platform-wl.c b/platform/wayland/cog-platform-wl.c
index ec76a08..a1a4e9e 100644
--- a/platform/wayland/cog-platform-wl.c
+++ b/platform/wayland/cog-platform-wl.c
@@ -61,8 +61,8 @@
 #include <wayland-cursor.h>
 #endif
 
-#define DEFAULT_WIDTH  1024
-#define DEFAULT_HEIGHT  768
+#define DEFAULT_WIDTH  640
+#define DEFAULT_HEIGHT  480
 
 #define DEFAULT_ZOOM_STEP 0.1f

jameshilliard avatar Sep 15 '22 21:09 jameshilliard

This seems to be a race. I sometimes see this issue with cog 0.14.0 when starting with COG_PLATFORM_WL_VIEW_FULLSCREEN=1. Mostly things work, but sporadically the I hit xdg_wm_base@11: error 4: xdg_surface geometry (1024 x 768) is larger than the configured fullscreen state (0 x 0)

lynxeye-dev avatar Sep 23 '22 10:09 lynxeye-dev

This seems to be a race.

I did come across some workarounds for what may be the same issue in sdl2: https://github.com/libsdl-org/SDL/commit/48917e0e709d0f8efb7a0c476bb96652e1dd4ba3 https://github.com/libsdl-org/SDL/commit/ea28187cd5edf7b49fc9b9e866c6497a161b1da2

jameshilliard avatar Sep 23 '22 18:09 jameshilliard

I hit this race also on 0.16.

Bastian-Krause avatar Oct 12 '22 12:10 Bastian-Krause

Tested with #539, I don't see this race anymore. /cc @jameshilliard

Bastian-Krause avatar Mar 01 '23 17:03 Bastian-Krause

Yeah, looks like #539 does indeed fix the issue.

jameshilliard avatar Mar 04 '23 02:03 jameshilliard

Thanks @jameshilliard and @Bastian-Krause for checking the fix and confirming that it also works for you 😄

aperezdc avatar Mar 04 '23 21:03 aperezdc