Help with screen recording on Wayland

I’ve been using X11all this time, recently switched to Wayland on this laptop, mainly due to gestures being a lifesaver. But I can’t for the life of me get screen recording to work.
Now, as I understand, this has been solved long ago and should be do-able, so kindly help me out a bit.

System info: https://0x0.st/H77Q.txt

inxi -Ga                                                                                                                                           [20:57:38]
Graphics:
  Device-1: Intel CoffeeLake-H GT2 [UHD Graphics 630] vendor: Hewlett-Packard
    driver: i915 v: kernel arch: Gen-9.5 process: Intel 14nm built: 2016-20
    ports: active: eDP-1 empty: DP-2,HDMI-A-2 bus-ID: 00:02.0
    chip-ID: 8086:3e9b class-ID: 0300
  Device-2: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q]
    vendor: Hewlett-Packard driver: nvidia v: 550.54.14
    alternate: nouveau,nvidia_drm non-free: 545.xx+ status: current (as of
    2024-02; EOL~2026-12-xx) arch: Turing code: TUxxx process: TSMC 12nm FF
    built: 2018-2022 pcie: gen: 1 speed: 2.5 GT/s lanes: 8 link-max: gen: 3
    speed: 8 GT/s lanes: 16 ports: active: none empty: DP-1,HDMI-A-1
    bus-ID: 01:00.0 chip-ID: 10de:1f91 class-ID: 0300
  Device-3: Quanta HP Wide Vision HD Camera driver: uvcvideo type: USB
    rev: 2.0 speed: 480 Mb/s lanes: 1 mode: 2.0 bus-ID: 1-6:4 chip-ID: 0408:5300
    class-ID: 0e02 serial: 200901010001
  Display: wayland server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.4
    compositor: kwin_wayland driver: X: loaded: modesetting,nvidia dri: iris
    gpu: i915,nvidia display-ID: 0
  Monitor-1: eDP-1 res: 1920x1080 size: N/A modes: N/A
  API: EGL v: 1.5 hw: drv: intel iris drv: nvidia platforms: device: 0
    drv: nvidia device: 2 drv: iris device: 3 drv: swrast gbm: drv: nvidia
    surfaceless: drv: nvidia wayland: drv: iris x11: drv: iris
    inactive: device-1
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 24.0.2-arch1.1
    glx-v: 1.4 direct-render: yes renderer: Mesa Intel UHD Graphics 630 (CFL
    GT2) device-ID: 8086:3e9b memory: 7.39 GiB unified: yes display-ID: :1.0
  API: Vulkan v: 1.3.279 layers: 5 device: 0 type: discrete-gpu
    name: NVIDIA GeForce GTX 1650 driver: nvidia v: 550.54.14
    device-ID: 10de:1f91 surfaces: xcb,xlib,wayland 

This comes up when I try obs:

on gpu-screen-recorder I get blank recordings when I try to record with prime-run

Have you tried using Spectacle? I just gave it a go and it’s working pretty decently.

I don’t think it uses the Nvidia GPU. I need to record for hours and recording with iGPU will cause performance issues for me

Ok that makes sense, I haven’t tried using kdenlive since the update but it may be worth a shot

Wait, Kdenlive records videos?

Opps sorry my bad, I was using Kazam and kdenlive to edit them its been a bit sorry