Performance Loss wine-walyand / SDL-wayland

Here you can see, same seting game running using proton-cachyos wayland and xwayland. the performance loss is around 20fps, I have noticed performance loss in SDL wayland title too.

Like dota 2 running on wayland native also lose around 20fps.
xwayland

wayland

nvidia-bug-report.log.gz (565.5 KB)

╰─❯ fastfetch
           .-------------------------:                    syntist@syntist-laptop
          .+=========================.                    ----------------------
         :++===++==================-       :++-           OS: CachyOS x86_64
        :*++====+++++=============-        .==:           Host: 82SB (IdeaPad Gaming 3 15ARH7)
       -*+++=====+***++==========:                        Kernel: Linux 6.17.9-2-cachyos
      =*++++========------------:                         Uptime: 32 mins
     =*+++++=====-                     ...                Packages: 1466 (pacman), 37 (flatpak)
   .+*+++++=-===:                    .=+++=:              Shell: fish 4.2.1
  :++++=====-==:                     -*****+              Display (EI322QUR): 2560x1440 @ 1.25x in 29", 165 Hz [External] *
 :++========-=.                      .=+**+.              Display (LEN9059): 1920x1080 @ 1.25x in 16", 120 Hz [Built-in]
.+==========-.                          .                 DE: KDE Plasma 6.5.3
 :+++++++====-                                .--==-.     WM: KWin (Wayland)
  :++==========.                             :+++++++:    WM Theme: Breeze
   .-===========.                            =*****+*+    Theme: Breeze (Dark) [Qt], Adwaita-dark [GTK2/3/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 25.8.3
         .====++==============++++++++++*-                CPU: AMD Ryzen 5 6600H (12) @ 4.57 GHz
          .===+==================+++++++:                 GPU 1: NVIDIA GeForce RTX 3050 Mobile [Discrete]
           .-=======================+++:                  GPU 2: AMD Radeon 660M [Integrated]
             ..........................                   Memory: 11.78 GiB / 61.99 GiB (19%)
                                                          Swap: 0 B / 61.99 GiB (0%)
                                                          Disk (/): 220.40 GiB / 301.63 GiB (73%) - btrfs
                                                          Disk (/mnt/Game): 392.06 GiB / 627.87 GiB (62%) - btrfs
                                                          Local IP (wlan0): 10.0.0.206/24
                                                          Battery (PABAS0241231): 98% [Charging, AC Connected]
                                                          Locale: en_US.UTF-8


I notice you actually gained 4fps on average, but lost 20 on your peak.

I’ll have to calculate the average separately because overwatch 2 takes sometime to get the shaders ready and also, the mangohud was on since the start of game that can effect the average