Bug 164466 - Severe lagging while scrolling and typing on Linux
Summary: Severe lagging while scrolling and typing on Linux
Status: NEEDINFO
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
24.8.4.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Scrolling-PageUpDown
  Show dependency treegraph
 
Reported: 2024-12-26 09:38 UTC by Liz Lee
Modified: 2025-02-16 19:12 UTC (History)
1 user (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 Liz Lee 2024-12-26 09:38:35 UTC
Description:
libreoffice is lagging while i'm scrolling or typing.

the lagging has been occuring at least since my OS (Fedora) is using plasma 6 (but i can’t rule out wether the problem has occured earlier, because i haven’t been using libreoffice much back then).

i tried measuring the cpu load, but i didn't recognize anything suspicious.

notably it only happens on my laptop but not on my desktop-pc, although the software-configurations (OS etc.) are identical.

i tried unsuccessfully:
- using the .rpms from the fedora repsoitory (with gtk and kf6 backend)
- using the flatpak version
- using the appimage version
- enabling/disabling the “wayland”-permission of the flatpak version (i.e. the lagging occurs on wayland native and xwayland as well)
- enabling/disabling the “direct graphic rendering”-permission of the flatpak version
- enabling/disabling screen zoom at OS level
- enabling/disabling adaptive sync at OS level
- enabling/disabling the “[ ] use hardware acceleration”-checkbox in the libre office settings (section: libre office → view)
- enabling/disabling the “[ ] use anti-aliasing”-checkbox on the libre office settings (section: libre office → view)
- enabling/disabling the “[ ] smooth scroll”-checkbox in the libre office settings (section: writer → view"
- i tried scolling with the mousewheel instead of the laptop’s trackpad
- i tried different icon themes
- trying different (or disabling completely) the power saving modes
- using different files: it occurs even on very "basic" files, like writer (i.e. .odt) files that only contain text.
- trying a clean user profile


the affected laptops’s system details are:
------------------------------------------
Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Kernel Version: 6.12.6-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 12 × AMD Ryzen 5 6600HS Creator Edition
Memory: 14,3 GiB of RAM

Graphics Stack:
---------------
Graphics Processor: AMD Radeon Graphics 660M
GBM platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES
EGL driver name: kms_swrast
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 19.1.0, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 24.2.8
OpenGL core profile shading language version: 4.50

LibreOffice:
------------
Version: 24.8.4.2 (X86_64) / LibreOffice Community
Build ID: bb3cfa12c7b1bf994ecc5649a80400d06cd71002
CPU threads: 16; OS: Linux 6.12; UI render: default; VCL: gtk3
Locale: de-DE (en_US.UTF-8); UI: de-DE
Flatpak
Calc: threaded


(for comparison: specs of my desktop-pc, which is working fine:)
----------------------------------------------------------------
Operating System: Fedora Linux 41
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.9.0
Qt Version: 6.8.1
Kernel Version: 6.12.6-200.fc41.x86_64 (64-bit)
Graphics Platform: Wayland
ryzen 2700x (8-core), 32 ddr4-2933, radeon r9 380 4GB

=> i guess the problem is somewhere in the graphics stack, as the GPU is the only major relevant hardware/sofware difference between my desktop pc and my laptop.

Steps to Reproduce:
1. open libreoffice (e.g. writer or calc)
2. type and scroll

Actual Results:
severe lagging

Expected Results:
smooth typing/scrolling experience


Reproducible: Always


User Profile Reset: Yes

Additional Info:
other users seem to be affected too, look here:

https://ask.libreoffice.org/t/libreoffice-performance-issues-on-linux/114920/16
Comment 1 Liz Lee 2025-02-16 15:43:03 UTC
it just got worse with the new update to 25.2.3.

now even my desktop pc has problems too.
Comment 2 Buovjaga 2025-02-16 19:12:17 UTC
What if you launch with SAL_USE_VCLPLUGIN=gen libreoffice