Bug 153111 - Terrible performance when scrolling on Wayland
Summary: Terrible performance when scrolling on Wayland
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
7.4.3.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Wayland KDE
  Show dependency treegraph
 
Reported: 2023-01-19 19:56 UTC by linus.kardell
Modified: 2023-07-31 16:59 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description linus.kardell 2023-01-19 19:56:43 UTC
Description:
When I run Libreoffice on, and scroll rapidly back and forth, the performance rapidly drop. Basically, I use two-finger scroll on the touchpad, and rapidly move the fingers back and forth between the bottom and top of the touchpad. The longer I keep doing it, the lower the framerate gets, and if I keep doing it for a while the framerate drops so low that the window is marked as unresponsive. The performance then returns to normal if I stop scrolling for a few seconds. It's easiest to reproduce in Calc, but it happens in other components as well, such as long Writer documents.

Steps to Reproduce:
1. Open Calc on Plasma Wayland
2. Start scrolling rapidly back and forth

Actual Results:
Performance drops severely

Expected Results:
Performance stays as normal


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Operating System: openSUSE Tumbleweed 20230113
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.8
Kernel Version: 6.1.4-1-default (64-bit)
Graphics Platform: Wayland
Processors: 8 × AMD Ryzen 7 3700U with Radeon Vega Mobile Gfx
Memory: 29.3 Gibyte of RAM
Graphics Processor: AMD Radeon Vega 10 Graphics
Manufacturer: Acer
Product Name: Aspire A315-41
System Version: V1.18
Comment 1 Stéphane Guillou (stragu) 2023-01-19 21:08:33 UTC
Thanks Linus.
Do you use some scaling or High DPI setting for your OS/DE display settings?

Please also paste here the info copied from Help > About LibreOffice.
Comment 2 linus.kardell 2023-01-20 19:02:54 UTC
Version: 7.4.3.2 / LibreOffice Community
Build ID: 40(Build:2)
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+wayland)
Locale: sv-SE (sv_SE.UTF-8); UI: sv-SE
Calc: threaded

I can reproduce the issue regardless of whether scaling is enabled or disabled.
Comment 3 Corentin Fleury 2023-04-22 20:28:47 UTC
Version: 7.4.6.2
Build ID: 40(Build:2)
CPU threads: 12; OS: Linux 6.2; UI render: default; VCL: kf5 (cairo+wayland)
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded

I can also reproduce this bug in writer and it is very annoying as the larger the documents gets, the more laggy the scroll becomes.
Comment 4 M. Knepper 2023-05-17 18:56:58 UTC
(In reply to linus.kardell from comment #2)
> Version: 7.4.3.2 / LibreOffice Community
> Build ID: 40(Build:2)
> CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+wayland)
> Locale: sv-SE (sv_SE.UTF-8); UI: sv-SE
> Calc: threaded
> 
> I can reproduce the issue regardless of whether scaling is enabled or
> disabled.

I can reproduce this, as well. It's especially worse at larger resolutions.
Comment 5 Stéphane Guillou (stragu) 2023-05-17 21:27:54 UTC
(In reply to jake.m.knepper from comment #4)
> I can reproduce this, as well. It's especially worse at larger resolutions.

Jake, can you please also paste here the information copied from Help > About LibreOffice?

All: did this start in version 7.4? Are you able to test earlier versions to let us know if this is a regression?
https://downloadarchive.documentfoundation.org/libreoffice/old/