Impress embeded video files show flickering white stripes

Bug #1811530 reported by klinge
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
LibreOffice
Won't Fix
Medium
libreoffice (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Description:
I have slide shows with embeded video files from previous versions of LibreOffice / Impress and they all worked well. If I play the video files with Ubuntu 18.04 and LibreOffice 6.0.7.3 they show flickering white stripes. the stripes are about 1 centimeter wide and move up and down in the picture of the video.

Steps to Reproduce:
1. Embed a video file in a slide show.
2. Play the slide show / the video.

Actual Results:
The video plays but shows a disrupted picture with whiteish flickering stripes.

Expected Results:
The video should play as it is in a video player whithout a disrupted picture.

It seems to be connected wit hardware acceleration, that is greyed out. The newest appimage of LibreOffice is working as expected
---
ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 18.04
InstallationDate: Installed on 2018-04-12 (278 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180409)
Package: libreoffice 1:6.0.7-0ubuntu0.18.04.2
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 4.15.0-43.46-generic 4.15.18
Tags: bionic
Uname: Linux 4.15.0-43-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
---
ProblemType: Bug
ApportVersion: 2.20.9-0ubuntu7.5
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 18.04
InstallationDate: Installed on 2018-04-11 (280 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180409)
Package: libreoffice 1:6.0.7-0ubuntu0.18.04.2
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 4.15.0-43.46-generic 4.15.18
Tags: third-party-packages bionic
Uname: Linux 4.15.0-43-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare scanner sudo
_MarkForUpload: True

Revision history for this message
In , klinge (rosgnilk) wrote :

Description:
I have slide shows with embeded video files from previous versions of LibreOffice / Impress and they all worked well. If I play the video files with Ubuntu 18.04 and LibreOffice 6.0.3.2 they show flickering white stripes. the stripes are about 1 centimeter wide and move up and down in the picture of the video.

Steps to Reproduce:
1. Embed a video file in a slide show.
2. Play the slide show / the video.

Actual Results:
The video plays but shows a disrupted picture with whiteish flickering stripes.

Expected Results:
The video should play as it is in a video player whithout a disrupted picture.

Reproducible: Always

User Profile Reset: No

Additional Info:

Revision history for this message
In , DrewJensen (atjensen) wrote :

Two questions (three maybe).
Types of video content and when you say from older versions of libreoffice, how old?

I tried with a couple of Impress files made with 5.4.7, with 3 different videos
types mp4 file with mp4 H.264, ogv with Theora and webm with VP8.

They worked without a problem under 5.4.7 and 6.0.5, using Ubuntu 18.04.

I got some older ones in a backup, 4.x versions, but I am interested in the video type in the file giving you problems.

Thanks, setting this to needinfo for the moment.

Revision history for this message
In , klinge (rosgnilk) wrote :

It worked under Ubuntu 16.04 I can't remember which LibreOffice version was installed there.

It doesn't matter what kind of video files as far as I figered out it happens to any kind of file. I uploaded an examaple here: https://ch.owncube.com/index.php/s/VaTbKwx9UkzKrEA

In makind the example I figured out, that it happens to new presentations too. So it happens not only to old presentations but to new ones as well.

Revision history for this message
In , DrewJensen (atjensen) wrote :

(In reply to rosgnilk from comment #2)
> It worked under Ubuntu 16.04 I can't remember which LibreOffice version was
> installed there.
>
> It doesn't matter what kind of video files as far as I figered out it
> happens to any kind of file. I uploaded an examaple here:
> https://ch.owncube.com/index.php/s/VaTbKwx9UkzKrEA
>
> In makind the example I figured out, that it happens to new presentations
> too. So it happens not only to old presentations but to new ones as well.

IDK - that test file actually crashed both 6.0.5 and 6.1 in my environment.

Extracted the media files, the two .flv files work fine stand alone, but the .mpeg crashes the media player in my OS every time (not just in Impress).

Speaking of which if I create a new Impress file and drop in one of the .flv files the new impress file works fine and the video plays fine.

If I try to add the .mpeg file, using 6.0.5 than Impress hangs.

Also, trying to check the properties of the Billy Elliot.mpeg file crashed gnome 'Files' twice.

so, it is looking like the mpeg file is the culprit and the OS support changed.

Revision history for this message
In , Ilmari-lauhakangas (ilmari-lauhakangas) wrote :

(In reply to Drew Jensen from comment #3)
> Extracted the media files, the two .flv files work fine stand alone, but the
> .mpeg crashes the media player in my OS every time (not just in Impress).

The .mpeg plays fine in Impress slideshow for me. No stripes, no crash.

Arch Linux 64-bit
Version: 6.2.0.0.alpha0+
Build ID: 2cff0e2ceb53b2986be8788c7505cabbd04d0288
CPU threads: 8; OS: Linux 4.17; UI render: default; VCL: gtk3;
Locale: fi-FI (fi_FI.UTF-8); Calc: group threaded
Built on July 7th 2018

Revision history for this message
In , DrewJensen (atjensen) wrote :

(In reply to Buovjaga from comment #4)
> (In reply to Drew Jensen from comment #3)
> > Extracted the media files, the two .flv files work fine stand alone, but the
> > .mpeg crashes the media player in my OS every time (not just in Impress).
>
> The .mpeg plays fine in Impress slideshow for me. No stripes, no crash.
>
> Arch Linux 64-bit
> Version: 6.2.0.0.alpha0+
> Build ID: 2cff0e2ceb53b2986be8788c7505cabbd04d0288
> CPU threads: 8; OS: Linux 4.17; UI render: default; VCL: gtk3;
> Locale: fi-FI (fi_FI.UTF-8); Calc: group threaded
> Built on July 7th 2018

Ubuntu 18.04 (64bit AMD) default Gnome desktop.
Version: 6.2.0.0.alpha0+
Build ID: 6af8aa411189993942d4a8a13199b0a5e026c003
CPU threads: 4; OS: Linux 4.15; UI render: GL; VCL: gtk2;

Inserting that .mpeg into a new Impress file crashes Libo consistently.

On the other hand, I just tired opening that file with OpenShot and voila it is playing like a champ. Now I am scratching my head.

Revision history for this message
In , klinge (rosgnilk) wrote :

What have I started here? I just randomly picked a few video files all of which play fine with vlc and totem but show like all the rest of my video files the weird behaviour in Impress.

Revision history for this message
In , Ilmari-lauhakangas (ilmari-lauhakangas) wrote :

(In reply to rosgnilk from comment #6)
> What have I started here? I just randomly picked a few video files all of
> which play fine with vlc and totem but show like all the rest of my video
> files the weird behaviour in Impress.

You have created a monster!! :)

Please copy and paste here the contents of LibreOffice's Help - About. This allows us to know more about your system.

You might also try with an appimage of a pre-release (6.1) or a daily build (6.2): https://libreoffice.soluzioniopen.com/

Revision history for this message
In , klinge (rosgnilk) wrote :

Version: 6.0.3.2
Build-ID: 1:6.0.3-0ubuntu1
CPU-Threads: 4; BS: Linux 4.15; UI-Render: Standard; VCL: gtk3;
Gebietsschema: de-CH (de_CH.UTF-8); Calc: group

Revision history for this message
In , klinge (rosgnilk) wrote :

I just had a quick look, with the appimage of the pre-release all the tested video files worked as expected.

Revision history for this message
In , Ilmari-lauhakangas (ilmari-lauhakangas) wrote :

Ok, perhaps it is something related to Ubuntu and gtk3. Try this:

1. Open terminal
2. Give this command: SAL_USE_VCLPLUGIN=gtk libreoffice
3. Open your Impress file and see how the videos play

Step 2 launches your Ubuntu-packaged LibreOffice so it uses gtk2 for the interface instead of gtk3.

Revision history for this message
In , klinge (rosgnilk) wrote :

the error doesn't go away if i open lO with gtk2. (It does show some improvement: the flickering stripes are now in black instead of in white ;-)

Revision history for this message
In , Ilmari-lauhakangas (ilmari-lauhakangas) wrote :

(In reply to rosgnilk from comment #13)
> the error doesn't go away if i open lO with gtk2. (It does show some
> improvement: the flickering stripes are now in black instead of in white ;-)

Ah, then your appimage test proves that this is fixed in 6.1!

Revision history for this message
In , klinge (rosgnilk) wrote :

oh no, I gess it isn't planed that LO 6.1 lands in Ubuntu 18.04. That means I have to fiddle around with an manual upgrade to 6.1 which is allways a pain in the ass with ubuntu.

Revision history for this message
In , klinge (rosgnilk) wrote :

I just upgraded LO to 6.1 (ppa) but the bug doesn't go away, the videos still show the weird stripes. The same applies to the snap version.

Revision history for this message
In , Ilmari-lauhakangas (ilmari-lauhakangas) wrote :

(In reply to rosgnilk from comment #16)
> I just upgraded LO to 6.1 (ppa) but the bug doesn't go away, the videos
> still show the weird stripes. The same applies to the snap version.

Based on the results so far, this seems to be an Ubuntu-only bug. You should report it to them: https://bugs.launchpad.net/ubuntu/+source/libreoffice
Tell them that the problem does not appear for you with the appimage.

If in the future it turns out not to be strictly Ubuntu-only, we can change the status.

Revision history for this message
Olivier Tilloy (osomon) wrote :

Thanks for the report!

Can you try the upstream deb packages (https://www.libreoffice.org/download/download/) and tell us whether they suffer from the same problem.

If you don't mind trying the snap package too (sudo snap install libreoffice && snap run libreoffice), I'd be interested in knowing whether it's affected.

Also, please run "apport-collect 1811530" to attach system information to this bug. Thanks!

Changed in libreoffice (Ubuntu):
status: New → Incomplete
Revision history for this message
klinge (rosgnilk) wrote :

Is the upstream package the same as in the ppa? If yes, the bug is still present after updating LO per ppa. If necessary I can test the newest package from the LO Site as well.

The same applies to the snap package, the bug is present.

Revision history for this message
klinge (rosgnilk) wrote :

Running: apport-collect 1811530, produces the following output:
Package libreoffice not installed and no hook available, ignoring
GtkDialog mapped without a transient parent. This is discouraged.

Is it collecting from the snap package? Something obviously went wrong but I don't know what.

Revision history for this message
Olivier Tilloy (osomon) wrote :

The upstream package is not the same as in the PPA, if you don't mind testing it that would be useful.

Thanks for the feedback about the snap.

You'll need to install the libreoffice meta-package for apport-collect to work it seems:

    sudo apt install libreoffice

Revision history for this message
klinge (rosgnilk) wrote : Dependencies.txt

apport information

tags: added: apport-collected bionic
description: updated
Revision history for this message
klinge (rosgnilk) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
klinge (rosgnilk) wrote : ProcEnviron.txt

apport information

Revision history for this message
klinge (rosgnilk) wrote :

ok than I give the upstream package a go, but at the earliest tomorrow. The apport informations seem to have worked now.

Revision history for this message
Olivier Tilloy (osomon) wrote :

Thanks! Looking forward to your feedback on the upstream packages.

Revision history for this message
klinge (rosgnilk) wrote :

There is no change with the newest upstream packages. The behavior stays the same. As addition I give some apport informations from a second pc that shows the same behavior.

tags: added: third-party-packages
description: updated
Revision history for this message
klinge (rosgnilk) wrote : Dependencies.txt

apport information

Revision history for this message
klinge (rosgnilk) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
klinge (rosgnilk) wrote : ProcEnviron.txt

apport information

Revision history for this message
klinge (rosgnilk) wrote :

after experimenting with different slideshows: it does change somehow, there are some videos that work fine now, others show green patches instead and some still show the same error than with the old packages.

Revision history for this message
Olivier Tilloy (osomon) wrote :

Thanks for the additional feedback. It looks like this might be an upstream bug, rather than something specific to Ubuntu. Would you mind filing a bug at https://bugs.documentfoundation.org/enter_bug.cgi?product=LibreOffice&format=guided, and sharing the link to it here? Thanks!

Revision history for this message
klinge (rosgnilk) wrote :

well the bug exists already: https://bugs.documentfoundation.org/show_bug.cgi?id=118631 they sent me here, because the bug doesn't appear in the appimages.

Revision history for this message
Olivier Tilloy (osomon) wrote :

Ah, thanks.

Changed in libreoffice (Ubuntu):
status: Incomplete → New
Revision history for this message
shemgp (shemgp) wrote :

I can confirm that the flickering white stripes doesn't exist in upstream debs:
eg. https://mirror.aarnet.edu.au/pub/tdf/libreoffice/stable/6.3.2/deb/x86_64/LibreOffice_6.3.2_Linux_x86-64_deb.tar.gz

And that it exists in libreoffice 1:6.3.2-0ubuntu0.18.04.1~lo1 from ppa:libreoffice/ppa and snap version: 6.3.2.2.

Changed in libreoffice (Ubuntu):
status: New → Confirmed
Revision history for this message
shemgp (shemgp) wrote :

And that it does exist in Ubuntu 18.04 but not in Ubuntu 19.10.

Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

Thanks for that shemgp, so if the same version of the snap works on one version of Ubuntu and not another, this may not actually be a libreoffice bug but rather something render-related on 18.04 specifically.

Revision history for this message
shemgp (shemgp) wrote :

Upgrading to HWE kernel and graphic stacks somewhat relieves the problem. At least now the presentation doesn't show it, but only the info screen.

PPA: https://www.youtube.com/watch?v=zQwcmxjdg1g
Snap: https://www.youtube.com/watch?v=6RzSdrM-tWs
Linux 5.3 ppa & snap: https://www.youtube.com/watch?v=1hCP0g2kbOo

Revision history for this message
Muench (mmue) wrote :

I am also affected by the problem with the flickering video.
May be my observation helps someone to find a solution or workfix.

I test it with LO 6.3.5.2 / LO 6.4.5 / LO 7.0.0.1 at ubuntu 19.10 with a simple impress document embedded a mp4 movie. Flickering appears in all versions at the full presentation screen.

But, if I use the right mouse key in the presentation mode the control window (with Next, Got to Slide, ... menus) appears on the presentation screen and the flickering stops immediately. As long as the control window appears, the movie runs how it should be. Unfortunately the control window is to large for using this as a interim solution.

May be, somebody can find a workaround to produce a smaller window with the mouse key, like this control window?

Meanwhile I install a new ubuntu 20.04 LTS from scratch.
Unfortunately the problem remains.

Revision history for this message
klinge (rosgnilk) wrote :

I can confirm the behaviour Muench describes on Ubuntu 20.04 with LO 6.4.4.2.

Revision history for this message
In , Johannes Kalliauer (jokalliauer1989) wrote :

I think it is due to hardware acceleration:

* Tools > Options > View > Graphics Output > uncheck "Use hardware acceleration"

@Buovjaga I have a similar issue on fedora: https://ask.libreoffice.org/en/question/304553/white-stripes-on-screen/?answer=304554#post-id-304554

Changed in df-libreoffice:
importance: Unknown → Medium
status: Unknown → Won't Fix
Revision history for this message
klinge (rosgnilk) wrote :

Unchecking hardware acceleration does not change anything. The bug still exists with Ubuntu 20.04 and LO6.4.7.2

Mai (mai00)
Changed in libreoffice (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Mai (mai00) wrote :

I still have the same problem....I am using libreoffice version 6.4.6.2

Changed in libreoffice (Ubuntu):
assignee: nobody → Mai (mai00)
assignee: Mai (mai00) → nobody
Revision history for this message
Mai (mai00) wrote :

Excuse me everyone.I accidentally pressed on "fix released" option and I can't change it.

Revision history for this message
klinge (rosgnilk) wrote :

as someone stirred in old bugs, the bug is still present on my systems:
Ubuntu 20.04.03
LO Version: 6.4.7.2
Build-ID: 1:6.4.7-0ubuntu0.20.04.2
CPU-Threads: 4; BS: Linux 5.11; UI-Render: Standard; VCL: gtk3;
Gebietsschema: de-CH (de_CH.UTF-8); UI-Sprache: de-DE

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.