Bug 105541

Summary: Charts rendering stutters on bargraphs + hatched-areas
Product: LibreOffice Reporter: owezahra
Component: ChartAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: ilmari.lauhakangas, xiscofauli
Priority: medium Keywords: bibisected, haveBacktrace, perf, regression
Version: 4.0.0.3 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=115249
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 90486    
Attachments: testfile1
testfile2
radeon-modinfo
Callgrind output from master

Description owezahra 2017-01-26 11:36:40 UTC
Description:
very laggy when hatched chart area is displayed

Steps to Reproduce:
1.open the files "chart_normal.xls" and and take note of loading time
2.scroll up/down and check for artefacts
3.try the same with "chart_buggy.xls"
3.change the hw-accel / opengl-settings in "tool-options-libreoffice-view" and goto (1)

Actual Results:  
always laggy, changing the hw-accel / opengl didn't change anything


Expected Results:
not being terribly laggy


Reproducible: Always

User Profile Reset: No

Additional Info:
Version: 5.2.4.2
Build ID: 1:5.2.4~rc2-0ubuntu1~xenial2
CPU Threads: 2; OS Version: Linux 3.19; UI Render: default; VCL: x11; 
Locale: de-AT (en_US.UTF-8); Calc: group

lspci | grep -E 'VGA|Display'
01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Curacao XT / Trinidad XT [Radeon R7 370 / R9 270X/370X]

(radeon opensource driver)

modinfo -p radeon
see file "radeon-modinfo-owz"



User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36
Comment 1 owezahra 2017-01-26 11:37:16 UTC
Created attachment 130695 [details]
testfile1
Comment 2 owezahra 2017-01-26 11:37:37 UTC
Created attachment 130696 [details]
testfile2
Comment 3 owezahra 2017-01-26 11:38:20 UTC
Created attachment 130697 [details]
radeon-modinfo
Comment 4 Buovjaga 2017-02-02 10:58:24 UTC
(In reply to owezahra from comment #2)
> Created attachment 130696 [details]
> testfile2

Scrolling is laggy already in 4.3, but not in 3.5.

Win 7
LibreOffice 3.5.0rc3 
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735

4.3.0.1
Comment 5 Xisco FaulĂ­ 2017-02-02 16:05:08 UTC
Reproduced in

Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)

but not in

LibreOffice 3.5.0 
Build ID: d6cde02
Comment 6 QA Administrators 2018-06-29 02:46:00 UTC Comment hidden (obsolete)
Comment 7 Buovjaga 2018-07-05 12:10:03 UTC
Still sluggish. Seems less sluggish with GTK3. Will bibisect later.

Arch Linux 64-bit
Version: 6.2.0.0.alpha0+
Build ID: ea39c41fdf63191579d25f327db81db14862251c
CPU threads: 8; OS: Linux 4.17; UI render: default; VCL: gtk3; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group threaded
Built on July 4th 2018
Comment 9 Buovjaga 2018-07-06 17:49:44 UTC
Created attachment 143364 [details]
Callgrind output from master

Used gen backend.
Comment 10 QA Administrators 2019-07-07 03:39:24 UTC Comment hidden (obsolete)
Comment 11 owezahra 2019-07-13 07:44:03 UTC
still an issue

Version: 6.0.7.3
Build ID: 1:6.0.7-0ubuntu0.18.04.7
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3;
Comment 12 Buovjaga 2019-07-13 07:51:44 UTC
Still laggy with gen backend.

Arch Linux 64-bit
Version: 6.4.0.0.alpha0+
Build ID: 1ce1c26dd98e6477139e08d1ebe89fa950ff5fb0
CPU threads: 8; OS: Linux 5.2; UI render: default; VCL: x11; 
Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US
Calc: threaded
Built on 12 July 2019
Comment 13 QA Administrators 2021-07-13 03:39:28 UTC Comment hidden (obsolete)
Comment 14 owezahra 2021-07-21 09:26:39 UTC
seems fixed on 7.1.4_rc2_0ubuntu0.20.04.1~l01

(hw-accel and aa on in libreoffice)

glxinfo | egrep -i opengl
OpenGL vendor string: X.Org
OpenGL renderer string: AMD RAVEN (DRM 3.35.0, 5.4.0-77-generic, LLVM 11.0.0)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.2.6
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.2.6
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.2.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20
Comment 15 Buovjaga 2021-08-01 05:46:56 UTC
Yep, I confirm attachment 130696 [details] performs smoothly now

Arch Linux
Version: 7.1.5.2 / LibreOffice Community
Build ID: 10(Build:2)
CPU threads: 8; OS: Linux 5.13; UI render: default; VCL: x11
Locale: fi-FI (fi_FI.UTF-8); UI: fi-FI
7.1.5-1
Calc: threaded