High CPU usage with LibreOffice

Since the big Plasma update, using LibreOffice make the CPU to elevate it temperature, even if it has a low usage (8%).

I do not know what’s wrong and I feel like my Manjaro configuration begin to be unusable.
Here are some useful information (nvidia/intel hybrid graphic card, LibreOffice option to not use GFX, etc)

Graphics:
  Device-1: Intel CometLake-H GT2 [UHD Graphics] driver: i915 v: kernel
  Device-2: NVIDIA TU106M [GeForce RTX 2060 Mobile] driver: nvidia
    v: 550.107.02
  Device-3: Realtek Integrated_Webcam_HD driver: uvcvideo type: USB
  Display: x11 server: X.Org v: 21.1.13 with: Xwayland v: 24.1.2 driver: X:
    loaded: modesetting,nvidia unloaded: nouveau dri: iris gpu: i915 resolution:
    1: 1920x1080~60Hz 2: 1920x1080~144Hz
  API: EGL v: 1.5 drivers: iris,nvidia,swrast
    platforms: gbm,x11,surfaceless,device
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 24.1.6-arch1.1
    renderer: Mesa Intel UHD Graphics (CML GT2)
  API: Vulkan v: 1.3.279 drivers: nvidia,intel surfaces: xcb,xlib

CPU

CPU:
  Info: 6-core model: Intel Core i7-10750H bits: 64 type: MT MCP cache:
    L2: 1.5 MiB
  Speed (MHz): avg: 4199 min/max: 800/5000 cores: 1: 4200 2: 4203 3: 4203
    4: 4200 5: 4200 6: 4198 7: 4200 8: 4198 9: 4200 10: 4193 11: 4199 12: 4200

Kernel 6.6.47-1
HTOP show difference with 99% high CPU usage

Any help to troubleshoot what’s wrong is welcome.

Do you have any extension installed? like LanguageTool?

1 Like

Yes, LanguageTools, Code Highlighter2 and some networks galleries.
I’ve just updated them because major versions have changed for LanguageTools and Code Highlighter 2.
Seems to be ok now, will try for few hours… Thanks for the idea :slight_smile:

It’s probably LanguageTool extension that needs CPU power to do its search and correction especially if you use n-gram data.

What I did to avoid LibreOffice from freezing is to use LanguageTool as a separate local server, then you can use it directly from LibreOffice, Firefox/Thunderbird(via extension), …

  1. Remove LanguageTool extension if you installed it from AUR
    yay -Rncs libreoffice-extension-languagetool
    or from LibreOffice Extension Manager if you installed it as “.oxt” file.

  2. Install languagetool package
    sudo pacman -S languagetool

  3. Start the server
    languagetool --http --port 8081 --allow-origin "*"
    For more info see LanguageTool embedded HTTP Server | dev.languagetool.org

  4. Configure its URL to http://localhost:8081/v2 then restart LibreOffice

2 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.