LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-01-2016, 07:14 AM   #16
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 948

Original Poster
Rep: Reputation: Disabled

Hi,

I'm on Core i3 (Broadwell), 8GB memory, so the hardware is not the problem.
Unless it's related to Intel graphics.

EDIT:
I just tried with new clean user account, no change.

--
Best regards,
Andrzej Telszewski

Last edited by atelszewski; 05-01-2016 at 07:21 AM.
 
Old 05-01-2016, 12:01 PM   #17
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
I understand gtk3 is still "experimental" in libreoffice even though its now enabled by default in the configure. I personally disable it when I compile libreoffice.
 
Old 05-01-2016, 12:08 PM   #18
Skaendo
Senior Member
 
Registered: Dec 2014
Location: West Texas, USA
Distribution: Slackware64-14.2
Posts: 1,445

Rep: Reputation: Disabled
Quote:
Originally Posted by atelszewski View Post
I just tried with new clean user account, no change.

--
Best regards,
Andrzej Telszewski
Have you tried with something like this?
Code:
$ SAL_USE_VCLPLUGIN=gtk GTK2_RC_FILES=/usr/share/themes/Adwaita/gtk-2.0/gtkrc libreoffice --calc

Last edited by Skaendo; 05-01-2016 at 12:09 PM.
 
1 members found this post helpful.
Old 05-01-2016, 02:25 PM   #19
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 948

Original Poster
Rep: Reputation: Disabled
Hi,

Quote:
Originally Posted by Skaendo View Post
Have you tried with something like this?
Code:
$ SAL_USE_VCLPLUGIN=gtk GTK2_RC_FILES=/usr/share/themes/Adwaita/gtk-2.0/gtkrc libreoffice --calc
Yes, I actually told it here that it works.

I have set SAL_USE_VCLPLUGIN=gtk in my .profile.

--
Best regards,
Andrzej Telszewski

Last edited by atelszewski; 05-01-2016 at 02:34 PM.
 
Old 05-02-2016, 07:18 AM   #20
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 948

Original Poster
Rep: Reputation: Disabled
Hi,

Some (possibly bad) news
It seems that the problem is related to OpenGL.

I have 3 test scenarios:

1) in this scenario, LO works smoothly:
- SAL_USE_VCLPLUGIN is set to gtk,
- Use OpenGL for all rendering under LibreOffice -> View -> Graphics Output is ticked off,
- the above settings mean: use GTK2 without OpenGL.

2) in this scenario, LO works less smoothly, but still somehow acceptable:
- SAL_USE_VCLPLUGIN is set to gtk,
- Use OpenGL for all rendering under LibreOffice -> View -> Graphics Output is ticked on,
- the above settings mean: use GTK2 with OpenGL.

3) in this scenario, LO works (almost) unacceptably slow:
- SAL_USE_VCLPLUGIN is unset,
- there is no option available in the settings related to Use OpenGL for all rendering under LibreOffice -> View -> Graphics Output,
- the above settings mean: use GTK3 and I bet it uses OpenGL for rendering

It looks like OpenGL is the culprit.
This could be possibly related to Intel graphics and its setting, but I'm not sure.

For the record:
- we're considering Eric's compiled LibreOffice,
- version 5.1.2.

--
Best regards,
Andrzej Telszewski
 
Old 05-02-2016, 07:37 AM   #21
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 663

Rep: Reputation: 460Reputation: 460Reputation: 460Reputation: 460Reputation: 460
Andzej, LO works just fine on my machine without any fiddling with the settings,
with or without selection of Open GL.

I have used LO every day to generate reports that contain text and graphics
and print those files and convert them to .pdf's

I do have a Asrock Motherboard with Intel graphic adapter onboard and
the most recent slackware64-current-multilib
and the following from "About Libre Office"

Quote:
Version: 5.1.2.2.0+
Build ID: SlackBuild for 5.1.2 by Eric Hameleers
CPU Threads: 8; OS Version: Linux 4.4; UI Render: default;
Locale: en-US (en_US.UTF-8)
This is not to deny what you see or say but perhaps
my observations may be useful in some way to you.

I've been following the upgrade path for LO for quite some time now
and indeed some versions have been trouble for me and sometimes
I have downloaded the RPMs from LO repository and rpm2tgz'd them.

But actually this recent build has been stable for me under KDE,
in xfce, fluxbox, and cinnamon, but i havent used it much under cinnamon yet
but so far no problems.
 
Old 05-02-2016, 07:59 AM   #22
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by Regnad Kcin View Post
I've been following the upgrade path for LO for quite some time now
and indeed some versions have been trouble for me and sometimes
I have downloaded the RPMs from LO repository and rpm2tgz'd them.
According to the original post, the pre-compiled binaries provided by LO don't show this problem, it is only when LO is compiled on a Slackware platform (such as using Eric's package that was compiled on a Slackware machine).
 
Old 05-02-2016, 08:05 AM   #23
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 948

Original Poster
Rep: Reputation: Disabled
Hi,

Quote:
Originally Posted by bassmadrigal View Post
According to the original post, the pre-compiled binaries provided by LO don't show this problem, it is only when LO is compiled on a Slackware platform (such as using Eric's package that was compiled on a Slackware machine).
Not quite.
Eric's package works fine if I force it to use GTK2 instead of GTK3, because in Eric's builds, GTK3 seems to be the default.
On the other hand, the pre-compiled binary, uses GTK2 by default.
I haven't tested it, but most probably, if I forced the pre-compiled LO to use GTK3, it would be slow too.

--
Best regards,
Andrzej Telszewski
 
Old 05-05-2016, 04:26 AM   #24
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,160
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
I've just upgraded to Slackware current from today
Quote:
Thu May 5 05:17:19 UTC 2016
During the upgrade, I cleaned up all packages from third-party repositories. After upgrading to Slackware current, I added back some of them including LibreOffice 5.1.2 from alienBOB -current repository.

And I don't have any performance issue with LibreOffice in KDE desktop: flag SAL_USE_VCLPLUGIN is not set and OpenGL is not used by LO according to my settings (refer to attached screenshot of my LibreOffice->View settings, sorry it's in french but you should be able to easily find out which options are ticked on and off)

I tested the case of a writer document with an image, the open file dialog, some calc files and everything is working fine and is quite responsive.
Quote:
Version: 5.1.2.2.0+
Build ID: SlackBuild for 5.1.2 by Eric Hameleers
Threads CPU : 4; Version de l'OS :Linux 4.4; UI Render : par défaut;
Locale*: fr-FR (fr_FR.UTF-8)
My graphic card is intel
Quote:
$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation 4th Gen Core Processor Integrated Graphics Controller (rev 06)
Attached Thumbnails
Click image for larger version

Name:	LO-view.png
Views:	46
Size:	56.1 KB
ID:	21693  
 
Old 05-09-2016, 08:19 PM   #25
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 948

Original Poster
Rep: Reputation: Disabled
Hi,

@gegechris99 Yes, it looks like you're using GTK2 backend and OpenGL is disabled.
My guess is that LO remembers to use GTK2 in the settings from previous versions.
If you didn't already have the LO profile, it would probably default to GTK3.

If my settings are the same as yours (GTK2, OpenGL disabled), then I too do not have performance problems.

Can you try to test the different settings as I did here and report back your results?

Just remember to force the SAL_USE_VCLPLUGIN value to make sure that you use the specific GTK version.

--
Best regards,
Andrzej Telszewski
 
Old 05-10-2016, 02:57 PM   #26
gegechris99
Senior Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 15.0 64bit
Posts: 1,160
Blog Entries: 5

Rep: Reputation: 392Reputation: 392Reputation: 392Reputation: 392
Quote:
Originally Posted by atelszewski View Post
Can you try to test the different settings as I did here and report back your results?

Just remember to force the SAL_USE_VCLPLUGIN value to make sure that you use the specific GTK version.
I tested the 3 scenarios mentioned and I didn't see any difference in performance (open dialog, writer with image).
Then I tested a 4th scenario:

Code:
export SAL_USE_VCLPLUGIN="gtk3" ; libreoffice
In this scenario, there is no option to select OpenGL in LibreOffice -> View -> Graphics Output.
And here I have a lower performance in writer when moving an image. As I have a machine with intel i3 and 6Gb of RAM, the lower performance is not a problem.

It does confirm that something is not quite correct with gtk3 and libreoffice. As you said, I may not encounter the problem after upgrading from 14.1 to current because of some legacy gtk2 settings.
 
Old 05-10-2016, 03:14 PM   #27
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 948

Original Poster
Rep: Reputation: Disabled
Hi,

Thanks for the report.
I was afraid I'm alone with this problem

--
Best regards,
Andrzej Telszewski
 
Old 05-12-2016, 02:18 AM   #28
Raveriux
Member
 
Registered: Jul 2013
Location: Lithuania
Distribution: Slackware64 14, Slackware64 -current, Maemo
Posts: 113

Rep: Reputation: Disabled
Expected the same behavior. Libreoffice writer slow when there is at least one picture in document. After some weeks of digging no results only the suggestion that its somehow related to the external dependencies agains which AlienBob Libreoffice is compiled, but this is just a guess.
 
Old 09-30-2016, 12:05 PM   #29
slackerDude
Member
 
Registered: Jan 2016
Posts: 157

Rep: Reputation: Disabled
Ran into this issue for the first time today (I don't use it as much as I used to) - a couple of images, and it was CRAZY. Tried both 5.2.1 and 5.2.2 (IIRC) from Eric's builds. Totally unusable - 10+ seconds to move the cursor!

What's even worse: just opening the "open this file" part made soffice use some insane virtual ram value > 20 GB! Yes, top shows 20.xxxg. Even my firefox is only around 2g.. And any cursor movement causes Xorg to go to 100% for 5-10 seconds. I'm running the nvidia binary blob (GTX 950) with a 4k screen, q9550 OCed to 3.5 GHz with 8 GB RAM. Not the fastest system anymore, but not THIS slow. 14.1 with the previous version of soffice was much, MUCH faster..

Haven't tried the gtk2 workarounds yet. Currently downloading the "compile from sources" SBo build, will then try the repackaged binaries.

Are others seeing this crazy RAM usage? Even if the performance was ok, that still annoys me very much.
 
Old 09-30-2016, 12:12 PM   #30
slackerDude
Member
 
Registered: Jan 2016
Posts: 157

Rep: Reputation: Disabled
As others have reported - with the repackaged SBo build, things are much, MUCH better. virt RAM is around 1.1 GB (as expected), there's a little Xorg blip, but then editing is fine.

Not sure what's going on with Eric's build - that 20x RAM usage is really strange..

Wish I had more time to investigate.. But I'm behind on my regular work as it is right now..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Alien Bob makes LibreOffice 5.0.4 available for Slackware 14.1. cwizardone Slackware 2 12-24-2015 11:06 AM
Alien's libreoffice 4.4 and the caladea and carlito fonts burdi01 Slackware 1 02-23-2015 01:55 PM
Alien Bob's Libreoffice 4.3.0.4 slackbuild AlleyTrotter Slackware 1 08-06-2014 04:53 PM
[SOLVED] Spell check in Alien's Libreoffice package not working TSquaredF Slackware 5 02-04-2014 10:24 AM
[SOLVED] libreoffice-3.4.3 from alien apps don't start mike_booth76 Slackware 8 11-09-2011 04:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:35 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration