You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Be on Wayland (Hyprland or Sway)
Open obs
Select monitor to share
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.
Activity
kkartaltepe commentedon May 19, 2023
Please provide a backtrace from gdb.
kkartaltepe commentedon May 19, 2023
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.
columbarius commentedon May 31, 2023
Please test if #8993 fixes this.
columbarius commentedon Jun 1, 2023
kkartaltepe commentedon Jun 13, 2023
Flatpak does not incorporate the patch mentioned, so it should be expected that it behaves the same as your system package.
kiaraly commentedon Jun 14, 2023
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.