Bug 98046 - OpenGL transitions mostly broken on intel (Sandybridge) graphics with Linux mesa drivers
Summary: OpenGL transitions mostly broken on intel (Sandybridge) graphics with Linux m...
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
5.1.0.3 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: David Tardon
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: OpenGL-Linux
  Show dependency treegraph
 
Reported: 2016-02-21 03:59 UTC by Roland Taylor
Modified: 2016-10-31 20:11 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roland Taylor 2016-02-21 03:59:46 UTC
Mainly the old transitions that worked fine in 5.0, are no longer working in the 5.1, while the new transitions mostly work just fine.

The old transitions introduce flickering.
Comment 1 Buovjaga 2016-02-21 16:05:15 UTC
Could you test with a fresh dev build: http://dev-builds.libreoffice.org/daily/master/Win-x86@39/current/
(Dev builds are handy because they automatically install separately)
Comment 2 V Stuart Foote 2016-02-22 18:22:34 UTC
Also, accelerated handling of OpenGL rendering is intended to be controlled by the GPU and driver combination parsed against a block list.

Please post details of your OS, as well as GPU and graphics driver from the opengl_device.log in your LibreOffice user profile -- https://wiki.documentfoundation.org/UserProfile
Comment 3 Buovjaga 2016-02-22 20:57:19 UTC
C:\Users\User\AppData\Roaming\LibreOffice\4\cache\opengl_device.log to be exact :)

Throwing this to NEEDINFO for now.
Comment 4 Yousuf Philips (jay) (retired) 2016-02-22 21:45:23 UTC
Details of getting your graphics card information can be found here.

https://wiki.documentfoundation.org/OpenGL
Comment 5 Roland Taylor 2016-02-26 16:19:22 UTC Comment hidden (off-topic)
Comment 6 Buovjaga 2016-02-26 16:42:57 UTC
Ah, you're on Linux.. can you tell us what the output of this is, then:
glxinfo | grep OpenGL
Comment 7 Roland Taylor 2016-02-27 01:45:36 UTC
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile 
OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.2.0-devel (git-e6f1a44d 2016-02-19 wily-oibaf-ppa)
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 11.2.0-devel (git-e6f1a44d 2016-02-19 wily-oibaf-ppa)
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.2.0-devel (git-e6f1a44d 2016-02-19 wily-oibaf-ppa)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:
Comment 8 Roland Taylor 2016-03-03 20:03:57 UTC
I am still experiencing this bug. It now says opengl is disabled.
Comment 9 Buovjaga 2016-03-03 20:08:03 UTC Comment hidden (off-topic)
Comment 10 Roland Taylor 2016-03-03 20:53:22 UTC
OpenGL is enabled again - turns out that was simply an issue with a driver mismatch. I'm still having this issue however.

I tried purging all libreoffice packages and reinstalling, but the problem persists. All of the old OpenGL animations fail to work, along with one or two of the new animations.

Also, the .cache folder is empty, so no opengl log :/.

I don't know what more information I can provide at this point.
Comment 11 Roland Taylor 2016-03-05 16:30:22 UTC
I just noticed that certain animations are also broken, and function only as fading in.

So far, I can definitely confirm that the "compress" animation is woefully broken.

I don't know what is causing this as I've purged Libreoffice and reinstalled it - to no avail.
Comment 12 V Stuart Foote 2016-03-05 16:44:19 UTC
Take hardware acceleration out of the equation.

1. Tools -> Options -> View: uncheck "Use OpenGL for all rendering"
2. restart LO
3. Tools -> Options -> View: uncheck "Use Hardware acceleration"
4. restart LO

Which transitions work then using just CPU?

Add Use Hardware acceleration back. Which transitions work?

Add Use OpenGL. Which transition work then (if any)?

A matrix might be helpful to record things for this Hardware/Driver combo.
Comment 13 Roland Taylor 2016-03-05 18:46:10 UTC
With just the CPU, using some transitions (such as Rochade) causes Kwin to crash or the graphics chip to reset. The Glitter transition still works, as well as newsflash (strangely). The other animations (such as turn around and venetian blinds) either flicker badly and chop the animation up, or cause kwin to crash.

Interestingly, Honeycomb works as a simple sliding animation.

With hardware acceleration enabled, most of the effects work but flicker. Rochade causes a graphics reset. Glitter works as usual (under all circumstances).

With opengl enabled for all rendering there is no change.

Look - I don't know what more information I can provide, and I don't know what to do. I've considered downgrading my graphics driver, but that shouldn't really change anything. It's not as though this problem existed before 5.1.
Comment 14 Roland Taylor 2016-03-10 18:51:09 UTC
Additional information:

Most animations are also broken - functioning either as "Appear" or "Fade In".
Comment 15 Roland Taylor 2016-03-31 07:49:55 UTC
So... what do I do now? Ubuntu 16.04 is around the corner and I'd like to upgrade, but I don't want to run into this again.
Comment 16 Roland Taylor 2016-04-13 08:49:46 UTC
I've upgraded. It's still doing the same thing. WHAT DO I DO?!
Comment 17 Buovjaga 2016-04-13 09:47:01 UTC Comment hidden (off-topic)
Comment 18 Roland Taylor 2016-04-13 10:08:33 UTC Comment hidden (off-topic)
Comment 19 V Stuart Foote 2016-04-13 13:28:07 UTC
Adjusted summary and adding to bug 93529 for visibility.

For OP, please rerun and post result of "glxinfo | grep OpenGL" as you've now done an OS upgrade.
Comment 20 Michael Meeks 2016-04-13 16:30:27 UTC
GL is used for the 3D transitions whether GL is enabled or not, so disabling it should have little effect.

I guess the problem is - that we have to create a new window with a legacy context (or somesuch) in order to show the GL transition, which can create some flicker - unfortunately.

Hmm.
Comment 21 Roland Taylor 2016-04-13 17:42:39 UTC
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile 
OpenGL core profile version string: 3.3 (Core Profile) Mesa 11.3.0-devel (git-df37b06 2016-04-12 xenial-oibaf-ppa)
OpenGL core profile shading language version string: 3.30
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 11.3.0-devel (git-df37b06 2016-04-12 xenial-oibaf-ppa)
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 11.3.0-devel (git-df37b06 2016-04-12 xenial-oibaf-ppa)
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:

----

This problem did not occur in 5.0. I don't know what more information I can provide at this point, but I need a solution of some sort - because this bug causes issues with the presentations I've already created (and there are many), which I have to use twice a week.
Comment 22 Henner Drewes 2016-04-30 12:14:54 UTC
I experience the same flicker effect on various machines and OSs.
I have not checked all transitions systematically, but it is most clearly visible on transition Fade, Smoothly.

Seen on LO 5.1.2.2 on Windows 10. Intel(R) HD Graphics 4600
Also on Ubuntu 16.04.

The only workaround I found to get Impress to a workable state is to remove / uninstall OGLTranslo.dll / OGLTrans package.
Comment 23 Roland Taylor 2016-05-22 04:40:44 UTC Comment hidden (no-value)
Comment 24 Bastián Díaz 2016-06-07 08:00:43 UTC
Bug 100242 is related (Intel Bay Trail) with the same issues.

Any transition is usable in practice and I had to install the "Still" version of LibreOffice to use Impress.