es2gears_wayland reports 120 fps while drawing at 60 fps
Submitted by Link Mauve
Assigned to mes..@..op.org
Link to original bug (#105376)
Description
es2gears_wayland is requesting two frame callbacks per frame, and then reporting a framerate double of what it is actually drawing, see this log:
[1648215.456] -> wl_surface@6.frame(new id wl_callback@11)
[1648215.507] -> wl_surface@6.frame(new id wl_callback@12)
[1648215.552] -> wl_surface@6.attach(wl_buffer@14, 0, 0)
[1648215.577] -> wl_surface@6.damage(0, 0, 2147483647, 2147483647)
[1648215.654] -> wl_surface@6.commit()
[1648226.261] wl_display@1.delete_id(11)
[1648226.318] wl_display@1.delete_id(12)
[1648226.345] wl_callback@11.done(1097662536)
[1648226.368] wl_buffer@9.release()
[1648226.378] wl_callback@12.done(1097662536)
[1648227.256] -> wl_surface@6.frame(new id wl_callback@12)
[1648227.327] -> wl_surface@6.frame(new id wl_callback@11)
[1648227.345] -> wl_surface@6.attach(wl_buffer@9, 0, 0)
[1648227.373] -> wl_surface@6.damage(0, 0, 2147483647, 2147483647)
[1648227.473] -> wl_surface@6.commit()
[1648247.237] wl_display@1.delete_id(12)
[1648247.288] wl_display@1.delete_id(11)
[1648247.309] wl_callback@12.done(1097662553)
[1648247.341] wl_buffer@14.release()
[1648247.356] wl_callback@11.done(1097662553)
This is apparently caused by the fix for bug 101814, see also https://gitlab.gnome.org/GNOME/mutter/issues/55