Skip to content

Qt: Wayland Protocol error when resizing a playing video with custom display scaling

When resizing a playing video with a custom display scaling: 175%

image.png

[00007f30cc0bafc0] main window debug: resized to 1123x630
[3623486.479]  -> wl_surface@32.attach(wl_buffer@49, 0, 0)
[3623486.496]  -> wl_surface@32.damage(0, 0, 1280, 720)
[3623486.500]  -> wl_surface@32.commit()
[3623486.504]  -> wl_display@1.sync(new id wl_callback@59)
[3623486.736] wl_callback@59.done(27911)
[3623486.734] wl_display@1.delete_id(59)
[3623486.879]  -> wl_buffer@48.destroy()
[3623486.913]  -> wl_buffer@49.destroy()
[00007f30cc0bafc0] main window debug: resized to 1123x635
[3623491.206]  -> wl_buffer@51.destroy()
[3623491.254] wl_callback@63.done(27911)
[3623491.260] wl_buffer@50.release()
[3623491.263]  -> wl_buffer@50.destroy()
[3623492.297]  -> zwp_linux_dmabuf_v1@43.create_params(new id zwp_linux_buffer_params_v1@63)
[3623492.320]  -> zwp_linux_buffer_params_v1@63.add(fd 63, 0, 0, 4608, 0, 0)
[3623492.327]  -> zwp_linux_buffer_params_v1@63.create_immed(new id wl_buffer@59, 1123, 630, 875713089, 0)
[3623492.331]  -> zwp_linux_buffer_params_v1@63.destroy()
[3623492.335]  -> wl_surface@32.attach(wl_buffer@59, 0, 0)
[3623492.339]  -> wl_surface@32.damage(0, 0, 1123, 630)
[3623492.342]  -> wl_surface@32.commit()
[3623492.345]  -> wl_display@1.sync(new id wl_callback@62)
[3623492.826] wl_display@1.delete_id(48)
[3623492.854] wl_display@1.delete_id(49)
[3623492.861] wl_display@1.delete_id(51)
[3623492.866] wl_display@1.delete_id(50)
[3623492.871] wl_display@1.delete_id(63)
[3623492.875] wl_display@1.error(wl_surface@32, 2, "Buffer size (1123x630) must be an integer multiple of the buffer_scale (2).")
The Wayland connection experienced a fatal error: Protocol error

Happening on Debian testing, was OK with Debian stable.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information