With some AMD Radeon graphics, infinite scroll may be a bit laggy
On my desktop workstation machine, GNOME Calendar 45+'s month view scroll animation can be a bit slow:
- It feels like 20-25 fps rather than 60.00 fps, even on an optimized version of GNOME Shell on Wayland.
- It feels slower if there are more events to be shown.
Hardware info and comparisons:
- My machine's GPU is an AMD "Curacao PRO" Radeon R9 270, paired with an Intel Xeon® W3520 ×8 CPU and 24 GB of RAM.
The system's flatpak directories, caches, etc. all are on a SSD. This happens with the lightweight system-installed version as well as the flatpaked versions. - This is not really felt easily on newer machines (such as an Intel Kabylake laptop), but it is possible that the issue occurs on newer machines while not being noticeable because they are so overpowered (and Intel drivers instead of AMD).
While I can live with this slight jankiness, and I'm not sure if it's a bug in GNOME Calendar or somewhere else in the stack… just in case if there is something fishy in the output below and we can optimize something in there, it would be nice to have.
Sysprof 45 profiling captures
The raw sysprof 45.1 capture can be downloaded here. It will decompress to a 3 GB filesize on your system.
The app startup was slow (and the app behaved slower than usual) during recording, probably because I told sysprof to also record all memory allocations. As such, the relevant part (where I scroll the month view with the mouse wheel) probably only starts around the 20 seconds mark.
This is roughly what the main views in sysprof look like with this capture, filtered to show what happens after the ~20 seconds mark:
Call graph, the EDS part | Call graph, the GTK part |
---|---|
Marks chart | Marks summary |
---|---|