Screen Recorder in Garuda Sway

hello is there any software in garuda sway for screen recording???

unfortunately there’s no such feaaures like screen capture or windows capture in Obs Studio, is there any alternative where it can handle atleast 2-3hrs of screen recording???

Kernel: 6.16.7-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 15.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=5ea4ad17-0c51-400a-a682-6e7870754487 rw rootflags=subvol=@
    quiet loglevel=3
  Desktop: Sway v: 0.5.3 with: waybar tools: swayidle avail: gtklock vt: 1
    lm: greetd Distro: Garuda base: Arch Linux
Machine:
  Type: Desktop Mobo: Micro-Star model: A520M-A PRO (MS-7C96) v: 1.0
    serial: <superuser required> uuid: <superuser required> UEFI: American
    Megatrends LLC. v: 1.G0 date: 10/16/2023
CPU:
  Info: model: AMD Ryzen 7 5700G with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 3 gen: 3 level: v3 note: check built: 2021-22
    process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x50 (80) stepping: 0
    microcode: 0xA500012
  Topology: cpus: 1x dies: 1 clusters: 1 cores: 8 threads: 16 tpc: 2
    smt: enabled cache: L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB
    desc: 8x512 KiB L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 3472 min/max: 422/4674 boost: enabled scaling:
    driver: amd-pstate-epp governor: powersave cores: 1: 3472 2: 3472 3: 3472
    4: 3472 5: 3472 6: 3472 7: 3472 8: 3472 9: 3472 10: 3472 11: 3472 12: 3472
    13: 3472 14: 3472 15: 3472 16: 3472 bogomips: 121379
  Flags-basic: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a
    ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Cezanne [Radeon Vega Series /
    Radeon Mobile Series] driver: amdgpu v: kernel arch: GCN-5 code: Vega
    process: GF 14nm built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16
    ports: active: HDMI-A-1 empty: DP-1,DVI-D-1 bus-ID: 30:00.0
    chip-ID: 1002:1638 class-ID: 0300 temp: 46.0 C
  Device-2: Microdia Depstech Webcam driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-2:2
    chip-ID: 0c45:6301 class-ID: 0102 serial: <filter>
  Display: wayland server: Xwayland v: 24.1.8 compositor: Sway v: 0.5.3
    driver: gpu: amdgpu display-ID: 1
  Monitor-1: HDMI-A-1 model: N2455 Pro serial: <filter> built: 2024 res:
    mode: 1920x1080 hz: 100 scale: 100% (1) dpi: 92 gamma: 1.2
    size: 527x296mm (20.75x11.65") diag: 604mm (23.8") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
  Info: Tools: wl: kanshi, swaymsg, wdisplays x11: xprop
Audio:
  Device-1: Advanced Micro Devices [AMD/ATI] Renoir/Cezanne HDMI/DP Audio
    vendor: Micro-Star MSI driver: snd_hda_intel v: kernel pcie: gen: 3
    speed: 8 GT/s lanes: 16 bus-ID: 30:00.1 chip-ID: 1002:1637 class-ID: 0403
  Device-2: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
    vendor: Micro-Star MSI driver: snd_hda_intel v: kernel pcie: gen: 3
    speed: 8 GT/s lanes: 16 bus-ID: 30:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Device-3: Microdia Depstech Webcam driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-2:2
    chip-ID: 0c45:6301 class-ID: 0102 serial: <filter>
  API: ALSA v: k6.16.7-zen1-1-zen status: kernel-api
    tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 1.4.8 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 RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Micro-Star MSI driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: f000 bus-ID: 22:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp34s0 state: down mac: <filter>
  IF-ID-1: enp22s0f0u1 state: unknown speed: -1 duplex: half mac: <filter>
  Info: services: NetworkManager,systemd-timesyncd
Bluetooth:
  Device-1: OPPO CPH2269 driver: rndis_host v: kernel type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-1:2 chip-ID: 22d9:2766
    class-ID: 0a00 serial: <filter>
Drives:
  Local Storage: total: 476.94 GiB used: 30.32 GiB (6.4%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: STmagic model: SX100 512GB
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 18C1 scheme: GPT
Partition:
  ID-1: / raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
    used: 30.32 GiB (6.4%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 632 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
    used: 30.32 GiB (6.4%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-4: /var/log raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
    used: 30.32 GiB (6.4%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-5: /var/tmp raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
    used: 30.32 GiB (6.4%) 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: 13.53 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo-rle,lzo,lz4,lz4hc,deflate,842 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 67.2 C mobo: N/A gpu: amdgpu temp: 48.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB note: est. available: 13.53 GiB used: 3.61 GiB (26.7%)
  Processes: 383 Power: uptime: 12m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 5.38 GiB services: upowerd Init: systemd
    v: 257 default: graphical tool: systemctl
  Packages: 1667 pm: pacman pkgs: 1662 libs: 344 tools: pacseek,pamac,paru
    pm: flatpak pkgs: 5 Compilers: clang: 20.1.8 gcc: 15.2.1 Shell: Bash
    v: 5.3.3 default: fish v: 4.0.2 running-in: foot inxi: 3.3.39
Garuda (2.8.2-2):
  System install date:     2025-09-12
  Last full system update: 2025-09-14
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       No/Undetected
  Failed units:            
--- System Health Check Report ---
23/24 checks run in 2.05 seconds ⌛
Powered by garuda-health 🦅

The option “Screen capture (PipeWire)” is not available for you?

You can kinda use pipewire in obs to do window screen capture, I don’t use obs so i cant say more then that. I personally use “gpu screen recorder” you also need the front end. But wayland will not make your life to easy unless you use portals.

1 Like

@BluishHumility I see that you have xdg-desktop-portal-wlr installed on the sway edition, but is it also started when sway starts? xdg-desktop-portal needs to be executed from the sway config methinks? Sorry if I’m missing something.

@mitsukiiii if you run /usr/lib/xdg-desktop-portal -r in a terminal before starting obs, does the option to use “Screen capture (PipeWire)” exist in OBS for you?

4 Likes

it worked!!! thanks a lot, sorry im pretty new in sway. thank u again

1 Like

For future inquiries, please do not ignore the template of your post and post the terminal output from garuda-inxi. This output is essential for receiving assistance on this forum.
Format it as a code block by clicking the preformatted text button (</>), or put three tildes (~) above and below the output text.

Otherwise, your post will be moved to

412 Precondition Failed

Requests which fail basic precondition checks. For example you are not running Garuda Linux, did not search for a solution first, or you did not provide the information required to render assistance.

3 Likes

No, I don’t think we should be explicitly starting it like that…but it does look like we are supposed to be importing XDG_CURRENT_DESKTOP into the user config:

XDG Desktop Portal - ArchWiki

Portal does not start

For xdg-desktop-portal-wlr and xdg-desktop-portal-hyprland to work, the XDG_CURRENT_DESKTOP and WAYLAND_DISPLAY environment variables have to be set in the systemd user session.

XDG_CURRENT_DESKTOP has to be set to the name of your compositor, e.g. XDG_CURRENT_DESKTOP=sway. WAYLAND_DISPLAY is set automatically by the compositor.

Check whether these variables are set with systemctl --user show-environment. If they are not set, import these environment variables into the systemd user session and dbus by running the following commands before launching the compositor (e.g., include them in the compositor’s configuration file).

$ systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
$ dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=compositor_name

We are already importing WAYLAND_DISPLAY in our config here: etc/skel/.config/sway/config.d/autostart_applications · master · Garuda Linux 🦅 / Themes and Settings / Settings / Garuda Sway settings · GitLab; perhaps we simply need to add XDG_CURRENT_DESKTOP to this section as well like this:

# Import environment variables for user systemd service manager
exec systemctl --user import-environment DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP

# Update dbus environments with display variables
exec hash dbus-update-activation-environment 2>/dev/null && \
    dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP=sway

@mitsukiiii can you update ~/.config/sway/config.d/autostart_applications like this to test if it resolves the issue?

2 Likes

it does, much better and easier since i don’t need to run /usr/lib/xdg-desktop-portal -r every time i open OBS

thank youuuu

1 Like

Pardon Sir, I’m still pretty new here in the community forum. Thank you for pointing it out . I’ll keep it in mind for future posts. :slightly_smiling_face:

Here’s my garuda-inxi output since I cannot edit my first post:

  Kernel: 6.16.7-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 15.2.1
    clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
    root=UUID=5ea4ad17-0c51-400a-a682-6e7870754487 rw rootflags=subvol=@
    quiet loglevel=3
  Desktop: Sway v: 0.5.3 with: waybar tools: swayidle avail: gtklock vt: 1
    lm: greetd Distro: Garuda base: Arch Linux
Machine:
  Type: Desktop Mobo: Micro-Star model: A520M-A PRO (MS-7C96) v: 1.0
    serial: <superuser required> uuid: <superuser required> UEFI: American
    Megatrends LLC. v: 1.G0 date: 10/16/2023
CPU:
  Info: model: AMD Ryzen 7 5700G with Radeon Graphics bits: 64 type: MT MCP
    arch: Zen 3 gen: 3 level: v3 note: check built: 2021-22
    process: TSMC n7 (7nm) family: 0x19 (25) model-id: 0x50 (80) stepping: 0
    microcode: 0xA500012
  Topology: cpus: 1x dies: 1 clusters: 1 cores: 8 threads: 16 tpc: 2
    smt: enabled cache: L1: 512 KiB desc: d-8x32 KiB; i-8x32 KiB L2: 4 MiB
    desc: 8x512 KiB L3: 16 MiB desc: 1x16 MiB
  Speed (MHz): avg: 3472 min/max: 422/4674 boost: enabled scaling:
    driver: amd-pstate-epp governor: powersave cores: 1: 3472 2: 3472 3: 3472
    4: 3472 5: 3472 6: 3472 7: 3472 8: 3472 9: 3472 10: 3472 11: 3472 12: 3472
    13: 3472 14: 3472 15: 3472 16: 3472 bogomips: 121379
  Flags-basic: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a
    ssse3 svm
  Vulnerabilities: <filter>
Graphics:
  Device-1: Advanced Micro Devices [AMD/ATI] Cezanne [Radeon Vega Series /
    Radeon Mobile Series] driver: amdgpu v: kernel arch: GCN-5 code: Vega
    process: GF 14nm built: 2017-20 pcie: gen: 3 speed: 8 GT/s lanes: 16
    ports: active: HDMI-A-1 empty: DP-1,DVI-D-1 bus-ID: 30:00.0
    chip-ID: 1002:1638 class-ID: 0300 temp: 46.0 C
  Device-2: Microdia Depstech Webcam driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-2:2
    chip-ID: 0c45:6301 class-ID: 0102 serial: <filter>
  Display: wayland server: Xwayland v: 24.1.8 compositor: Sway v: 0.5.3
    driver: gpu: amdgpu display-ID: 1
  Monitor-1: HDMI-A-1 model: N2455 Pro serial: <filter> built: 2024 res:
    mode: 1920x1080 hz: 100 scale: 100% (1) dpi: 92 gamma: 1.2
    size: 527x296mm (20.75x11.65") diag: 604mm (23.8") ratio: 16:9 modes:
    max: 1920x1080 min: 720x400
  API: EGL Message: EGL data requires eglinfo. Check --recommends.
  Info: Tools: wl: kanshi, swaymsg, wdisplays x11: xprop
Audio:
  Device-1: Advanced Micro Devices [AMD/ATI] Renoir/Cezanne HDMI/DP Audio
    vendor: Micro-Star MSI driver: snd_hda_intel v: kernel pcie: gen: 3
    speed: 8 GT/s lanes: 16 bus-ID: 30:00.1 chip-ID: 1002:1637 class-ID: 0403
  Device-2: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
    vendor: Micro-Star MSI driver: snd_hda_intel v: kernel pcie: gen: 3
    speed: 8 GT/s lanes: 16 bus-ID: 30:00.6 chip-ID: 1022:15e3 class-ID: 0403
  Device-3: Microdia Depstech Webcam driver: snd-usb-audio,uvcvideo
    type: USB rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 3-2:2
    chip-ID: 0c45:6301 class-ID: 0102 serial: <filter>
  API: ALSA v: k6.16.7-zen1-1-zen status: kernel-api
    tools: alsactl,alsamixer,amixer
  Server-1: sndiod v: N/A status: off tools: aucat,midicat,sndioctl
  Server-2: PipeWire v: 1.4.8 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 RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
    vendor: Micro-Star MSI driver: r8169 v: kernel pcie: gen: 1 speed: 2.5 GT/s
    lanes: 1 port: f000 bus-ID: 22:00.0 chip-ID: 10ec:8168 class-ID: 0200
  IF: enp34s0 state: down mac: <filter>
  IF-ID-1: enp22s0f0u1 state: unknown speed: -1 duplex: half mac: <filter>
  Info: services: NetworkManager,systemd-timesyncd
Bluetooth:
  Device-1: OPPO CPH2269 driver: rndis_host v: kernel type: USB rev: 2.0
    speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-1:2 chip-ID: 22d9:2766
    class-ID: 0a00 serial: <filter>
Drives:
  Local Storage: total: 476.94 GiB used: 30.32 GiB (6.4%)
  SMART Message: Required tool smartctl not installed. Check --recommends
  ID-1: /dev/sda maj-min: 8:0 vendor: STmagic model: SX100 512GB
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 18C1 scheme: GPT
Partition:
  ID-1: / raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
    used: 30.32 GiB (6.4%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
    used: 632 KiB (0.2%) fs: vfat dev: /dev/sda1 maj-min: 8:1
  ID-3: /home raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
    used: 30.32 GiB (6.4%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-4: /var/log raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
    used: 30.32 GiB (6.4%) fs: btrfs dev: /dev/sda2 maj-min: 8:2
  ID-5: /var/tmp raw-size: 476.64 GiB size: 476.64 GiB (100.00%)
    used: 30.32 GiB (6.4%) 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: 13.53 GiB used: 0 KiB (0.0%) priority: 100
    comp: zstd avail: lzo-rle,lzo,lz4,lz4hc,deflate,842 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 67.2 C mobo: N/A gpu: amdgpu temp: 48.0 C
  Fan Speeds (rpm): N/A
Info:
  Memory: total: 16 GiB note: est. available: 13.53 GiB used: 3.61 GiB (26.7%)
  Processes: 383 Power: uptime: 12m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 5.38 GiB services: upowerd Init: systemd
    v: 257 default: graphical tool: systemctl
  Packages: 1667 pm: pacman pkgs: 1662 libs: 344 tools: pacseek,pamac,paru
    pm: flatpak pkgs: 5 Compilers: clang: 20.1.8 gcc: 15.2.1 Shell: Bash
    v: 5.3.3 default: fish v: 4.0.2 running-in: foot inxi: 3.3.39
Garuda (2.8.2-2):
  System install date:     2025-09-12
  Last full system update: 2025-09-14
  Is partially upgraded:   No
  Relevant software:       snapper NetworkManager dracut
  Windows dual boot:       No/Undetected
  Failed units:            
--- System Health Check Report ---
23/24 checks run in 2.05 seconds ⌛
Powered by garuda-health 🦅
2 Likes

Do you see the pencil icon below your post?

You can use this tool to edit your posts.

1 Like

i don’t know if there’s a limit here or there’s a certain time where you can edit post :sweat_smile: but yesterday i got to chance to edit once i think? i forgot but yeah i got a chance to edit but earlier noon, i can’t.

whenever i click the pencil button, only the history show up

Done. :blush:

4 Likes

Thanks for testing!

Fixed in garuda-sway-settings 1.1.54.

6 Likes

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