Bug 118346 - Slow performance in Draw with (moderately) complex drawings
Summary: Slow performance in Draw with (moderately) complex drawings
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
4.1 all versions
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.0.0 target:7.2.0
Keywords: perf, regression
Depends on:
Blocks:
 
Reported: 2018-06-24 13:33 UTC by Gessel
Modified: 2021-05-16 04:30 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Test case for slow draw performance (5.86 MB, application/vnd.oasis.opendocument.graphics)
2018-09-26 11:53 UTC, Gessel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gessel 2018-06-24 13:33:16 UTC
Description:
When working with large drawings, performance is painfully (though not quite unbearably) slow - but, weirdly, it seems to get better after working with a document for an hour or two.  Initially, selecting an object might take 3-5 seconds to highlight, selecting a menu might take 10-15 seconds to open, a pop-over submenu the same.  I ran Oprofile, the results are below.  

There are some other bugs that are similar, but they have specific conditions which are not an exact match so this issue may be different.

This is likely related to Bug 100253 (my report) and possibly Bug 54722, but that was about opening and I have broken up my drawings since to have individual pages and have never tried to create another complex unified drawing, so I can't be sure. 

Like Bug 65046, I note only one CPU is wedged at 100% (8 thread units are available).   

I strongly suspect this is the same core issue in Bug 76740, Bug 96176, & possibly Bug 104716.

My environment:

Version: 5.1.6.2
Build ID: 1:5.1.6~rc2-0ubuntu1~xenial3
CPU Threads: 8; OS Version: Linux 4.13; UI Render: default; 
Locale: en-US (en_US.UTF-8); Calc: group

Linux iku 4.13.0-45-generic #50~16.04.1-Ubuntu SMP Wed May 30 11:18:27 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Description:	Linux Mint 18.3 Sylvia

Quadro K2100M x16, NVIDIA proprietary 384.130
System: 32GB RAM, SSD, 

CPU family: GenuineIntel
CPU features: MMX SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AES AVX AVX2 XD Intel64 
Cache 0: L1 data cache,        line size 64,  8-ways,    64 sets, size 32k 
Cache 1: L1 instruction cache, line size 64,  8-ways,    64 sets, size 32k 
Cache 2: L2 unified cache,     line size 64,  8-ways,   512 sets, size 256k 
Cache 3: L3 unified cache,     line size 64, 16-ways,  8192 sets, size 8192k 
CPU speed is 1596.33 MHz.
Sequential read (64-bit), size = 128 B, loops = 2387607552, 58282.8 MB/s

Oprofile report:

CPU: Intel Haswell microarchitecture, speed 3900 MHz (estimated)
Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit mask of 0x00 (No unit mask) count 100000
CPU_CLK_UNHALT...|
  samples|      %|
------------------
 30701985 80.2506 soffice.bin
	CPU_CLK_UNHALT...|
	  samples|      %|
	------------------
	 15149827 49.3448 libmergedlo.so
	  7330887 23.8776 libc-2.23.so
	  1706355  5.5578 libuno_cppuhelpergcc3.so.3
	  1351181  4.4010 libstdc++.so.6.0.21
	  1183482  3.8547 libuno_sal.so.3
	   852684  2.7773 libpthread-2.23.so
	   777479  2.5323 libuno_cppu.so.3
	   762928  2.4849 libharfbuzz.so.0.10000.1
	   347715  1.1325 kallsyms
	   285799  0.9309 libi18nlangtag.so
	   176984  0.5765 libicuuc.so.55.1
	   161914  0.5274 libglib-2.0.so.0.4800.2
	    92994  0.3029 libvclplug_genlo.so
	    91692  0.2987 libX11.so.6.3.0
	    86311  0.2811 libsdlo.so
	    54855  0.1787 libcairo.so.2.11400.6
	    52760  0.1718 libvclplug_gtklo.so
	    46566  0.1517 libm-2.23.so
	    24590  0.0801 libgdk_pixbuf-2.0.so.0.3200.2
	    23239  0.0757 libgdk-x11-2.0.so.0.2400.30
	    19575  0.0638 libz.so.1.2.8
	    18698  0.0609 libcomphelper.so
	    15836  0.0516 libharfbuzz-icu.so.0.10000.1
	    12034  0.0392 libxcb.so.1.1.0
	    11292  0.0368 [vdso] (tgid:8206 range:0x7ffda8361000-0x7ffda8362fff)
	    11012  0.0359 libdbus-1.so.3.14.6
	    10052  0.0327 libXrender.so.1.3.0
	     9685  0.0315 libsclo.so
	     9591  0.0312 libfreetype.so.6.12.1
	     5789  0.0189 libgobject-2.0.so.0.4800.2
	     5365  0.0175 libgcc_s.so.1
	     2853  0.0093 libicui18n.so.55.1
	     1819  0.0059 ld-2.23.so
	     1433  0.0047 libgtk-x11-2.0.so.0.2400.30
	     1031  0.0034 libfontconfig.so.1.9.0
	      920  0.0030 libpixman-1.so.0.33.6
	      746  0.0024 libexpwraplo.so
	      579  0.0019 kvm
	      487  0.0016 libatspi.so.0.0.1
	      410  0.0013 libdl-2.23.so
	      358  0.0012 nvidia
	      311  0.0010 libahci
	      307 1.0e-03 libpixmap.so
	      154 5.0e-04 librsvg-2.so.2.40.13
	      152 5.0e-04 libacclo.so
	      151 4.9e-04 libforlo.so
	      132 4.3e-04 libunoidllo.so
	      129 4.2e-04 liblocaledata_en.so
	      112 3.6e-04 libatk-1.0.so.0.21809.1
	      102 3.3e-04 libxmlreaderlo.so
	       82 2.7e-04 libucbhelper.so
	       66 2.1e-04 libfwllo.so
	       60 2.0e-04 libucpchelp1.so
	       56 1.8e-04 libxml2.so.2.9.3
	       51 1.7e-04 libmurrine.so
	       47 1.5e-04 iwlwifi
	       38 1.2e-04 libexpat.so.1.6.0
	       29 9.4e-05 libhunspell-1.3.so.0.0.0
	       26 8.5e-05 libgcc3_uno.so
	       26 8.5e-05 libreflectionlo.so
	       25 8.1e-05 libchartcorelo.so
	       22 7.2e-05 libspelllo.so
	       13 4.2e-05 libXext.so.6.4.0
	       13 4.2e-05 libgio-2.0.so.0.4800.2
	       11 3.6e-05 mac80211
	        8 2.6e-05 libgail.so
	        8 2.6e-05 libpango-1.0.so.0.3800.1
	        7 2.3e-05 nvidia_uvm
	        6 2.0e-05 hid
	        6 2.0e-05 libuno_salhelpergcc3.so.3
	        4 1.3e-05 libchartcontrollerlo.so
	        3 9.8e-06 libnss_compat-2.23.so
	        3 9.8e-06 libraptor2.so.0.0.0
	        2 6.5e-06 e1000e
	        2 6.5e-06 iwlmvm
	        2 6.5e-06 libpng12.so.0.54.0
	        2 6.5e-06 libintrospectionlo.so
	        1 3.3e-06 cfg80211
	        1 3.3e-06 usbhid
	        1 3.3e-06 libembobj.so
	        1 3.3e-06 libproxyfaclo.so
	        1 3.3e-06 libgvfsdbus.so
	        1 3.3e-06 libXfixes.so.3.1.0
	        1 3.3e-06 libffi.so.6.0.4
	        1 3.3e-06 libpangocairo-1.0.so.0.3800.1
	        1 3.3e-06 libpangoft2-1.0.so.0.3800.1
	        1 3.3e-06 librdf.so.0.0.0


Steps to Reproduce:
1. Create a large document (mine are a mix of SVG imported templates, connector lines, and a few raster graphics) - I set the page to "A0" size, which may create some issues with memory allocation
2. Interact with the UI or attempt to edit the document
3. wait....

Actual Results:
Long waits

Expected Results:
snappy response


Reproducible: Always


User Profile Reset: No



Additional Info:
OpenGL generally crashes LO and I have to edit the config file manually or do a complete deinstall and reinstall, thus losing all my UI customizations.  I strongly, strongly suggest never ever enabling OpenGL without testing on a machine with snapshots so you can roll back - or at least backing up preferences first.  But that's a whole 'nother issue.  Short: no haven't ever successfully tried OpenGL.
Comment 1 V Stuart Foote 2018-06-24 14:49:20 UTC
LibreOffice 5.1.6.2 was released Oct 2016 and went EOL Nov 2016

Please retest with current release, a 6.1 or master/6.2 build if you expect any dev effort.

https://downloadarchive.documentfoundation.org/libreoffice/old/
Comment 2 Gessel 2018-06-24 15:43:51 UTC
Fair enough, though this is the current release in the Mint 18.3 repos.
Comment 3 Gessel 2018-06-24 16:36:33 UTC
Updated.  
Version: 5.4.6.2
Build ID: 1:5.4.6~rc2-0ubuntu0.16.04.1
CPU threads: 8; OS: Linux 4.13; UI render: default; VCL: gtk2; 
Locale: en-US (en_US.UTF-8); Calc: group


The results seem identical in terms of UI performance/drawing updates.

Operf results:

CPU: Intel Haswell microarchitecture, speed 3900 MHz (estimated)
Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit mask of 0x00 (No unit mask) count 100000
CPU_CLK_UNHALT...|
  samples|      %|
------------------
  4236927 76.2437 soffice.bin
	CPU_CLK_UNHALT...|
	  samples|      %|
	------------------
	  2042382 48.2043 libmergedlo.so
	   905445 21.3703 libc-2.23.so
	   221816  5.2353 libcairo.so.2.11400.6
	   144677  3.4147 libuno_cppuhelpergcc3.so.3
	   142992  3.3749 libharfbuzz.so.0.10000.1
	   142765  3.3695 kallsyms
	   124804  2.9456 libuno_sal.so.3
	   124079  2.9285 libstdc++.so.6.0.21
	    99922  2.3584 libpthread-2.23.so
	    81589  1.9257 libuno_cppu.so.3
	    43326  1.0226 libi18nlangtag.so
	    34794  0.8212 libicuuc.so.55.1
	    26175  0.6178 libm-2.23.so
	    17210  0.4062 libvclplug_genlo.so
	    16484  0.3891 libX11.so.6.3.0
	    12430  0.2934 libsdlo.so
	    12406  0.2928 libglib-2.0.so.0.4800.2
	    10240  0.2417 libxcb.so.1.1.0
	     7631  0.1801 [vdso] (tgid:7974 range:0x7ffc66e34000-0x7ffc66e35fff)
	     7344  0.1733 libgdk_pixbuf-2.0.so.0.3200.2
	     4663  0.1101 libXrender.so.1.3.0
	     3485  0.0823 libvclplug_gtklo.so
	     3015  0.0712 libharfbuzz-icu.so.0.10000.1
	     1752  0.0414 libgdk-x11-2.0.so.0.2400.30
	     1679  0.0396 ld-2.23.so
	     1039  0.0245 libgobject-2.0.so.0.4800.2
	      814  0.0192 libdbus-1.so.3.14.6
	      752  0.0177 libgcc_s.so.1
	      511  0.0121 libpixman-1.so.0.33.6
	      141  0.0033 libgtk-x11-2.0.so.0.2400.30
	       88  0.0021 libpixmap.so
	       71  0.0017 libfontconfig.so.1.9.0
	       68  0.0016 kvm
	       55  0.0013 nvidia
	       54  0.0013 libatspi.so.0.0.1
	       46  0.0011 libexpat.so.1.6.0
	       44  0.0010 libahci
	       20 4.7e-04 libfreetype.so.6.12.1
	       19 4.5e-04 libucpchelp1.so
	       17 4.0e-04 libz.so.1.2.8
	       15 3.5e-04 libacclo.so
	       13 3.1e-04 libxmlreaderlo.so
	       12 2.8e-04 libexpwraplo.so
	        7 1.7e-04 libsclo.so
	        6 1.4e-04 libxml2.so.2.9.3
	        5 1.2e-04 libhunspell-1.3.so.0.0.0
	        4 9.4e-05 libatk-1.0.so.0.21809.1
	        3 7.1e-05 hid
	        3 7.1e-05 iwlwifi
	        3 7.1e-05 libgcc3_uno.so
	        3 7.1e-05 libuno_salhelpergcc3.so.3
	        2 4.7e-05 mac80211
	        2 4.7e-05 libpango-1.0.so.0.3800.1
	        1 2.4e-05 nvidia_uvm
	        1 2.4e-05 usbhid
	        1 2.4e-05 libstocserviceslo.so
	        1 2.4e-05 libgail.so
	        1 2.4e-05 libXext.so.6.4.0
Comment 4 Xisco Faulí 2018-06-25 09:14:49 UTC
Thank you for reporting the bug. Please attach a sample document, as this makes it easier for us to verify the bug. 
(Please note that the attachment will be public, remove any sensitive information before attaching it. 
See https://wiki.documentfoundation.org/QA/FAQ#How_can_I_eliminate_confidential_data_from_a_sample_document.3F for help on how to do so.)
Comment 5 Gessel 2018-06-28 15:22:51 UTC
Hi all - I'll try to put together an appropriate, non-proprietary sample. 

It seems to be related to zoom - these are large drawings, both in complexity (not huge by that measure) and by page size, which presumably maps in some way to the spatial address space (I add only to be clear that I understand that page sizes in physical measurements are meaningless).

If I zoom in to 1:1 (click on view, wait for the menu to open, click on zoom, wait for the pop-out menu to open, click on 100%, wait for redraw, after that, most drawings seem pretty normal in terms of performance.

Also, when the redraw/UI is really slow - it is slow across the whole system, not just LO tasks.  It is as if there is some UI management/redraw function that is getting very unhappy.  htop shows only one CPU in use, but maxed out (100%) constantly.  

Tasks that don't require UI interaction are normal (I'm sure not /all/ but the ones I've tested).  There's no stuttering in Clementine music playback.  Mouse movement is normal, etc.

I'll try to get you something more useful than this shortly.
Comment 6 Xisco Faulí 2018-07-02 22:49:57 UTC
(In reply to Gessel from comment #5)
> Hi all - I'll try to put together an appropriate, non-proprietary sample. 

Please do. if possible, try to create a minimal document illustrating the problem.
Thanks
Comment 7 Gessel 2018-09-26 11:51:29 UTC
Still slow.

Created "demo_document.odg" as a typical moderately complex drawing.  Some are more complex and are significantly slower to work with, but I think this is complex enough to allow profiling and perhaps identify the slug.  I find when complex documents are open, non libreoffice programs also get slow and it is possible to freeze the system (perhaps not permanently, but longer than I'm willing to wait before rebooting).

Testing with Version: 6.0.6.2
Build ID: 1:6.0.6-0ubuntu0.16.04.1
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: x11;

System:    Host: iku Kernel: 4.15.0-34-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: MATE 1.18.0 (Gtk 3.18.9-1ubuntu3.3)
           Distro: Linux Mint 18.3 Sylvia
Machine:   System: Hewlett-Packard (portable) product: HP ZBook 15 G2 v: A3009DD10203
           Mobo: Hewlett-Packard model: 2253 v: KBC Version 03.12
           Bios: Hewlett-Packard v: M70 Ver. 01.21 date: 04/12/2018
CPU:       Quad core Intel Core i7-4910MQ (-HT-MCP-) cache: 8192 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 23147
           clock speeds: max: 3900 MHz 1: 1176 MHz 2: 1285 MHz 3: 1157 MHz
           4: 1037 MHz 5: 1267 MHz 6: 1093 MHz 7: 1192 MHz 8: 1121 MHz
Graphics:  Card: NVIDIA GK106GLM [Quadro K2100M] bus-ID: 01:00.0
           Display Server: X.Org 1.18.4 driver: nvidia
           Resolution: 3200x1800@59.98hz, 4096x2160@50.00hz
           GLX Renderer: Quadro K2100M/PCIe/SSE2
           GLX Version: 4.5.0 NVIDIA 384.130 Direct Rendering: Yes
Audio:     Card-1 Intel 8 Series/C220 Series High Definition Audio Controller
           driver: snd_hda_intel bus-ID: 00:1b.0
           Card-2 NVIDIA GK106 HDMI Audio Controller
           driver: snd_hda_intel bus-ID: 01:00.1
           Sound: Advanced Linux Sound Architecture v: k4.15.0-34-generic
Network:   Card-1: Intel Ethernet Connection I217-LM
           driver: e1000e v: 3.2.6-k port: 7040 bus-ID: 00:19.0
           IF: enp0s25 state: down mac: <filter>
           Card-2: Intel Wireless 7260 driver: iwlwifi bus-ID: 3e:00.0
           IF: wlp62s0 state: up mac: <filter>
Drives:    HDD Total Size: 12514.4GB (40.4% used)
           ID-1: /dev/sda model: Samsung_SSD_850 size: 2000.4GB
           ID-2: /dev/sdb model: Samsung_SSD_850 size: 1000.2GB
           ID-3: /dev/mmcblk0 model: N/A size: 258.6GB
           ID-4: /dev/sdc model: PLEXTOR_PX size: 512.1GB
           ID-5: USB /dev/sde model: My_Passport_259D size: 4000.8GB
           ID-6: USB /dev/sdd model: BUP_SL size: 5001.0GB
Partition: ID-1: / size: 469G used: 22G (5%) fs: ext4 dev: /dev/sdc3
           ID-2: /boot size: 945M used: 522M (60%) fs: ext4 dev: /dev/sdc1
           ID-3: /home size: 1.8T used: 1.6T (91%) fs: ext4 dev: /dev/sda1
           ID-4: swap-1 size: 4.19GB used: 0.00GB (0%) fs: swap dev: /dev/dm-0
           ID-5: swap-2 size: 0.07GB used: 0.00GB (0%) fs: swap dev: /dev/dm-1
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 60.0C mobo: 56.0C gpu: 0.0:57C
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 325 Uptime: 2:04 Memory: 4113.8/32083.9MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35


 sudo operf libreoffice --draw 
operf: Profiler started
func=xmlSecCheckVersionExt:file=xmlsec.c:line=188:obj=unknown:subj=unknown:error=19:invalid version:mode=abi compatible;expected minor version=2;real minor version=2;expected subminor version=25;real subminor version=26
* * * * WARNING: Profiling rate was throttled back by the kernel * * * *
The number of samples actually recorded is less than expected, but is
probably still statistically valid.  Decreasing the sampling rate is the
best option if you want to avoid throttling.

WARNING: Lost samples detected! See /home/gessel/oprofile_data/samples/operf.log for details.
Lowering the sampling rate may reduce or eliminate lost samples.
See the '--events' option description in the operf man page for help.

$ opreport
Using /home/gessel/oprofile_data/samples/ for samples directory.

WARNING! Some of the events were throttled. Throttling occurs when
the initial sample rate is too high, causing an excessive number of
interrupts.  Decrease the sampling frequency. Check the directory
/home/gessel/oprofile_data/samples/current/stats/throttled
for the throttled event names.


WARNING: Lost samples detected! See /home/gessel/oprofile_data/samples/operf.log for details.
CPU: Intel Haswell microarchitecture, speed 3900 MHz (estimated)
Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit mask of 0x00 (No unit mask) count 100000
CPU_CLK_UNHALT...|
  samples|      %|
------------------
  4486710 99.8900 soffice.bin
	CPU_CLK_UNHALT...|
	  samples|      %|
	------------------
	  1014025 22.6006 kallsyms
	   969030 21.5978 libcairo.so.2.11400.6
	   802664 17.8898 libc-2.23.so
	   689899 15.3765 libmergedlo.so
	   184466  4.1114 libm-2.23.so
	   133239  2.9696 libpthread-2.23.so
	   112855  2.5153 libuno_sal.so.3
	   109428  2.4389 libX11.so.6.3.0
	    80093  1.7851 libvclplug_genlo.so
	    74166  1.6530 libxcb.so.1.1.0
	    65604  1.4622 libstdc++.so.6.0.21
	    65395  1.4575 libsvgiolo.so
	    52768  1.1761 libXrender.so.1.3.0
	    31787  0.7085 libexpat.so.1.6.0
	    28510  0.6354 libuno_cppuhelpergcc3.so.3
	    25337  0.5647 libz.so.1.2.8
	    12498  0.2786 libpixman-1.so.0.33.6
	    10804  0.2408 libuno_cppu.so.3
	     7028  0.1566 libharfbuzz.so.0.10000.1
	     2983  0.0665 libfontconfig.so.1.9.0
	     2400  0.0535 libsdlo.so
	     1913  0.0426 libi18nlangtag.so
	     1703  0.0380 ld-2.23.so
	     1625  0.0362 libicuuc.so.55.1
	     1249  0.0278 libxmlreaderlo.so
	     1063  0.0237 libjpeg.so.8.0.2
	      945  0.0211 libexpwraplo.so
	      545  0.0121 nvidia
	      362  0.0081 libunoidllo.so
	      350  0.0078 libhunspell-1.3.so.0.0.0
	      328  0.0073 [vdso] (tgid:26647 range:0x7ffe5bf30000-0x7ffe5bf31fff)
	      254  0.0057 libfreetype.so.6.12.1
	      235  0.0052 libgcc_s.so.1
	      204  0.0045 libucpchelp1.so
	      196  0.0044 libboost_locale.so.1.58.0
	      146  0.0033 libxml2.so.2.9.3
	      108  0.0024 libharfbuzz-icu.so.0.10000.1
	       67  0.0015 libGL.so.384.130
	       63  0.0014 kvm
	       46  0.0010 libnvidia-glcore.so.384.130
	       39 8.7e-04 libreflectionlo.so
	       32 7.1e-04 libuno_salhelpergcc3.so.3
	       31 6.9e-04 libnettle.so.6.2
	       30 6.7e-04 hid
	       27 6.0e-04 libXrandr.so.2.2.0
	       23 5.1e-04 liborcus-parser-0.13.so.0
	       17 3.8e-04 libicui18n.so.55.1
	       11 2.5e-04 libahci
	       11 2.5e-04 libgcc3_uno.so
	        9 2.0e-04 libcups.so.2
	        7 1.6e-04 iwlwifi
	        7 1.6e-04 libdl-2.23.so
	        6 1.3e-04 usbhid
	        5 1.1e-04 libintrospectionlo.so
	        5 1.1e-04 liborcus-0.13.so.0
	        5 1.1e-04 librecentfile.so
	        4 8.9e-05 libstocserviceslo.so
	        4 8.9e-05 libnss3.so
	        3 6.7e-05 btusb
	        3 6.7e-05 vmmon
	        3 6.7e-05 libsal_textenclo.so
	        3 6.7e-05 libspelllo.so
	        3 6.7e-05 libnssutil3.so
	        3 6.7e-05 libtasn1.so.6.5.1
	        2 4.5e-05 [vdso] (tgid:26648 range:0x7ffe5bf30000-0x7ffe5bf31fff)
	        2 4.5e-05 e1000e
	        2 4.5e-05 iwlmvm
	        2 4.5e-05 mac80211
	        2 4.5e-05 dash
	        2 4.5e-05 gpgsm
	        2 4.5e-05 libXcursor.so.1.0.2
	        2 4.5e-05 libgobject-2.0.so.0.4800.2
	        2 4.5e-05 libplds4.so
	        2 4.5e-05 libfreeblpriv3.so
	        1 2.2e-05 nvidia_modeset
	        1 2.2e-05 nvidia_uvm
	        1 2.2e-05 x86_pkg_temp_thermal
	        1 2.2e-05 libgcrypt.so.20.0.5
	        1 2.2e-05 liblzma.so.5.0.0
	        1 2.2e-05 libnss_compat-2.23.so
	        1 2.2e-05 librt-2.23.so
	        1 2.2e-05 gpg2
	        1 2.2e-05 gpgconf
	        1 2.2e-05 libfwllo.so
	        1 2.2e-05 libgpgme.so.11
	        1 2.2e-05 libgpgmepp.so.6
	        1 2.2e-05 liblnthlo.so
	        1 2.2e-05 libxsec_xmlsec.so
	        1 2.2e-05 libXext.so.6.4.0
	        1 2.2e-05 libkrb5.so.3.3
	        1 2.2e-05 libnspr4.so
	        1 2.2e-05 libsoftokn3.so
     4368  0.0972 gpgconf
	CPU_CLK_UNHALT...|
	  samples|      %|
	------------------
	     4360 99.8168 kallsyms
	        5  0.1145 ld-2.23.so
	        2  0.0458 libc-2.23.so
	        1  0.0229 libgpg-error.so.0.17.0
      343  0.0076 oosplash
	CPU_CLK_UNHALT...|
	  samples|      %|
	------------------
	      120 34.9854 kallsyms
	       73 21.2828 libpng12.so.0.54.0
	       33  9.6210 ld-2.23.so
	       32  9.3294 libz.so.1.2.8
	       30  8.7464 libc-2.23.so
	       25  7.2886 oosplash
	       12  3.4985 libX11.so.6.3.0
	        9  2.6239 dash
	        6  1.7493 libuno_sal.so.3
	        2  0.5831 libpthread-2.23.so
	        1  0.2915 librt-2.23.so
      113  0.0025 javaldx
	CPU_CLK_UNHALT...|
	  samples|      %|
	------------------
	       62 54.8673 kallsyms
	       29 25.6637 ld-2.23.so
	        9  7.9646 libc-2.23.so
	        7  6.1947 libxml2.so.2.9.3
	        6  5.3097 libuno_sal.so.3
       29 6.5e-04 ls
	CPU_CLK_UNHALT...|
	  samples|      %|
	------------------
	       20 68.9655 kallsyms
	        5 17.2414 libc-2.23.so
	        3 10.3448 ld-2.23.so
	        1  3.4483 ls
       21 4.7e-04 dirname
	CPU_CLK_UNHALT...|
	  samples|      %|
	------------------
	       16 76.1905 kallsyms
	        3 14.2857 ld-2.23.so
	        2  9.5238 libc-2.23.so
       20 4.5e-04 sed
	CPU_CLK_UNHALT...|
	  samples|      %|
	------------------
	       13 65.0000 kallsyms
	        4 20.0000 ld-2.23.so
	        3 15.0000 libc-2.23.so
       16 3.6e-04 grep
	CPU_CLK_UNHALT...|
	  samples|      %|
	------------------
	       11 68.7500 kallsyms
	        3 18.7500 libc-2.23.so
	        2 12.5000 ld-2.23.so
       13 2.9e-04 paperconf
	CPU_CLK_UNHALT...|
	  samples|      %|
	------------------
	        9 69.2308 kallsyms
	        2 15.3846 ld-2.23.so
	        2 15.3846 libc-2.23.so
        9 2.0e-04 basename
	CPU_CLK_UNHALT...|
	  samples|      %|
	------------------
	        7 77.7778 kallsyms
	        2 22.2222 libc-2.23.so
        8 1.8e-04 uname
	CPU_CLK_UNHALT...|
	  samples|      %|
	------------------
	        6 75.0000 kallsyms
	        1 12.5000 ld-2.23.so
	        1 12.5000 libc-2.23.so
Comment 8 Gessel 2018-09-26 11:53:14 UTC
Created attachment 145182 [details]
Test case for slow draw performance
Comment 9 Gessel 2018-09-26 11:55:21 UTC
A little more oprofile detail:

opreport --demangle=smart --symbols
Using /home/gessel/oprofile_data/samples/ for samples directory.

WARNING! Some of the events were throttled. Throttling occurs when
the initial sample rate is too high, causing an excessive number of
interrupts.  Decrease the sampling frequency. Check the directory
/home/gessel/oprofile_data/samples/current/stats/throttled
for the throttled event names.


WARNING: Lost samples detected! See /home/gessel/oprofile_data/samples/operf.log for details.
warning: /btusb could not be found.
warning: /e1000e could not be found.
warning: /hid could not be found.
warning: /iwlmvm could not be found.
warning: /iwlwifi could not be found.
warning: /kvm could not be found.
warning: /libahci could not be found.
warning: /mac80211 could not be found.
warning: /nvidia could not be found.
warning: /nvidia_modeset could not be found.
warning: /nvidia_uvm could not be found.
warning: /usbhid could not be found.
warning: /vmmon could not be found.
warning: /x86_pkg_temp_thermal could not be found.
CPU: Intel Haswell microarchitecture, speed 3900 MHz (estimated)
Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit mask of 0x00 (No unit mask) count 100000
samples  %        image name               app name                 symbol name
969030   27.9036  libcairo.so.2.11400.6    soffice.bin              /usr/lib/x86_64-linux-gnu/libcairo.so.2.11400.6
689899   19.8659  libmergedlo.so           soffice.bin              /usr/lib/libreoffice/program/libmergedlo.so
215819    6.2146  libc-2.23.so             soffice.bin              _int_malloc
189412    5.4542  libc-2.23.so             soffice.bin              _int_free
162241    4.6718  libc-2.23.so             soffice.bin              malloc
112855    3.2497  libuno_sal.so.3          soffice.bin              /usr/lib/libreoffice/program/libuno_sal.so.3
109428    3.1510  libX11.so.6.3.0          soffice.bin              /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
80093     2.3063  libvclplug_genlo.so      soffice.bin              /usr/lib/libreoffice/program/libvclplug_genlo.so
74166     2.1356  libxcb.so.1.1.0          soffice.bin              /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
67849     1.9537  libm-2.23.so             soffice.bin              sincos
65604     1.8891  libstdc++.so.6.0.21      soffice.bin              /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.21
65395     1.8831  libsvgiolo.so            soffice.bin              /usr/lib/libreoffice/program/libsvgiolo.so
59780     1.7214  libpthread-2.23.so       soffice.bin              pthread_mutex_lock
59232     1.7056  libc-2.23.so             soffice.bin              malloc_consolidate
52768     1.5195  libXrender.so.1.3.0      soffice.bin              /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0
47460     1.3666  libpthread-2.23.so       soffice.bin              pthread_mutex_unlock
47035     1.3544  libm-2.23.so             soffice.bin              __dubsin
37325     1.0748  libc-2.23.so             soffice.bin              free
31787     0.9153  libexpat.so.1.6.0        soffice.bin              /lib/x86_64-linux-gnu/libexpat.so.1.6.0
28510     0.8210  libuno_cppuhelpergcc3.so.3 soffice.bin              /usr/lib/libreoffice/program/libuno_cppuhelpergcc3.so.3
25337     0.7296  libz.so.1.2.8            soffice.bin              /lib/x86_64-linux-gnu/libz.so.1.2.8
22397     0.6449  libc-2.23.so             soffice.bin              __memcpy_avx_unaligned
21049     0.6061  libm-2.23.so             soffice.bin              __ieee754_acos_sse2
19581     0.5638  libm-2.23.so             soffice.bin              __hypot_finite
14242     0.4101  libc-2.23.so             soffice.bin              __strcmp_sse2_unaligned
13617     0.3921  libc-2.23.so             soffice.bin              pthread_mutex_lock
12498     0.3599  libpixman-1.so.0.33.6    soffice.bin              /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.33.6
10897     0.3138  libpthread-2.23.so       soffice.bin              pthread_cond_broadcast@@GLIBC_2.3.2
10804     0.3111  libuno_cppu.so.3         soffice.bin              /usr/lib/libreoffice/program/libuno_cppu.so.3
10441     0.3007  libc-2.23.so             soffice.bin              __libc_enable_asynccancel
10232     0.2946  libc-2.23.so             soffice.bin              __libc_disable_asynccancel
9664      0.2783  libc-2.23.so             soffice.bin              pthread_mutex_unlock
9229      0.2658  libm-2.23.so             soffice.bin              __ieee754_atan2_avx
9206      0.2651  libc-2.23.so             soffice.bin              __recvmsg_nocancel
8885      0.2558  libpthread-2.23.so       soffice.bin              pthread_cond_signal@@GLIBC_2.3.2
7192      0.2071  libm-2.23.so             soffice.bin              sloww
7028      0.2024  libharfbuzz.so.0.10000.1 soffice.bin              /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0.10000.1
6247      0.1799  libm-2.23.so             soffice.bin              hypot
6077      0.1750  libc-2.23.so             soffice.bin              __poll_nocancel
5307      0.1528  libc-2.23.so             soffice.bin              pthread_cond_signal@@GLIBC_2.3.2
4596      0.1323  libc-2.23.so             soffice.bin              pthread_cond_broadcast@@GLIBC_2.3.2
4329      0.1247  libc-2.23.so             soffice.bin              strlen
4118      0.1186  libpthread-2.23.so       soffice.bin              pthread_cond_destroy@@GLIBC_2.3.2
3534      0.1018  libc-2.23.so             soffice.bin              __errno_location
3298      0.0950  libm-2.23.so             soffice.bin              acos
3206      0.0923  libc-2.23.so             soffice.bin              pthread_self
3202      0.0922  libc-2.23.so             soffice.bin              __writev_nocancel
2983      0.0859  libfontconfig.so.1.9.0   soffice.bin              /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.9.0
2945      0.0848  libc-2.23.so             soffice.bin              pthread_cond_destroy@@GLIBC_2.3.2
2400      0.0691  libsdlo.so               soffice.bin              /usr/lib/libreoffice/program/libsdlo.so
2347      0.0676  libc-2.23.so             soffice.bin              __memmove_avx_unaligned
2016      0.0581  libc-2.23.so             soffice.bin              recvmsg
1939      0.0558  libc-2.23.so             soffice.bin              __memset_avx2
1913      0.0551  libi18nlangtag.so        soffice.bin              /usr/lib/libreoffice/program/libi18nlangtag.so
1779      0.0512  libm-2.23.so             soffice.bin              __ceil_sse41
1635      0.0471  libpthread-2.23.so       soffice.bin              pthread_self
1625      0.0468  libicuuc.so.55.1         soffice.bin              /usr/lib/x86_64-linux-gnu/libicuuc.so.55.1
1334      0.0384  libc-2.23.so             soffice.bin              __memcpy_sse2
1283      0.0369  libc-2.23.so             soffice.bin              writev
1249      0.0360  libxmlreaderlo.so        soffice.bin              /usr/lib/libreoffice/program/libxmlreaderlo.so
1063      0.0306  libjpeg.so.8.0.2         soffice.bin              /usr/lib/x86_64-linux-gnu/libjpeg.so.8.0.2
1054      0.0304  libc-2.23.so             soffice.bin              _dl_addr
945       0.0272  libexpwraplo.so          soffice.bin              /usr/lib/libreoffice/program/libexpwraplo.so
931       0.0268  libc-2.23.so             soffice.bin              realloc
643       0.0185  libc-2.23.so             soffice.bin              _int_realloc
548       0.0158  libc-2.23.so             soffice.bin              __memcmp_sse4_1
545       0.0157  nvidia                   soffice.bin              /nvidia
537       0.0155  libc-2.23.so             soffice.bin              poll
514       0.0148  ld-2.23.so               soffice.bin              strcmp
490       0.0141  libm-2.23.so             soffice.bin              atan2
486       0.0140  ld-2.23.so               soffice.bin              do_lookup_x
362       0.0104  libunoidllo.so           soffice.bin              /usr/lib/libreoffice/program/libunoidllo.so
351       0.0101  libc-2.23.so             soffice.bin              __GI_strchr
350       0.0101  libhunspell-1.3.so.0.0.0 soffice.bin              /usr/lib/x86_64-linux-gnu/libhunspell-1.3.so.0.0.0
336       0.0097  libc-2.23.so             soffice.bin              _IO_vfscanf
328       0.0094  [vdso] (tgid:26647 range:0x7ffe5bf30000-0x7ffe5bf31fff) soffice.bin              [vdso] (tgid:26647 range:0x7ffe5bf30000-0x7ffe5bf31fff)
303       0.0087  libc-2.23.so             soffice.bin              fgetc
254       0.0073  libfreetype.so.6.12.1    soffice.bin              /usr/lib/x86_64-linux-gnu/libfreetype.so.6.12.1
235       0.0068  libgcc_s.so.1            soffice.bin              /lib/x86_64-linux-gnu/libgcc_s.so.1
204       0.0059  libucpchelp1.so          soffice.bin              /usr/lib/libreoffice/program/libucpchelp1.so
199       0.0057  libc-2.23.so             soffice.bin              calloc
196       0.0056  libboost_locale.so.1.58.0 soffice.bin              /usr/lib/x86_64-linux-gnu/libboost_locale.so.1.58.0
168       0.0048  ld-2.23.so               soffice.bin              _dl_relocate_object
158       0.0045  libm-2.23.so             soffice.bin              __floor_sse41
148       0.0043  libc-2.23.so             soffice.bin              memchr
146       0.0042  libxml2.so.2.9.3         soffice.bin              /usr/lib/x86_64-linux-gnu/libxml2.so.2.9.3
137       0.0039  libc-2.23.so             soffice.bin              __offtime
132       0.0038  libc-2.23.so             soffice.bin              getenv
126       0.0036  libc-2.23.so             soffice.bin              __memset_sse2
111       0.0032  libm-2.23.so             soffice.bin              lround
108       0.0031  libharfbuzz-icu.so.0.10000.1 soffice.bin              /usr/lib/x86_64-linux-gnu/libharfbuzz-icu.so.0.10000.1
103       0.0030  libpthread-2.23.so       soffice.bin              pthread_once
89        0.0026  libpthread-2.23.so       soffice.bin              pthread_mutex_init
86        0.0025  libc-2.23.so             soffice.bin              _setjmp
76        0.0022  libm-2.23.so             soffice.bin              __ieee754_asin_sse2
73        0.0021  libpng12.so.0.54.0       oosplash                 /lib/x86_64-linux-gnu/libpng12.so.0.54.0
72        0.0021  ld-2.23.so               soffice.bin              _dl_lookup_symbol_x
68        0.0020  ld-2.23.so               soffice.bin              _dl_map_object_deps
67        0.0019  libGL.so.384.130         soffice.bin              /usr/lib/nvidia-384/libGL.so.384.130
67        0.0019  libc-2.23.so             soffice.bin              pthread_mutex_destroy
66        0.0019  libc-2.23.so             soffice.bin              parse_tzname
63        0.0018  kvm                      soffice.bin              /kvm
63        0.0018  libm-2.23.so             soffice.bin              __sin_avx
62        0.0018  ld-2.23.so               soffice.bin              _dl_name_match_p
60        0.0017  ld-2.23.so               soffice.bin              _dl_map_object
60        0.0017  libc-2.23.so             soffice.bin              __GI_____strtoull_l_internal
57        0.0016  libc-2.23.so             soffice.bin              __tz_convert
53        0.0015  libc-2.23.so             soffice.bin              __tzset_parse_tz
51        0.0015  libc-2.23.so             soffice.bin              __tzfile_compute
51        0.0015  libc-2.23.so             soffice.bin              pthread_mutex_init
51        0.0015  libpthread-2.23.so       soffice.bin              pthread_mutex_destroy
46        0.0013  libnvidia-glcore.so.384.130 soffice.bin              /usr/lib/nvidia-384/libnvidia-glcore.so.384.130
45        0.0013  ld-2.23.so               soffice.bin              check_match
45        0.0013  libc-2.23.so             soffice.bin              __tz_compute
44        0.0013  libpthread-2.23.so       soffice.bin              pthread_getspecific
41        0.0012  ld-2.23.so               soffice.bin              __tls_get_addr
41        0.0012  libc-2.23.so             soffice.bin              fgets
40        0.0012  libpthread-2.23.so       soffice.bin              pthread_mutexattr_settype
39        0.0011  libreflectionlo.so       soffice.bin              /usr/lib/libreoffice/program/libreflectionlo.so
38        0.0011  libc-2.23.so             soffice.bin              __sigsetjmp
37        0.0011  ld-2.23.so               soffice.bin              _dl_fixup
33       9.5e-04  libc-2.23.so             soffice.bin              __GI_strncmp
32       9.2e-04  libuno_salhelpergcc3.so.3 soffice.bin              /usr/lib/libreoffice/program/libuno_salhelpergcc3.so.3
32       9.2e-04  libz.so.1.2.8            oosplash                 /lib/x86_64-linux-gnu/libz.so.1.2.8
31       8.9e-04  libnettle.so.6.2         soffice.bin              /usr/lib/x86_64-linux-gnu/libnettle.so.6.2
31       8.9e-04  libpthread-2.23.so       soffice.bin              pthread_mutexattr_init
30       8.6e-04  hid                      soffice.bin              /hid
29       8.4e-04  libpthread-2.23.so       soffice.bin              pthread_mutexattr_destroy
28       8.1e-04  libc-2.23.so             soffice.bin              finite
28       8.1e-04  libm-2.23.so             soffice.bin              __ieee754_log_avx
27       7.8e-04  ld-2.23.so               soffice.bin              _dl_update_slotinfo
27       7.8e-04  libXrandr.so.2.2.0       soffice.bin              /usr/lib/x86_64-linux-gnu/libXrandr.so.2.2.0
27       7.8e-04  libc-2.23.so             soffice.bin              _IO_no_init
25       7.2e-04  libc-2.23.so             soffice.bin              recv
25       7.2e-04  oosplash                 oosplash                 /usr/lib/libreoffice/program/oosplash
24       6.9e-04  libc-2.23.so             soffice.bin              __uflow
23       6.6e-04  libc-2.23.so             soffice.bin              __strcspn_sse42
23       6.6e-04  liborcus-parser-0.13.so.0 soffice.bin              /usr/lib/libreoffice/program/liborcus-parser-0.13.so.0
22       6.3e-04  libm-2.23.so             soffice.bin              fmod
21       6.0e-04  libc-2.23.so             soffice.bin              _IO_str_init_static_internal
21       6.0e-04  libc-2.23.so             soffice.bin              __strncpy_sse2_unaligned
20       5.8e-04  libc-2.23.so             soffice.bin              sysmalloc
18       5.2e-04  libc-2.23.so             soffice.bin              __memcmp_sse2
18       5.2e-04  libc-2.23.so             soffice.bin              __strtoull_internal
18       5.2e-04  libpthread-2.23.so       soffice.bin              pthread_cond_wait@@GLIBC_2.3.2
18       5.2e-04  libpthread-2.23.so       soffice.bin              pthread_create@@GLIBC_2.2.5
17       4.9e-04  ld-2.23.so               soffice.bin              update_get_addr
17       4.9e-04  libc-2.23.so             soffice.bin              clock_gettime
17       4.9e-04  libicui18n.so.55.1       soffice.bin              /usr/lib/x86_64-linux-gnu/libicui18n.so.55.1
16       4.6e-04  libc-2.23.so             soffice.bin              vsscanf
15       4.3e-04  libc-2.23.so             soffice.bin              __select_nocancel
13       3.7e-04  libc-2.23.so             soffice.bin              _IO_getline_info
13       3.7e-04  libc-2.23.so             soffice.bin              _IO_old_init
13       3.7e-04  libc-2.23.so             soffice.bin              _IO_setb
13       3.7e-04  libc-2.23.so             soffice.bin              localtime_r
13       3.7e-04  libc-2.23.so             soffice.bin              rawmemchr
12       3.5e-04  ld-2.23.so               javaldx                  do_lookup_x
12       3.5e-04  ld-2.23.so               soffice.bin              _dl_allocate_tls_init
12       3.5e-04  libX11.so.6.3.0          oosplash                 /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
12       3.5e-04  libc-2.23.so             soffice.bin              compute_offset
12       3.5e-04  libc-2.23.so             soffice.bin              dl_iterate_phdr
12       3.5e-04  libc-2.23.so             soffice.bin              sscanf
11       3.2e-04  ld-2.23.so               soffice.bin              _dl_map_object_from_fd
11       3.2e-04  libahci                  soffice.bin              /libahci
11       3.2e-04  libgcc3_uno.so           soffice.bin              /usr/lib/libreoffice/program/libgcc3_uno.so
10       2.9e-04  ld-2.23.so               soffice.bin              _dl_find_dso_for_object
10       2.9e-04  libc-2.23.so             soffice.bin              _IO_str_underflow
10       2.9e-04  libc-2.23.so             soffice.bin              __strcpy_sse2_unaligned
10       2.9e-04  libc-2.23.so             soffice.bin              access
10       2.9e-04  libm-2.23.so             soffice.bin              __fmod_finite
9        2.6e-04  dash                     oosplash                 /bin/dash
9        2.6e-04  ld-2.23.so               oosplash                 _dl_lookup_symbol_x
9        2.6e-04  ld-2.23.so               oosplash                 do_lookup_x
9        2.6e-04  ld-2.23.so               soffice.bin              mempcpy
9        2.6e-04  libc-2.23.so             soffice.bin              __cxa_finalize
9        2.6e-04  libcups.so.2             soffice.bin              /usr/lib/x86_64-linux-gnu/libcups.so.2
8        2.3e-04  libm-2.23.so             soffice.bin              __log10_finite
8        2.3e-04  libm-2.23.so             soffice.bin              sloww
7        2.0e-04  iwlwifi                  soffice.bin              /iwlwifi
7        2.0e-04  ld-2.23.so               soffice.bin              _dl_close_worker.part.0
7        2.0e-04  libc-2.23.so             soffice.bin              _IO_default_uflow
7        2.0e-04  libc-2.23.so             soffice.bin              __pwrite_nocancel
7        2.0e-04  libc-2.23.so             soffice.bin              __sigjmp_save
7        2.0e-04  libc-2.23.so             soffice.bin              pthread_cond_wait@@GLIBC_2.3.2
7        2.0e-04  libc-2.23.so             soffice.bin              vfprintf
7        2.0e-04  libm-2.23.so             soffice.bin              asin
7        2.0e-04  libxml2.so.2.9.3         javaldx                  /usr/lib/x86_64-linux-gnu/libxml2.so.2.9.3
6        1.7e-04  ld-2.23.so               javaldx                  _dl_relocate_object
6        1.7e-04  ld-2.23.so               oosplash                 _dl_relocate_object
6        1.7e-04  ld-2.23.so               soffice.bin              _dl_add_to_namespace_list
6        1.7e-04  ld-2.23.so               soffice.bin              _dl_check_caller
6        1.7e-04  libc-2.23.so             soffice.bin              _IO_sputbackc
6        1.7e-04  libc-2.23.so             soffice.bin              __lxstat
6        1.7e-04  libpthread-2.23.so       soffice.bin              __pthread_disable_asynccancel
6        1.7e-04  libuno_sal.so.3          javaldx                  /usr/lib/libreoffice/program/libuno_sal.so.3
6        1.7e-04  libuno_sal.so.3          oosplash                 /usr/lib/libreoffice/program/libuno_sal.so.3
6        1.7e-04  usbhid                   soffice.bin              /usbhid
5        1.4e-04  ld-2.23.so               soffice.bin              _dl_fini
5        1.4e-04  libc-2.23.so             oosplash                 fgets
5        1.4e-04  libc-2.23.so             soffice.bin              __fxstat64
5        1.4e-04  libc-2.23.so             soffice.bin              __strstr_sse2_unaligned
5        1.4e-04  libc-2.23.so             soffice.bin              select
5        1.4e-04  libintrospectionlo.so    soffice.bin              /usr/lib/libreoffice/program/libintrospectionlo.so
5        1.4e-04  liborcus-0.13.so.0       soffice.bin              /usr/lib/libreoffice/program/liborcus-0.13.so.0
5        1.4e-04  libpthread-2.23.so       soffice.bin              __lll_unlock_wake
5        1.4e-04  libpthread-2.23.so       soffice.bin              _pthread_cleanup_push_defer
5        1.4e-04  librecentfile.so         soffice.bin              /usr/lib/libreoffice/program/librecentfile.so
4        1.2e-04  ld-2.23.so               oosplash                 strcmp
4        1.2e-04  ld-2.23.so               soffice.bin              _dl_runtime_resolve_avx
4        1.2e-04  ld-2.23.so               soffice.bin              dl_open_worker
4        1.2e-04  ld-2.23.so               soffice.bin              index
4        1.2e-04  libc-2.23.so             oosplash                 __memcpy_avx_unaligned
4        1.2e-04  libc-2.23.so             soffice.bin              _IO_default_xsputn
4        1.2e-04  libc-2.23.so             soffice.bin              __GI_____strtoll_l_internal
4        1.2e-04  libc-2.23.so             soffice.bin              __pread_nocancel
4        1.2e-04  libc-2.23.so             soffice.bin              __strncmp_sse42
4        1.2e-04  libc-2.23.so             soffice.bin              arena_thread_freeres
4        1.2e-04  libc-2.23.so             soffice.bin              madvise
4        1.2e-04  libc-2.23.so             soffice.bin              open
4        1.2e-04  libc-2.23.so             soffice.bin              opendir
4        1.2e-04  libc-2.23.so             soffice.bin              pwrite64
4        1.2e-04  libc-2.23.so             soffice.bin              read
4        1.2e-04  libc-2.23.so             soffice.bin              strchrnul
4        1.2e-04  libc-2.23.so             soffice.bin              strdup
4        1.2e-04  libdl-2.23.so            soffice.bin              dlsym
4        1.2e-04  libnss3.so               soffice.bin              /usr/lib/x86_64-linux-gnu/libnss3.so
4        1.2e-04  libpthread-2.23.so       soffice.bin              __free_tcb
4        1.2e-04  libpthread-2.23.so       soffice.bin              __pthread_mutex_cond_lock
4        1.2e-04  libpthread-2.23.so       soffice.bin              _pthread_cleanup_pop_restore
4        1.2e-04  libstocserviceslo.so     soffice.bin              /usr/lib/libreoffice/program/libstocserviceslo.so
3        8.6e-05  btusb                    soffice.bin              /btusb
3        8.6e-05  ld-2.23.so               javaldx                  _dl_lookup_symbol_x
3        8.6e-05  ld-2.23.so               javaldx                  strcmp
3        8.6e-05  ld-2.23.so               soffice.bin              _dl_catch_error
3        8.6e-05  ld-2.23.so               soffice.bin              match_symbol
3        8.6e-05  libc-2.23.so             oosplash                 _int_malloc
3        8.6e-05  libc-2.23.so             soffice.bin              __GI___mempcpy
3        8.6e-05  libc-2.23.so             soffice.bin              __libc_thread_freeres
3        8.6e-05  libc-2.23.so             soffice.bin              __memmove_sse2
3        8.6e-05  libc-2.23.so             soffice.bin              __read_nocancel
3        8.6e-05  libc-2.23.so             soffice.bin              fread
3        8.6e-05  libc-2.23.so             soffice.bin              mmap64
3        8.6e-05  libc-2.23.so             soffice.bin              msort_with_tmp.part.0
3        8.6e-05  libm-2.23.so             soffice.bin              log10
3        8.6e-05  libnssutil3.so           soffice.bin              /usr/lib/x86_64-linux-gnu/libnssutil3.so
3        8.6e-05  libpthread-2.23.so       soffice.bin              __pthread_enable_asynccancel
3        8.6e-05  libsal_textenclo.so      soffice.bin              /usr/lib/libreoffice/program/libsal_textenclo.so
3        8.6e-05  libspelllo.so            soffice.bin              /usr/lib/libreoffice/program/libspelllo.so
3        8.6e-05  libtasn1.so.6.5.1        soffice.bin              /usr/lib/x86_64-linux-gnu/libtasn1.so.6.5.1
3        8.6e-05  vmmon                    soffice.bin              /vmmon
2        5.8e-05  [vdso] (tgid:26648 range:0x7ffe5bf30000-0x7ffe5bf31fff) soffice.bin              [vdso] (tgid:26648 range:0x7ffe5bf30000-0x7ffe5bf31fff)
2        5.8e-05  dash                     soffice.bin              /bin/dash
2        5.8e-05  e1000e                   soffice.bin              /e1000e
2        5.8e-05  gpgsm                    soffice.bin              /usr/bin/gpgsm
2        5.8e-05  iwlmvm                   soffice.bin              /iwlmvm
2        5.8e-05  ld-2.23.so               dirname                  _dl_relocate_object
2        5.8e-05  ld-2.23.so               grep                     do_lookup_x
2        5.8e-05  ld-2.23.so               javaldx                  check_match
2        5.8e-05  ld-2.23.so               ls                       _dl_relocate_object
2        5.8e-05  ld-2.23.so               sed                      do_lookup_x
2        5.8e-05  ld-2.23.so               soffice.bin              __sigsetjmp
2        5.8e-05  ld-2.23.so               soffice.bin              _dl_cache_libcmp
2        5.8e-05  ld-2.23.so               soffice.bin              _dl_check_map_versions
2        5.8e-05  ld-2.23.so               soffice.bin              _dl_sort_fini
2        5.8e-05  ld-2.23.so               soffice.bin              bcmp
2        5.8e-05  ld-2.23.so               soffice.bin              memcpy
2        5.8e-05  libXcursor.so.1.0.2      soffice.bin              /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2
2        5.8e-05  libc-2.23.so             dirname                  _dl_addr
2        5.8e-05  libc-2.23.so             javaldx                  _int_malloc
2        5.8e-05  libc-2.23.so             oosplash                 __memcpy_chk_avx_unaligned
2        5.8e-05  libc-2.23.so             oosplash                 _int_free
2        5.8e-05  libc-2.23.so             oosplash                 malloc
2        5.8e-05  libc-2.23.so             soffice.bin              _IO_file_xsputn@@GLIBC_2.2.5
2        5.8e-05  libc-2.23.so             soffice.bin              _IO_link_in
2        5.8e-05  libc-2.23.so             soffice.bin              _IO_un_link
2        5.8e-05  libc-2.23.so             soffice.bin              _IO_unsave_markers
2        5.8e-05  libc-2.23.so             soffice.bin              __GI___printf_fp_l
2        5.8e-05  libc-2.23.so             soffice.bin              __close_nocancel
2        5.8e-05  libc-2.23.so             soffice.bin              __fopen_internal
2        5.8e-05  libc-2.23.so             soffice.bin              __libc_dl_error_tsd
2        5.8e-05  libc-2.23.so             soffice.bin              __new_exitfn
2        5.8e-05  libc-2.23.so             soffice.bin              __open_nocancel
2        5.8e-05  libc-2.23.so             soffice.bin              brk
2        5.8e-05  libc-2.23.so             soffice.bin              clone
2        5.8e-05  libc-2.23.so             soffice.bin              close
2        5.8e-05  libc-2.23.so             soffice.bin              getpagesize
2        5.8e-05  libc-2.23.so             soffice.bin              pthread_cond_timedwait@@GLIBC_2.3.2
2        5.8e-05  libc-2.23.so             soffice.bin              realpath@@GLIBC_2.3
2        5.8e-05  libc-2.23.so             soffice.bin              res_thread_freeres
2        5.8e-05  libc-2.23.so             soffice.bin              unlink
2        5.8e-05  libdl-2.23.so            soffice.bin              _dlerror_run
2        5.8e-05  libfreeblpriv3.so        soffice.bin              /usr/lib/x86_64-linux-gnu/nss/libfreeblpriv3.so
2        5.8e-05  libgobject-2.0.so.0.4800.2 soffice.bin              /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4800.2
2        5.8e-05  libplds4.so              soffice.bin              /usr/lib/x86_64-linux-gnu/libplds4.so
2        5.8e-05  libpthread-2.23.so       oosplash                 pthread_cond_timedwait@@GLIBC_2.3.2
2        5.8e-05  libpthread-2.23.so       soffice.bin              pthread_cond_timedwait@@GLIBC_2.3.2
2        5.8e-05  libpthread-2.23.so       soffice.bin              pthread_detach
2        5.8e-05  libpthread-2.23.so       soffice.bin              pthread_join
2        5.8e-05  libpthread-2.23.so       soffice.bin              start_thread
2        5.8e-05  mac80211                 soffice.bin              /mac80211
1        2.9e-05  gpg2                     soffice.bin              /usr/bin/gpg2
1        2.9e-05  gpgconf                  soffice.bin              /usr/bin/gpgconf
1        2.9e-05  ld-2.23.so               dirname                  _dl_runtime_resolve_avx
1        2.9e-05  ld-2.23.so               gpgconf                  _dl_cache_libcmp
1        2.9e-05  ld-2.23.so               gpgconf                  _dl_check_map_versions
1        2.9e-05  ld-2.23.so               gpgconf                  _dl_sysdep_start
1        2.9e-05  ld-2.23.so               gpgconf                  check_match
1        2.9e-05  ld-2.23.so               gpgconf                  do_lookup_x
1        2.9e-05  ld-2.23.so               javaldx                  _dl_map_object
1        2.9e-05  ld-2.23.so               javaldx                  _dl_map_object_deps
1        2.9e-05  ld-2.23.so               javaldx                  _dl_setup_hash
1        2.9e-05  ld-2.23.so               ls                       _dl_runtime_resolve_avx
1        2.9e-05  ld-2.23.so               oosplash                 _dl_map_object
1        2.9e-05  ld-2.23.so               oosplash                 _dl_runtime_resolve_avx
1        2.9e-05  ld-2.23.so               oosplash                 check_match
1        2.9e-05  ld-2.23.so               oosplash                 dl_main
1        2.9e-05  ld-2.23.so               oosplash                 index
1        2.9e-05  ld-2.23.so               paperconf                _dl_cache_libcmp
1        2.9e-05  ld-2.23.so               paperconf                dl_main
1        2.9e-05  ld-2.23.so               sed                      _dl_fixup
1        2.9e-05  ld-2.23.so               sed                      index
1        2.9e-05  ld-2.23.so               soffice.bin              _dl_close
1        2.9e-05  ld-2.23.so               soffice.bin              _dl_determine_tlsoffset
1        2.9e-05  ld-2.23.so               soffice.bin              _dl_init
1        2.9e-05  ld-2.23.so               soffice.bin              _wordcopy_fwd_dest_aligned
1        2.9e-05  ld-2.23.so               soffice.bin              memmove
1        2.9e-05  ld-2.23.so               soffice.bin              memset
1        2.9e-05  ld-2.23.so               soffice.bin              mmap
1        2.9e-05  ld-2.23.so               soffice.bin              mprotect
1        2.9e-05  ld-2.23.so               soffice.bin              open_path
1        2.9e-05  ld-2.23.so               soffice.bin              openaux
1        2.9e-05  ld-2.23.so               uname                    strcmp
1        2.9e-05  libXext.so.6.4.0         soffice.bin              /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
1        2.9e-05  libc-2.23.so             basename                 _dl_addr
1        2.9e-05  libc-2.23.so             basename                 _getopt_internal_r
1        2.9e-05  libc-2.23.so             gpgconf                  __cxa_atexit
1        2.9e-05  libc-2.23.so             gpgconf                  fflush
1        2.9e-05  libc-2.23.so             grep                     _dl_addr
1        2.9e-05  libc-2.23.so             grep                     handle_intel
1        2.9e-05  libc-2.23.so             grep                     mbrtoc32
1        2.9e-05  libc-2.23.so             javaldx                  __GI_____strtoull_l_internal
1        2.9e-05  libc-2.23.so             javaldx                  _dl_addr
1        2.9e-05  libc-2.23.so             javaldx                  _int_free
1        2.9e-05  libc-2.23.so             javaldx                  _nl_intern_locale_data
1        2.9e-05  libc-2.23.so             javaldx                  malloc
1        2.9e-05  libc-2.23.so             javaldx                  malloc_consolidate
1        2.9e-05  libc-2.23.so             javaldx                  strlen
1        2.9e-05  libc-2.23.so             ls                       _IO_file_fopen@@GLIBC_2.2.5
1        2.9e-05  libc-2.23.so             ls                       _IO_file_xsputn@@GLIBC_2.2.5
1        2.9e-05  libc-2.23.so             ls                       __ctype_init
1        2.9e-05  libc-2.23.so             ls                       _dl_addr
1        2.9e-05  libc-2.23.so             ls                       calloc
1        2.9e-05  libc-2.23.so             oosplash                 __memcpy_sse2
1        2.9e-05  libc-2.23.so             oosplash                 __memmove_chk
1        2.9e-05  libc-2.23.so             oosplash                 __memset_avx2
1        2.9e-05  libc-2.23.so             oosplash                 __nss_lookup_function
1        2.9e-05  libc-2.23.so             oosplash                 __recvmsg_nocancel
1        2.9e-05  libc-2.23.so             oosplash                 __uflow
1        2.9e-05  libc-2.23.so             oosplash                 _dl_addr
1        2.9e-05  libc-2.23.so             oosplash                 arena_thread_freeres
1        2.9e-05  libc-2.23.so             oosplash                 memchr
1        2.9e-05  libc-2.23.so             oosplash                 str_to_mpn.isra.0
1        2.9e-05  libc-2.23.so             oosplash                 sysmalloc
1        2.9e-05  libc-2.23.so             oosplash                 tsearch
1        2.9e-05  libc-2.23.so             paperconf                _IO_file_doallocate
1        2.9e-05  libc-2.23.so             paperconf                _dl_addr
1        2.9e-05  libc-2.23.so             sed                      _IO_file_doallocate
1        2.9e-05  libc-2.23.so             sed                      _dl_addr
1        2.9e-05  libc-2.23.so             sed                      calc_eclosure_iter
1        2.9e-05  libc-2.23.so             soffice.bin              _IO_file_close_it@@GLIBC_2.2.5
1        2.9e-05  libc-2.23.so             soffice.bin              _IO_file_finish@@GLIBC_2.2.5
1        2.9e-05  libc-2.23.so             soffice.bin              _IO_file_fopen@@GLIBC_2.2.5
1        2.9e-05  libc-2.23.so             soffice.bin              _IO_file_xsgetn
1        2.9e-05  libc-2.23.so             soffice.bin              __GI_stpcpy
1        2.9e-05  libc-2.23.so             soffice.bin              __GI_strcmp
1        2.9e-05  libc-2.23.so             soffice.bin              __call_tls_dtors
1        2.9e-05  libc-2.23.so             soffice.bin              __ctype_b_loc
1        2.9e-05  libc-2.23.so             soffice.bin              __default_morecore
1        2.9e-05  libc-2.23.so             soffice.bin              __fdelt_chk
1        2.9e-05  libc-2.23.so             soffice.bin              __mpn_mul_1
1        2.9e-05  libc-2.23.so             soffice.bin              __run_exit_handlers
1        2.9e-05  libc-2.23.so             soffice.bin              __stpcpy_sse2_unaligned
1        2.9e-05  libc-2.23.so             soffice.bin              __strcasecmp_l_avx
1        2.9e-05  libc-2.23.so             soffice.bin              __strcat_sse2_unaligned
1        2.9e-05  libc-2.23.so             soffice.bin              __strtol_internal
1        2.9e-05  libc-2.23.so             soffice.bin              __underflow
1        2.9e-05  libc-2.23.so             soffice.bin              __write_nocancel
1        2.9e-05  libc-2.23.so             soffice.bin              _dl_mcount_wrapper_check
1        2.9e-05  libc-2.23.so             soffice.bin              _nl_intern_locale_data
1        2.9e-05  libc-2.23.so             soffice.bin              _nl_load_domain
1        2.9e-05  libc-2.23.so             soffice.bin              _wordcopy_bwd_dest_aligned
1        2.9e-05  libc-2.23.so             soffice.bin              bindtextdomain
1        2.9e-05  libc-2.23.so             soffice.bin              closedir
1        2.9e-05  libc-2.23.so             soffice.bin              fclose@@GLIBC_2.2.5
1        2.9e-05  libc-2.23.so             soffice.bin              fcntl
1        2.9e-05  libc-2.23.so             soffice.bin              fopen@@GLIBC_2.2.5
1        2.9e-05  libc-2.23.so             soffice.bin              fork
1        2.9e-05  libc-2.23.so             soffice.bin              getcwd
1        2.9e-05  libc-2.23.so             soffice.bin              inet_pton
1        2.9e-05  libc-2.23.so             soffice.bin              init_cacheinfo
1        2.9e-05  libc-2.23.so             soffice.bin              mkdir
1        2.9e-05  libc-2.23.so             soffice.bin              newlocale
1        2.9e-05  libc-2.23.so             soffice.bin              posix_fadvise
1        2.9e-05  libc-2.23.so             soffice.bin              pread64
1        2.9e-05  libc-2.23.so             soffice.bin              pthread_cond_init@@GLIBC_2.3.2
1        2.9e-05  libc-2.23.so             soffice.bin              qsort_r
1        2.9e-05  libc-2.23.so             soffice.bin              rand_r
1        2.9e-05  libc-2.23.so             soffice.bin              readdir
1        2.9e-05  libc-2.23.so             soffice.bin              sbrk
1        2.9e-05  libc-2.23.so             soffice.bin              snprintf
1        2.9e-05  libc-2.23.so             soffice.bin              strnlen
1        2.9e-05  libc-2.23.so             soffice.bin              strrchr
1        2.9e-05  libc-2.23.so             soffice.bin              syscall
1        2.9e-05  libc-2.23.so             soffice.bin              sysconf
1        2.9e-05  libc-2.23.so             soffice.bin              write
1        2.9e-05  libc-2.23.so             uname                    _dl_addr
1        2.9e-05  libdl-2.23.so            soffice.bin              dlopen_doit
1        2.9e-05  libfwllo.so              soffice.bin              /usr/lib/libreoffice/program/libfwllo.so
1        2.9e-05  libgcrypt.so.20.0.5      soffice.bin              /lib/x86_64-linux-gnu/libgcrypt.so.20.0.5
1        2.9e-05  libgpg-error.so.0.17.0   gpgconf                  /lib/x86_64-linux-gnu/libgpg-error.so.0.17.0
1        2.9e-05  libgpgme.so.11           soffice.bin              /usr/lib/libreoffice/program/libgpgme.so.11
1        2.9e-05  libgpgmepp.so.6          soffice.bin              /usr/lib/libreoffice/program/libgpgmepp.so.6
1        2.9e-05  libkrb5.so.3.3           soffice.bin              /usr/lib/x86_64-linux-gnu/libkrb5.so.3.3
1        2.9e-05  liblnthlo.so             soffice.bin              /usr/lib/libreoffice/program/liblnthlo.so
1        2.9e-05  liblzma.so.5.0.0         soffice.bin              /lib/x86_64-linux-gnu/liblzma.so.5.0.0
1        2.9e-05  libm-2.23.so             soffice.bin              __atan_avx
1        2.9e-05  libnspr4.so              soffice.bin              /usr/lib/x86_64-linux-gnu/libnspr4.so
1        2.9e-05  libnss_compat-2.23.so    soffice.bin              _nss_compat_getpwuid_r
1        2.9e-05  libpthread-2.23.so       soffice.bin              __pthread_mutex_unlock_usercnt
1        2.9e-05  libpthread-2.23.so       soffice.bin              create_thread
1        2.9e-05  librt-2.23.so            oosplash                 _fini
1        2.9e-05  librt-2.23.so            soffice.bin              clock_gettime
1        2.9e-05  libsoftokn3.so           soffice.bin              /usr/lib/x86_64-linux-gnu/nss/libsoftokn3.so
1        2.9e-05  libxsec_xmlsec.so        soffice.bin              /usr/lib/libreoffice/program/libxsec_xmlsec.so
1        2.9e-05  ls                       ls                       /bin/ls
1        2.9e-05  nvidia_modeset           soffice.bin              /nvidia_modeset
1        2.9e-05  nvidia_uvm               soffice.bin              /nvidia_uvm
1        2.9e-05  x86_pkg_temp_thermal     soffice.bin              /x86_pkg_temp_thermal
Comment 10 Xisco Faulí 2018-10-08 15:32:05 UTC
Reproduced in

Version: 6.2.0.0.alpha0+
Build ID: 4854acc7929ea58632c5d0f7f80a4adc3c62b8cd
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk2; 
Locale: ca-ES (ca_ES.UTF-8); Calc: threaded
Comment 11 Xisco Faulí 2018-10-08 15:37:25 UTC
so, it seems it open fine in

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4

while in

Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)

it's already slow
Comment 12 Gessel 2018-10-10 14:51:23 UTC
Thanks for the verification, that would tend to exonerate something in my specific environment.
Comment 13 Gessel 2019-03-27 22:28:22 UTC
The issue seems to be resolved in Version: 6.2.2.2 on Linux 19.1.  Drawings open quickly and are responsive.  I note that some objects are not fully rendered in edit view, but they do convert to PDF correctly.

I also note that hardware acceleration works without crashing.  That might help a bit.
Comment 14 Xisco Faulí 2019-03-28 10:01:46 UTC
(In reply to Gessel from comment #13)
> The issue seems to be resolved in Version: 6.2.2.2 on Linux 19.1.  Drawings
> open quickly and are responsive.  I note that some objects are not fully
> rendered in edit view, but they do convert to PDF correctly.
> 
> I also note that hardware acceleration works without crashing.  That might
> help a bit.

Thanks for retesting with the latest version.
Setting to RESOLVED WORKSFORME as the commit fixing this issue hasn't been identified.
Comment 15 Commit Notification 2020-04-03 18:02:36 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/6fa2891da4852716fe62d925ffdbeeb380a2ed66

crashtesting: crash on reexport of tdf118346-1.odg to odg

It will be available in 7.0.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 16 Commit Notification 2021-03-20 10:33:54 UTC
Caolán McNamara committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/eb482427bfd2013692ca36611a302fbf21132b4b

crashtesting: crash on reexport of tdf118346-1.odg to odg

It will be available in 7.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.