FS#76033 - [obs-studio] Cannot run OBS Studio on Xwayland

Attached to Project: Community Packages
Opened by Strangiato (Strangiato) - Tuesday, 27 September 2022, 14:31 GMT
Last edited by Antonio Rojas (arojas) - Tuesday, 27 September 2022, 16:54 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
obs-studio 28.0.2-1 does not open on Wayland session of Gnome unless qt6-wayland package is installed.
Here is the output in the console:
$ obs
qt.qpa.plugin: Could not find the Qt platform plugin "wayland" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vkkhrdisplay, vnc, xcb.

Aborted (core dumped)

Additional info:
* package version(s) obs-studio 28.0.2-1
* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:
use Wayland session of Gnome
update to obs-studio 28.0.2-1
try to open obs-studio without installing qt6-wayland package

This task depends upon

Closed by  Antonio Rojas (arojas)
Tuesday, 27 September 2022, 16:54 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#72972 
Comment by Antonio Rojas (arojas) - Tuesday, 27 September 2022, 16:37 GMT
This is nothing specific of obs-studio. Any Qt6 application will behave the same way. That's why qt6-wayland is an optional dependency of qt6-base
Comment by Strangiato (Strangiato) - Tuesday, 27 September 2022, 16:54 GMT
  • Field changed: Percent Complete (100% → 0%)
OBS should not crash when qt6-wayland is not installed, it should run on Xwayland instead. This is what happens to Strawberry music player built against Qt6, for example.

Loading...