Bug 97533

Summary: Screen corruption with LibreOffice
Product: xorg Reporter: Tristan Miller <psychonaut>
Component: Server/Acceleration/glamorAssignee: Xorg Project Team <xorg-team>
Status: RESOLVED WORKSFORME QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium CC: psychonaut
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
Corruption in LibreOffice Writer none

Description Tristan Miller 2016-08-29 15:08:49 UTC
Created attachment 126100 [details]
Corruption in LibreOffice Writer

I have a Radeon 3000 graphics card and am using the X.Org radeon driver with the default settings (which, according to the man page, use glamor for the AccelMethod).  LibreOffice Writer 5.2.0.4 is practically unusable because of graphics corruption that occurs when scrolling or repainting the window.

Specifically, after scrolling the window vertically, parts of the document get painted over by copies of other parts of the window.  The overpainting also sometimes occurs when adding or removing text from the document.  Selecting parts of the document that exhibit the corruption don't restore the text; the corruption just gets highlighted along with everything else.

The problem does not occur when I tell LibreOffice to use gtk3 (via SAL_USE_VCLPLUGIN), but it does occur with every other toolkit (kde, kde4, gtk2, gen).

I tried manually changing the AccelMethod to EXA, but this causes a lot of flickering in my entire desktop environment (not just LibreOffice), particularly when dragging windows.  (Maybe my card doesn't support EXA?)

I am filing this bug for this product and component as the symptoms seem the same as in Bug 63397.  That bug was marked as fixed in the 1.18.4 release notes at <https://lists.x.org/archives/xorg-announce/2016-July/002699.html>, but as far as I can tell that's the version I'm using.

OS: openSUSE Leap 42.1
Kernel package: kernel-default-4.1.27-27.1.x86_64
X.Org package: xorg-x11-server-7.6_1.18.4-465.3.x86_64, xorg-x11-driver-video-7.6_1-220.1.x86_64
Graphics card: Advanced Micro Devices, Inc. [AMD/ATI] RS780L [Radeon 3000]
Desktop environment: KDE, Plasma Version 5.5.5.  Compositor is enabled with OpenGL 2.0 rendering backend and GLX OpenGL Interface.
Software tested: libreoffice-5.2.0.4-445.1.x86_64
Comment 1 Michel Dänzer 2016-08-30 02:08:52 UTC
(In reply to Tristan Miller from comment #0)
> I have a Radeon 3000 graphics card and am using the X.Org radeon driver with
> the default settings (which, according to the man page, use glamor for the
> AccelMethod).

FWIW, the radeon driver still defaults to EXA for your GPU.

Please attach the corresponding Xorg log file.
Comment 2 Tristan Miller 2016-09-02 13:46:26 UTC
I upgraded to xorg-x11-server-7.6_1.18.4-465.5.x86_64 and libreoffice-5.2.1.2-447.1.x86_64 and now can no longer reproduce the problem.  If you still want the log file, let me know, but I suppose it's no longer necessary.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.