OBS in Sway does not detect Screen Capture

I can’t seem to figure out what’s the problem. OBS in Wayland WMs usually work for me, I’ve done nothing yet after Sway, I just configured my waybar and that’s pretty much it. After installing OBS and launching it I was about to try it so I can tweak the record, but then I can’t find any option on screen capture. Pretty much every screen capture option is missing.

System:
  Kernel: 6.6.1-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    clocksource: tsc available: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=2f966a89-6cf4-4b00-8956-703a25743e17 rw rootflags=subvol=@
    quiet resume=UUID=691d45b9-0a20-4242-a7b4-92c8a4c7733c loglevel=3 ibt=off
  Desktop: sway v: 1.8.1 info: waybar vt: 1 dm: greetd Distro: Garuda Linux
    base: Arch Linux
Machine:
  Type: Laptop System: ASUSTeK product: X441NA v: 1.0
    serial: <superuser required>
  Mobo: ASUSTeK model: X441NA v: 1.0 serial: <superuser required>
    UEFI: American Megatrends v: X441NA.205 date: 11/18/2016
Battery:
  ID-1: BAT0 charge: 14.0 Wh (53.2%) condition: 26.3/34.6 Wh (76.1%)
    power: 6.3 W volts: 10.8 min: 10.8 model: ASUSTeK ASUS Battery type: Li-ion
    serial: N/A status: discharging cycles: 673
CPU:
  Info: model: Intel Pentium N4200 bits: 64 type: MCP arch: Goldmont level: v2
    built: 2016 process: Intel 14nm family: 6 model-id: 0x5C (92) stepping: 9
    microcode: 0x48
  Topology: cpus: 1x cores: 4 smt: <unsupported> cache: L1: 224 KiB
    desc: d-4x24 KiB; i-4x32 KiB L2: 2 MiB desc: 2x1024 KiB
  Speed (MHz): avg: 1263 high: 2500 min/max: 800/2500 scaling:
    driver: intel_cpufreq governor: schedutil cores: 1: 2500 2: 800 3: 952
    4: 800 bogomips: 8755
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities: <filter>
Graphics:
  Device-1: Intel Apollo Lake [HD Graphics 505] vendor: ASUSTeK driver: i915
    v: kernel arch: Gen-9 process: Intel 14n built: 2015-16 ports: active: eDP-1
    empty: DP-1,HDMI-A-1,HDMI-A-2 bus-ID: 00:02.0 chip-ID: 8086:5a84
    class-ID: 0300
  Device-2: IMC Networks USB2.0 VGA UVC WebCam driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-5:3 chip-ID: 13d3:5a01
    class-ID: 0e02 serial: <filter>
  Display: wayland server: Xwayland v: 23.2.2 compositor: sway v: 1.8.1
    driver: gpu: i915 display-ID: 1
  Monitor-1: eDP-1 model: AU Optronics 0x2d3c built: 2013 res: 1366x768
    hz: 60 dpi: 112 gamma: 1.2 scale: 1 size: 309x173mm (12.17x6.81")
    diag: 354mm (13.9") ratio: 16:9 modes: 1366x768
  API: Vulkan v: 1.3.269 layers: 3 device: 0 type: integrated-gpu name: Intel
    HD Graphics 505 (APL 3) driver: mesa intel v: 23.2.1-arch1.2
    device-ID: 8086:5a84 surfaces: xcb,xlib,wayland device: 1 type: cpu
    name: llvmpipe (LLVM 16.0.6 128 bits) driver: mesa llvmpipe
    v: 23.2.1-arch1.2 (LLVM 16.0.6) device-ID: 10005:0000
    surfaces: xcb,xlib,wayland
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
Audio:
  Device-1: Intel Celeron N3350/Pentium N4200/Atom E3900 Series Audio Cluster
    vendor: ASUSTeK driver: snd_hda_intel v: kernel alternate: snd_soc_skl,
    snd_soc_avs, snd_sof_pci_intel_apl bus-ID: 00:0e.0 chip-ID: 8086:5a98
    class-ID: 0403
  API: ALSA v: k6.6.1-zen1-1-zen status: kernel-api tools: N/A
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 0.3.85 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Realtek RTL810xE PCI Express Fast Ethernet vendor: ASUSTeK
    driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: e000
    bus-ID: 01:00.0 chip-ID: 10ec:8136 class-ID: 0200
  IF: enp1s0 state: down mac: <filter>
  Device-2: Realtek RTL8723BE PCIe Wireless Network Adapter vendor: Lite-On
    driver: rtl8723be v: kernel pcie: gen: 1 speed: 2.5 GT/s lanes: 1 port: d000
    bus-ID: 02:00.0 chip-ID: 10ec:b723 class-ID: 0280
  IF: wlp2s0 state: up mac: <filter>
Bluetooth:
  Device-1: Realtek Bluetooth Radio driver: btusb v: 0.8 type: USB rev: 2.1
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-3:2 chip-ID: 0bda:b721
    class-ID: e001 serial: <filter>
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 4.0
    lmp-v: 6 status: discoverable: no pairing: no class-ID: 7c010c
Drives:
  Local Storage: total: 465.76 GiB used: 8.19 GiB (1.8%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: Seagate model: ST500LT012-1DG142
    size: 465.76 GiB block-size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s
    tech: HDD rpm: 5400 serial: <filter> fw-rev: SDM1 scheme: GPT
Partition:
  ID-1: / raw-size: 457.41 GiB size: 457.41 GiB (100.00%)
    used: 8.19 GiB (1.8%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 576 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 457.41 GiB size: 457.41 GiB (100.00%)
    used: 8.19 GiB (1.8%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-4: /var/log raw-size: 457.41 GiB size: 457.41 GiB (100.00%)
    used: 8.19 GiB (1.8%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-5: /var/tmp raw-size: 457.41 GiB size: 457.41 GiB (100.00%)
    used: 8.19 GiB (1.8%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
Swap:
  Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 3.66 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 4 dev: /dev/zram0
  ID-2: swap-2 type: partition size: 8.06 GiB used: 0 KiB (0.0%)
    priority: -2 dev: /dev/sda3 maj-min: 8:3
Sensors:
  System Temperatures: cpu: 50.0 C mobo: N/A
  Fan Speeds (rpm): cpu: 2800
Info:
  Processes: 226 Uptime: 6m wakeups: 0 Memory: total: 4 GiB
  available: 3.66 GiB used: 1.39 GiB (37.9%) Init: systemd v: 254
  default: graphical tool: systemctl Compilers: gcc: 13.2.1 Packages: 1205
  pm: pacman pkgs: 1200 libs: 365 tools: paru pm: flatpak pkgs: 5 Shell: Bash
  v: 5.2.15 running-in: foot inxi: 3.3.31
Garuda (2.6.19-2):
  System install date:     2023-11-19
  Last full system update: 2023-11-19 ↻
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       Probably (Run as root to verify)
  Failed units:            

As of OBS version 28, you may need to install qt6-wayland to get it to work.

https://wiki.archlinux.org/title/Open_Broadcaster_Software#Wayland

Wayland

Since OBS is a Qt application, see Wayland#Qt to make it work under Wayland. OBS has upgraded from Qt 5 to Qt 6 since version 28, so installation of qt6-wayland is required for the newer versions. See PipeWire#WebRTC screen sharing to enable Wayland screen capture.

Try installing it with Pacman and see if it resolves your issue.

sudo pacman -S qt6-wayland

Tried installing it, apparently there’s two wayland output options that shows the screen, but I get this error.

Let’s see that log.

here ya go

Can you paste the log into the forum as text please, instead of a screenshot? Highlight the text and click the </> button to format as a code block.

1 Like

Try to use ffmpeg vaapi as your encoder in obs .

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.