Driver errors and freezes with videos on LibreOffice Impress

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
iijj22gg
Level 1
Level 1
Posts: 2
Joined: Tue Jul 27, 2021 3:34 pm

Driver errors and freezes with videos on LibreOffice Impress

Post by iijj22gg »

Hello

I am using LibreOffice 6.4.7.2 on Linux Mint 20.2 64-bit with Cinnamon, and I'm running into a problem.


I'm running into program freezes (usually unrecoverable, which I refer to as crash) associated with videos.

Inserting a video simply doesn't work, I get a garbled mess of frames for the preview and it crashes when I try to play it in any way.
Dragging and dropping the video file does seem to work, but it has it's own problems. It uses a generic thumbnail, and appears in seemingly random positions.
It is very finicky to modify, and I have to use the "more options" tab to modify the numbers or it just reverts to a static value that's seemingly random. Even then, it's finicky, requiring multiple attempts. I have to center it and make it fill the slide or any portion of the side that isn't video will turn grey and remain so even if the slide advances.

When working with these in a presentation, I have to save both before and after I insert and modify the position, or it's a near guaranteed crash. Why it almost never crashes if I save is unknown to me.

Playing the video in the editor is also a crash.

Playing the video while presenting is a different story. While it works fine most of the time when I test it on my computer, it requires a special setup to work when connected to any external display.

Here is where things get really complicated. To get it to work I have to run it with "DRI_PRIME=1" I'm using a dual-GPU muxless laptop from 2014. The GPUs are Intel integrated and an Nvidia GeForce GT 720M, so I'm using Nouveau. For some odd reason it just crashes when I try to load a video with the integrated card. Then, I have to make sure the previous time I used Impress I had a successful exit. In other words, if it crashed last time and I terminated it, Impress will always tell me there is recovery data. For whatever reason, this is also a guaranteed crash, so I have to close Impress after I either load or discard the recovery data.

Even after all that, it's still not guaranteed something will go wrong. Examples of freezes include: the slide never changes, the video thumbnail appearing and not disappearing, the video only playing on my PC proceeded by a crash, the video only playing on the external output (and sometimes I'll see it play on my PC a minute later, usually in a new maximized window) proceeded by a crash, and the video playing in a new maximized window.

The behavior is a little off too, the slide takes a little bit to change, then the generic thumbnail flashes before the video plays. The video plays on my PC in a fullscreen window that flickers. If this happens, the slide is easily advanced, and the presentation can proceed as normal. If I advance the slide before the video loads, it freezes but recovers after a minute or so, and if I try to advance slides backwards into a video, it crashes and doesn't advance the slide backwards.



When using the terminal to launch Impress with the dGPU, I noticed errors that only occur if the file I'm loading contains a video that I'm sure have to do with my issue:

Code: Select all

iijj22gg@I-Latitude-E5440:~$ libreoffice --impress ~/Documents/videoExample.odp
DtsGetHWFeatures: Create File Failed
DtsGetHWFeatures: Create File Failed
Running DIL (3.22.0) Version
DtsDeviceOpen: Opening HW in mode 0
DtsDeviceOpen: Create File Failed

(soffice:20010): GStreamer-CRITICAL **: 13:48:57.423: gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed

** (soffice:20010): WARNING **: 13:48:57.437: Failed to construct frame-grabber pipeline 'no element "PP"'

DtsGetHWFeatures: Create File Failed
Running DIL (3.22.0) Version
DtsDeviceOpen: Opening HW in mode 0
DtsDeviceOpen: Create File Failed
DtsGetHWFeatures: Create File Failed
Running DIL (3.22.0) Version
DtsDeviceOpen: Opening HW in mode 0
DtsDeviceOpen: Create File Failed
DtsGetHWFeatures: Create File Failed
Running DIL (3.22.0) Version
DtsDeviceOpen: Opening HW in mode 0
DtsDeviceOpen: Create File Failed

(soffice:20010): GStreamer-CRITICAL **: 13:48:58.191: gst_element_make_from_uri: assertion 'gst_uri_is_valid (uri)' failed

** (soffice:20010): WARNING **: 13:48:58.205: Failed to construct frame-grabber pipeline 'no element "PP"'
All my drivers are up to date, so that can't be the problem...

Normally nothing is returned to the terminal, but with a video, all this stuff appears. The DTS and DIL related info acts like a broken record, appearing over and over as I interact with Impress.

All the other Impress features I've used work as intended, but the videos...

I'm using Impress all week at a public event, so the sooner I can solve this problem the better. :mrgreen:
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
deepakdeshp
Level 20
Level 20
Posts: 12341
Joined: Sun Aug 09, 2015 10:00 am

Re: Driver errors and freezes with videos on LibreOffice Impress

Post by deepakdeshp »

One more place to post the query is Libre Office forums.
Post output of

Code: Select all

 inxi - Fxz
in code tags. Do you get video problems apartt from LO?
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak

Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
iijj22gg
Level 1
Level 1
Posts: 2
Joined: Tue Jul 27, 2021 3:34 pm

Re: Driver errors and freezes with videos on LibreOffice Impress

Post by iijj22gg »

Sorry for the late reply, it appears I am not notified by email of responses.

I have posted to a total of 3 forums and have only gotten a response on the LibreOffice forum, but couldn't solve the problem

Code: Select all

inxi -Fxz

Code: Select all

System:
  Kernel: 5.4.0-81-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 
  Desktop: Cinnamon 5.0.5 Distro: Linux Mint 20.2 Uma 
  base: Ubuntu 20.04 focal 
Machine:
  Type: Laptop System: Dell product: Latitude E5440 v: 01 serial: <filter> 
  Mobo: Dell model: N/A serial: <filter> BIOS: Dell v: A11 date: 02/02/2015 
Battery:
  ID-1: BAT0 charge: 53.4 Wh condition: 53.4/48.8 Wh (109%) 
  model: LGC-LGC3.0 DELL NVWGM41 status: Full 
CPU:
  Topology: Dual Core model: Intel Core i5-4310U bits: 64 type: MT MCP 
  arch: Haswell rev: 1 L2 cache: 3072 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 
  bogomips: 20752 
  Speed: 798 MHz min/max: 800/3000 MHz Core speeds (MHz): 1: 798 2: 798 
  3: 798 4: 799 
Graphics:
  Device-1: Intel Haswell-ULT Integrated Graphics vendor: Dell driver: i915 
  v: kernel bus ID: 00:02.0 
  Device-2: NVIDIA GF117M [GeForce 610M/710M/810M/820M / GT 
  620M/625M/630M/720M] 
  vendor: Dell driver: nouveau v: kernel bus ID: 03:00.0 
  Display: x11 server: X.Org 1.20.11 driver: modesetting 
  unloaded: fbdev,vesa resolution: 1366x768~60Hz 
  OpenGL: renderer: Mesa DRI Intel HD Graphics 4400 (HSW GT2) 
  v: 4.5 Mesa 21.0.3 direct render: Yes 
Audio:
  Device-1: Intel Haswell-ULT HD Audio vendor: Dell driver: snd_hda_intel 
  v: kernel bus ID: 00:03.0 
  Device-2: Intel 8 Series HD Audio vendor: Dell driver: snd_hda_intel 
  v: kernel bus ID: 00:1b.0 
  Sound Server: ALSA v: k5.4.0-81-generic 
Network:
  Device-1: Intel Ethernet I218-LM vendor: Dell driver: e1000e v: 3.2.6-k 
  port: f080 bus ID: 00:19.0 
  IF: eno1 state: down mac: <filter> 
  Device-2: Intel Wireless 7260 driver: iwlwifi v: kernel port: f040 
  bus ID: 02:00.0 
  IF: wlp2s0 state: up mac: <filter> 
Drives:
  Local Storage: total: 585.24 GiB used: 75.37 GiB (12.9%) 
  ID-1: /dev/mmcblk0 model: SD128 size: 119.48 GiB 
  ID-2: /dev/sda vendor: Samsung model: SSD 860 EVO 500GB size: 465.76 GiB 
RAID:
  Hardware-1: Intel 82801 Mobile SATA Controller [RAID mode] driver: ahci 
  v: 3.0 bus ID: 00:1f.2 
Partition:
  ID-1: / size: 136.04 GiB used: 43.93 GiB (32.3%) fs: ext4 dev: /dev/sda5 
Sensors:
  System Temperatures: cpu: 45.0 C mobo: 40.0 C sodimm: 36.0 C 
  Fan Speeds (RPM): cpu: 3008 
Info:
  Processes: 224 Uptime: 1h 17m Memory: 7.68 GiB used: 2.11 GiB (27.4%) 
  Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 Shell: bash v: 5.0.17 
  inxi: 3.0.38
I do have other minor video problems, such as compatibility problems with Vulkan 3D (it stalls the X server) and 2D hardware acceleration problems in certain applications such as Zoom with modeselect.
Locked

Return to “Software & Applications”