Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flatpak - Cannot force X11 mode under Wayland with version 31.0.1 #11847

Closed
graves501 opened this issue Feb 8, 2025 · 2 comments
Closed

Flatpak - Cannot force X11 mode under Wayland with version 31.0.1 #11847

graves501 opened this issue Feb 8, 2025 · 2 comments

Comments

@graves501
Copy link

Operating System Info

Other

Other OS

Arch Linux

OBS Studio Version

31.0.1

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/YUos7cKkMQOHyvMc

OBS Studio Crash Log URL

No response

Expected Behavior

When executing the following command OBS should start:

env QT_QPA_PLATFORM="xcb" /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=obs com.obsproject.Studio

Works with Flatpak version 30.2.3

Current Behavior

Does not work with Flatpak version 31.0.1

env QT_QPA_PLATFORM="xcb" /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=obs com.obsproject.Studio

The command above produces this output:

qt.qpa.xcb: could not connect to display
qt.qpa.plugin: From 6.5.0, xcb-cursor0 or libxcb-cursor0 is needed to load the Qt xcb platform plugin.
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
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, wayland-egl, wayland, xcb.

Steps to Reproduce

  1. Run Wayland session via e.g. Sway
  2. Execute env QT_QPA_PLATFORM="xcb" /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=obs com.obsproject.Studio with Flatpak version 31.0.1

Anything else we should know?

No response

@tytan652 tytan652 closed this as not planned Won't fix, can't repro, duplicate, stale Feb 8, 2025
@tytan652
Copy link
Collaborator

tytan652 commented Feb 8, 2025

Running OBS under XWayland is not supported and the Flatpak permission about X11 and Wayland sockets are aligned with Flathub requirement.

@graves501
Copy link
Author

graves501 commented Feb 8, 2025

Running OBS under XWayland is not supported and the Flatpak permission about X11 and Wayland sockets are aligned with Flathub requirement.

@tytan652

Thanks for the quick reply! I would rather not force XWayland, but OBS does not seem to support e.g. Twitch Chat and Twitch Stats with the current Flatpak version under Wayland.

Are there any plans that those docks/widgets will work with Wayland in the future?

EDIT:

This seems to lead to some answer regarding the widgets: #11758

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants