Screen capture not showing in Sway

  • Thread starter Deleted member 401258
  • Start date
D

Deleted member 401258

Hi. I am on running Sway on Gentoo. I was trying to make OBS screen sharing work. As stated in this section of the guide I added the relevant USE flags (the screencast one and pipewire):

Code:
sicro@sicro ~ $ cat /etc/portage/make.conf
...
INPUT_DEVICES="libinput mouse keyboard synaptics"
USE="elogind -systemd swaybar wayland X xorg dbus wifi hwaccel jpeg git ssh threads persist postproc cups text bluetooth icu nss pulseaudio minizip -kde gui curl gnuplot opengl readline vulkan googledrive cairo egl pdf acpi alsa speex v4l lua screencast x264 npm gtk gtk3 -doc udev -networkmanager"
VIDEO_CARDS="amdgpu radeonsi radeon"
...

sicro@sicro ~ $ cat /etc/portage/package.use/obs-studio
media-video/obs-studio pipewire

I also have the following line in the Sway config file:

Code:
sicro@sicro ~ $ cat .config/sway/config
...
exec gentoo-pipewire-launcher
exec --no-startup-id /usr/libexec/xdg-desktop-portal -r
...

After re-emerging everything, OBS only shows the following sources:
  • Audio Capture Device (ALSA)
  • Audio Input Capture (PulseAudio)
  • Audio Output Capture (PulseAudio)
  • Color Source
  • Image
  • Image Slide Show
  • Media Source
  • Scene
  • Video Capture Device (V4L2)
  • Groups

I don't have the source for the screen or any other applications.
I verified, and wf-recorder DO records my screen without any issues.
How can I make OBS work with Wayland?
 
Top