You are not logged in.

#1 2022-10-22 17:10:43

Froloket64
Member
Registered: 2021-11-12
Posts: 26

[SOLVED] OBS under Wayland works only on KDE

So, I recently switched to Wayland (first Hyprland, now Sway) and noticed that OBS doesn't work. Then at some point I checked out KDE Wayland session and realized that OBS somehow works there and that's the only Wayland session I managed to get it working on so far.
Note also that I'm using Pipewire.
I have tried a lot of different pieces of advice such as passing QT_QPA_PLATFORM=wayland|xcb on obs invocation or installing pkgs like gst-plugin-pipewire but nothing works. The closest I've gotten to it working is passing QT_QPA_PLATFORM=xcb and seeing only the mouse cursor on the black background.

All programs mentioned are freshly updated from official reps (stable) and the issue/unexpected behavior persists.

Last edited by Froloket64 (2022-10-24 18:56:55)

Offline

#2 2022-10-22 18:38:28

progandy
Member
Registered: 2012-05-17
Posts: 5,279

Re: [SOLVED] OBS under Wayland works only on KDE

You did not mention setting up xdg-desktop-portal, so for sway you need to install xdg-desktop-portal-wlr (Wiki) or use wlrobs

Last edited by progandy (2022-10-22 18:41:43)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#3 2022-10-24 18:43:45

Froloket64
Member
Registered: 2021-11-12
Posts: 26

Re: [SOLVED] OBS under Wayland works only on KDE

Well, despite not mentioning it I indeed tried installing xdg-desktop-portal's (including -wlr), but let me try the wlrobs thing you recommended, never heard of it before.

EDIT:
Ok, so, once the wlrobs were installed, I noticed 2 new output options: "Wayland output(dmabuf)" and "Wayland output(scpy)". dmabuf seems to work fine on its own, while scpy one only works with QT_QPA_PLATFORM=wayland passed, although appears either way.
The only problem I experience is that there's no cursor sad
Other than that, everything seems to work fine (at least at first glance)

Also, if You know anything about these dmabuf and scpy, I would like to learn more about them (though I sure always can just google that up wink )

EDITED EDIT:
Oopsie, nevermind, I didn't notice the "Show mouse cursor" box when configuring output properties. Now it all works!

Thanks a lot for Your help!

Last edited by Froloket64 (2022-10-24 18:56:42)

Offline

Board footer

Powered by FluxBB