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

Wayland - UI does not load correctly, and crashes if connected to streaming service account #8861

Closed
evolozzy opened this issue May 6, 2023 · 10 comments · Fixed by #8862
Closed
Labels
Linux Affects Linux

Comments

@evolozzy
Copy link

evolozzy commented May 6, 2023

Operating System Info

Ubuntu 22.04

Other OS

Ubuntu 22.04 - Wayland

OBS Studio Version

29.1.0

OBS Studio Version (Other)

No response

OBS Studio Log URL

https://obsproject.com/logs/BjAU1p3mumrItp62

OBS Studio Crash Log URL

No response

Expected Behavior

It opens as expected. In settings it shows connect to account for some services such as Twitch, YouTube, and Restream.io. The UI renders correctly.

Current Behavior

The UI does not render correctly, the fonts are smaller than normal, and in the settings "connect to account" option does not show up. If already connected to Restream account, the app crashes and quits.

Steps to Reproduce

  1. Upgrade OBS to 29.1.0
  2. Start the app

...

Anything else we should know?

Opening the app in X11 or downgrading to 29.0.0 resolves the issue. Removing the plugins has no effect.

Uploaded Screenshots
OBS 29.0.0 Twitch
OBS 29.0.0 Restream.io
OBS 29.1.0 Twitch

@tytan652
Copy link
Collaborator

tytan652 commented May 6, 2023

and in the settings "connect to account" option does not show up

This is normal under Wayland, Twitch and Restream integration does not work under Wayland so those are disabled.

If already connected to Restream account, the app crashes and quits.

Need to check that later.

@evolozzy
Copy link
Author

evolozzy commented May 6, 2023

This is normal under Wayland, Twitch and Restream integration does not work under Wayland.

It is working in 29.0. So it got broken during this update, and it is normal?

@kkartaltepe
Copy link
Collaborator

Please provide a stacktrace from gdb.

@kkartaltepe kkartaltepe added the Linux Affects Linux label May 6, 2023
@evolozzy
Copy link
Author

evolozzy commented May 6, 2023

Please provide a stacktrace from gdb.

#0  0x00005555557f9a28 in  ()
#1  0x0000555555650b7f in  ()
#2  0x00005555556b3721 in  ()
#3  0x00005555556134b7 in main ()

This is for the crash. I can also upload the verbose logs for both crashing (connected to Restream.io) and non-crashing (not connected to an account) cases.

@kkartaltepe
Copy link
Collaborator

This trace does not look correct, please provide the steps you used to run it.

@evolozzy
Copy link
Author

evolozzy commented May 7, 2023

This trace does not look correct, please provide the steps you used to run it.

  1. gdb obs
  2. run
  3. Wait for segmentation fault
  4. backtrace

@tytan652
Copy link
Collaborator

tytan652 commented May 7, 2023

It is working in 29.0. So it got broken during this update, and it is normal?

Twitch and Restream integrations are not available under Wayland.

If already connected to Restream account, the app crashes and quits

Fixed by #8862 which prevent those integration of being loaded under Wayland.

This trace does not look correct, please provide the steps you used to run it.

@kkartaltepe, it's normal if there is no debug symbol available.

@evolozzy
Copy link
Author

evolozzy commented May 7, 2023

@tytan652 My bad! I just realized, OBS 29.0, unless qt platform is set to wayland, opens on xwayland, and it looks like much everything works fine. Version 29.1 opens as Wayland native, and it loses functionality. That's where I was confused. Do you want me to close this?

@tytan652
Copy link
Collaborator

tytan652 commented May 7, 2023

If already connected to Restream account, the app crashes and quits

This issue still reports a bug, let it open. The PR bound to it will close it once merged.

@tytan652
Copy link
Collaborator

tytan652 commented May 7, 2023

OBS 29.0, unless qt platform is set to wayland, opens on xwayland

Yeah, Ubuntu rename the GNOME desktop to another name which was by-passing our Qt Wayland enforcement.
We fixed that a while ago.

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

Successfully merging a pull request may close this issue.

3 participants