Bug 160647 - LO Writer 7.6.5.2 (and most anterior versions) cannot be used on wide screen monitors due to extreme performance issues
Summary: LO Writer 7.6.5.2 (and most anterior versions) cannot be used on wide screen ...
Status: RESOLVED DUPLICATE of bug 154602
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.6.5.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-12 23:11 UTC by lp.allard.1
Modified: 2024-05-27 15:10 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Graphics test results (49.83 KB, application/zip)
2024-04-12 23:16 UTC, lp.allard.1
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lp.allard.1 2024-04-12 23:11:01 UTC
Description:
LO Writer 7.6.5.2 (and most anterior versions) cannot be used on wide screen monitors due to extreme visual performance issues.  Scrolling a simple 10 pages document (created in LO and not a MS word document imported in LO) is nearly impossible without experiencing extreme stutter and choppy scrolling and even the program interface (such as resizing the navigator or Styles browser) is not smooth.  CPU is maxed out due to extremely poor performance. 

Reducing the program window to a smaller size immediately lakes the performance issue go away.

The issue is so severe that I abandoned Writer completely due to this poor performance.  I also noticed with each LO update thing are getting worst.

I am thinking this issue is somehow related to the other issue I experienced with Calc which has extreme stutter when typing (https://bugs.documentfoundation.org/show_bug.cgi?id=152657)

Actual Results:
See problem description

Expected Results:
See problem description


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.6.5.2 (X86_64) / LibreOffice Community
Build ID: 38d5f62f85355c192ef5f1dd47c5c0c0c6d6598b
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-CA (en_CA.UTF-8); UI: en-US
Calc: threaded
Comment 1 lp.allard.1 2024-04-12 23:16:27 UTC
Created attachment 193654 [details]
Graphics test results
Comment 2 lp.allard.1 2024-04-12 23:20:35 UTC
Forgot to mention that I tried playing with misc settings (and each time restarting the program) to see if somehow things would become better.  Unfortunately nothing made this issue improve or go away...

Settings I tried changing:
-Hardware acceleration
-Antialiasing
-Font antialiasing
-Themes
-OpenCL

I also ran the graphics tests (see attached ZIP file of the results):
-Graphics Backend used: svp
-Passed Tests: 67
-Quirky Tests: 35
-Failed Tests: 1
-Skipped Tests: 6
Comment 3 lp.allard.1 2024-04-13 12:24:17 UTC
If I start the program with "SAL_USE_VCLPLUGIN=gen" then it solves the issue entirely.

See https://forum.qubes-os.org/t/100-cpu-with-every-scroll-in-libreoffice/8027/21?page=2
Comment 4 Dieter 2024-05-01 11:21:36 UTC
lp.allard.1, thank you for reporting the bug. Some questions:
Could you please add some information about your monitor (What does "wide screen monitor" means)?
Have you checked for duplicates or related bugs, perhaps in meta bug 90796?
Does it only hppen in Writer or also in Calc and others?

=> NEEDINFO
Comment 5 lp.allard.1 2024-05-01 14:19:25 UTC
Hello,

Wide screen means 3440x1440 in my case with a LG widescreen monitor.  Please note that I have two monitors side by side (primary is 3440x1440 and secondary is 1920x1080).  However I dont expect the presence/use of the second monitor to be related in any way to this bug because I did some testing by unplugging/removing it completely (both physically and in the nvidia driver/Xorg config) and saw no improvement whatsoever.

https://bugs.documentfoundation.org/show_bug.cgi?id=90796 seems to be about High DPI which is NOT what I am talking about.  

I noticed that this issue is extremely bad when Libreoffice's window is maximized but improves when the window is manually resized to a smaller size.  The smaller the window is, the more "fluid" the performance is and the smaller the Xorg CPU usage is....

Xserver is the culprit somehow...  It is maxed out (at 100%) whenever I scroll in the documents or type or do anything that changes the physical layout of the document...

Starting LO with the "SAL_USE_VCLPLUGIN=gen" switch makes things much much better (similar to LO version ca. 2016-2018).

In retrospect I wonder if this issue is not the same (or at least caused by the same root cause) as the other bug report I opened last year: https://bugs.documentfoundation.org/show_bug.cgi?id=152657

There's clearly something bad going on between Libreoffice's graphical engine(s), Xorg (which is ANCIENT and obsolete?), and the Nvidia blob (that never was very efficient in Linux to begin with)..  The exact same version of LO runs perfectly on Windows 10.
Comment 6 QA Administrators 2024-05-02 03:15:37 UTC Comment hidden (obsolete)
Comment 7 Steve271 2024-05-06 20:51:50 UTC
Not reproducible on my wide screen monitor. I tried it 2 systems and I didn't get stutter and choppy scrolling at maximized window of LO writer.

my monitor info:
LG 34" Class 21:9 UltraWide Full HD IPS LED Monitor (2560 x 1080)


Other info:

Version: 24.2.2.2 (X86_64) / LibreOffice Community
Build ID: d56cc158d8a96260b836f100ef4b4ef25d6f1a01
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

Version: 7.3.7.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Ubuntu package version: 1:7.3.7-0ubuntu0.22.04.4
Calc: threaded
Comment 8 lp.allard.1 2024-05-07 00:13:33 UTC
A few points tat I'd like to mention:

1. Your monitor has a smaller resolution than mine (2560x1080 VS 3440x1440).

2. I use dual monitors, you didn't mention if you were or not.

3. I use linux mint (20.3) with kernel 5.4.  You use Ubuntu with a newer kernel (6.5). I personally dont think it makes a difference but who knows...

4. I dont use Windows.  The comparison is not relevant.  LO actually runs better on windows in my experience (on my surface pro 7 its much more fluid and responsive than on my Mint desktop).

5. You use LO 7.3, I use 7.6.

6. You have 8 cores, I have 4.
Comment 9 Buovjaga 2024-05-27 15:10:23 UTC

*** This bug has been marked as a duplicate of bug 154602 ***