Allow Tearing not working on Hybrid Laptop (Intel/Nvidia)

I don’t know if it’s a bug or no, even with the new Nvidia Driver Update. I can’t get tearing to work. I have set KWIN_DRM_NO_AMS=1 but still no luck.

I have a made bug report too, but no interaction on that. So, I thought i should discuss here, might not be a bug or maybe just configuration needed.

Specs:

❯ modinfo nvidia | grep ^version
version:        555.42.02
❯ pacman -Q mesa
mesa 1:24.1.0-1

❯ fastfetch
           .-------------------------:                    syntist@syntist-pc
          .+=========================.                    ------------------
         :++===++==================-       :++-           OS: CachyOS Linux x86_64
        :*++====+++++=============-        .==:           Host: Precision 5570
       -*+++=====+***++==========:                        Kernel: Linux 6.9.2-2-cachyos-lto
      =*++++========------------:                         Uptime: 1 hour, 27 mins
     =*+++++=====-                     ...                Packages: 1125 (pacman), 34 (flatpak-system), 3 (flatpak-user)
   .+*+++++=-===:                    .=+++=:              Shell: zsh 5.9
  :++++=====-==:                     -*****+              Display (SHP1515): 1920x1200 @ 66Hz (as 960x600) [Built-in]
 :++========-=.                      .=+**+.              DE: KDE Plasma 6.0.5
.+==========-.                          .                 WM: KWin (Wayland)
 :+++++++====-                                .--==-.     WM Theme: Breeze
  :++==========.                             :+++++++:    Theme: Breeze (Dark) [QT], Breeze-Dark [GTK2], Breeze [GTK3/4]
   .-===========.                            =*****+*+    Icons: breeze-dark [QT], breeze-dark [GTK2/3/4]
    .-===========:                           .+*****+:    Font: Noto Sans (10pt) [QT], Noto Sans (10pt) [GTK2/3/4]
      -=======++++:::::::::::::::::::::::::-:  .---:      Cursor: Breeze_Light (24px)
       :======++++====+++******************=.             Terminal: konsole 24.5.0
        :=====+++==========++++++++++++++*-               Terminal Font: MesloLGS NF (10pt)
         .====++==============++++++++++*-                CPU: 12th Gen Intel(R) Core(TM) i7-12800H (20) @ 4.80 GHz
          .===+==================+++++++:                 GPU 1: NVIDIA RTX A1000 Laptop GPU
           .-=======================+++:                  GPU 2: Intel Iris Xe Graphics @ 1.40 GHz [Integrated]
             ..........................                   Memory: 5.67 GiB / 15.30 GiB (37%)
                                                          Swap: 0 B / 31.55 GiB (0%)
                                                          Disk (/): 215.23 GiB / 237.41 GiB (91%) - xfs
                                                          Local IP (wlan0): 10.1.10.170/24 *
                                                          Battery: 58% [Discharging]
                                                          Locale: en_US.UTF-8

I also posted a video, showing that tearing is not working (shoot with slow motion camera)

Bug 487403 - You can find the video there

❯ inxi -G
Graphics:
  Device-1: Intel Alder Lake-P GT2 [Iris Xe Graphics] driver: i915 v: kernel
  Device-2: NVIDIA GA107GLM [RTX A1000 Laptop GPU] driver: nvidia
    v: 555.42.02
  Device-3: Microdia Integrated_Webcam_HD driver: uvcvideo type: USB
  Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 24.1.0
    compositor: kwin_wayland driver: X: loaded: modesetting,nvidia dri: iris
    gpu: i915,nvidia resolution: 1600x1000
  API: EGL v: 1.5 drivers: iris,nvidia,swrast
    platforms: gbm,wayland,x11,surfaceless,device
  API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: intel mesa v: 24.1.0-arch1.1
    renderer: Mesa Intel Graphics (ADL GT2)
  API: Vulkan v: 1.3.285 drivers: nvidia,intel surfaces: xcb,xlib,wayland