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 trying to share screen #8925
Comments
Please provide a backtrace from gdb. |
Please let me know if there is anything else
|
Looks like if we get an unusable format and try to renegotiate in https://github.com/obsproject/obs-studio/blob/master/plugins/linux-pipewire/pipewire.c#L664 we still try to swizzle the possibly null texture at the end https://github.com/obsproject/obs-studio/blob/master/plugins/linux-pipewire/pipewire.c#L705 @GeorgesStavracas @columbarius if you are interested. |
Please test if #8993 fixes this. |
I still have the same issue unfortunately even with the patch.
|
Please build OBS as portable from the MR directly. The code line numbers in the stacktrace don't line up.
|
Sorry for the late response, I am not sure what you mean by that. All I did was copy the patch into /etc/portage/patches/media-video/obs-studio/fix_pipewire.patch
And then simply compiled it again with this and then did the gdb commands. If I was suppose to do something else please could you explain what you wish me to do further thanks. |
Although I would prefer to use the system compiled package I was testing the flatpak version of obs and I have experienced this same exact issue. https://obsproject.com/logs/cPBQuBMJykNFBslS This doesn't make any sense as even a flatpak browser can share the screen. |
Flatpak does not incorporate the patch mentioned, so it should be expected that it behaves the same as your system package. |
I came across the same issue today and it now works after upgrading xdg-desktop-portal-wlr from version 0.5 to version 0.7. |
Thank you Roger-Roger-debug this actually solved all my issues. |
Operating System Info
Other
Other OS
Gentoo Linux (MUSL SELINUX Hardened profile)
OBS Studio Version
29.1.1
OBS Studio Version (Other)
No response
OBS Studio Log URL
https://obsproject.com/logs/1tRkGrqAuSP8AQql
OBS Studio Crash Log URL
https://obsproject.com/logs/1tRkGrqAuSP8AQql
Expected Behavior
I should be able to click on a selected monitor to share and it should share the screen without crashing.
Current Behavior
When I click on the monitor to share it immediately crashes and gives me a segmentation fault.
Steps to Reproduce
Anything else we should know?
I am on Hyprland (Wayland Compositor) I have xdg-desktop-portal-wlr running and I know it works since I can share screen using flatpak version of firefox. This could be something related to MUSL but I am not sure.
The text was updated successfully, but these errors were encountered: