Summary: | One CPU used at 100% with no document opened, until mouse passing over window (gtk2) | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Miguel <mjulier> |
Component: | LibreOffice | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | RESOLVED WONTFIX | ||
Severity: | normal | CC: | ilmari.lauhakangas, mattia.b89, xiscofauli |
Priority: | medium | ||
Version: | 6.1.3.2 release | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 136524, 103503, 113510 |
Description
Miguel
2018-11-11 20:16:56 UTC
Does it work if you disable OpenGl ? -> https://wiki.documentfoundation.org/OpenGL I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the issue is still present Actually, OpenGL was already disabled. I tried with OpenGL enabled or disabled, and got exactly the same result: after a few tens of minutes, the CPU use goes to 100% (of one core out of two), until the mouse goes over some widget in LibreOffice. (In reply to Miguel from comment #0) > Additional Info: > Version: 6.1.3.2 > Build ID: 86daf60bf00efa86ad547e59e09d6bb77c699acb > Threads CPU : 2; OS : Linux 4.15; UI Render : par défaut; VCL: gtk2; > Locale : en-IE (fr_FR.UTF-8); Calc: group threaded I see you have gtk2 there. What if you use gtk3? Which Linux distribution are you using? I think they should all ship builds with the gtk3 backend now. To force a specific backend, you can launch from the command line with SAL_USE_VCLPLUGIN=gtk3 libreoffice or SAL_USE_VCLPLUGIN=gtk libreoffice Then inspect Help - About: VCL to confirm. Set to NEEDINFO. Change back to UNCONFIRMED after you have provided the information. I am using Xubuntu, the Ubuntu variant based on XFCE instead of Gnome 3 (which was far too heavy for an old PC such as mine: this was the reason for my switch from Ubuntu to Xubuntu, many years ago). I have Xubuntu 18.04 "Long time support". Xubuntu has XFCE 4.12, which is based on gtk2. It seems that XFCE 4.14 should be compatible with gtk3, but its release is being delayed since years. I will try what you are suggesting within a few days, when I have time and access to my PC. One additional remark: Xunbutu 19.04 now uses Xfce 4.13 and gtk3. But it runs only in 64 bit, which I am reluctant to install because my PC is already at its maximum of RAM, so I do not plan to move to that before about one year, when Xubuntu 20.4 "long time support" is released. LibreOffice too will drop the 32 bit support, anyway. The bad news is that with 64 bit, even if the bug is solved, my PC may because unusable. Ok, in that case I suggest you test with SAL_USE_VCLPLUGIN=gen libreoffice which uses the fallback UI backend ("generic"). I have tried SAL_USE_VCLPLUGIN=gen libreoffice After waiting for over 2 hours, the bug did not appear: the CPU used stayed very low. It seems to confirm your hypothesis. Command: SAL_USE_VCLPLUGIN=gen libreoffice About: Version: 6.1.6.3 Build ID: 5896ab1714085361c45cf540f76f60673dd96a72 Threads CPU : 2; OS : Linux 4.18; UI Render : default; VCL: x11; Locale : en-IE (fr_FR.UTF-8); Calc: group threaded uname -a : Linux xxxxxx 4.18.0-17-generic #18~18.04.1-Ubuntu SMP Fri Mar 15 15:26:32 UTC 2019 i686 i686 i686 GNU/Linux lsb_release -a : Ubuntu 18.04.2 LTS Thanks for testing. The good thing is that 4.14 is finally supposed to be released later this summer: https://simon.shimmerproject.org/2019/07/01/xfce-4-14pre2-released/ "The next release – aka pre3 – is optional, so we may decide to skip it and go straight for the final release if the release team is confident that there are no showstoppers." From a comment: "In theory distributions can decide to disable Gtk+2 already. However there are still some applications that rely on the libraries that are not yet ported to Gtk+3 (see the Roadmap page, e.g. Ristretto) so those would be broken by that change. As soon as we have stable releases of all applications in a Gtk+3 version we will probably remove Gtk+2 support altogether. For the panel we will at least disable Gtk+2 support by default upstream as there are only very few unported plugins." XFCE 4.14 was released a week ago < https://www.xfce.org/about/news/?post=1565568000 > @Miguel, Would you mind testing this bug again with that version ? Sorry, I cannot try with Xfce 4.14, it is only on 64 bits, and I have a PC with Linux 32 bits and not enough RAM for 64 bit. (In reply to Miguel from comment #10) > Sorry, I cannot try with Xfce 4.14, it is only on 64 bits, and I have a PC > with Linux 32 bits and not enough RAM for 64 bit. Note: this is referring to Xubuntu, which does not offer 32-bit ISOs and packages anymore. I am not able to reproduce the bug. Version: 6.3.1.2 Build ID: 6.3.1-1 CPU threads: 4; OS: Linux 5.2; UI render: default; VCL: gtk2; Locale: it-IT (en_GB.UTF-8); UI-Language: en-GB Calc: threaded Gtk2 was dropped, closing |