[Libreoffice-bugs] [Bug 108996] New: hardware acceleration disabled in recent versions of LibO (Linux)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jul 7 09:19:48 UTC 2017


https://bugs.documentfoundation.org/show_bug.cgi?id=108996

            Bug ID: 108996
           Summary: hardware acceleration disabled in recent versions of
                    LibO (Linux)
           Product: LibreOffice
           Version: 5.3.4.2 release
          Hardware: x86-64 (AMD64)
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: black-hole at web.de

Created attachment 134525
  --> https://bugs.documentfoundation.org/attachment.cgi?id=134525&action=edit
menu showing the inactive hardware acceleration option

version affected (as far as I tested)
5.3.3.2
5.3.4.2

HW affected: Can't tell exactly, I yet only tested / found this on my amd64
machines. I could try to test x86_32, too.
GPU: AMD Kabini APU, but also on a different machine w. r600-generation chip
(HD 5670), I can check a few others. Freedom driver stack used.
OS: Linux kernel based (Gentoo) (not yet tested / noticed on W32, currently I
only have some older W32 installations)


Hello

Recently I discovered that I do not have any video acceleration with LibO (in
general = writer, calc, impress and the likes). Things slowed down painfully,
especially scrolling with the cursor keys (or PgUp/Dn) causes long delays (and
here especially on page changes, several seconds delay) and sometimes produces
artifacts (text not correctly re-drawn so it messes up). Mousewheel scroll is
slightly better, but also hangs on page changes.
Moreover menu highlighting / navigation stutters / does not work any longer.
E.g. you open a drop-down menu and move the cursor over a line - it gets
highlighted after a minimal delay - but you want to proceed a few points
further down - it does not react anymore, until you re-open the drop down.
I checked and found that video acceleration was not just inactive, it was
greyed out (see attached screenshot). It also seems that OpenGL rendering is
completely gone from the menu on my Kabini installation.

This is a very unfortunate situation because I use LibO also for my
professional activities.

I had this with =app-office/libreoffice-5.3.3.2 and 5.3.4.2 .


Running on Gentoo, here are my USE flags and version infos on possibly involved
libraries. 

USE="branding cups dbus gtk3 jemalloc pdfimport -aqua -bluetooth -coinmp
-collada -debug -eds -firebird -gltf -gnome -googledrive -gstreamer -gtk -java
-kde -libressl -mysql -odk -postgres -quickstarter -telepathy -test -vlc"
LIBREOFFICE_EXTENSIONS="-nlpsolver -scripting-beanshell -scripting-javascript
-wiki-publisher"
PYTHON_SINGLE_TARGET="python3_4 -python2_7 -python3_5 -python3_6"
PYTHON_TARGETS="python2_7 python3_4 -python3_5 -python3_6"

CPU_FLAGS_X86="aes avx f16c mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a
ssse3"                                                                          
CFLAGS="-O2 -mtune=btver2 -march=btver1 -mfpmath=sse -pipe -mpopcnt -maes -mavx
-mmmx -msse -msse2 -msse3 -mssse3 -msse4a -msse4.1 -msse4.2 -mmovbe"
CXXFLAGS="-O2 -mtune=btver2 -march=btver1 -mfpmath=sse -O2 -pipe -mpopcnt"
ABI_X86="64 32"                                                                 

gcc is =sys-devel/gcc-5.4.0-r3

soffice --version
LibreOffice 5.3.4.2 30m0(Build:2)

sys-kernel/gentoo-sources
4.11.4 (but also others seem affected)

x11-libs/libdrm
2.4.81

media-libs/mesa
17.1.4 (also no changes here while switching minor releases)

x11-base/xorg-server
1.19.3

x11-drivers/xf86-video-ati
7.9.0

x11-libs/cairo
1.14.8

glamor=yes (maybe this could be a culprit? I heard there might have been an
issue in the past, though LibO was running mostly fine for me for several years
on the Kabini box (and those use glamor by default))

(running in a KDE 5 environment, I could check mate or xfce4, too)

Any other information needed?

By the way, I noticed that also on my other box (Gentoo, but stronger CPU with
an r600 based card) I have the same problem (it's just not _that_ slow, but
text corruption on scrolling and video accel unavailable).
What I can try additionally: check if libreoffice-bin behaves the same (it's on
my E-350 based notebook, Gentoo there, too, but the official binary release).
I have not noticed other programs to expose issues like this recently so I am
guessing the fault might be somewhere in LibO.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170707/4314b1ce/attachment-0001.html>


More information about the Libreoffice-bugs mailing list