You are not logged in.
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
Try setting the environment variable QT_QPA_PLATFORM=wayland before launching OBS. This puts OBS into wayland mode.
Offline
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
variable is not working still now option for Wayland capture
Offline
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
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