This is a perf flamegraph using nvidia-open with vsynctester open (rendering at 20FPS) on an external monitor:
Sorry I have some symbols missing. With nouveau the results are similar, but I get 30FPS instead of the 20FPS of nvidia-open.
The whole thing only happens on wayland and only on an external monitor, but it’s independent of the desktop I use.