Libreoffice causing CPU issues even when turned off

hello dear bogdancovaciu

many many thanks for the continued support you offer . thats just great.

ahh- now on re-read i see: and here are the results…


in@martin-pc ~]$ pacman -Qi libreoffice
Fehler: Paket 'libreoffice' wurde nicht gefunden
[martin@martin-pc ~]$

which means - the paket libreoffoice was not being found…
look forward to hear from you again

greetings

First remove any trace of configs you previously had:
rm -r ~/.config/libreoffice
then install:
sudo pacman -S libreoffice-fresh
or do it from octopi/pamac and select the optional dependencies you see i have installed too in my output.
Then look inside /etc/profile.d/libreoffice-fresh.sh and uncomment or add this line:
export SAL_USE_VCLPLUGIN=gtk3_kde5
If is there by default, uncommented, then let it be.
If your machine is capable of OpenCL and you have the package suited for your GPU installed, enable it in libreoffice settings.
It should work flawlessly :slight_smile:

3 Likes

hello dear bodancovaciu

many many thanks for the quick reply.

the mentioned file - at etc/profile.d/libreoffice-fresh.sh looks like so:


# to force a certain look'n feel

#export SAL_USE_VCLPLUGIN=gen
#export SAL_USE_VCLPLUGIN=gtk3_kde5
#export SAL_USE_VCLPLUGIN=gtk
#export SAL_USE_VCLPLUGIN=gtk3

so i leave it as is

in other words - i do nothing here

If your machine is capable of OpenCL and you have the package suited for your GPU installed, enable it in libreoffice settings.
It should work flawlessly :slight_smile:

hmm - no i do not have OpenCL - and i have no corresponding packages installed…

NO … uncomment the line … remove the # sign so is only
export SAL_USE_VCLPLUGIN=gtk3_kde5
What GPU do you have and what drivers?
inxi -G

hello many thanks

okay i uncommendet it

see the output:


[martin@martin-pc ~]$ inxi -G
Graphics:  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics driver: i915 v: kernel 
           Display: x11 server: X.Org 1.20.1 driver: intel unloaded: modesetting resolution: 1366x768~60Hz 
           OpenGL: renderer: Mesa DRI Intel Sandybridge Mobile v: 3.3 Mesa 18.2.2 
[martin@martin-pc ~]$

look forward to hear from you
greetings

Ok, forget about OpenCL :slight_smile:

That should do it. Restart Libreoffice and see if it still does nasty things …

hello dear bogdancovaciu

many thanks for the continued help . now all looks very nice.

great that it works now.

you made my day!

many many thanks - greetings
malaga

1 Like

No offense, but this stuff has all been covered on the forum numerous times recently. I’m glad you got it working, but you need to polish up on your search procedure.

1 Like

hello tbg,
many thanks for the hint - and for your answer all above.

yesterday i was totally upset since the temp - measured with sensors -
was increasing steadily… so i frightend - to loose the cpu…

  • we have had 80 to 81 degree celsius - and the critical temp is at 88 degree.

above all - youre right i have to polish up on my search procedure.

have a good day
greetings

1 Like

I think–don’t know for sure–that your 2nd Gen. Intel rig may want the xf86-video-intel driver package to be installed to function properly.

sudo pacman -S xf86-video-intel

Reboot, run whatever normally heats up your machine, then report back. It can’t do any harm to try, that is for sure. :smiley:

regards

Same here.

I have libreoffice-fresh installed, but i’m not on kde, i’m on xfce

Sometimes libreoffice becomes so very sluggish, (i.e. typing a letter and waiting for it to appear)

My understanding is that gvfs creates the problem on kde, but what about xfce?

Maybe because i have parts of kde installed (using kdenlive and all)?

$ pacman -Qs gvfs
zsh: correct 'gvfs' to '.gvfs' [nyae]? n
local/gvfs 1.38.1-1 (gnome)
    Virtual filesystem implementation for GIO
local/gvfs-afc 1.38.1-1 (gnome)
    Virtual filesystem implementation for GIO (AFC backend; Apple mobile devices)
local/gvfs-goa 1.38.1-1 (gnome)
    Virtual filesystem implementation for GIO (Gnome Online Accounts backend; cloud storage)
local/gvfs-google 1.38.1-1 (gnome)
    Virtual filesystem implementation for GIO (Google Drive backend)
local/gvfs-gphoto2 1.38.1-1 (gnome)
    Virtual filesystem implementation for GIO (gphoto2 backend; PTP camera, MTP media player)
local/gvfs-mtp 1.38.1-1 (gnome)
    Virtual filesystem implementation for GIO (MTP backend; Android, media player)
local/gvfs-nfs 1.38.1-1 (gnome)
    Virtual filesystem implementation for GIO (NFS backend)
local/gvfs-smb 1.38.1-1 (gnome)
    Virtual filesystem implementation for GIO (SMB/CIFS backend; Windows client)

I have gvfs and using KDE Plasma, no issues. It shouldn’t create any issues in XFCE either.
For libreoffice whatever is using the: export SAL_USE_VCLPLUGIN=gtk3 or not, there shouldn’t be a lag while typing. Is the entropy ok on your system? (just guessing here), but feezes might have something to do with it either splash startup/login or maybe other programs too, so:

Thank you very much for the suggestion
I will look into it

I have installed haveged, this is its status after a reboot

● haveged.service - Entropy Harvesting Daemon
Loaded: loaded (/usr/lib/systemd/system/haveged.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2018-10-18 13:18:30 EEST; 10min ago
Docs: man:haveged(8)
Process: 571 ExecStartPre=/usr/bin/sysctl -w kernel.random.write_wakeup_threshold=1024 (code=exited, status=0/SUCCESS)
Main PID: 573 (haveged)
Tasks: 1 (limit: 4915)
Memory: 3.9M
CGroup: /system.slice/haveged.service
└─573 /usr/bin/haveged --Foreground --verbose=1

Οκτ 18 13:18:30 HOME systemd[1]: Starting Entropy Harvesting Daemon…
Οκτ 18 13:18:30 HOME haveged[573]: haveged: listening socket at 3
Οκτ 18 13:18:30 HOME systemd[1]: Started Entropy Harvesting Daemon.
Οκτ 18 13:18:30 HOME haveged[573]: haveged: ver: 1.9.4; arch: x86; vend: GenuineIntel; build: (gcc 8.2.0 ITV); collect: 128K
Οκτ 18 13:18:30 HOME haveged[573]: haveged: cpu: (L4 VC); data: 32K (L2 L4 V); inst: 32K (L2 L4 V); idx: 24/40; sz: 31410/52825
Οκτ 18 13:18:30 HOME haveged[573]: haveged: tot tests(BA8): A:1/1 B:1/1 continuous tests(B): last entropy estimate 8.00173
Οκτ 18 13:18:30 HOME haveged[573]: haveged: fills: 0, generated: 0

Does that indicate some kind of problem? I really do not know what the entropy problem might be :frowning:

Also here are some of the things discussed on that thread

$ journalctl -p err -b
– Logs begin at Fri 2018-06-01 11:58:44 EEST, end at Thu 2018-10-18 13:33:20 EEST. –
Οκτ 18 13:18:28 HOME kernel: platform gpio_ich.1.auto: failed to claim resource 0: [io 0x0480-0x04ff]
Οκτ 18 13:18:25 HOME systemd[1]: Failed to allocate device unit dev-disk-by\x2dpartlabel-\xe2\x80\xa0\xe2\x80\xa0\xe2\x80\xa0\xe2\x80\xa0\xe2\x80\xa0\xe2\x80\xa0\xe2\x80\xa0\xe2\x80\xa0\xe2>
Οκτ 18 13:18:39 HOME colord-sane[664]: io/hpmud/pp.c 627: unable to read device-id ret=-1
Οκτ 18 13:18:43 HOME NetworkManager[601]: [1539857923.7822] device (enp6s0): addrconf6: failed to start neighbor discovery: failure creating libndp socket: Δεν υποστηρίζετε από το πρ>
Οκτ 18 13:18:43 HOME dhclient[922]: Timeout too large reducing to: 2147483646 (TIME_MAX - 1)
Οκτ 18 13:18:44 HOME rpcbind[940]: cannot create socket for udp6
Οκτ 18 13:18:44 HOME rpcbind[940]: cannot create socket for tcp6
Οκτ 18 13:18:44 HOME rpc.mountd[937]: Could not make a socket: (97) Address family not supported by protocol
Οκτ 18 13:18:44 HOME rpc.mountd[937]: Could not make a socket: (97) Address family not supported by protocol
Οκτ 18 13:18:44 HOME rpc.mountd[937]: Could not make a socket: (97) Address family not supported by protocol
Οκτ 18 13:18:44 HOME rpc.mountd[937]: Could not make a socket: (97) Address family not supported by protocol
Οκτ 18 13:18:44 HOME rpc.mountd[937]: Could not make a socket: (97) Address family not supported by protocol
Οκτ 18 13:18:44 HOME rpc.mountd[937]: Could not make a socket: (97) Address family not supported by protocol
Οκτ 18 13:18:44 HOME rpc.statd[945]: Failed to create listener xprt (statd, 1, udp6)
Οκτ 18 13:18:44 HOME rpc.statd[945]: Failed to create listener xprt (statd, 1, tcp6)
Οκτ 18 13:18:53 HOME mdm-binary[656]: pam_nologin(mdm:auth): cannot determine username
Οκτ 18 13:18:54 HOME systemd[983]: Failed to allocate device unit dev-disk-by\x2dpartlabel-\xe2\x80\xa0\xe2\x80\xa0\xe2\x80\xa0\xe2\x80\xa0\xe2\x80\xa0\xe2\x80\xa0\xe2\x80\xa0\xe2\x80\xa0\xe>
Οκτ 18 13:18:54 HOME mdm-binary[656]: GLib-CRITICAL: g_key_file_get_string: assertion ‘key_file != NULL’ failed
Οκτ 18 13:18:54 HOME mdm-binary[656]: GLib-CRITICAL: g_key_file_free: assertion ‘key_file != NULL’ failed
Οκτ 18 13:19:24 HOME pppd[1337]: Cannot determine ethernet address for proxy ARP

$ dmesg -w | grep ‘error|seg|fail|broke|warn|dump’
[ 0.016666] tsc: Fast TSC calibration failed
[ 0.393481] acpi PNP0A03:00: _OSC failed (AE_NOT_FOUND); disabling ASPM
[ 0.407064] pci 0000:00:1c.3: ASPM: current common clock configuration is broken, reconfiguring
[ 0.417457] pci 0000:00:1c.5: ASPM: current common clock configuration is broken, reconfiguring
[ 0.430319] pci 0000:00:1c.6: ASPM: current common clock configuration is broken, reconfiguring
[ 5.965552] vboxdrv: module verification failed: signature and/or required key missing - tainting kernel
[ 8.430089] platform gpio_ich.1.auto: failed to claim resource 0: [io 0x0480-0x04ff]
[ 13.973424] snd_hda_intel 0000:00:1b.0: Codec #3 probe error; disabling it…
[ 23.432416] WARNING: CPU: 3 PID: 659 at mm/usercopy.c:81 usercopy_warn+0x7d/0xa0
[ 23.432477] RIP: 0010:usercopy_warn+0x7d/0xa0
[ 24.716672] ata4.01: failed to enable DIPM, Emask 0x100
[ 25.518209] ata4.01: failed to enable DIPM, Emask 0x100

$ systemctl status systemd-modules-load.service
● systemd-modules-load.service - Load Kernel Modules
Loaded: loaded (/usr/lib/systemd/system/systemd-modules-load.service; static; vendor preset: disabled)
Active: active (exited) since Thu 2018-10-18 13:18:22 EEST; 20min ago
Docs: man:systemd-modules-load.service(8)
man:modules-load.d(5)
Process: 321 ExecStart=/usr/lib/systemd/systemd-modules-load (code=exited, status=0/SUCCESS)
Main PID: 321 (code=exited, status=0/SUCCESS)

Οκτ 18 13:18:20 HOME systemd-modules-load[321]: Inserted module ‘crypto_user’
Οκτ 18 13:18:22 HOME systemd[1]: Started Load Kernel Modules.

Do any of these make ant sence?

BTW, I have managed to get libreoffice use gtk (not gtk3), which solved some of my problems with it :slight_smile: Thanks for that!

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

Forum kindly sponsored by Bytemark