You are not logged in.

#1 2021-06-28 18:46:43

Jhackler
Member
Registered: 2014-01-27
Posts: 20

OBS Wayland options missing

The latest obs is suppose to have native wayland support and pipewire video capture option. However, even when I try launching it in wayland mode through terminal, there is only x composite for screen capture which just present a black screen with the mouse cursor. Is there something I am doing wrong or missing? I also have xdg-desktop stuff and pipewire installed. I am even using the option pulse audio drop in replacement.

Offline

#2 2021-06-30 01:36:32

HurricanePootis
Member
Registered: 2020-10-16
Posts: 22

Re: OBS Wayland options missing

Try setting the environment variable QT_QPA_PLATFORM=wayland before launching OBS. This puts OBS into wayland mode.

Offline

#3 2021-07-07 20:27:15

Jhackler
Member
Registered: 2014-01-27
Posts: 20

Re: OBS Wayland options missing

HurricanePootis wrote:

Try setting the environment variable QT_QPA_PLATFORM=wayland before launching OBS. This puts OBS into wayland mode.

I have tried this before how do I set the variable maybe I am doing it wrong?

Offline

#4 2021-07-10 14:55:30

Jhackler
Member
Registered: 2014-01-27
Posts: 20

Re: OBS Wayland options missing

variable is not working still now option for Wayland capture

Offline

#5 2021-07-11 07:24:16

rootbox
Member
Registered: 2012-09-06
Posts: 10

Re: OBS Wayland options missing

I don't know about the arch version of obs but you can use the flatpak version. I use the flatpak version to stream my desktop via virtual webcam, (worked out of the box).

Offline

#6 2021-07-11 23:56:54

lost_eth0
Member
From: USA
Registered: 2020-07-31
Posts: 30
Website

Re: OBS Wayland options missing

Heres what I did to get screen recording under wayland:

- Installed v4l2loopback-dkms
- Installed xdg-desktop-portal & xdg-desktop-portal-wlr, but the second package is specific to wlr compositors.
- Make sure these commands get run at start:

dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway;

/usr/lib/xdg-desktop-portal -r &
exec /usr/lib/xdg-desktop-portal-wlr;

Offline

Board footer

Powered by FluxBB