Hi, for your info: Collabora Office does not start in Linux Mint due to a QtWebEngine crash. Starting it with the following script is a workaround to get it running:
#!/bin/bash
export QTWEBENGINE_FORCE_USE_GBM=0
export QTWEBENGINE_CHROMIUM_FLAGS=“–disable-gpu --disable-software-rasterizer”
flatpak run com.collabora.Office “$@”
Hi, just sharing what I found with the help of an LLM since I don’t have deep knowledge about QtWebEngine myself. Collabora Office wasn’t starting for me on Linux Mint due to a QtWebEngine crash, and the following points were suggested as possible fixes or workarounds. Can you please try them and see if any of these help?
1. Try this workaround script (make sure to use normal quotes):
#!/bin/bash
export QTWEBENGINE_FORCE_USE_GBM=0
export QTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu --disable-software-rasterizer"
flatpak run com.collabora.Office "$@"
2. Apply Flatpak overrides so you don’t need the script:
flatpak override com.collabora.Office --env=QTWEBENGINE_FORCE_USE_GBM=0
flatpak override com.collabora.Office --env=QTWEBENGINE_CHROMIUM_FLAGS="--disable-gpu --disable-software-rasterizer"
3. Update your system and GPU drivers because older Mesa drivers in Mint can cause QtWebEngine crashes:
sudo apt update && sudo apt upgrade
(Optional Mesa PPA for newer drivers):
sudo add-apt-repository ppa:kisak/kisak-mesa
sudo apt update && sudo apt upgrade
4. If the issue persists, try forcing software OpenGL:
flatpak run --env=LIBGL_ALWAYS_SOFTWARE=1 com.collabora.Office
5. If you are using NVIDIA, QtWebEngine sometimes crashes with Flatpak. Switching to the open kernel driver or disabling GPU acceleration (as above) may help.
These are just suggestions from the LLM,
Let me know if any of these work on your setup.
Hi @darshan,
many thanks for your reply and the solution. I used the script before but the solution with the ‘flatpak override’ is much more elegant.
Many thanks for your support and the solution.
Regards, Harold