Openshot fails to start in wayland

Hi all.

I don’t know since when this started to not work as I use openshot every once in a while but now, I get:

$ openshot-qt                                           
Loaded modules from: /usr/lib/python3.12/site-packages/openshot_qt
INFO sentry: No sentry_sdk module detected (error reporting is disabled)
INFO app: ------------------------------------------------
INFO app:             Mon Dec  9 09:40:44 2024
INFO app:               Starting new session
INFO app: ------------------------------------------------
INFO app:             OpenShot (version 3.2.1)
INFO app: ------------------------------------------------
INFO app: openshot-qt version: 3.2.1
INFO app: libopenshot version: 0.3.3
INFO app: platform: Linux-6.12.1-4-MANJARO-x86_64-with-glibc2.40
INFO app: processor:
INFO app: machine: x86_64
INFO app: python version: 3.12.7
INFO app: qt5 version: 5.15.14
INFO app: pyqt5 version: 5.15.11
INFO project_data: Setting profile to HD 720p 30 fps
INFO project_data: Apply default audio playback settings: 48000, 2 channels
INFO app: checking babl_ext_path: /usr/lib/python3.12/site-packages/openshot_qt/lib/babl-ext
INFO language: Qt Detected Languages: ['en-GB', 'en-Latn-GB']
INFO language: LANG Environment Variable: en_GB.UTF-8
INFO language: LOCALE Environment Variable:
INFO language: OpenShot Preference Language: Default
INFO ui_util: Initializing UI for MainWindow
INFO thumbnail: Starting thumbnail server listening on ('127.0.0.1', 55027)
Sandboxing disabled by user.
INFO webengine: WebEngine backend initializing
INFO logger_libopenshot: Connecting to libopenshot with debug port: 5556
INFO transition_model: updating transitions model.
INFO effects_model: updating effects model.
INFO emoji_model: updating emoji model.
INFO main_window: InitCacheSettings
INFO main_window: cache-mode: CacheMemory
INFO main_window: cache-limit-mb: 512
INFO main_window: cache-ahead-percent: 0.7
INFO main_window: cache-preroll-min-frames: 24
INFO main_window: cache-preroll-max-frames: 48
INFO main_window: cache-max-frames: 600
INFO main_window: Creating CacheMemory object with 536870912 byte limit
INFO preview_thread: QThread Start Method Invoked
WARNING main_window: Unhandled shutdown detected: No Log Found
INFO base: Setting font to /usr/lib/python3.12/site-packages/openshot_qt/images/fonts/Ubuntu-R.ttf
INFO version: Found current version: {'error_rate_stable': 0.25, 'trans_rate_stable': 0.01, 'error_rate_unstable': 0.05, 'trans_rate_unstable': 0.001, 'openshot_version': '3.2.1'}
INFO ui_util: Initializing UI for MainWindow
INFO theme: Setting Fusion dark palette
INFO main_window: updateStatusChanged
INFO main_window: recover_backup
INFO project_data: Setting profile to HD 720p 30 fps
INFO project_data: Apply default audio playback settings: 48000, 2 channels
INFO video_widget: Load: Set video widget display aspect ratio to: 1.7777777910232544
INFO video_widget: Set video widget pixel aspect ratio to: 1.0
INFO main_window: updateStatusChanged
INFO sentry: No sentry_sdk module detected (error reporting is disabled)
xdg_surface#32: error 3: xdg_surface has never been configured
The Wayland connection experienced a fatal error: Protocol error

There is no more information in the journal.

I’m using sway but it was working before (several months ago).

I’m on stable (started from gnome image) kernel 6.12.1-4-MANJARO, Openshot is the version from extra.

Machine is an AMD if that matters.

I would guess some sort of issue with qt5 and wayland (?).

Thanks in advance for any help.

xdg_surface#32: error 3: xdg_surface has never been configured
The Wayland connection experienced a fatal error: Protocol error

This final line doesn’t exist when launching on my Plasma desktop… possibly it’s related to a recent update with sway.

(Also AMD, Ryzen 5600G).

Funnily enough, I tried with my other laptop (old Intel, this time) which is nearly configured the same and on that one it started :frowning:

The AppImage version downloaded from the site works too.

I’m clueless…

So I played with the content of the ~/.openshot-qt directory.

In the openshot.settings, something like this was present:

 {
  "value": "AdnQywADAAAAAAAAAAAFtgAAB38AAAnYAAAAAAAAAAAAAARHAAADNgAAAAECAAAAB4AAAAAAAAAFtgAAB38AAAnY",
  "title": "",
  "type": "hidden",
  "category": "Qt",
  "setting": "window_geometry_v2"
 },

By changing this with the new version I got by starting without the directory: the program starts…

So no link to sway :wink:

“Problem solved”

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.