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
OBS crashes when selecting screen or window to record (Wayland, pipewire, Ubuntu 22.04) #8050
Comments
Provide a backtrace from gdb of the crash, there is little we can do without it. |
@kkartaltepe can you point me to a doc on how to achieve this? In the meantime, I tried OBS in a Xorg session. I can record a screen or window using the X tools (resp. XSHM and Xcomposite), but trying to use Pipewire (which is also shown, like on Wayland) crashes with the following output:
|
ubuntu 22.04, kde wayland, backtrace
|
Thanks for the backtrace, it looks like it could be a bug in pipewire... @pieqq are you also using KDE as a compositor? |
for what its worth, teamviewer (which has support for wayland screen capture) work perfectly. so I'm leaning more toward this being an OBS issue |
No, I'm running GNOME 42, but I believe it's also using Pipewire.
|
I grabbed an Ubuntu 22.10 live USB, made sure I logged into a Wayland session, and followed the steps in my original bug report. I'm happy to report that in that case, it works as expected! I can select either the whole screen or a window, and record a session that is then exported to an .mkv x264 video. Here is what I get in the logs when running OBS and selecting my whole screen using the Pipewire prompt:
In 22.10, the pipewire packages are more recent (0.3.58 Vs. 0.3.48 in Ubuntu 22.04), which probably helps:
I checked the changelog for Pipewire between v0.3.48 and 0.3.58 but could not find something obvious regarding screen-sharing capabilities... |
Thanks for testing and letting us know. I suspect there was an unintentional abi break between the the two versions, resulting in the messages from the 3.48 server causing the 3.58 client to crash. Or that the screen casting servers are sending garbage but if that happened we should have reports of crashes for the PPA but i have not heard of any yet. |
Same problem here. Operating System Info OpenSUSE LEAP 15.4 OBS Studio Version 29.0.0 via Flatpak Log: info: [pipewire] desktop selected, setting up screencast Diffs to Log from Thread-Author @pieqq : Installed Pipewire-Packages: S | Name | Type | Version | Arch | Repository By the way/Off-Topic: Zoom is behave in the same way with the similar dialog to select the screen. After clicking on "share" zoom crashes. Using zoom in Firefox works. |
pipewire has confirmed the issue and committed a fix for this in the latest development branch, but now it depends on the flatpak runtimes to include this patch and release updated runtimes. So ill close this out as the fix is available if flatpak runtime maintainers see fit to include it. |
Operating System Info
Ubuntu 22.04
Other OS
No response
OBS Studio Version
29.0.0
OBS Studio Version (Other)
No response
OBS Studio Log URL
https://obsproject.com/logs/iE0bmIVmA0WnSng8
OBS Studio Crash Log URL
https://obsproject.com/logs/iE0bmIVmA0WnSng8
Expected Behavior
I can add a screen and/or window as a source, and record a screencast.
Current Behavior
When I select the screen I want to use, a "Screen share" dialog pops up:
If I select my screen and press "Share", OBS crashes with the following info in the logs:
The next time I start OBS, the "Screen share" dialog pops up again.
Steps to Reproduce
flatpak install flathub com.obsproject.Studio
Anything else we should know?
No response
The text was updated successfully, but these errors were encountered: